-
Notifications
You must be signed in to change notification settings - Fork 0
Description
Batch view / definition routes
7 Routes
POST /evals/batch
accessible to all upperclassmen
Creates a new batch with either specified criteria or specific members
If created by the evals director, should be automatically approved.
GET /evals/batch
accessible to all members
Gets all currently approved batches
If evals, also shows pending batches
PUT /evals/batch/{id}
accessible to evals director
Modifies an existing batch, either approving a member-submitted batch or manually altering an approved batch
POST /evals/batch/pull/{user}
accessible to evals director
Pulls a user from all batches, and marking them as being pulled, so they cannot be placed into any new batches manually or automatically.
POST /evals/batch/pr
accessible to all upperclassmen
Submits a request to pull a user from all batches, must include a reason.
GET /evals/batch/pr
accessible to evals director
Shows all pending and approved pull requests
Discuss: Should members be able to view their own submitted PRs and their status (pending / denied / approved)?
PUT /evals/batch/pr
accessible to evals director
Modifies a pull request, marking as approved / denied.