Skip to main content

/:schoolID/get-review?page=&clubID=

ใช้เรียกข้อมูล review ทั้งหมด ของชุมนุมนั้น ๆ

Method GET

Role ที่ใช้ได้ system admin, school admin, teacher, student

query parameter

keyvalue
page1
clubID631c6c83206c37ff705b2931
Response (Parginate)
{
"docs": [
{
"_id": "631f11102576dc5a6f35431c",
"textReview": "test test",
"groupID": "1",
"studentID": "631ed901cbc23688f173c15f",
"__v": 0
},
{
"_id": "631f1169d5dea5ea687d8bbd",
"textReview": "test test",
"groupID": "1",
"studentID": "631ed901cbc23688f173c15f",
"__v": 0
},
{
"_id": "631f11a17ab817d554ef88be",
"textReview": "test test",
"groupID": "1",
"studentID": "631ed901cbc23688f173c15f",
"__v": 0
}
],
"totalDocs": 9,
"limit": 3,
"totalPages": 3,
"page": 1,
"pagingCounter": 1,
"hasPrevPage": false,
"hasNextPage": true,
"prevPage": null,
"nextPage": 2
}