List students for an academic year

Returns students assigned to the requested academic year with grade, class, status, department, staff, address, and emergency-contact relations. Medical fields are removed unless the caller has view-medical-info permission.

Authentication

AuthorizationBearer

The signed-in SchoolSet user token sent by the frontend.

Path parameters

year_idintegerRequired

Response

Academic-year student collection.

statusstring
messagestring
datalist of maps from strings to any

Errors

401
Unauthorized Error
403
Forbidden Error