joeoneil / conditional-backend

Actix backend for conditional rewrite
2 stars 0 forks source link

API: /users #11

Closed joeoneil closed 11 months ago

joeoneil commented 11 months ago

User info, creation, and modification routes 4 Routes


GET /users/active accessible to all users

Gets a list of active members (alternatively, the number of active users)


GET /users/voting accessible to all users

Gets a list of voting members (alternatively, the number of voting members)


POST /users accessible to evals director

Creates a new freshman user in the conditional database


PUT /users/{user} accessible to evals director

Modifies a user, such as 'upgrading' a freshman account to a CSH account.