/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
Array<object>
object
id
required
string format: uuid
name
required
string
kindKey
required
string
icon
required
string | null
sort
required
integer
isUnplaced
required
boolean
shortCode
required
string | null
thingCount
required
integer
childCount
required
integer
createdAt
required
string
boxCount
required
integer
childOrder
required
string
thumbUrl
required
string | null
thumbFromTemplate
boolean
boxes
required
Array<object>
object
id
required
string format: uuid
placeId
required
string format: uuid
name
required
string | null
icon
required
string | null
shortCode
required
string | null
contentCount
required
integer
Example
{ "places": [ { "childOrder": "name", "thumbFromTemplate": true } ]}