BehaviorScript

API to manage automation scripts.

List behavior script.

get

List all available behavior script resources.

Authorizations
hue-application-keystringRequired
Responses
chevron-right
200

BehaviorScript Success Response

application/json
get
/clip/v2/resource/behavior_script

Get behavior script.

get

Get details of a single behavior script resource from its given {behaviorScriptId}.

Authorizations
hue-application-keystringRequired
Path parameters
behaviorScriptIdstringRequired

ID of the behavior script

Responses
chevron-right
200

BehaviorScript Success Response

application/json
get
/clip/v2/resource/behavior_script/{behaviorScriptId}

Update behavior script.

put

Update a single behavior script resource from its given {behaviorScriptId}.

Authorizations
hue-application-keystringRequired
Path parameters
behaviorScriptIdstringRequired

ID of the behavior script

Body
typestringOptional

Type of the supported resources (always behavior_script here)

Responses
chevron-right
200

Success

application/json
put
/clip/v2/resource/behavior_script/{behaviorScriptId}

Last updated

Was this helpful?