For Developers

List Sections

This endpoint has been formally deprecated. Read more in the Deprecating Sections document.

GET https://ed.link/api/v2/my/classes/:class\_id/sections

Retrieve a list of Sections associated with the specified Class.

Request Parameters

ParameterTypeDescription
class_idstringThe UUID of the desired Class.

This query allows for standard paging parameters.

This query allows for filtering results.

Sample Request

axios.get('https://ed.link/api/v2/my/classes/00000000-0000-0000-0000-000000000000/sections', {
    headers: {
        authorization: `Bearer ${person_access_token}`
    }
});

Sample Response

{
    "$data": [
        {
            "id": "00000000-0000-0000-0000-000000000000",
            "created_date": "2021-07-13T17:45:27.645Z",
            "updated_date": "2021-07-13T17:45:27.645Z",
            "name": "Section 3",
            "description": null,
            "picture_url": null,
            "state": "active",
            "locale": "en",
            "time_zone": "America/Chicago",
            "properties": {},
            "periods": ["06"],
            "class_id": "00000000-0000-0000-0000-000000000000"
        }
    ],
    "$request": "00000000-0000-0000-0000-000000000000"
}