ComputerScienceHouse / ComputerScienceHouse/conditional-backend

API: /evals/batch

Đang mở
#9 1 bình luận 0 reaction 2 người được giao Được @cecilialau6776 nhận Xem trên GitHub
API backend
Ngôn ngữ chính
Rust
Star
1
Fork
0
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

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.

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.