Skip to content

Instantly share code, notes, and snippets.

@ShaunSHamilton
Last active November 3, 2022 20:07
Show Gist options
  • Save ShaunSHamilton/80b067b790a6cd677eff2c70f1253517 to your computer and use it in GitHub Desktop.
Save ShaunSHamilton/80b067b790a6cd677eff2c70f1253517 to your computer and use it in GitHub Desktop.
freeCodeCamp REST API routes

Routes

Current

api-server

/user

  • GET /account
  • GET /account/unlink/:social
  • GET /user/get-session-user
  • POST /account/delete
  • POST /account/reset-progress
  • POST /user/report-user/ (TODO: find out what a trailing / in route means)
  • POST /user/user-token
  • DELETE /user/user-token

/wiki

  • GET /wiki/*

/status

  • GET /status/ping

/settings

  • PUT /update-privacy-terms
  • POST /refetch-user-completed-challenges
  • POST /update-my-current-challenge
  • PUT /update-my-portfolio
  • PUT /update-my-theme
  • PUT /update-my-about
  • PUT /update-my-email
  • PUT /update-my-profileui
  • PUT /update-my-username
  • PUT /update-user-flag
  • PUT /update-my-socials
  • PUT /update-my-sound
  • PUT /update-my-keyboard-shortcuts
  • PUT /update-my-honesty
  • PUT /update-my-quincy-email

/sentry

  • GET /sentry/error
  • GET /sentry/wrapped

/api

  • GET /api/github

/u _start:a

  • GET /u/:email

/unsubscribe

  • GET /unsubscribe/:email

/ue

  • GET /ue/:unsubscribedId

/resubscribe _end:a - consolidate into single

  • GET /resubscribe/:unsubscribeId

/n

  • GET /n
  • GET /n/:shortId

/donate

  • POST /donate/charge-stripe
  • POST /donate/charge-stripe-card
  • POST /donate/add-donation
  • POST /hooks/update-paypal

/challenge

  • POST /modern-challenge-completed
  • POST /project-completed
  • POST /backend-challenge-completed
  • POST /save-challenge
  • GET /challenges/current-challenge
  • POST /coderoad-challenge-completed

/certificate

  • PUT /certificate/verify
  • GET /certificate/showCert/:username/:certSlug
  • GET /certificate/verrify-can-claim-cert

/authentication

  • GET /signin
  • GET /auth/auth0/callback
  • GET /signout
  • GET /confirm-email
client

/user

  • GET /user/get-session-user
  • POST /user/report-user
  • POST /account/delete
  • POST /account-reset-progress
  • POST /user/user-token
  • DELETE /user/user-token

/api - refactor

  • GET /api/users/get-public-profile?username
  • GET /api/users/exists?username

/certificate

  • GET /certificate/showCert/:username/:certSlug
  • PUT /certificate/verify

/donate

  • POST /donate/add-donation
  • POST /donate/charge-stripe
  • POST /donate/charge-stripe-card

/challenge

  • POST /save-challenge

/settings refactor

  • PUT /update-my-about
  • PUT /update-my-username
  • PUT /update-my-profileui
  • PUT /update-my-socials
  • PUT /update-my-sound
  • PUT /update-my-theme
  • PUT /update-my-keyboard-shortcuts
  • PUT /update-my-honesty
  • PUT /update-my-quincy-email
  • PUT /update-my-portfolio
  • PUT /update-privacy-terms
  • PUT /update-my-email

New

Nextjs

Nextjs handles all our static page serving.

API

To handle all non-html data requests.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment