ComputerScienceHouse / ComputerScienceHouse/conditional-backend

API: /attendance/house

Đang mở
#6 0 bình luận 0 reaction 0 người được giao 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ả

House attendance routes
**5 Routes**

---

**POST** /attendance/house
_accessible to evals director_

Creates a new attendance submission, containing a date and the list of members and whether they attended

---

**GET** /attendance/house/{user}
_accessible to specific user_

Gets every house meeting, and whether the user attended, missed, or was excused.
- Discuss: Use user token to determine user instead of URL param?

---

**GET** /attendance/house
_accessible to evals director_

Gets all house meeting attendances

---

**PUT** /attendance/house/{id}
_accessible to evals director_

Updates a house meeting's attendance

---

**DELETE** /attendance/house/{id}
_accessible to evals director_

Deletes a house meeting's attendance

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.