Behavior Instance
API to manage automation instances.
List all available behavior instance resources.
BehaviorInstance 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/behavior_instance HTTP/1.1
Host: 192.168.1.0
hue-application-key: YOUR_API_KEY
Accept: */*
{
"errors": [
{
"description": "text"
}
],
"data": [
{
"type": "light",
"id": "3883f8bf-30a3-445b-ac06-b047d50599df",
"id_v1": "/lights/8",
"script_id": "text",
"enabled": true,
"state": {},
"configuration": {},
"dependees": [
{
"rid": "42edd1f5-9538-4180-9ced-2d9e07f26d0f",
"rtype": "device"
}
],
"status": "initializing",
"last_error": "text",
"metadata": {
"name": "text"
}
}
]
}Get details of a single behavior instance resource from its given {behaviorInstanceId}.
ID of the behavior instance
BehaviorInstance 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/behavior_instance/{behaviorInstanceId} HTTP/1.1
Host: 192.168.1.0
hue-application-key: YOUR_API_KEY
Accept: */*
{
"errors": [
{
"description": "text"
}
],
"data": [
{
"type": "light",
"id": "3883f8bf-30a3-445b-ac06-b047d50599df",
"id_v1": "/lights/8",
"script_id": "text",
"enabled": true,
"state": {},
"configuration": {},
"dependees": [
{
"rid": "42edd1f5-9538-4180-9ced-2d9e07f26d0f",
"rtype": "device"
}
],
"status": "initializing",
"last_error": "text",
"metadata": {
"name": "text"
}
}
]
}Update a single behavior instance resource from its given {behaviorInstanceId}.
ID of the behavior instance
Type of the supported resources (always behavior_instance here)
True to enable the behavior instance.
Configuration for this behavior instance.
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/behavior_instance/{behaviorInstanceId} HTTP/1.1
Host: 192.168.1.0
hue-application-key: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 76
{
"type": "text",
"enabled": true,
"configuration": {},
"metadata": {
"name": "text"
}
}{
"errors": [
{
"description": "text"
}
],
"data": [
{
"rid": "42edd1f5-9538-4180-9ced-2d9e07f26d0f",
"rtype": "device"
}
]
}Last updated
Was this helpful?