For Developers
List Pages
GET https://ed.link/api/v2/my/classes/:class_id/pages
Retrieve a list of Pages for a given class.
Request Parameters
This query allows for standard paging parameters.
Parameter | Type | Description |
---|---|---|
class_id | string | The UUID of the desired Class. |
Sample Request
axios.get(`https://ed.link/api/v2/my/classes/${class_id}/pages`, {
headers: {
authorization: `Bearer ${person_access_token}`
}
});
Sample Response
{
"$data": [
{
"attachments": [],
"assignee_mode": "all",
"grading_type": "points",
"max_attempts": 1,
"title": "Week 12 Homework",
"submission_types": ["link"],
"state": "open",
"created_date": "2021-12-23T22:24:39.934Z",
"updated_date": "2022-01-03T20:49:09.233Z",
"due_date": "2022-01-28T18:00:24.573Z",
"id": "00000000-0000-0000-0000-000000000000",
"category_id": "00000000-0000-0000-0000-000000000000"
}
],
"$request": "00000000-0000-0000-0000-000000000000"
}
Additional Notes
- When listing pages in Canvas, the
description
field is not returned. If you want to retrieve the description of a page, you must use the Get Page endpoint. This is a limitation of Canvas.