For Developers
List Sessions
GET https://ed.link/api/v2/graph/schools/:school_id/sessions
Retrieve a list of Sessions associated with the specified School.
Request Parameters
Parameter | Type | Description |
---|---|---|
school_id | string | The UUID of the desired School. |
This query allows for standard paging parameters.
This query allows for filtering results.
Sample Request
axios.get('https://ed.link/api/v2/graph/schools/00000000-0000-0000-0000-000000000000/sessions', {
headers: {
authorization: `Bearer ${integration_access_token}`
}
});
Sample Response
{
"$data": [
{
"id": "00000000-0000-0000-0000-000000000000",
"created_date": "2021-07-13T17:45:27.548Z",
"updated_date": "2021-07-13T17:45:27.548Z",
"name": "Fall 2021",
"start_date": "2021-07-01T00:00:00.000Z",
"end_date": "2022-01-01T00:00:00.000Z",
"state": "active",
"type": "semester",
"properties": {},
"school_id": "00000000-0000-0000-0000-000000000000",
"district_id": "00000000-0000-0000-0000-000000000000"
}
],
"$request": "00000000-0000-0000-0000-000000000000"
}