For Developers

Get District

GET https://ed.link/api/v2/my/districts/:district_id

Retrieve information about the specific District that the current user is associated with.

Request Parameters

ParameterTypeDescription
district_idstringThe UUID of the desired District.

Sample Request

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

Sample Response

{
    "$data": {
        "id": "00000000-0000-0000-0000-000000000000",
        "created_date": "2021-07-13T17:45:27.205Z",
        "updated_date": "2022-01-26T22:44:36.067Z",
        "name": "Sample District",
        "locale": null,
        "address": {},
        "time_zone": null,
        "properties": {},
        "identifiers": []
    },
    "$request": "00000000-0000-0000-0000-000000000000"
}