Returns a list of schools (also known as departments). Schools are returned sorted by 'id' field in increasing order.
curl -G 'https://test.langlion.com/api/v2/schools' \
--header 'Authorization: Bearer af2b3df9c671d5413fc5c38b467794782b4047705ac3...'
{
"data": {
"schools": [
{
"id": 1,
"name": "Warszawa Centrum",
"shortName": "WAW Centrum",
"createdAt": null,
"updatedAt": "2018-01-03 11:53:55"
},
{
"id": 2,
"name": "Warszawa Wilanów",
"shortName": "WAW Wilanów",
"createdAt": "2018-01-02 14:32:14",
"updatedAt": "2018-01-03 11:54:23"
}
]
}
}
Required
No required parameters
Optional
No optional parameters