Device
API to manage devices. Devices have device level properties and offer services such as light. Bridge device cannot be deleted.
List all available devices
Device Success Response
Unauthorized
Forbidden
Not Found
Method Not Allowed
Not Acceptable
Conflict
Too Many Requests
Internal Server Error
Service Unavailable
Insufficient Storage
GET /clip/v2/resource/device HTTP/1.1
Host: 192.168.1.0
hue-application-key: YOUR_API_KEY
Accept: */*
{
"errors": [
{
"description": "text"
}
],
"data": [
{
"type": "device",
"id": "3883f8bf-30a3-445b-ac06-b047d50599df",
"id_v1": "/lights/8",
"owner": {
"rid": "42edd1f5-9538-4180-9ced-2d9e07f26d0f",
"rtype": "device"
},
"product_data": {
"model_id": "7602031P7",
"manufacturer_name": "Signify Netherlands B.V.",
"product_name": "Hue Go",
"product_archetype": "hue_go",
"certified": true,
"software_version": "1.104.3",
"hardware_platform_type": "100b-120"
},
"metadata": {
"name": "text",
"archetype": "hue_go"
},
"identify": {},
"usertest": {
"status": "set",
"usertest": true
},
"services": [
{
"rid": "42edd1f5-9538-4180-9ced-2d9e07f26d0f",
"rtype": "device"
}
]
}
]
}Get details of a single device from its given {deviceId}.
ID of the device
Device Success Response
Unauthorized
Forbidden
Not Found
Method Not Allowed
Not Acceptable
Conflict
Too Many Requests
Internal Server Error
Service Unavailable
Insufficient Storage
GET /clip/v2/resource/device/{deviceId} HTTP/1.1
Host: 192.168.1.0
hue-application-key: YOUR_API_KEY
Accept: */*
{
"errors": [
{
"description": "text"
}
],
"data": [
{
"type": "device",
"id": "3883f8bf-30a3-445b-ac06-b047d50599df",
"id_v1": "/lights/8",
"owner": {
"rid": "42edd1f5-9538-4180-9ced-2d9e07f26d0f",
"rtype": "device"
},
"product_data": {
"model_id": "7602031P7",
"manufacturer_name": "Signify Netherlands B.V.",
"product_name": "Hue Go",
"product_archetype": "hue_go",
"certified": true,
"software_version": "1.104.3",
"hardware_platform_type": "100b-120"
},
"metadata": {
"name": "text",
"archetype": "hue_go"
},
"identify": {},
"usertest": {
"status": "set",
"usertest": true
},
"services": [
{
"rid": "42edd1f5-9538-4180-9ced-2d9e07f26d0f",
"rtype": "device"
}
]
}
]
}Update a single device from its given {deviceId}.
ID of the device
Success
Unauthorized
Forbidden
Not Found
Method Not Allowed
Not Acceptable
Conflict
Too Many Requests
Internal Server Error
Service Unavailable
Insufficient Storage
PUT /clip/v2/resource/device/{deviceId} HTTP/1.1
Host: 192.168.1.0
hue-application-key: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 34
{
"identify": {
"action": "identify"
}
}{
"errors": [
{
"description": "text"
}
],
"data": [
{
"rid": "42edd1f5-9538-4180-9ced-2d9e07f26d0f",
"rtype": "device"
}
]
}Delete a single Device from its given {deviceId}. The bridge device cannot be deleted.
ID of the Device
Success
Unauthorized
Forbidden
Not Found
Method Not Allowed
Not Acceptable
Conflict
Too Many Requests
Internal Server Error
Service Unavailable
Insufficient Storage
DELETE /clip/v2/resource/device/{deviceId} HTTP/1.1
Host: 192.168.1.0
hue-application-key: YOUR_API_KEY
Accept: */*
{
"errors": [
{
"description": "text"
}
],
"data": [
{
"rid": "42edd1f5-9538-4180-9ced-2d9e07f26d0f",
"rtype": "device"
}
]
}Last updated
Was this helpful?