Assignment
LIST - Assignment
This API allows authenticated users to retrieve a paginated list of assignments along with associated metadata like total count, pagination links, and assignment details.
Key Notes:
- The response includes
count
,pageSize
,showing
,next
, andprevious
to handle pagination. - The
data
field contains an array of assignment objects following theUpdatedAssignmentResponse
schema. - Useful for dashboards or any view where a user needs to browse or manage multiple assignments.
Scenario: Fetching Assignments for Review
- A teacher wants to review all assignments created for Grade 7.
- They send a GET request to this endpoint (optionally with query parameters for filtering/pagination).
- The system responds with a paginated list of assignments and relevant navigation links.
GET
Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Response
200
application/json
List of assignments retrieved successfully.
Total number of assignments available.
Example:
20
Number of items displayed per page.
Example:
10
Current page display information.
Example:
"Page 1 of 2"
URL for the next page of results.
Example:
"{{base_url}}/assignment-evaluation/v1/assignment/?page=2"
URL for the previous page of results.
Example:
null