/api/v1/locations/{locationId}/places (GET)
GET
/api/v1/locations/{locationId}/places
const url = 'https://example.com/api/v1/locations/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/places';const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://example.com/api/v1/locations/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/places \ --header 'Authorization: Bearer <token>'Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”locationId
required
string format: uuid
Responses
Section titled “Responses”Default Response
Media typeapplication/json
object
places
required
Examplegenerated
{ "places": [ { "id": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0", "parentId": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0", "name": "example", "kindKey": "example", "icon": "example", "sort": 1, "isUnplaced": true, "shortCode": "example", "thingCount": 1, "childCount": 1 } ]}