For Developers

Update Page

PATCH https://ed.link/api/v2/my/classes/:class_id/pages/:page_id

Update an existing Page in the given Class.

The user must be enrolled as a teacher, ta, designer, administrator, or district-administrator in the class to use this endpoint.

Please review our guide on patch requests for more information regarding their use.

Request Parameters

ParameterTypeDescription
class_idstringThe UUID of the desired Class.
page_idstringThe UUID of the desired Page.

Request Body

The request body should contain a partial Page object.

The following fields are allowed: title, description, description_plaintext, state, display_date, assignee_mode, assignee_ids, section_ids, and attachments.

{
    "title": "Week 13 Homework"
}

Sample Response

The response contains the updated Page object.

{
    "$data": {
        "attachments": [],
        "assignee_mode": "all",
        "grading_type": "points",
        "max_attempts": 1,
        "title": "Week 13 Homework",
        "submission_types": ["link"],
        "state": "open",
        "points_possible": 10,
        "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"
}