Version 2
Required scopes
This endpoint requires the following scopes:
Authorizations
AuthorizationstringRequired
Path parameters
object_idstringRequiredExample:
The unique identifier for the object.
obj_building_123Responses
200
Object details retrieved successfully.
application/json
404
Object not found for the given ID and client.
application/json
get
/objects/{object_id}Required scopes
This endpoint requires the following scopes:
Authorizations
AuthorizationstringRequired
Path parameters
object_idstringRequiredExample:
The unique identifier for the object.
obj_building_123Responses
200
List of devices retrieved successfully.
application/json
404
No devices found for the object.
application/json
get
/objects/{object_id}/devicesRequired scopes
This endpoint requires the following scopes:
Authorizations
AuthorizationstringRequired
Path parameters
device_idstringRequiredExample:
The unique identifier for the device.
dev_thermostat_01object_idstringRequiredExample:
The unique identifier for the object containing the device.
obj_building_123Responses
200
Device details retrieved successfully.
application/json
404
Device not found for the given ID and client.
application/json
get
/objects/{object_id}/devices/{device_id}Required scopes
This endpoint requires the following scopes:
Authorizations
AuthorizationstringRequired
Path parameters
device_idstringRequiredExample:
The unique identifier for the device.
dev_doorlock_1Aobject_idstringRequiredExample:
The unique identifier for the object containing the device.
obj_building_123Body
actionstring Β· enumRequiredPossible values:
The action to perform.
Responses
200
Action command successfully executed.
application/json
400
Invalid request body or unknown command.
application/json
401
Unauthorized. Missing client_id or no matching record found for the client and device.
application/json
post
/objects/{object_id}/devices/{device_id}/actionsLast updated