Places
List buildings | Elenca edifici
get/v2/sites/{siteId}/buildings
Request
- Base URLhttps://app.didattica.polito.it/api
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
siteIdstring required
Query parameters
searchstring
Filter buildings containing 'search' in their name
placeCategoryIdstring
placeSubCategoryId[]string[]
Response
The request has succeeded.
Example response
{
"data": [
{
"category": {
"id": "AULA",
"name": "Aula",
"color": "lightBlue",
"priority": 60,
"subCategory": {
"id": "AULA",
"name": "Aula",
"showInMenu": false,
"color": "lightBlue",
"priority": 60,
"highlighted": false
}
},
"latitude": 45.064254,
"longitude": 7.657823
}
]
}Changes
No recorded changes to this operation across all 7 revisions of this API.