joeoneil / conditional-backend

Actix backend for conditional rewrite
2 stars 0 forks source link

API: /evals #10

Closed joeoneil closed 11 months ago

joeoneil commented 11 months ago

Non-batch evals routes 7 Routes


GET /evals/intro accessible to all upperclassmen

Gets all current freshmen evals status (seminar / directorship / HM attendance & packet score)


GET /evals/member accessible to all upperclassmen

Gets all current member evals status (seminar / directorship / HM attendance / Major project)


GET /evals/conditional accessible to all upperclassmen

Gets all current conditionals


GET /evals/gatekeep/{user} accessible to all members

Gets current gatekeep status for a specific user (whether they will be allowed to vote at 6 weeks)


GET /evals/gatekeep accessible to all members

Gets the current gatekeep status of all voting members


GET /evals/presentation/intro accessible to evals director

Creates a presentation containing all batches, their members, and all individual member votes for 6 weeks presentations.


GET /evals/presentation/member accessible to evals director

Creates a presentation containing all batches, their members, and all individual member votes for spring evals presentations.