CyberSchola API: staging demo
A multi-tenant school platform. Every request is authenticated, confined to one school by row-level security, and narrowed to what the caller's role may see.
Try it as a real user
- Copy a token below. Each is valid for one hour; reload this page for fresh ones.
- In the API documentation, press Authorize and paste it.
- Send the school id shown beside it as the
X-School-Idheader if the person belongs to more than one school. Every demo person here belongs to one, so this is optional. - Try
GET /api/v1/studentsas each person: the administrator sees the whole of SS2 A, a teacher the pupils they teach, Daniel only himself, and Brookvale's administrator none of CyberSchola Demo College's.
School administrator, CyberSchola Demo Collegeadmin |
c5c10000-0000-4000-8000-000000000001 |
|
Adewale Ibrahim, Mathematics teacher, SS2 AmathsTeacher |
c5c10000-0000-4000-8000-000000000001 |
|
Chinedu Eze, Physics teacher, SS2 AphysicsTeacher |
c5c10000-0000-4000-8000-000000000001 |
|
Daniel Okafor, pupil in SS2 Astudent |
c5c10000-0000-4000-8000-000000000001 |
|
Administrator of Brookvale Academy, a different schoolotherSchoolAdmin |
c5c10000-0000-4000-8000-000000000002 |
Demo data only: CyberSchola Demo College, 2025/2026 Second Term, SS2 A. It and Brookvale Academy are rebuilt every night at 03:00 UTC, so feel free to change things. These tokens are accepted only by this staging server.