This API allows authenticated users to retrieve all subjects for a specific grade within a board.
How to Use:
GET /ai/v1/board/{board_id}/grades/{grade_id}/subjects
with the required board’s id
and grade’s id
to get the list of all subjects for that grade.id
of the required subject in lesson plans or any other feature that needs a subject reference.Example Scenario: A teacher wants to create or view a lesson plan for a specific subject within a grade and board: - First, they call the boards API to list all boards and find the required board’s id
. - Then, they call the grades API to list all grades for that board and find the required grade’s id
. - Next, they call this API to list all subjects for that grade and find the required subject’s id
. - Finally, they use that subject id
in the lesson plan API or anywhere else in the system where a subject reference is needed.
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Unique identifier of the board.
Unique identifier of the grade.
A list of subjects for the specified grade.
The response is of type object[]
.