/api/v1/places/{id}/contents
GET
/api/v1/places/{id}/contents
const url = 'https://example.com/api/v1/places/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/contents?group=type&sort=name&dir=asc&limit=50';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/places/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/contents?group=type&sort=name&dir=asc&limit=50' \ --header 'Authorization: Bearer <token>'Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”id
required
string format: uuid
Query Parameters
Section titled “Query Parameters”q
string
type
Any of:
string format: uuid
Array<string>
tag
Any of:
string format: uuid
Array<string>
state
Any of:
string
Array<string>
brand
Any of:
string format: uuid
Array<string>
belongsTo
Any of:
string format: uuid
Array<string>
not
Any of:
string
Array<string>
group
string
sort
string
dir
string
limit
integer
cursor
string
Responses
Section titled “Responses”Default Response
Media typeapplication/json
object
places
required
things
required
object
items
required
Array<object>
object
id
required
string format: uuid
locationId
required
string format: uuid
shortCode
required
string | null
name
required
string | null
type
required
quantity
required
number
lifecycle
required
string
derivedState
required
Array<string>
path
required
Array<object>
object
id
required
string format: uuid
name
required
string
kind
required
string
isUnplaced
required
boolean
shortCode
string | null
containerThumbUrl
required
string | null
thumbUrl
required
string | null
lastSeenAt
required
string | null
isContainer
required
boolean
next_cursor
required
string | null
Example
{ "things": { "items": [ { "derivedState": [ "uncertain" ], "path": [ { "kind": "place" } ] } ] }}