All routes mounted under /api/user/:id
- POST
/application/:branch
- Submits or edits if already submitted the requested application branch
- Note: should actually be HTTP PUT
- Submits or edits if already submitted the requested application branch
- DELETE
/application/:branch
- Deletes previously submitted application branch
- POST
/confirmation/:branch
- Identical to POST
/application/:branch
but for confirmation branches- Note: should also actually be HTTP PUT
- Identical to POST
- DELETE
/confirmation/:branch
- Identical to DELETE
/application/:branch
but for confirmation branches
- Identical to DELETE
- POST
/status
(admin only)- Sets user's accepted status to
true
orfalse
- Sets user's accepted status to
- POST
/send_acceptances
(admin only, ignoresid
param)- Sends accepted notification emails to users who have been accepted and not yet notified
- GET
/export
(admin only, ignoresid
param, requires update post-HackGT Catalyst)- Downloads .zip file containing
.csv
files of current user data
- Downloads .zip file containing
- POST
/team/create/:teamName
- Creates a team with the specified name and places the user into it`
- POST
/team/join/:teamName
- Adds the user to the specified team
- POST
/team/leave
- Removes the user from any team they are on
- POST
/team/rename/:newTeamName
- Renames the team that the user is currently on if they are the team's leader
All routes mounted under /api/settings
- GET
/application_availability
- Gets the current application and confirmation open and close times
- PUT
/application_availability
(admin only)- Sets the current application and confirmation open and close times
- GET
/teams_enabled
- Gets a boolean value representing whether teams are enabled
- PUT
/teams_enabled
(admin only)- Sets the boolean value representing whether teams are enabled
- GET
/branch_roles
(admin only)- Returns the question branches from
questions.json
sorted into the categoriesnoop
,applicationBranches
, andconfirmationBranches
.
- Returns the question branches from
- PUT
/branch_roles
(admin only)- Sets the role of the question branches from
questions.json
as one ofnoop
,application
, orconfirmation
.
- Sets the role of the question branches from
- GET
/email_content/:type
(admin only)- Returns the Markdown content of the email type specified
- PUT
/email_content/:type
(admin only)- Sets the Markdown content of the email type specified
- POST
/email_content/:type/rendered
(admin only)- Returns rendered HTML and text from Markdown input using the same Markdown engine used for generating emails
- Used for live preview of rendered Markdown in admin panel
- Returns rendered HTML and text from Markdown input using the same Markdown engine used for generating emails