Skip to content

Get inventory item by ID

GET
/inventory/{id}
curl --request GET \
--url https://api.occulights.com/api/v1/inventory/example \
--header 'Authorization: <Authorization>'

Retrieves a specific inventory item by its UUID

id
required
string format: uuid

Unit ID

OK

Media typeapplication/json
object
hardwareVersion

PCB hardware revision (e.g. “1.0.0”, “1.0.1”), recorded when the unit is added to inventory. Copied onto tenantdb.Light at claim time, since different revisions require different firmware builds.

string
id
string
macAddress
string
orgId
string
standalone
boolean
type
string
Allowed values: hub light

Example

{
"type": "hub"
}

Bad Request

Media typeapplication/json
object
message
string

Example generated

{
"message": "example"
}

Unauthorized

Media typeapplication/json
string

Example generated

example

Not Found

Media typeapplication/json
object
message
string

Example generated

{
"message": "example"
}

Internal Server Error

Media typeapplication/json