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
/blogs/create
POSTAdmin onlyCreate a new blog
/blogs/delete
POSTAdmin onlyRemove a blog
/blogs/load-all
GETNoneLoad all blogs. If not admin, only non-deleted, published blogs will be loaded
/blogs/load/:id
GETid: the blog ID to loadNoneLoad a single blog. If not admin, will fail if deleted or not published
/blogs/update
POSTAdmin onlyUpdate a blog
/books/create
POSTAdmin onlyList a new book
/books/delete
POSTAdmin onlyRemove a book
/books/load-all
GETNoneLoad all books. If not admin, only non-deleted books will be loaded.
/books/update
POSTAdmin onlyUpdate a book
/make-payment/load
POSTTODOTODO
/make-payment/create-intent
POSTTODOTODO
/make-payment/resend-receipt
POSTAdmin onlyTODO
/payments/create
POSTTODOTODO
/payments/delete
POSTTODOTODO
/payments/load-all
GETTODOTODO
/support/create
POSTAdmin onlyTODO
/support/delete
POSTAdmin onlyTODO
/support/load
GETNoneTODO
/photo-showcase/load-all
GETNoneLoad images from Flickr showcase album