API Reference

Complete documentation for the NexusOne REST API.

Authentication is required for all API endpoints. Include the JWT Bearer token in the Authorization header.

POST/api/auth/login

Authenticate and receive JWT token

GET/api/auth/me

Get the currently authenticated user

POST/api/admin/users

Admin creates a user account

GET/api/courses

List all courses (role-scoped)

GET/api/assignments

List assignments (role-scoped)

GET/api/fees/accounts/my

Get own fee account

GET/api/timetable/my

Get role-scoped timetable

GET/api/transport/routes

List transport routes