API docs

PathMethodArgumentsAuthorisationDescription
/analytics/create
POSTNoneRegisters information about the page navigated to
/analytics/load-all
GETAdmin onlyLoads all raw analytic points
/analytics/load
GETAdmin onlyLoads a summary of unique analytic points
/auth/load
GETNoneLoads the currently authenticated used. Returns null if signed out
/auth/logout
POSTNoneLogs out the currently authenticated user
/auth/request-verification-email
POSTAny userResends an email verification email
/auth/verify-email
POSTNoneVerify an email address with a secret verification key
/emails/load
GETAdmin onlyLoads emails that have been sent
/emails/resend
POSTAdmin onlyResends an email that's stored in the database
/magic-links/login
POSTNoneLogin using a secret magic-link key
/magic-links/request
POSTNoneRequest a magic link for a given account using the account's email address
/data-management/backup
GETAdmin onlyReturns a file containing a full data backup for the site
/data-management/delete-entity
POSTAdmin onlyRemove a previously deleted entity completely from the DB
/data-management/delete-set
POSTAdmin onlyRemove an entire collection from the DB
/data-management/restore
POSTAdmin onlyRestore all the data from a backup file
/notifications/create
POSTAdmin onlyCreates a notification which will be show at the top of the site
/notifications/delete
POSTAdmin onlyDeletes a notification
/notifications/load-all
GETAny user - only an admin can see deleted notificationsLoad all notifications
/notifications/load/:id
GET
/notifications/update
POSTAdmin onlyUpdate a given notification
/users/create
POSTNone - only an admin can create other admin usersCreate a user
/users/delete
POSTThe user being deleted, or an admin onlyDelete a user
/users/load
GETThe user being loaded, or an admin onlyLoad a given user
/users/load-all
GETAdmin onlyLoad all users
/users/sign-up
POSTNoneCreate a user, and sign in as that user at the same time
/users/update
POSTAny user - only an admin can promote other users to adminUpdate a given user