Closed chinathaip closed 9 months ago
PUT /api/admin/reviews
Requires admin credentials (Basic Auth). This API is to be used by the admin dashboard
Approve
{ "id": 3, "status": "APPROVED" }
Reject
{ "id": 3, "status": "REJECTED", "rejectedReason": "Contains curse words" }
~~putting this back to draft - will reconsider how the pending reviews are stored https://github.com/stamford-syntax-club/course-compose/issues/31~~
Will continue with the current implementation
PUT /api/admin/reviews
Requires admin credentials (Basic Auth). This API is to be used by the admin dashboard
Request Body
Approve
Reject