Hue CLIP API version v2
https://{bridge}/clip/v2
- bridge: required(string)
The ip address or hostname of the bridge
/resource
API to retrieve all API resources
List all resources of this type
get /resource
List all resources of this type
API authorization using a hue-application-key header
HTTP status code 200
Request was on resource path was successful. Result of request is in data.
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
- data: required(array of AnyResourceGet)
HTTP status code 401
Client is not authorized
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 403
Client is not allowed to perform operation on this resource.
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 404
Resource or resource path does not exist
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 405
Method is not supported by the resource
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 406
Query parameter has invalid value.
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 409
Request conflict with the current state of the target resource
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 429
Too many requests
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 500
Internal Server Error
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 503
Busy, try again later.
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 507
Insufficient resources
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
Secured by hue-application-key
Headers
- hue-application-key: required(string)
API token
/resource/light
API to manage light services. These are offered by devices with lighting capabilities.
List all resources of this type
get /resource/light
List all resources of this type
API authorization using a hue-application-key header
HTTP status code 200
Request was on resource path was successful. Result of request is in data.
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
- data: required(array of LightGet)
Items: LightGet
- id: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
Unique identifier representing a specific resource instance
- id_v1: (string – pattern: ^(\/[a-z]{4,32}\/[0-9a-zA-Z-]{1,32})?$)
Clip v1 resource identifier
- owner: required(object)
Owner of the service, in case the owner service is deleted, the service also gets deleted
- rid: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
The unique id of the referenced resource
- rtype: required(one of device, bridge_home, room, zone, service_group, light, button, bell_button, relative_rotary, temperature, light_level, motion, camera_motion, entertainment, contact, tamper, convenience_area_motion, security_area_motion, speaker, grouped_light, grouped_motion, grouped_light_level, device_power, device_software_update, zigbee_connectivity, zgp_connectivity, bridge, motion_area_candidate, wifi_connectivity, zigbee_device_discovery, homekit, matter, matter_fabric, scene, entertainment_configuration, public_image, auth_v1, behavior_script, behavior_instance, geofence_client, geolocation, smart_scene, motion_area_configuration, clip)
The type of the referenced resource
- rid: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
- type: required(light)
- metadata: required(object)
additional metadata including a user given name
- name: required(string – minLength: 1 – maxLength: 32)
Human readable name of a resource
- archetype: required(one of unknown_archetype, classic_bulb, sultan_bulb, flood_bulb, spot_bulb, candle_bulb, luster_bulb, pendant_round, pendant_long, ceiling_round, ceiling_square, floor_shade, floor_lantern, table_shade, recessed_ceiling, recessed_floor, single_spot, double_spot, table_wash, wall_lantern, wall_shade, flexible_lamp, ground_spot, wall_spot, plug, hue_go, hue_lightstrip, hue_iris, hue_bloom, bollard, wall_washer, hue_play, vintage_bulb, vintage_candle_bulb, ellipse_bulb, triangle_bulb, small_globe_bulb, large_globe_bulb, edison_bulb, christmas_tree, string_light, hue_centris, hue_lightstrip_tv, hue_lightstrip_pc, hue_tube, hue_signe, pendant_spot, ceiling_horizontal, ceiling_tube, up_and_down, up_and_down_up, up_and_down_down, hue_floodlight_camera, twilight, twilight_front, twilight_back, hue_play_wallwasher, hue_omniglow, hue_neon, string_globe, string_permanent)
Deprecated: use metadata on device level
- fixed_mired: (integer – minimum: 50 – maximum: 1000)
A fixed mired value of the white lamp
Example:
233 - function: required(one of functional, decorative, mixed, unknown)
Function of the lightservice
- name: required(string – minLength: 1 – maxLength: 32)
- product_data: (object)
Factory defaults of the product data
- name: (string – minLength: 1 – maxLength: 32)
Name of the lightservice, only available for devices with multiple lightservices
- archetype: (one of unknown_archetype, classic_bulb, sultan_bulb, flood_bulb, spot_bulb, candle_bulb, luster_bulb, pendant_round, pendant_long, ceiling_round, ceiling_square, floor_shade, floor_lantern, table_shade, recessed_ceiling, recessed_floor, single_spot, double_spot, table_wash, wall_lantern, wall_shade, flexible_lamp, ground_spot, wall_spot, plug, hue_go, hue_lightstrip, hue_iris, hue_bloom, bollard, wall_washer, hue_play, vintage_bulb, vintage_candle_bulb, ellipse_bulb, triangle_bulb, small_globe_bulb, large_globe_bulb, edison_bulb, christmas_tree, string_light, hue_centris, hue_lightstrip_tv, hue_lightstrip_pc, hue_tube, hue_signe, pendant_spot, ceiling_horizontal, ceiling_tube, up_and_down, up_and_down_up, up_and_down_down, hue_floodlight_camera, twilight, twilight_front, twilight_back, hue_play_wallwasher, hue_omniglow, hue_neon, string_globe, string_permanent)
Archetype of the lightservice, only available for devices with multiple lightservices
- function: required(one of functional, decorative, mixed, unknown)
Function of the lightservice
- name: (string – minLength: 1 – maxLength: 32)
- identify: required(object)
- service_id: required(integer – minimum: 0)
Service identification number. 0 indicates service of a single instance
- on: required(object)
- on: required(boolean)
On/Off state of the light on=true, off=false
- on: required(boolean)
- dimming: (object)
- brightness: required(number – maximum: 100)
Brightness percentage. value cannot be 0, writing 0 changes it to lowest possible brightness
Example:
80 - min_dim_level: (number – minimum: 0 – maximum: 100)
Percentage of the maximum lumen the device outputs on minimum brightness
Example:
{ "brightness": 80 } - brightness: required(number – maximum: 100)
- dimming_delta: (object)
Example:
{ "action": "up", "brightness_delta": 10.5 } - color_temperature: (object)
- mirek: required(integer – minimum: 50 – maximum: 1000)
color temperature in mirek or null when the light color is not in the ct spectrum
Example:
233 - mirek_valid: required(boolean)
Indication whether the value presented in mirek is valid
- mirek_schema: required(object)
- mirek_minimum: required(integer – minimum: 50 – maximum: 1000)
minimum color temperature this light supports
Example:
233 - mirek_maximum: required(integer – minimum: 50 – maximum: 1000)
maximum color temperature this light supports
Example:
233
- mirek_minimum: required(integer – minimum: 50 – maximum: 1000)
Example:
{ "mirek_schema": { "mirek_minimum": 153, "mirek_maximum": 500 }, "mirek": 202, "mirek_valid": true } - mirek: required(integer – minimum: 50 – maximum: 1000)
- color_temperature_delta: (object)
Example:
{ "action": "up", "mirek_delta": 200 } - color: (object)
- xy: required(object)
CIE XY gamut position
- x: required(number – minimum: 0 – maximum: 1)
X position in color gamut
- y: required(number – minimum: 0 – maximum: 1)
Y position in color gamut
Example:
{ "x": 0.369, "y": 0.445 } - x: required(number – minimum: 0 – maximum: 1)
- gamut: (object)
Color gamut of color bulb. Some bulbs do not properly return the Gamut information. In this case this is not present.
- red: required(object)
CIE XY gamut position
- x: required(number – minimum: 0 – maximum: 1)
X position in color gamut
- y: required(number – minimum: 0 – maximum: 1)
Y position in color gamut
Example:
{ "x": 0.369, "y": 0.445 } - x: required(number – minimum: 0 – maximum: 1)
- green: required(object)
CIE XY gamut position
- x: required(number – minimum: 0 – maximum: 1)
X position in color gamut
- y: required(number – minimum: 0 – maximum: 1)
Y position in color gamut
Example:
{ "x": 0.369, "y": 0.445 } - x: required(number – minimum: 0 – maximum: 1)
- blue: required(object)
CIE XY gamut position
- x: required(number – minimum: 0 – maximum: 1)
X position in color gamut
- y: required(number – minimum: 0 – maximum: 1)
Y position in color gamut
Example:
{ "x": 0.369, "y": 0.445 } - x: required(number – minimum: 0 – maximum: 1)
- red: required(object)
- gamut_type: required(one of A, B, C, other)
The gammut types supported by hue – A Gamut of early Philips color-only products – B Limited gamut of first Hue color products – C Richer color gamut of Hue white and color ambiance products – other Color gamut of non-hue products with non-hue gamuts resp w/o gamut
Example:
{ "xy": { "x": 0.6915, "y": 0.3083 }, "gamut_type": "C", "gamut": { "red": { "x": 0.6915, "y": 0.3083 }, "green": { "x": 0.17, "y": 0.7 }, "blue": { "x": 0.1532, "y": 0.0475 } } } - xy: required(object)
- dynamics: (object)
- status: required(one of dynamic_palette, none)
Current status of the lamp with dynamics.
- status_values: required(array of SupportedDynamicStatus)
Statuses in which a lamp could be when playing dynamics.
- speed: required(number – minimum: 0 – maximum: 1)
speed of dynamic palette. The speed is only valid if the status is dynamic_palette.
- speed_valid: required(boolean)
Indicates whether the value presented in speed is valid
- status: required(one of dynamic_palette, none)
- alert: (object)
- action_values: required(array of AlertEffectType)
Alert effects that the light supports.
- action_values: required(array of AlertEffectType)
- signaling: (object)
Feature containing signaling properties.
- signal_values: required(array of SupportedSignals)
Signals that the light supports.
- status: (object)
Indicates status of active signal. Not available when inactive.
- signal: required(one of no_signal, on_off, on_off_color, alternating)
Indicates which signal is currently active.
- estimated_end: required(datetime)
Timestamp indicating when the active signal is expected to end. Value is not set if there is no_signal
- colors: required(array of ColorFeatureBasicGet)
Colors that were provided for the active effect.
Items: ColorFeatureBasicGet
- xy: required(object)
CIE XY gamut position
- x: required(number – minimum: 0 – maximum: 1)
X position in color gamut
- y: required(number – minimum: 0 – maximum: 1)
Y position in color gamut
Example:
{ "x": 0.369, "y": 0.445 } - x: required(number – minimum: 0 – maximum: 1)
Example:
{ "xy": { "x": 0.6915, "y": 0.3083 } } - xy: required(object)
- signal: required(one of no_signal, on_off, on_off_color, alternating)
- signal_values: required(array of SupportedSignals)
- mode: required(one of normal, streaming)
Mode the light is currently in
- gradient: (object)
Basic feature containing gradient properties.
- points: required(array of GradientPointGet – maxItems: 5)
Collection of gradients points. For control of the gradient points through a PUT a minimum of 2 points need to be provided.
Items: GradientPointGet
- color: required(object)
- xy: required(object)
CIE XY gamut position
- x: required(number – minimum: 0 – maximum: 1)
X position in color gamut
- y: required(number – minimum: 0 – maximum: 1)
Y position in color gamut
Example:
{ "x": 0.369, "y": 0.445 } - x: required(number – minimum: 0 – maximum: 1)
Example:
{ "xy": { "x": 0.6915, "y": 0.3083 } } - xy: required(object)
- color: required(object)
- mode: required(one of interpolated_palette, interpolated_palette_mirrored, random_pixelated, segmented_palette)
Mode in which the points are currently being deployed. If not provided during PUT/POST it will be defaulted to interpolated_palette
- points_capable: required(integer)
Number of color points that gradient lamp is capable of showing with gradience.
- mode_values: required(array of SupportedGradientModes)
Modes a gradient device can deploy the gradient palette of colors
- pixel_count: (integer)
Number of pixels in the device
- points: required(array of GradientPointGet – maxItems: 5)
- effects: (object)
Deprecated: use effects_v2
- status_values: required(array of SupportedEffects)
Possible status values in which a light could be when playing an effect.
- status: required(one of prism, opal, glisten, sparkle, fire, candle, underwater, cosmos, sunbeam, enchant, no_effect)
Current status values the light is in regarding effects
- effect_values: required(array of SupportedEffects)
Possible effect values you can set in a light.
- status_values: required(array of SupportedEffects)
- effects_v2: (object)
- action: required(object)
- effect_values: required(array of SupportedEffects)
Possible effect values you can set in a light.
- effect_values: required(array of SupportedEffects)
- status: required(object)
- effect: required(one of prism, opal, glisten, sparkle, fire, candle, underwater, cosmos, sunbeam, enchant, no_effect)
- effect_values: required(array of SupportedEffects)
- parameters: (object)
- color: (object)
- xy: required(object)
CIE XY gamut position
- x: required(number – minimum: 0 – maximum: 1)
X position in color gamut
- y: required(number – minimum: 0 – maximum: 1)
Y position in color gamut
Example:
{ "x": 0.369, "y": 0.445 } - x: required(number – minimum: 0 – maximum: 1)
Example:
{ "xy": { "x": 0.6915, "y": 0.3083 } } - xy: required(object)
- color_temperature: (object)
- mirek: required(integer – minimum: 50 – maximum: 1000)
color temperature in mirek or null when the light color is not in the ct spectrum
Example:
233 - mirek_valid: required(boolean)
Indication whether the value presented in mirek is valid
Example:
{ "mirek": 202, "mirek_valid": true } - mirek: required(integer – minimum: 50 – maximum: 1000)
- speed: required(number – minimum: 0 – maximum: 1)
- color: (object)
- action: required(object)
- timed_effects: (object)
- status_values: required(array of SupportedTimedEffects)
Possible status values in which a light could be when playing a timed effect.
- status: required(one of sunrise, sunset, no_effect)
Current status values the light is in regarding timed effects
- effect_values: required(array of SupportedTimedEffects)
Possible timed effect values you can set in a light.
- status_values: required(array of SupportedTimedEffects)
- powerup: (object)
Feature containing properties to configure powerup behaviour of a lightsource.
- preset: required(one of safety, powerfail, last_on_state, custom)
When setting the custom preset the additional properties can be set. For all other presets, no other properties can be included.
- configured: required(boolean)
Indicates if the shown values have been configured in the lightsource.
- on: required(object)
- mode: required(one of on, toggle, previous)
State to activate after powerup. On will use the value specified in the “on” property. When setting mode “on”, the on property must be included. Toggle will alternate between on and off on each subsequent power toggle. Previous will return to the state it was in before powering off.
- on: (object)
- on: required(boolean)
On/Off state of the light on=true, off=false
- on: required(boolean)
- mode: required(one of on, toggle, previous)
- dimming: (object)
- mode: required(one of dimming, previous)
Dimming will set the brightness to the specified value after power up. When setting mode “dimming”, the dimming property must be included. Previous will set brightness to the state it was in before powering off.
- dimming: (object)
- brightness: required(number – maximum: 100)
Brightness percentage. value cannot be 0, writing 0 changes it to lowest possible brightness
Example:
80
Example:
{ "brightness": 80 } - brightness: required(number – maximum: 100)
- mode: required(one of dimming, previous)
- color: (object)
- mode: required(one of color_temperature, color, previous)
State to activate after powerup. Availability of “color_temperature” and “color” modes depend on the capabilities of the lamp. Colortemperature will set the colortemperature to the specified value after power up. When setting color_temperature, the color_temperature property must be included Color will set the color tot he specified value after power up. When setting color mode, the color property must be included Previous will set color to the state it was in before powering off.
- color_temperature: (object)
- mirek: required(integer – minimum: 50 – maximum: 1000)
color temperature in mirek or null when the light color is not in the ct spectrum
Example:
233
Example:
{ "mirek": 202 } - mirek: required(integer – minimum: 50 – maximum: 1000)
- color: (object)
- xy: required(object)
CIE XY gamut position
- x: required(number – minimum: 0 – maximum: 1)
X position in color gamut
- y: required(number – minimum: 0 – maximum: 1)
Y position in color gamut
Example:
{ "x": 0.369, "y": 0.445 } - x: required(number – minimum: 0 – maximum: 1)
Example:
{ "xy": { "x": 0.6915, "y": 0.3083 } } - xy: required(object)
- mode: required(one of color_temperature, color, previous)
- preset: required(one of safety, powerfail, last_on_state, custom)
- content_configuration: (object)
Configuration parameters that affect how content is deployed on a product
- orientation: (object)
Orientation for content deployed on pixelated products when applicable (e.g. sunrise, candle)
- status: required(one of set, changing)
- configurable: required(boolean)
Indicates if the product allows modifying the configuration attribute
- orientation: required(one of horizontal, vertical)
- order: (object)
Order in which the content is represented on the pixels
- status: required(one of set, changing)
- configurable: required(boolean)
Indicates if the product allows modifying the configuration attribute
- order: required(one of forward, reversed)
- orientation: (object)
- id: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
HTTP status code 401
Client is not authorized
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 403
Client is not allowed to perform operation on this resource.
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 404
Resource or resource path does not exist
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 405
Method is not supported by the resource
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 406
Query parameter has invalid value.
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 409
Request conflict with the current state of the target resource
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 429
Too many requests
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 500
Internal Server Error
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 503
Busy, try again later.
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 507
Insufficient resources
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
Secured by hue-application-key
Headers
- hue-application-key: required(string)
API token
API calls for resource which cannot be deleted (PUT and GET on resource instance)
put /resource/light/{id}
API authorization using a hue-application-key header
URI Parameters
- id: required(string)
Body
Media type: application/json
Type: object
Properties
- type: (light)
- metadata: (object)
additional metadata including a user given name
- name: (string – minLength: 1 – maxLength: 32)
Human readable name of a resource
- archetype: (one of unknown_archetype, classic_bulb, sultan_bulb, flood_bulb, spot_bulb, candle_bulb, luster_bulb, pendant_round, pendant_long, ceiling_round, ceiling_square, floor_shade, floor_lantern, table_shade, recessed_ceiling, recessed_floor, single_spot, double_spot, table_wash, wall_lantern, wall_shade, flexible_lamp, ground_spot, wall_spot, plug, hue_go, hue_lightstrip, hue_iris, hue_bloom, bollard, wall_washer, hue_play, vintage_bulb, vintage_candle_bulb, ellipse_bulb, triangle_bulb, small_globe_bulb, large_globe_bulb, edison_bulb, christmas_tree, string_light, hue_centris, hue_lightstrip_tv, hue_lightstrip_pc, hue_tube, hue_signe, pendant_spot, ceiling_horizontal, ceiling_tube, up_and_down, up_and_down_up, up_and_down_down, hue_floodlight_camera, twilight, twilight_front, twilight_back, hue_play_wallwasher, hue_omniglow, hue_neon, string_globe, string_permanent)
Deprecated: use metadata on device level
- function: (one of functional, decorative, mixed, unknown)
Function of the lightservice
- name: (string – minLength: 1 – maxLength: 32)
- identify: (object)
- action: required(identify)
- identify: Triggers a visual identification sequence, current implemented as (which can change in the future): Bridge performs Zigbee LED identification cycles for 5 seconds Lights perform one breathe cycle Sensors perform LED identification cycles for 15 seconds
- duration: (integer)
Duration in milliseconds to perform the identify cycle.
Example:
800
- action: required(identify)
- on: (object)
- on: (boolean)
On/Off state of the light on=true, off=false
- on: (boolean)
- dimming: (object)
- brightness: (number – maximum: 100)
Brightness percentage. value cannot be 0, writing 0 changes it to lowest possible brightness
Example:
80
Example:
{ "brightness": 80 } - brightness: (number – maximum: 100)
- dimming_delta: (object)
- action: required(one of up, down, stop)
The delta action to apply
- brightness_delta: (number – maximum: 100)
Brightness percentage of full-scale increase delta to current dimlevel. Clip at Max-level or Min-level.
Example:
20
Example:
{ "action": "up", "brightness_delta": 10.5 } - action: required(one of up, down, stop)
- color_temperature: (object)
- mirek: (integer – minimum: 50 – maximum: 1000)
color temperature in mirek or null when the light color is not in the ct spectrum
Example:
233
Example:
{ "mirek_schema": { "mirek_minimum": 153, "mirek_maximum": 500 }, "mirek": 202, "mirek_valid": true } - mirek: (integer – minimum: 50 – maximum: 1000)
- color_temperature_delta: (object)
- action: required(one of up, down, stop)
The delta action to apply
- mirek_delta: (integer – maximum: 950)
Mirek delta to current mirek. Clip at mirek_minimum and mirek_maximum of mirek_schema.
Example:
10
Example:
{ "action": "up", "mirek_delta": 200 } - action: required(one of up, down, stop)
- color: (object)
- xy: (object)
CIE XY gamut position
- x: required(number – minimum: 0 – maximum: 1)
X position in color gamut
- y: required(number – minimum: 0 – maximum: 1)
Y position in color gamut
Example:
{ "x": 0.369, "y": 0.445 } - x: required(number – minimum: 0 – maximum: 1)
Example:
{ "xy": { "x": 0.6915, "y": 0.3083 }, "gamut_type": "C", "gamut": { "red": { "x": 0.6915, "y": 0.3083 }, "green": { "x": 0.17, "y": 0.7 }, "blue": { "x": 0.1532, "y": 0.0475 } } } - xy: (object)
- dynamics: (object)
- duration: (integer)
Duration of a light transition in ms.
Example:
800 - speed: (number – minimum: 0 – maximum: 1)
speed of dynamic palette. The speed is only valid if the status is dynamic_palette.
- duration: (integer)
- alert: (object)
- action: required(breathe)
Alert to set the light to
- action: required(breathe)
- signaling: (object)
Feature containing signaling properties.
- signal: required(one of no_signal, on_off, on_off_color, alternating)
Signal to set the light to
- duration: required(integer)
Duration in milliseconds. Maximum value is 65534000 ms and a stepsize of 1 second. Values inbetween steps will be rounded. Duration is ignored for no_signal.
Example:
800 - colors: (array of ColorFeatureBasicPut – minItems: 1 – maxItems: 2)
List of colors to apply to the signal (not supported by all signals)
Items: ColorFeatureBasicPut
- xy: (object)
CIE XY gamut position
- x: required(number – minimum: 0 – maximum: 1)
X position in color gamut
- y: required(number – minimum: 0 – maximum: 1)
Y position in color gamut
Example:
{ "x": 0.369, "y": 0.445 } - x: required(number – minimum: 0 – maximum: 1)
Example:
{ "xy": { "x": 0.6915, "y": 0.3083 } } - xy: (object)
- signal: required(one of no_signal, on_off, on_off_color, alternating)
- gradient: (object)
Basic feature containing gradient properties.
- points: required(array of GradientPointPut – maxItems: 5)
Collection of gradients points. For control of the gradient points through a PUT a minimum of 2 points need to be provided.
Items: GradientPointPut
- color: required(object)
- xy: (object)
CIE XY gamut position
- x: required(number – minimum: 0 – maximum: 1)
X position in color gamut
- y: required(number – minimum: 0 – maximum: 1)
Y position in color gamut
Example:
{ "x": 0.369, "y": 0.445 } - x: required(number – minimum: 0 – maximum: 1)
Example:
{ "xy": { "x": 0.6915, "y": 0.3083 } } - xy: (object)
- color: required(object)
- mode: (one of interpolated_palette, interpolated_palette_mirrored, random_pixelated, segmented_palette)
Mode in which the points are currently being deployed. If not provided during PUT/POST it will be defaulted to interpolated_palette
- points: required(array of GradientPointPut – maxItems: 5)
- effects: (object)
Deprecated: use effects_v2
- effect: (one of prism, opal, glisten, sparkle, fire, candle, underwater, cosmos, sunbeam, enchant, no_effect)
Effect to set the light to.
- effect: (one of prism, opal, glisten, sparkle, fire, candle, underwater, cosmos, sunbeam, enchant, no_effect)
- effects_v2: (object)
- action: (object)
- effect: required(one of prism, opal, glisten, sparkle, fire, candle, underwater, cosmos, sunbeam, enchant, no_effect)
Effect to set the light to.
- parameters: (object)
- color: (object)
- xy: (object)
CIE XY gamut position
- x: required(number – minimum: 0 – maximum: 1)
X position in color gamut
- y: required(number – minimum: 0 – maximum: 1)
Y position in color gamut
Example:
{ "x": 0.369, "y": 0.445 } - x: required(number – minimum: 0 – maximum: 1)
Example:
{ "xy": { "x": 0.6915, "y": 0.3083 } } - xy: (object)
- color_temperature: (object)
- mirek: (integer – minimum: 50 – maximum: 1000)
color temperature in mirek or null when the light color is not in the ct spectrum
Example:
233
Example:
{ "mirek": 202, "mirek_valid": true } - mirek: (integer – minimum: 50 – maximum: 1000)
- speed: (number – minimum: 0 – maximum: 1)
- color: (object)
- effect: required(one of prism, opal, glisten, sparkle, fire, candle, underwater, cosmos, sunbeam, enchant, no_effect)
- action: (object)
- timed_effects: (object)
- effect: (one of sunrise, sunset, no_effect)
Timed effect to set to the light.
- duration: (integer)
Duration in milliseconds. Duration is mandatory when timed effect is set except for no_effect. Resolution decreases for a larger duration. e.g Effects with duration smaller than a minute will be rounded to a resolution of 1s, while effects with duration larger than an hour will be arounded up to a resolution of 300s. Duration has a max of 21600000 ms.
Example:
800
- effect: (one of sunrise, sunset, no_effect)
- powerup: (object)
Feature containing properties to configure powerup behaviour of a lightsource.
- preset: required(one of safety, powerfail, last_on_state, custom)
When setting the custom preset the additional properties can be set. For all other presets, no other properties can be included.
- on: (object)
- mode: required(one of on, toggle, previous)
State to activate after powerup. On will use the value specified in the “on” property. When setting mode “on”, the on property must be included. Toggle will alternate between on and off on each subsequent power toggle. Previous will return to the state it was in before powering off.
- on: (object)
- on: (boolean)
On/Off state of the light on=true, off=false
- on: (boolean)
- mode: required(one of on, toggle, previous)
- dimming: (object)
- mode: required(one of dimming, previous)
Dimming will set the brightness to the specified value after power up. When setting mode “dimming”, the dimming property must be included. Previous will set brightness to the state it was in before powering off.
- dimming: (object)
- brightness: (number – maximum: 100)
Brightness percentage. value cannot be 0, writing 0 changes it to lowest possible brightness
Example:
80
Example:
{ "brightness": 80 } - brightness: (number – maximum: 100)
- mode: required(one of dimming, previous)
- color: (object)
- mode: required(one of color_temperature, color, previous)
State to activate after powerup. Availability of “color_temperature” and “color” modes depend on the capabilities of the lamp. Colortemperature will set the colortemperature to the specified value after power up. When setting color_temperature, the color_temperature property must be included Color will set the color tot he specified value after power up. When setting color mode, the color property must be included Previous will set color to the state it was in before powering off.
- color_temperature: (object)
- mirek: (integer – minimum: 50 – maximum: 1000)
color temperature in mirek or null when the light color is not in the ct spectrum
Example:
233
Example:
{ "mirek": 202 } - mirek: (integer – minimum: 50 – maximum: 1000)
- color: (object)
- xy: (object)
CIE XY gamut position
- x: required(number – minimum: 0 – maximum: 1)
X position in color gamut
- y: required(number – minimum: 0 – maximum: 1)
Y position in color gamut
Example:
{ "x": 0.369, "y": 0.445 } - x: required(number – minimum: 0 – maximum: 1)
Example:
{ "xy": { "x": 0.6915, "y": 0.3083 } } - xy: (object)
- mode: required(one of color_temperature, color, previous)
- preset: required(one of safety, powerfail, last_on_state, custom)
- content_configuration: (object)
Configuration parameters that affect how content is deployed on a product
- orientation: required(object)
Orientation for content deployed on pixelated products when applicable (e.g. sunrise, candle)
- orientation: (one of horizontal, vertical)
- order: required(object)
Order in which the content is represented on the pixels
- order: (one of forward, reversed)
- orientation: required(object)
HTTP status code 200
Request was on resource path was successful.
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
- data: required(array of ResourceIdentifier)
Items: ResourceIdentifier
- rid: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
The unique id of the referenced resource
- rtype: required(one of device, bridge_home, room, zone, service_group, light, button, bell_button, relative_rotary, temperature, light_level, motion, camera_motion, entertainment, contact, tamper, convenience_area_motion, security_area_motion, speaker, grouped_light, grouped_motion, grouped_light_level, device_power, device_software_update, zigbee_connectivity, zgp_connectivity, bridge, motion_area_candidate, wifi_connectivity, zigbee_device_discovery, homekit, matter, matter_fabric, scene, entertainment_configuration, public_image, auth_v1, behavior_script, behavior_instance, geofence_client, geolocation, smart_scene, motion_area_configuration, clip)
The type of the referenced resource
- rid: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
HTTP status code 207
Request was partially successful, resource has been updated. Failed requests and errors are listed in error object.
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
- data: required(array of ResourceIdentifier)
Items: ResourceIdentifier
- rid: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
The unique id of the referenced resource
- rtype: required(one of device, bridge_home, room, zone, service_group, light, button, bell_button, relative_rotary, temperature, light_level, motion, camera_motion, entertainment, contact, tamper, convenience_area_motion, security_area_motion, speaker, grouped_light, grouped_motion, grouped_light_level, device_power, device_software_update, zigbee_connectivity, zgp_connectivity, bridge, motion_area_candidate, wifi_connectivity, zigbee_device_discovery, homekit, matter, matter_fabric, scene, entertainment_configuration, public_image, auth_v1, behavior_script, behavior_instance, geofence_client, geolocation, smart_scene, motion_area_configuration, clip)
The type of the referenced resource
- rid: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
HTTP status code 400
Request was on resource path was unsuccessful, body of request contains errors.
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 401
Client is not authorized
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 403
Client is not allowed to perform operation on this resource.
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 404
Resource or resource path does not exist
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 405
Method is not supported by the resource
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 409
Request conflict with the current state of the target resource
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 429
Too many requests
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 500
Internal Server Error
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 503
Busy, try again later.
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 507
Insufficient resources
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
Secured by hue-application-key
Headers
- hue-application-key: required(string)
API token
get /resource/light/{id}
API authorization using a hue-application-key header
URI Parameters
- id: required(string)
HTTP status code 200
Request was on resource path was successful. Result of request is in data.
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
- data: required(array of LightGet)
Items: LightGet
- id: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
Unique identifier representing a specific resource instance
- id_v1: (string – pattern: ^(\/[a-z]{4,32}\/[0-9a-zA-Z-]{1,32})?$)
Clip v1 resource identifier
- owner: required(object)
Owner of the service, in case the owner service is deleted, the service also gets deleted
- rid: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
The unique id of the referenced resource
- rtype: required(one of device, bridge_home, room, zone, service_group, light, button, bell_button, relative_rotary, temperature, light_level, motion, camera_motion, entertainment, contact, tamper, convenience_area_motion, security_area_motion, speaker, grouped_light, grouped_motion, grouped_light_level, device_power, device_software_update, zigbee_connectivity, zgp_connectivity, bridge, motion_area_candidate, wifi_connectivity, zigbee_device_discovery, homekit, matter, matter_fabric, scene, entertainment_configuration, public_image, auth_v1, behavior_script, behavior_instance, geofence_client, geolocation, smart_scene, motion_area_configuration, clip)
The type of the referenced resource
- rid: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
- type: required(light)
- metadata: required(object)
additional metadata including a user given name
- name: required(string – minLength: 1 – maxLength: 32)
Human readable name of a resource
- archetype: required(one of unknown_archetype, classic_bulb, sultan_bulb, flood_bulb, spot_bulb, candle_bulb, luster_bulb, pendant_round, pendant_long, ceiling_round, ceiling_square, floor_shade, floor_lantern, table_shade, recessed_ceiling, recessed_floor, single_spot, double_spot, table_wash, wall_lantern, wall_shade, flexible_lamp, ground_spot, wall_spot, plug, hue_go, hue_lightstrip, hue_iris, hue_bloom, bollard, wall_washer, hue_play, vintage_bulb, vintage_candle_bulb, ellipse_bulb, triangle_bulb, small_globe_bulb, large_globe_bulb, edison_bulb, christmas_tree, string_light, hue_centris, hue_lightstrip_tv, hue_lightstrip_pc, hue_tube, hue_signe, pendant_spot, ceiling_horizontal, ceiling_tube, up_and_down, up_and_down_up, up_and_down_down, hue_floodlight_camera, twilight, twilight_front, twilight_back, hue_play_wallwasher, hue_omniglow, hue_neon, string_globe, string_permanent)
Deprecated: use metadata on device level
- fixed_mired: (integer – minimum: 50 – maximum: 1000)
A fixed mired value of the white lamp
Example:
233 - function: required(one of functional, decorative, mixed, unknown)
Function of the lightservice
- name: required(string – minLength: 1 – maxLength: 32)
- product_data: (object)
Factory defaults of the product data
- name: (string – minLength: 1 – maxLength: 32)
Name of the lightservice, only available for devices with multiple lightservices
- archetype: (one of unknown_archetype, classic_bulb, sultan_bulb, flood_bulb, spot_bulb, candle_bulb, luster_bulb, pendant_round, pendant_long, ceiling_round, ceiling_square, floor_shade, floor_lantern, table_shade, recessed_ceiling, recessed_floor, single_spot, double_spot, table_wash, wall_lantern, wall_shade, flexible_lamp, ground_spot, wall_spot, plug, hue_go, hue_lightstrip, hue_iris, hue_bloom, bollard, wall_washer, hue_play, vintage_bulb, vintage_candle_bulb, ellipse_bulb, triangle_bulb, small_globe_bulb, large_globe_bulb, edison_bulb, christmas_tree, string_light, hue_centris, hue_lightstrip_tv, hue_lightstrip_pc, hue_tube, hue_signe, pendant_spot, ceiling_horizontal, ceiling_tube, up_and_down, up_and_down_up, up_and_down_down, hue_floodlight_camera, twilight, twilight_front, twilight_back, hue_play_wallwasher, hue_omniglow, hue_neon, string_globe, string_permanent)
Archetype of the lightservice, only available for devices with multiple lightservices
- function: required(one of functional, decorative, mixed, unknown)
Function of the lightservice
- name: (string – minLength: 1 – maxLength: 32)
- identify: required(object)
- service_id: required(integer – minimum: 0)
Service identification number. 0 indicates service of a single instance
- on: required(object)
- on: required(boolean)
On/Off state of the light on=true, off=false
- on: required(boolean)
- dimming: (object)
- brightness: required(number – maximum: 100)
Brightness percentage. value cannot be 0, writing 0 changes it to lowest possible brightness
Example:
80 - min_dim_level: (number – minimum: 0 – maximum: 100)
Percentage of the maximum lumen the device outputs on minimum brightness
Example:
{ "brightness": 80 } - brightness: required(number – maximum: 100)
- dimming_delta: (object)
Example:
{ "action": "up", "brightness_delta": 10.5 } - color_temperature: (object)
- mirek: required(integer – minimum: 50 – maximum: 1000)
color temperature in mirek or null when the light color is not in the ct spectrum
Example:
233 - mirek_valid: required(boolean)
Indication whether the value presented in mirek is valid
- mirek_schema: required(object)
- mirek_minimum: required(integer – minimum: 50 – maximum: 1000)
minimum color temperature this light supports
Example:
233 - mirek_maximum: required(integer – minimum: 50 – maximum: 1000)
maximum color temperature this light supports
Example:
233
- mirek_minimum: required(integer – minimum: 50 – maximum: 1000)
Example:
{ "mirek_schema": { "mirek_minimum": 153, "mirek_maximum": 500 }, "mirek": 202, "mirek_valid": true } - mirek: required(integer – minimum: 50 – maximum: 1000)
- color_temperature_delta: (object)
Example:
{ "action": "up", "mirek_delta": 200 } - color: (object)
- xy: required(object)
CIE XY gamut position
- x: required(number – minimum: 0 – maximum: 1)
X position in color gamut
- y: required(number – minimum: 0 – maximum: 1)
Y position in color gamut
Example:
{ "x": 0.369, "y": 0.445 } - x: required(number – minimum: 0 – maximum: 1)
- gamut: (object)
Color gamut of color bulb. Some bulbs do not properly return the Gamut information. In this case this is not present.
- red: required(object)
CIE XY gamut position
- x: required(number – minimum: 0 – maximum: 1)
X position in color gamut
- y: required(number – minimum: 0 – maximum: 1)
Y position in color gamut
Example:
{ "x": 0.369, "y": 0.445 } - x: required(number – minimum: 0 – maximum: 1)
- green: required(object)
CIE XY gamut position
- x: required(number – minimum: 0 – maximum: 1)
X position in color gamut
- y: required(number – minimum: 0 – maximum: 1)
Y position in color gamut
Example:
{ "x": 0.369, "y": 0.445 } - x: required(number – minimum: 0 – maximum: 1)
- blue: required(object)
CIE XY gamut position
- x: required(number – minimum: 0 – maximum: 1)
X position in color gamut
- y: required(number – minimum: 0 – maximum: 1)
Y position in color gamut
Example:
{ "x": 0.369, "y": 0.445 } - x: required(number – minimum: 0 – maximum: 1)
- red: required(object)
- gamut_type: required(one of A, B, C, other)
The gammut types supported by hue – A Gamut of early Philips color-only products – B Limited gamut of first Hue color products – C Richer color gamut of Hue white and color ambiance products – other Color gamut of non-hue products with non-hue gamuts resp w/o gamut
Example:
{ "xy": { "x": 0.6915, "y": 0.3083 }, "gamut_type": "C", "gamut": { "red": { "x": 0.6915, "y": 0.3083 }, "green": { "x": 0.17, "y": 0.7 }, "blue": { "x": 0.1532, "y": 0.0475 } } } - xy: required(object)
- dynamics: (object)
- status: required(one of dynamic_palette, none)
Current status of the lamp with dynamics.
- status_values: required(array of SupportedDynamicStatus)
Statuses in which a lamp could be when playing dynamics.
- speed: required(number – minimum: 0 – maximum: 1)
speed of dynamic palette. The speed is only valid if the status is dynamic_palette.
- speed_valid: required(boolean)
Indicates whether the value presented in speed is valid
- status: required(one of dynamic_palette, none)
- alert: (object)
- action_values: required(array of AlertEffectType)
Alert effects that the light supports.
- action_values: required(array of AlertEffectType)
- signaling: (object)
Feature containing signaling properties.
- signal_values: required(array of SupportedSignals)
Signals that the light supports.
- status: (object)
Indicates status of active signal. Not available when inactive.
- signal: required(one of no_signal, on_off, on_off_color, alternating)
Indicates which signal is currently active.
- estimated_end: required(datetime)
Timestamp indicating when the active signal is expected to end. Value is not set if there is no_signal
- colors: required(array of ColorFeatureBasicGet)
Colors that were provided for the active effect.
Items: ColorFeatureBasicGet
- xy: required(object)
CIE XY gamut position
- x: required(number – minimum: 0 – maximum: 1)
X position in color gamut
- y: required(number – minimum: 0 – maximum: 1)
Y position in color gamut
Example:
{ "x": 0.369, "y": 0.445 } - x: required(number – minimum: 0 – maximum: 1)
Example:
{ "xy": { "x": 0.6915, "y": 0.3083 } } - xy: required(object)
- signal: required(one of no_signal, on_off, on_off_color, alternating)
- signal_values: required(array of SupportedSignals)
- mode: required(one of normal, streaming)
Mode the light is currently in
- gradient: (object)
Basic feature containing gradient properties.
- points: required(array of GradientPointGet – maxItems: 5)
Collection of gradients points. For control of the gradient points through a PUT a minimum of 2 points need to be provided.
Items: GradientPointGet
- color: required(object)
- xy: required(object)
CIE XY gamut position
- x: required(number – minimum: 0 – maximum: 1)
X position in color gamut
- y: required(number – minimum: 0 – maximum: 1)
Y position in color gamut
Example:
{ "x": 0.369, "y": 0.445 } - x: required(number – minimum: 0 – maximum: 1)
Example:
{ "xy": { "x": 0.6915, "y": 0.3083 } } - xy: required(object)
- color: required(object)
- mode: required(one of interpolated_palette, interpolated_palette_mirrored, random_pixelated, segmented_palette)
Mode in which the points are currently being deployed. If not provided during PUT/POST it will be defaulted to interpolated_palette
- points_capable: required(integer)
Number of color points that gradient lamp is capable of showing with gradience.
- mode_values: required(array of SupportedGradientModes)
Modes a gradient device can deploy the gradient palette of colors
- pixel_count: (integer)
Number of pixels in the device
- points: required(array of GradientPointGet – maxItems: 5)
- effects: (object)
Deprecated: use effects_v2
- status_values: required(array of SupportedEffects)
Possible status values in which a light could be when playing an effect.
- status: required(one of prism, opal, glisten, sparkle, fire, candle, underwater, cosmos, sunbeam, enchant, no_effect)
Current status values the light is in regarding effects
- effect_values: required(array of SupportedEffects)
Possible effect values you can set in a light.
- status_values: required(array of SupportedEffects)
- effects_v2: (object)
- action: required(object)
- effect_values: required(array of SupportedEffects)
Possible effect values you can set in a light.
- effect_values: required(array of SupportedEffects)
- status: required(object)
- effect: required(one of prism, opal, glisten, sparkle, fire, candle, underwater, cosmos, sunbeam, enchant, no_effect)
- effect_values: required(array of SupportedEffects)
- parameters: (object)
- color: (object)
- xy: required(object)
CIE XY gamut position
- x: required(number – minimum: 0 – maximum: 1)
X position in color gamut
- y: required(number – minimum: 0 – maximum: 1)
Y position in color gamut
Example:
{ "x": 0.369, "y": 0.445 } - x: required(number – minimum: 0 – maximum: 1)
Example:
{ "xy": { "x": 0.6915, "y": 0.3083 } } - xy: required(object)
- color_temperature: (object)
- mirek: required(integer – minimum: 50 – maximum: 1000)
color temperature in mirek or null when the light color is not in the ct spectrum
Example:
233 - mirek_valid: required(boolean)
Indication whether the value presented in mirek is valid
Example:
{ "mirek": 202, "mirek_valid": true } - mirek: required(integer – minimum: 50 – maximum: 1000)
- speed: required(number – minimum: 0 – maximum: 1)
- color: (object)
- action: required(object)
- timed_effects: (object)
- status_values: required(array of SupportedTimedEffects)
Possible status values in which a light could be when playing a timed effect.
- status: required(one of sunrise, sunset, no_effect)
Current status values the light is in regarding timed effects
- effect_values: required(array of SupportedTimedEffects)
Possible timed effect values you can set in a light.
- status_values: required(array of SupportedTimedEffects)
- powerup: (object)
Feature containing properties to configure powerup behaviour of a lightsource.
- preset: required(one of safety, powerfail, last_on_state, custom)
When setting the custom preset the additional properties can be set. For all other presets, no other properties can be included.
- configured: required(boolean)
Indicates if the shown values have been configured in the lightsource.
- on: required(object)
- mode: required(one of on, toggle, previous)
State to activate after powerup. On will use the value specified in the “on” property. When setting mode “on”, the on property must be included. Toggle will alternate between on and off on each subsequent power toggle. Previous will return to the state it was in before powering off.
- on: (object)
- on: required(boolean)
On/Off state of the light on=true, off=false
- on: required(boolean)
- mode: required(one of on, toggle, previous)
- dimming: (object)
- mode: required(one of dimming, previous)
Dimming will set the brightness to the specified value after power up. When setting mode “dimming”, the dimming property must be included. Previous will set brightness to the state it was in before powering off.
- dimming: (object)
- brightness: required(number – maximum: 100)
Brightness percentage. value cannot be 0, writing 0 changes it to lowest possible brightness
Example:
80
Example:
{ "brightness": 80 } - brightness: required(number – maximum: 100)
- mode: required(one of dimming, previous)
- color: (object)
- mode: required(one of color_temperature, color, previous)
State to activate after powerup. Availability of “color_temperature” and “color” modes depend on the capabilities of the lamp. Colortemperature will set the colortemperature to the specified value after power up. When setting color_temperature, the color_temperature property must be included Color will set the color tot he specified value after power up. When setting color mode, the color property must be included Previous will set color to the state it was in before powering off.
- color_temperature: (object)
- mirek: required(integer – minimum: 50 – maximum: 1000)
color temperature in mirek or null when the light color is not in the ct spectrum
Example:
233
Example:
{ "mirek": 202 } - mirek: required(integer – minimum: 50 – maximum: 1000)
- color: (object)
- xy: required(object)
CIE XY gamut position
- x: required(number – minimum: 0 – maximum: 1)
X position in color gamut
- y: required(number – minimum: 0 – maximum: 1)
Y position in color gamut
Example:
{ "x": 0.369, "y": 0.445 } - x: required(number – minimum: 0 – maximum: 1)
Example:
{ "xy": { "x": 0.6915, "y": 0.3083 } } - xy: required(object)
- mode: required(one of color_temperature, color, previous)
- preset: required(one of safety, powerfail, last_on_state, custom)
- content_configuration: (object)
Configuration parameters that affect how content is deployed on a product
- orientation: (object)
Orientation for content deployed on pixelated products when applicable (e.g. sunrise, candle)
- status: required(one of set, changing)
- configurable: required(boolean)
Indicates if the product allows modifying the configuration attribute
- orientation: required(one of horizontal, vertical)
- order: (object)
Order in which the content is represented on the pixels
- status: required(one of set, changing)
- configurable: required(boolean)
Indicates if the product allows modifying the configuration attribute
- order: required(one of forward, reversed)
- orientation: (object)
- id: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
HTTP status code 401
Client is not authorized
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 403
Client is not allowed to perform operation on this resource.
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 404
Resource or resource path does not exist
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 405
Method is not supported by the resource
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 409
Request conflict with the current state of the target resource
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 429
Too many requests
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 500
Internal Server Error
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 503
Busy, try again later.
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 507
Insufficient resources
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
Secured by hue-application-key
Headers
- hue-application-key: required(string)
API token
/resource/scene
API to manage scenes. Scenes are used to store and recall settings for a group of lights.
create a new resource of this type
List all resources of this type
post /resource/scene
create a new resource of this type
API authorization using a hue-application-key header
Body
Media type: application/json
Type: object
Properties
- actions: required(array of ActionPost)
List of actions to be executed synchronously on recall
Items: ActionPost
- target: required(object)
The identifier of the light to execute the action on
- rid: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
The unique id of the referenced resource
- rtype: required(one of device, bridge_home, room, zone, service_group, light, button, bell_button, relative_rotary, temperature, light_level, motion, camera_motion, entertainment, contact, tamper, convenience_area_motion, security_area_motion, speaker, grouped_light, grouped_motion, grouped_light_level, device_power, device_software_update, zigbee_connectivity, zgp_connectivity, bridge, motion_area_candidate, wifi_connectivity, zigbee_device_discovery, homekit, matter, matter_fabric, scene, entertainment_configuration, public_image, auth_v1, behavior_script, behavior_instance, geofence_client, geolocation, smart_scene, motion_area_configuration, clip)
The type of the referenced resource
- rid: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
- action: required(object)
the action to be executed on recall
- on: (object)
- on: required(boolean)
On/Off state of the light on=true, off=false
- on: required(boolean)
- dimming: (object)
- brightness: required(number – maximum: 100)
Brightness percentage. value cannot be 0, writing 0 changes it to lowest possible brightness
Example:
80
Example:
{ "brightness": 80 } - brightness: required(number – maximum: 100)
- color: (object)
- xy: required(object)
CIE XY gamut position
- x: required(number – minimum: 0 – maximum: 1)
X position in color gamut
- y: required(number – minimum: 0 – maximum: 1)
Y position in color gamut
Example:
{ "x": 0.369, "y": 0.445 } - x: required(number – minimum: 0 – maximum: 1)
Example:
{ "xy": { "x": 0.6915, "y": 0.3083 } } - xy: required(object)
- color_temperature: (object)
- mirek: required(integer – minimum: 50 – maximum: 1000)
color temperature in mirek or null when the light color is not in the ct spectrum
Example:
233
Example:
{ "mirek": 202 } - mirek: required(integer – minimum: 50 – maximum: 1000)
- gradient: (object)
Basic feature containing gradient properties.
- points: required(array of GradientPointPost – maxItems: 5)
Collection of gradients points. For control of the gradient points through a PUT a minimum of 2 points need to be provided.
Items: GradientPointPost
- color: required(object)
- xy: required(object)
CIE XY gamut position
- x: required(number – minimum: 0 – maximum: 1)
X position in color gamut
- y: required(number – minimum: 0 – maximum: 1)
Y position in color gamut
Example:
{ "x": 0.369, "y": 0.445 } - x: required(number – minimum: 0 – maximum: 1)
Example:
{ "xy": { "x": 0.6915, "y": 0.3083 } } - xy: required(object)
- color: required(object)
- mode: (one of interpolated_palette, interpolated_palette_mirrored, random_pixelated, segmented_palette)
Mode in which the points are currently being deployed. If not provided during PUT/POST it will be defaulted to interpolated_palette
- points: required(array of GradientPointPost – maxItems: 5)
- effects: (object)
Deprecated: use effects_v2
- effect: (one of prism, opal, glisten, sparkle, fire, candle, underwater, cosmos, sunbeam, enchant, no_effect)
- effects_v2: (object)
Basic feature containing effects v2 properties
- action: required(object)
- effect: required(one of prism, opal, glisten, sparkle, fire, candle, underwater, cosmos, sunbeam, enchant, no_effect)
- parameters: (object)
- color: (object)
- xy: required(object)
CIE XY gamut position
- x: required(number – minimum: 0 – maximum: 1)
X position in color gamut
- y: required(number – minimum: 0 – maximum: 1)
Y position in color gamut
Example:
{ "x": 0.369, "y": 0.445 } - x: required(number – minimum: 0 – maximum: 1)
Example:
{ "xy": { "x": 0.6915, "y": 0.3083 } } - xy: required(object)
- color_temperature: (object)
- mirek: required(integer – minimum: 50 – maximum: 1000)
color temperature in mirek or null when the light color is not in the ct spectrum
Example:
233
Example:
{ "mirek": 202 } - mirek: required(integer – minimum: 50 – maximum: 1000)
- speed: (number – minimum: 0 – maximum: 1)
- color: (object)
- action: required(object)
- dynamics: (object)
- duration: (integer)
Duration of a light transition in ms.
Example:
800
- duration: (integer)
- on: (object)
Example:
{ "target": { "rid": "08221fb4-ce0c-4914-845d-50aa5033f126", "rtype": "light" }, "action": { "on": { "on": true }, "dimming": { "brightness": 30 }, "color": { "xy": { "x": 0.6915, "y": 0.3083 } }, "color_temperature": { "mirek": 200 }, "effects": { "effect": "candle" }, "effects_v2": { "action": { "effect": "fire", "parameters": { "color": { "xy": { "x": 0.6915, "y": 0.3083 } }, "color_temperature": { "mirek": 250 }, "speed": 0.3 } } }, "gradient": { "points": [ { "color": { "xy": { "x": 0.6915, "y": 0.3083 } } }, { "color": { "xy": { "x": 0.1532, "y": 0.4431 } } } ], "mode": "interpolated_palette" }, "dynamics": { "duration": 400 } } } - target: required(object)
- palette: (object)
Group of colors that describe the palette of colors to be used when playing dynamics
- color: required(array of ColorPalettePost – minItems: 0 – maxItems: 9)
Items: ColorPalettePost
- color: required(object)
- xy: required(object)
CIE XY gamut position
- x: required(number – minimum: 0 – maximum: 1)
X position in color gamut
- y: required(number – minimum: 0 – maximum: 1)
Y position in color gamut
Example:
{ "x": 0.369, "y": 0.445 } - x: required(number – minimum: 0 – maximum: 1)
Example:
{ "xy": { "x": 0.6915, "y": 0.3083 } } - xy: required(object)
- dimming: required(object)
- brightness: required(number – maximum: 100)
Brightness percentage. value cannot be 0, writing 0 changes it to lowest possible brightness
Example:
80
Example:
{ "brightness": 80 } - brightness: required(number – maximum: 100)
- color: required(object)
- dimming: required(array of DimmingFeatureBasicPost – minItems: 0 – maxItems: 1)
Items: DimmingFeatureBasicPost
- brightness: required(number – maximum: 100)
Brightness percentage. value cannot be 0, writing 0 changes it to lowest possible brightness
Example:
80
Example:
{ "brightness": 80 } - brightness: required(number – maximum: 100)
- color_temperature: required(array of ColorTemperaturePalettePost – minItems: 0 – maxItems: 1)
Items: ColorTemperaturePalettePost
- color_temperature: required(object)
- mirek: required(integer – minimum: 50 – maximum: 1000)
color temperature in mirek or null when the light color is not in the ct spectrum
Example:
233
Example:
{ "mirek": 202 } - mirek: required(integer – minimum: 50 – maximum: 1000)
- dimming: required(object)
- brightness: required(number – maximum: 100)
Brightness percentage. value cannot be 0, writing 0 changes it to lowest possible brightness
Example:
80
Example:
{ "brightness": 80 } - brightness: required(number – maximum: 100)
- color_temperature: required(object)
- effects: (array of EffectFeatureBasicPost – minItems: 0 – maxItems: 3)
Deprecated. use effects_v2
Items: EffectFeatureBasicPost
- effect: (one of prism, opal, glisten, sparkle, fire, candle, underwater, cosmos, sunbeam, enchant, no_effect)
- effects_v2: (array of EffectV2FeatureBasicPost – minItems: 0 – maxItems: 3)
Items: EffectV2FeatureBasicPost
- action: required(object)
- effect: required(one of prism, opal, glisten, sparkle, fire, candle, underwater, cosmos, sunbeam, enchant, no_effect)
- parameters: (object)
- color: (object)
- xy: required(object)
CIE XY gamut position
- x: required(number – minimum: 0 – maximum: 1)
X position in color gamut
- y: required(number – minimum: 0 – maximum: 1)
Y position in color gamut
Example:
{ "x": 0.369, "y": 0.445 } - x: required(number – minimum: 0 – maximum: 1)
Example:
{ "xy": { "x": 0.6915, "y": 0.3083 } } - xy: required(object)
- color_temperature: (object)
- mirek: required(integer – minimum: 50 – maximum: 1000)
color temperature in mirek or null when the light color is not in the ct spectrum
Example:
233
Example:
{ "mirek": 202 } - mirek: required(integer – minimum: 50 – maximum: 1000)
- speed: (number – minimum: 0 – maximum: 1)
- color: (object)
- action: required(object)
- color: required(array of ColorPalettePost – minItems: 0 – maxItems: 9)
- type: (scene)
Type of the supported resources
- metadata: required(object)
- name: required(string – minLength: 1 – maxLength: 32)
Human readable name of a resource
- image: (object)
Reference with unique identifier for the image representing the scene only accepting “rtype”: “public_image” on creation
- rid: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
The unique id of the referenced resource
- rtype: required(one of device, bridge_home, room, zone, service_group, light, button, bell_button, relative_rotary, temperature, light_level, motion, camera_motion, entertainment, contact, tamper, convenience_area_motion, security_area_motion, speaker, grouped_light, grouped_motion, grouped_light_level, device_power, device_software_update, zigbee_connectivity, zgp_connectivity, bridge, motion_area_candidate, wifi_connectivity, zigbee_device_discovery, homekit, matter, matter_fabric, scene, entertainment_configuration, public_image, auth_v1, behavior_script, behavior_instance, geofence_client, geolocation, smart_scene, motion_area_configuration, clip)
The type of the referenced resource
- rid: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
- appdata: (string – minLength: 1 – maxLength: 16)
Application specific data. Free format string.
- name: required(string – minLength: 1 – maxLength: 32)
- group: required(object)
Group associated with this Scene. All services in the group are part of this scene. If the group is changed the scene is update (e.g. light added/removed)
- rid: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
The unique id of the referenced resource
- rtype: required(one of device, bridge_home, room, zone, service_group, light, button, bell_button, relative_rotary, temperature, light_level, motion, camera_motion, entertainment, contact, tamper, convenience_area_motion, security_area_motion, speaker, grouped_light, grouped_motion, grouped_light_level, device_power, device_software_update, zigbee_connectivity, zgp_connectivity, bridge, motion_area_candidate, wifi_connectivity, zigbee_device_discovery, homekit, matter, matter_fabric, scene, entertainment_configuration, public_image, auth_v1, behavior_script, behavior_instance, geofence_client, geolocation, smart_scene, motion_area_configuration, clip)
The type of the referenced resource
- rid: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
- speed: (number – minimum: 0 – maximum: 1)
Speed of dynamic palette for this scene
- auto_dynamic: (boolean)
Indicates whether to automatically start the scene dynamically on active recall
HTTP status code 201
Resource has been created
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
- data: required(array of ResourceIdentifier)
Items: ResourceIdentifier
- rid: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
The unique id of the referenced resource
- rtype: required(one of device, bridge_home, room, zone, service_group, light, button, bell_button, relative_rotary, temperature, light_level, motion, camera_motion, entertainment, contact, tamper, convenience_area_motion, security_area_motion, speaker, grouped_light, grouped_motion, grouped_light_level, device_power, device_software_update, zigbee_connectivity, zgp_connectivity, bridge, motion_area_candidate, wifi_connectivity, zigbee_device_discovery, homekit, matter, matter_fabric, scene, entertainment_configuration, public_image, auth_v1, behavior_script, behavior_instance, geofence_client, geolocation, smart_scene, motion_area_configuration, clip)
The type of the referenced resource
- rid: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
HTTP status code 400
Request was on resource path was unsuccessful, body of request contains errors.
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 401
Client is not authorized
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 403
Client is not allowed to perform operation on this resource.
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 404
Resource or resource path does not exist
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 405
Method is not supported by the resource
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 409
Request conflict with the current state of the target resource
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 429
Too many requests
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 500
Internal Server Error
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 503
Busy, try again later.
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 507
Insufficient resources
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
Secured by hue-application-key
Headers
- hue-application-key: required(string)
API token
get /resource/scene
List all resources of this type
API authorization using a hue-application-key header
HTTP status code 200
Request was on resource path was successful. Result of request is in data.
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
- data: required(array of SceneGet)
Items: SceneGet
- id: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
Unique identifier representing a specific resource instance
- id_v1: (string – pattern: ^(\/[a-z]{4,32}\/[0-9a-zA-Z-]{1,32})?$)
Clip v1 resource identifier
- actions: required(array of ActionGet)
List of actions to be executed synchronously on recall
Items: ActionGet
- target: required(object)
The identifier of the light to execute the action on
- rid: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
The unique id of the referenced resource
- rtype: required(one of device, bridge_home, room, zone, service_group, light, button, bell_button, relative_rotary, temperature, light_level, motion, camera_motion, entertainment, contact, tamper, convenience_area_motion, security_area_motion, speaker, grouped_light, grouped_motion, grouped_light_level, device_power, device_software_update, zigbee_connectivity, zgp_connectivity, bridge, motion_area_candidate, wifi_connectivity, zigbee_device_discovery, homekit, matter, matter_fabric, scene, entertainment_configuration, public_image, auth_v1, behavior_script, behavior_instance, geofence_client, geolocation, smart_scene, motion_area_configuration, clip)
The type of the referenced resource
- rid: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
- action: required(object)
the action to be executed on recall
- on: (object)
- on: required(boolean)
On/Off state of the light on=true, off=false
- on: required(boolean)
- dimming: (object)
- brightness: required(number – maximum: 100)
Brightness percentage. value cannot be 0, writing 0 changes it to lowest possible brightness
Example:
80
Example:
{ "brightness": 80 } - brightness: required(number – maximum: 100)
- color: (object)
- xy: required(object)
CIE XY gamut position
- x: required(number – minimum: 0 – maximum: 1)
X position in color gamut
- y: required(number – minimum: 0 – maximum: 1)
Y position in color gamut
Example:
{ "x": 0.369, "y": 0.445 } - x: required(number – minimum: 0 – maximum: 1)
Example:
{ "xy": { "x": 0.6915, "y": 0.3083 } } - xy: required(object)
- color_temperature: (object)
- mirek: required(integer – minimum: 50 – maximum: 1000)
color temperature in mirek or null when the light color is not in the ct spectrum
Example:
233
Example:
{ "mirek": 202 } - mirek: required(integer – minimum: 50 – maximum: 1000)
- gradient: (object)
Basic feature containing gradient properties.
- points: required(array of GradientPointGet – maxItems: 5)
Collection of gradients points. For control of the gradient points through a PUT a minimum of 2 points need to be provided.
Items: GradientPointGet
- color: required(object)
- xy: required(object)
CIE XY gamut position
- x: required(number – minimum: 0 – maximum: 1)
X position in color gamut
- y: required(number – minimum: 0 – maximum: 1)
Y position in color gamut
Example:
{ "x": 0.369, "y": 0.445 } - x: required(number – minimum: 0 – maximum: 1)
Example:
{ "xy": { "x": 0.6915, "y": 0.3083 } } - xy: required(object)
- color: required(object)
- mode: required(one of interpolated_palette, interpolated_palette_mirrored, random_pixelated, segmented_palette)
Mode in which the points are currently being deployed. If not provided during PUT/POST it will be defaulted to interpolated_palette
- points: required(array of GradientPointGet – maxItems: 5)
- effects: (object)
Deprecated: use effects_v2
- effect: required(one of prism, opal, glisten, sparkle, fire, candle, underwater, cosmos, sunbeam, enchant, no_effect)
- effects_v2: (object)
Basic feature containing effects v2 properties
- action: required(object)
- effect: required(one of prism, opal, glisten, sparkle, fire, candle, underwater, cosmos, sunbeam, enchant, no_effect)
- parameters: (object)
- color: (object)
- xy: required(object)
CIE XY gamut position
- x: required(number – minimum: 0 – maximum: 1)
X position in color gamut
- y: required(number – minimum: 0 – maximum: 1)
Y position in color gamut
Example:
{ "x": 0.369, "y": 0.445 } - x: required(number – minimum: 0 – maximum: 1)
Example:
{ "xy": { "x": 0.6915, "y": 0.3083 } } - xy: required(object)
- color_temperature: (object)
- mirek: required(integer – minimum: 50 – maximum: 1000)
color temperature in mirek or null when the light color is not in the ct spectrum
Example:
233
Example:
{ "mirek": 202 } - mirek: required(integer – minimum: 50 – maximum: 1000)
- speed: (number – minimum: 0 – maximum: 1)
- color: (object)
- action: required(object)
- dynamics: (object)
- duration: (integer)
Duration of a light transition in ms.
Example:
800
- duration: (integer)
- on: (object)
Example:
{ "target": { "rid": "08221fb4-ce0c-4914-845d-50aa5033f126", "rtype": "light" }, "action": { "on": { "on": true }, "dimming": { "brightness": 30 }, "color": { "xy": { "x": 0.6915, "y": 0.3083 } }, "color_temperature": { "mirek": 200 }, "effects": { "effect": "candle" }, "effects_v2": { "action": { "effect": "fire", "parameters": { "color": { "xy": { "x": 0.6915, "y": 0.3083 } }, "color_temperature": { "mirek": 250 }, "speed": 0.3 } } }, "gradient": { "points": [ { "color": { "xy": { "x": 0.6915, "y": 0.3083 } } }, { "color": { "xy": { "x": 0.1532, "y": 0.4431 } } } ], "mode": "interpolated_palette" }, "dynamics": { "duration": 400 } } } - target: required(object)
- palette: (object)
Group of colors that describe the palette of colors to be used when playing dynamics
- color: required(array of ColorPaletteGet – minItems: 0 – maxItems: 9)
Items: ColorPaletteGet
- color: required(object)
- xy: required(object)
CIE XY gamut position
- x: required(number – minimum: 0 – maximum: 1)
X position in color gamut
- y: required(number – minimum: 0 – maximum: 1)
Y position in color gamut
Example:
{ "x": 0.369, "y": 0.445 } - x: required(number – minimum: 0 – maximum: 1)
Example:
{ "xy": { "x": 0.6915, "y": 0.3083 } } - xy: required(object)
- dimming: required(object)
- brightness: required(number – maximum: 100)
Brightness percentage. value cannot be 0, writing 0 changes it to lowest possible brightness
Example:
80
Example:
{ "brightness": 80 } - brightness: required(number – maximum: 100)
- color: required(object)
- dimming: required(array of DimmingFeatureBasicGet – minItems: 0 – maxItems: 1)
Items: DimmingFeatureBasicGet
- brightness: required(number – maximum: 100)
Brightness percentage. value cannot be 0, writing 0 changes it to lowest possible brightness
Example:
80
Example:
{ "brightness": 80 } - brightness: required(number – maximum: 100)
- color_temperature: required(array of ColorTemperaturePaletteGet – minItems: 0 – maxItems: 1)
Items: ColorTemperaturePaletteGet
- color_temperature: required(object)
- mirek: required(integer – minimum: 50 – maximum: 1000)
color temperature in mirek or null when the light color is not in the ct spectrum
Example:
233
Example:
{ "mirek": 202 } - mirek: required(integer – minimum: 50 – maximum: 1000)
- dimming: required(object)
- brightness: required(number – maximum: 100)
Brightness percentage. value cannot be 0, writing 0 changes it to lowest possible brightness
Example:
80
Example:
{ "brightness": 80 } - brightness: required(number – maximum: 100)
- color_temperature: required(object)
- effects: required(array of EffectFeatureBasicGet – minItems: 0 – maxItems: 3)
Deprecated. use effects_v2
Items: EffectFeatureBasicGet
- effect: required(one of prism, opal, glisten, sparkle, fire, candle, underwater, cosmos, sunbeam, enchant, no_effect)
- effects_v2: required(array of EffectV2FeatureBasicGet – minItems: 0 – maxItems: 3)
Items: EffectV2FeatureBasicGet
- action: required(object)
- effect: required(one of prism, opal, glisten, sparkle, fire, candle, underwater, cosmos, sunbeam, enchant, no_effect)
- parameters: (object)
- color: (object)
- xy: required(object)
CIE XY gamut position
- x: required(number – minimum: 0 – maximum: 1)
X position in color gamut
- y: required(number – minimum: 0 – maximum: 1)
Y position in color gamut
Example:
{ "x": 0.369, "y": 0.445 } - x: required(number – minimum: 0 – maximum: 1)
Example:
{ "xy": { "x": 0.6915, "y": 0.3083 } } - xy: required(object)
- color_temperature: (object)
- mirek: required(integer – minimum: 50 – maximum: 1000)
color temperature in mirek or null when the light color is not in the ct spectrum
Example:
233
Example:
{ "mirek": 202 } - mirek: required(integer – minimum: 50 – maximum: 1000)
- speed: (number – minimum: 0 – maximum: 1)
- color: (object)
- action: required(object)
- color: required(array of ColorPaletteGet – minItems: 0 – maxItems: 9)
- recall: required(object)
- type: required(scene)
Type of the supported resources
- metadata: required(object)
- name: required(string – minLength: 1 – maxLength: 32)
Human readable name of a resource
- image: (object)
Reference with unique identifier for the image representing the scene only accepting “rtype”: “public_image” on creation
- rid: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
The unique id of the referenced resource
- rtype: required(one of device, bridge_home, room, zone, service_group, light, button, bell_button, relative_rotary, temperature, light_level, motion, camera_motion, entertainment, contact, tamper, convenience_area_motion, security_area_motion, speaker, grouped_light, grouped_motion, grouped_light_level, device_power, device_software_update, zigbee_connectivity, zgp_connectivity, bridge, motion_area_candidate, wifi_connectivity, zigbee_device_discovery, homekit, matter, matter_fabric, scene, entertainment_configuration, public_image, auth_v1, behavior_script, behavior_instance, geofence_client, geolocation, smart_scene, motion_area_configuration, clip)
The type of the referenced resource
- rid: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
- appdata: (string – minLength: 1 – maxLength: 16)
Application specific data. Free format string.
- name: required(string – minLength: 1 – maxLength: 32)
- group: required(object)
Group associated with this Scene. All services in the group are part of this scene. If the group is changed the scene is update (e.g. light added/removed)
- rid: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
The unique id of the referenced resource
- rtype: required(one of device, bridge_home, room, zone, service_group, light, button, bell_button, relative_rotary, temperature, light_level, motion, camera_motion, entertainment, contact, tamper, convenience_area_motion, security_area_motion, speaker, grouped_light, grouped_motion, grouped_light_level, device_power, device_software_update, zigbee_connectivity, zgp_connectivity, bridge, motion_area_candidate, wifi_connectivity, zigbee_device_discovery, homekit, matter, matter_fabric, scene, entertainment_configuration, public_image, auth_v1, behavior_script, behavior_instance, geofence_client, geolocation, smart_scene, motion_area_configuration, clip)
The type of the referenced resource
- rid: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
- speed: required(number – minimum: 0 – maximum: 1)
Speed of dynamic palette for this scene
- auto_dynamic: required(boolean)
Indicates whether to automatically start the scene dynamically on active recall
- status: required(object)
Consists the information about the current status and last time it is recalled
- active: (one of inactive, static, dynamic_palette)
- last_recall: (datetime)
- id: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
HTTP status code 401
Client is not authorized
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 403
Client is not allowed to perform operation on this resource.
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 404
Resource or resource path does not exist
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 405
Method is not supported by the resource
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 406
Query parameter has invalid value.
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 409
Request conflict with the current state of the target resource
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 429
Too many requests
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 500
Internal Server Error
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 503
Busy, try again later.
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 507
Insufficient resources
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
Secured by hue-application-key
Headers
- hue-application-key: required(string)
API token
API calls to read, update and delete a resource instance
delete /resource/scene/{id}
API authorization using a hue-application-key header
URI Parameters
- id: required(string)
HTTP status code 200
Resource has been deleted
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
- data: required(array of ResourceIdentifier)
Items: ResourceIdentifier
- rid: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
The unique id of the referenced resource
- rtype: required(one of device, bridge_home, room, zone, service_group, light, button, bell_button, relative_rotary, temperature, light_level, motion, camera_motion, entertainment, contact, tamper, convenience_area_motion, security_area_motion, speaker, grouped_light, grouped_motion, grouped_light_level, device_power, device_software_update, zigbee_connectivity, zgp_connectivity, bridge, motion_area_candidate, wifi_connectivity, zigbee_device_discovery, homekit, matter, matter_fabric, scene, entertainment_configuration, public_image, auth_v1, behavior_script, behavior_instance, geofence_client, geolocation, smart_scene, motion_area_configuration, clip)
The type of the referenced resource
- rid: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
HTTP status code 401
Client is not authorized
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 403
Client is not allowed to perform operation on this resource.
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 404
Resource or resource path does not exist
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 405
Method is not supported by the resource
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 409
Request conflict with the current state of the target resource
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 429
Too many requests
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 500
Internal Server Error
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 503
Busy, try again later.
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 507
Insufficient resources
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
Secured by hue-application-key
Headers
- hue-application-key: required(string)
API token
put /resource/scene/{id}
API authorization using a hue-application-key header
URI Parameters
- id: required(string)
Body
Media type: application/json
Type: object
Properties
- actions: (array of ActionPut)
List of actions to be executed synchronously on recall
Items: ActionPut
- target: required(object)
The identifier of the light to execute the action on
- rid: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
The unique id of the referenced resource
- rtype: required(one of device, bridge_home, room, zone, service_group, light, button, bell_button, relative_rotary, temperature, light_level, motion, camera_motion, entertainment, contact, tamper, convenience_area_motion, security_area_motion, speaker, grouped_light, grouped_motion, grouped_light_level, device_power, device_software_update, zigbee_connectivity, zgp_connectivity, bridge, motion_area_candidate, wifi_connectivity, zigbee_device_discovery, homekit, matter, matter_fabric, scene, entertainment_configuration, public_image, auth_v1, behavior_script, behavior_instance, geofence_client, geolocation, smart_scene, motion_area_configuration, clip)
The type of the referenced resource
- rid: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
- action: required(object)
the action to be executed on recall
- on: (object)
- on: (boolean)
On/Off state of the light on=true, off=false
- on: (boolean)
- dimming: (object)
- brightness: (number – maximum: 100)
Brightness percentage. value cannot be 0, writing 0 changes it to lowest possible brightness
Example:
80
Example:
{ "brightness": 80 } - brightness: (number – maximum: 100)
- color: (object)
- xy: (object)
CIE XY gamut position
- x: required(number – minimum: 0 – maximum: 1)
X position in color gamut
- y: required(number – minimum: 0 – maximum: 1)
Y position in color gamut
Example:
{ "x": 0.369, "y": 0.445 } - x: required(number – minimum: 0 – maximum: 1)
Example:
{ "xy": { "x": 0.6915, "y": 0.3083 } } - xy: (object)
- color_temperature: (object)
- mirek: (integer – minimum: 50 – maximum: 1000)
color temperature in mirek or null when the light color is not in the ct spectrum
Example:
233
Example:
{ "mirek": 202 } - mirek: (integer – minimum: 50 – maximum: 1000)
- gradient: (object)
Basic feature containing gradient properties.
- points: required(array of GradientPointPut – maxItems: 5)
Collection of gradients points. For control of the gradient points through a PUT a minimum of 2 points need to be provided.
Items: GradientPointPut
- color: required(object)
- xy: (object)
CIE XY gamut position
- x: required(number – minimum: 0 – maximum: 1)
X position in color gamut
- y: required(number – minimum: 0 – maximum: 1)
Y position in color gamut
Example:
{ "x": 0.369, "y": 0.445 } - x: required(number – minimum: 0 – maximum: 1)
Example:
{ "xy": { "x": 0.6915, "y": 0.3083 } } - xy: (object)
- color: required(object)
- mode: (one of interpolated_palette, interpolated_palette_mirrored, random_pixelated, segmented_palette)
Mode in which the points are currently being deployed. If not provided during PUT/POST it will be defaulted to interpolated_palette
- points: required(array of GradientPointPut – maxItems: 5)
- effects: (object)
Deprecated: use effects_v2
- effect: (one of prism, opal, glisten, sparkle, fire, candle, underwater, cosmos, sunbeam, enchant, no_effect)
- effects_v2: (object)
Basic feature containing effects v2 properties
- action: (object)
- effect: required(one of prism, opal, glisten, sparkle, fire, candle, underwater, cosmos, sunbeam, enchant, no_effect)
- parameters: (object)
- color: (object)
- xy: (object)
CIE XY gamut position
- x: required(number – minimum: 0 – maximum: 1)
X position in color gamut
- y: required(number – minimum: 0 – maximum: 1)
Y position in color gamut
Example:
{ "x": 0.369, "y": 0.445 } - x: required(number – minimum: 0 – maximum: 1)
Example:
{ "xy": { "x": 0.6915, "y": 0.3083 } } - xy: (object)
- color_temperature: (object)
- mirek: (integer – minimum: 50 – maximum: 1000)
color temperature in mirek or null when the light color is not in the ct spectrum
Example:
233
Example:
{ "mirek": 202 } - mirek: (integer – minimum: 50 – maximum: 1000)
- speed: (number – minimum: 0 – maximum: 1)
- color: (object)
- action: (object)
- dynamics: (object)
- duration: (integer)
Duration of a light transition in ms.
Example:
800
- duration: (integer)
- on: (object)
Example:
{ "target": { "rid": "08221fb4-ce0c-4914-845d-50aa5033f126", "rtype": "light" }, "action": { "on": { "on": true }, "dimming": { "brightness": 30 }, "color": { "xy": { "x": 0.6915, "y": 0.3083 } }, "color_temperature": { "mirek": 200 }, "effects": { "effect": "candle" }, "effects_v2": { "action": { "effect": "fire", "parameters": { "color": { "xy": { "x": 0.6915, "y": 0.3083 } }, "color_temperature": { "mirek": 250 }, "speed": 0.3 } } }, "gradient": { "points": [ { "color": { "xy": { "x": 0.6915, "y": 0.3083 } } }, { "color": { "xy": { "x": 0.1532, "y": 0.4431 } } } ], "mode": "interpolated_palette" }, "dynamics": { "duration": 400 } } } - target: required(object)
- palette: (object)
Group of colors that describe the palette of colors to be used when playing dynamics
- color: required(array of ColorPalettePut – minItems: 0 – maxItems: 9)
Items: ColorPalettePut
- color: required(object)
- xy: (object)
CIE XY gamut position
- x: required(number – minimum: 0 – maximum: 1)
X position in color gamut
- y: required(number – minimum: 0 – maximum: 1)
Y position in color gamut
Example:
{ "x": 0.369, "y": 0.445 } - x: required(number – minimum: 0 – maximum: 1)
Example:
{ "xy": { "x": 0.6915, "y": 0.3083 } } - xy: (object)
- dimming: required(object)
- brightness: (number – maximum: 100)
Brightness percentage. value cannot be 0, writing 0 changes it to lowest possible brightness
Example:
80
Example:
{ "brightness": 80 } - brightness: (number – maximum: 100)
- color: required(object)
- dimming: required(array of DimmingFeatureBasicPut – minItems: 0 – maxItems: 1)
Items: DimmingFeatureBasicPut
- brightness: (number – maximum: 100)
Brightness percentage. value cannot be 0, writing 0 changes it to lowest possible brightness
Example:
80
Example:
{ "brightness": 80 } - brightness: (number – maximum: 100)
- color_temperature: required(array of ColorTemperaturePalettePut – minItems: 0 – maxItems: 1)
Items: ColorTemperaturePalettePut
- color_temperature: required(object)
- mirek: (integer – minimum: 50 – maximum: 1000)
color temperature in mirek or null when the light color is not in the ct spectrum
Example:
233
Example:
{ "mirek": 202 } - mirek: (integer – minimum: 50 – maximum: 1000)
- dimming: required(object)
- brightness: (number – maximum: 100)
Brightness percentage. value cannot be 0, writing 0 changes it to lowest possible brightness
Example:
80
Example:
{ "brightness": 80 } - brightness: (number – maximum: 100)
- color_temperature: required(object)
- effects: (array of EffectFeatureBasicPut – minItems: 0 – maxItems: 3)
Deprecated. use effects_v2
Items: EffectFeatureBasicPut
- effect: (one of prism, opal, glisten, sparkle, fire, candle, underwater, cosmos, sunbeam, enchant, no_effect)
- effects_v2: (array of EffectV2FeatureBasicPut – minItems: 0 – maxItems: 3)
Items: EffectV2FeatureBasicPut
- action: (object)
- effect: required(one of prism, opal, glisten, sparkle, fire, candle, underwater, cosmos, sunbeam, enchant, no_effect)
- parameters: (object)
- color: (object)
- xy: (object)
CIE XY gamut position
- x: required(number – minimum: 0 – maximum: 1)
X position in color gamut
- y: required(number – minimum: 0 – maximum: 1)
Y position in color gamut
Example:
{ "x": 0.369, "y": 0.445 } - x: required(number – minimum: 0 – maximum: 1)
Example:
{ "xy": { "x": 0.6915, "y": 0.3083 } } - xy: (object)
- color_temperature: (object)
- mirek: (integer – minimum: 50 – maximum: 1000)
color temperature in mirek or null when the light color is not in the ct spectrum
Example:
233
Example:
{ "mirek": 202 } - mirek: (integer – minimum: 50 – maximum: 1000)
- speed: (number – minimum: 0 – maximum: 1)
- color: (object)
- action: (object)
- color: required(array of ColorPalettePut – minItems: 0 – maxItems: 9)
- recall: (object)
- action: (one of active, dynamic_palette, static)
When writing active, the actions in the scene are executed on the target. dynamic_palette starts dynamic scene with colors in the Palette object.
- duration: (integer)
transition to the scene within the timeframe given by duration
Example:
800 - dimming: (object)
override the scene dimming/brightness
- brightness: (number – maximum: 100)
Brightness percentage. value cannot be 0, writing 0 changes it to lowest possible brightness
Example:
80
Example:
{ "brightness": 80 } - brightness: (number – maximum: 100)
- action: (one of active, dynamic_palette, static)
- type: (scene)
Type of the supported resources
- metadata: (object)
- name: (string – minLength: 1 – maxLength: 32)
Human readable name of a resource
- appdata: (string – minLength: 1 – maxLength: 16)
Application specific data. Free format string.
- name: (string – minLength: 1 – maxLength: 32)
- speed: (number – minimum: 0 – maximum: 1)
Speed of dynamic palette for this scene
- auto_dynamic: (boolean)
Indicates whether to automatically start the scene dynamically on active recall
HTTP status code 200
Request was on resource path was successful.
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
- data: required(array of ResourceIdentifier)
Items: ResourceIdentifier
- rid: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
The unique id of the referenced resource
- rtype: required(one of device, bridge_home, room, zone, service_group, light, button, bell_button, relative_rotary, temperature, light_level, motion, camera_motion, entertainment, contact, tamper, convenience_area_motion, security_area_motion, speaker, grouped_light, grouped_motion, grouped_light_level, device_power, device_software_update, zigbee_connectivity, zgp_connectivity, bridge, motion_area_candidate, wifi_connectivity, zigbee_device_discovery, homekit, matter, matter_fabric, scene, entertainment_configuration, public_image, auth_v1, behavior_script, behavior_instance, geofence_client, geolocation, smart_scene, motion_area_configuration, clip)
The type of the referenced resource
- rid: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
HTTP status code 207
Request was partially successful, resource has been updated. Failed requests and errors are listed in error object.
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
- data: required(array of ResourceIdentifier)
Items: ResourceIdentifier
- rid: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
The unique id of the referenced resource
- rtype: required(one of device, bridge_home, room, zone, service_group, light, button, bell_button, relative_rotary, temperature, light_level, motion, camera_motion, entertainment, contact, tamper, convenience_area_motion, security_area_motion, speaker, grouped_light, grouped_motion, grouped_light_level, device_power, device_software_update, zigbee_connectivity, zgp_connectivity, bridge, motion_area_candidate, wifi_connectivity, zigbee_device_discovery, homekit, matter, matter_fabric, scene, entertainment_configuration, public_image, auth_v1, behavior_script, behavior_instance, geofence_client, geolocation, smart_scene, motion_area_configuration, clip)
The type of the referenced resource
- rid: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
HTTP status code 400
Request was on resource path was unsuccessful, body of request contains errors.
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 401
Client is not authorized
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 403
Client is not allowed to perform operation on this resource.
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 404
Resource or resource path does not exist
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 405
Method is not supported by the resource
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 409
Request conflict with the current state of the target resource
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 429
Too many requests
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 500
Internal Server Error
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 503
Busy, try again later.
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 507
Insufficient resources
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
Secured by hue-application-key
Headers
- hue-application-key: required(string)
API token
get /resource/scene/{id}
API authorization using a hue-application-key header
URI Parameters
- id: required(string)
HTTP status code 200
Request was on resource path was successful. Result of request is in data.
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
- data: required(array of SceneGet)
Items: SceneGet
- id: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
Unique identifier representing a specific resource instance
- id_v1: (string – pattern: ^(\/[a-z]{4,32}\/[0-9a-zA-Z-]{1,32})?$)
Clip v1 resource identifier
- actions: required(array of ActionGet)
List of actions to be executed synchronously on recall
Items: ActionGet
- target: required(object)
The identifier of the light to execute the action on
- rid: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
The unique id of the referenced resource
- rtype: required(one of device, bridge_home, room, zone, service_group, light, button, bell_button, relative_rotary, temperature, light_level, motion, camera_motion, entertainment, contact, tamper, convenience_area_motion, security_area_motion, speaker, grouped_light, grouped_motion, grouped_light_level, device_power, device_software_update, zigbee_connectivity, zgp_connectivity, bridge, motion_area_candidate, wifi_connectivity, zigbee_device_discovery, homekit, matter, matter_fabric, scene, entertainment_configuration, public_image, auth_v1, behavior_script, behavior_instance, geofence_client, geolocation, smart_scene, motion_area_configuration, clip)
The type of the referenced resource
- rid: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
- action: required(object)
the action to be executed on recall
- on: (object)
- on: required(boolean)
On/Off state of the light on=true, off=false
- on: required(boolean)
- dimming: (object)
- brightness: required(number – maximum: 100)
Brightness percentage. value cannot be 0, writing 0 changes it to lowest possible brightness
Example:
80
Example:
{ "brightness": 80 } - brightness: required(number – maximum: 100)
- color: (object)
- xy: required(object)
CIE XY gamut position
- x: required(number – minimum: 0 – maximum: 1)
X position in color gamut
- y: required(number – minimum: 0 – maximum: 1)
Y position in color gamut
Example:
{ "x": 0.369, "y": 0.445 } - x: required(number – minimum: 0 – maximum: 1)
Example:
{ "xy": { "x": 0.6915, "y": 0.3083 } } - xy: required(object)
- color_temperature: (object)
- mirek: required(integer – minimum: 50 – maximum: 1000)
color temperature in mirek or null when the light color is not in the ct spectrum
Example:
233
Example:
{ "mirek": 202 } - mirek: required(integer – minimum: 50 – maximum: 1000)
- gradient: (object)
Basic feature containing gradient properties.
- points: required(array of GradientPointGet – maxItems: 5)
Collection of gradients points. For control of the gradient points through a PUT a minimum of 2 points need to be provided.
Items: GradientPointGet
- color: required(object)
- xy: required(object)
CIE XY gamut position
- x: required(number – minimum: 0 – maximum: 1)
X position in color gamut
- y: required(number – minimum: 0 – maximum: 1)
Y position in color gamut
Example:
{ "x": 0.369, "y": 0.445 } - x: required(number – minimum: 0 – maximum: 1)
Example:
{ "xy": { "x": 0.6915, "y": 0.3083 } } - xy: required(object)
- color: required(object)
- mode: required(one of interpolated_palette, interpolated_palette_mirrored, random_pixelated, segmented_palette)
Mode in which the points are currently being deployed. If not provided during PUT/POST it will be defaulted to interpolated_palette
- points: required(array of GradientPointGet – maxItems: 5)
- effects: (object)
Deprecated: use effects_v2
- effect: required(one of prism, opal, glisten, sparkle, fire, candle, underwater, cosmos, sunbeam, enchant, no_effect)
- effects_v2: (object)
Basic feature containing effects v2 properties
- action: required(object)
- effect: required(one of prism, opal, glisten, sparkle, fire, candle, underwater, cosmos, sunbeam, enchant, no_effect)
- parameters: (object)
- color: (object)
- xy: required(object)
CIE XY gamut position
- x: required(number – minimum: 0 – maximum: 1)
X position in color gamut
- y: required(number – minimum: 0 – maximum: 1)
Y position in color gamut
Example:
{ "x": 0.369, "y": 0.445 } - x: required(number – minimum: 0 – maximum: 1)
Example:
{ "xy": { "x": 0.6915, "y": 0.3083 } } - xy: required(object)
- color_temperature: (object)
- mirek: required(integer – minimum: 50 – maximum: 1000)
color temperature in mirek or null when the light color is not in the ct spectrum
Example:
233
Example:
{ "mirek": 202 } - mirek: required(integer – minimum: 50 – maximum: 1000)
- speed: (number – minimum: 0 – maximum: 1)
- color: (object)
- action: required(object)
- dynamics: (object)
- duration: (integer)
Duration of a light transition in ms.
Example:
800
- duration: (integer)
- on: (object)
Example:
{ "target": { "rid": "08221fb4-ce0c-4914-845d-50aa5033f126", "rtype": "light" }, "action": { "on": { "on": true }, "dimming": { "brightness": 30 }, "color": { "xy": { "x": 0.6915, "y": 0.3083 } }, "color_temperature": { "mirek": 200 }, "effects": { "effect": "candle" }, "effects_v2": { "action": { "effect": "fire", "parameters": { "color": { "xy": { "x": 0.6915, "y": 0.3083 } }, "color_temperature": { "mirek": 250 }, "speed": 0.3 } } }, "gradient": { "points": [ { "color": { "xy": { "x": 0.6915, "y": 0.3083 } } }, { "color": { "xy": { "x": 0.1532, "y": 0.4431 } } } ], "mode": "interpolated_palette" }, "dynamics": { "duration": 400 } } } - target: required(object)
- palette: (object)
Group of colors that describe the palette of colors to be used when playing dynamics
- color: required(array of ColorPaletteGet – minItems: 0 – maxItems: 9)
Items: ColorPaletteGet
- color: required(object)
- xy: required(object)
CIE XY gamut position
- x: required(number – minimum: 0 – maximum: 1)
X position in color gamut
- y: required(number – minimum: 0 – maximum: 1)
Y position in color gamut
Example:
{ "x": 0.369, "y": 0.445 } - x: required(number – minimum: 0 – maximum: 1)
Example:
{ "xy": { "x": 0.6915, "y": 0.3083 } } - xy: required(object)
- dimming: required(object)
- brightness: required(number – maximum: 100)
Brightness percentage. value cannot be 0, writing 0 changes it to lowest possible brightness
Example:
80
Example:
{ "brightness": 80 } - brightness: required(number – maximum: 100)
- color: required(object)
- dimming: required(array of DimmingFeatureBasicGet – minItems: 0 – maxItems: 1)
Items: DimmingFeatureBasicGet
- brightness: required(number – maximum: 100)
Brightness percentage. value cannot be 0, writing 0 changes it to lowest possible brightness
Example:
80
Example:
{ "brightness": 80 } - brightness: required(number – maximum: 100)
- color_temperature: required(array of ColorTemperaturePaletteGet – minItems: 0 – maxItems: 1)
Items: ColorTemperaturePaletteGet
- color_temperature: required(object)
- mirek: required(integer – minimum: 50 – maximum: 1000)
color temperature in mirek or null when the light color is not in the ct spectrum
Example:
233
Example:
{ "mirek": 202 } - mirek: required(integer – minimum: 50 – maximum: 1000)
- dimming: required(object)
- brightness: required(number – maximum: 100)
Brightness percentage. value cannot be 0, writing 0 changes it to lowest possible brightness
Example:
80
Example:
{ "brightness": 80 } - brightness: required(number – maximum: 100)
- color_temperature: required(object)
- effects: required(array of EffectFeatureBasicGet – minItems: 0 – maxItems: 3)
Deprecated. use effects_v2
Items: EffectFeatureBasicGet
- effect: required(one of prism, opal, glisten, sparkle, fire, candle, underwater, cosmos, sunbeam, enchant, no_effect)
- effects_v2: required(array of EffectV2FeatureBasicGet – minItems: 0 – maxItems: 3)
Items: EffectV2FeatureBasicGet
- action: required(object)
- effect: required(one of prism, opal, glisten, sparkle, fire, candle, underwater, cosmos, sunbeam, enchant, no_effect)
- parameters: (object)
- color: (object)
- xy: required(object)
CIE XY gamut position
- x: required(number – minimum: 0 – maximum: 1)
X position in color gamut
- y: required(number – minimum: 0 – maximum: 1)
Y position in color gamut
Example:
{ "x": 0.369, "y": 0.445 } - x: required(number – minimum: 0 – maximum: 1)
Example:
{ "xy": { "x": 0.6915, "y": 0.3083 } } - xy: required(object)
- color_temperature: (object)
- mirek: required(integer – minimum: 50 – maximum: 1000)
color temperature in mirek or null when the light color is not in the ct spectrum
Example:
233
Example:
{ "mirek": 202 } - mirek: required(integer – minimum: 50 – maximum: 1000)
- speed: (number – minimum: 0 – maximum: 1)
- color: (object)
- action: required(object)
- color: required(array of ColorPaletteGet – minItems: 0 – maxItems: 9)
- recall: required(object)
- type: required(scene)
Type of the supported resources
- metadata: required(object)
- name: required(string – minLength: 1 – maxLength: 32)
Human readable name of a resource
- image: (object)
Reference with unique identifier for the image representing the scene only accepting “rtype”: “public_image” on creation
- rid: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
The unique id of the referenced resource
- rtype: required(one of device, bridge_home, room, zone, service_group, light, button, bell_button, relative_rotary, temperature, light_level, motion, camera_motion, entertainment, contact, tamper, convenience_area_motion, security_area_motion, speaker, grouped_light, grouped_motion, grouped_light_level, device_power, device_software_update, zigbee_connectivity, zgp_connectivity, bridge, motion_area_candidate, wifi_connectivity, zigbee_device_discovery, homekit, matter, matter_fabric, scene, entertainment_configuration, public_image, auth_v1, behavior_script, behavior_instance, geofence_client, geolocation, smart_scene, motion_area_configuration, clip)
The type of the referenced resource
- rid: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
- appdata: (string – minLength: 1 – maxLength: 16)
Application specific data. Free format string.
- name: required(string – minLength: 1 – maxLength: 32)
- group: required(object)
Group associated with this Scene. All services in the group are part of this scene. If the group is changed the scene is update (e.g. light added/removed)
- rid: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
The unique id of the referenced resource
- rtype: required(one of device, bridge_home, room, zone, service_group, light, button, bell_button, relative_rotary, temperature, light_level, motion, camera_motion, entertainment, contact, tamper, convenience_area_motion, security_area_motion, speaker, grouped_light, grouped_motion, grouped_light_level, device_power, device_software_update, zigbee_connectivity, zgp_connectivity, bridge, motion_area_candidate, wifi_connectivity, zigbee_device_discovery, homekit, matter, matter_fabric, scene, entertainment_configuration, public_image, auth_v1, behavior_script, behavior_instance, geofence_client, geolocation, smart_scene, motion_area_configuration, clip)
The type of the referenced resource
- rid: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
- speed: required(number – minimum: 0 – maximum: 1)
Speed of dynamic palette for this scene
- auto_dynamic: required(boolean)
Indicates whether to automatically start the scene dynamically on active recall
- status: required(object)
Consists the information about the current status and last time it is recalled
- active: (one of inactive, static, dynamic_palette)
- last_recall: (datetime)
- id: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
HTTP status code 401
Client is not authorized
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 403
Client is not allowed to perform operation on this resource.
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 404
Resource or resource path does not exist
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 405
Method is not supported by the resource
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 409
Request conflict with the current state of the target resource
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 429
Too many requests
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 500
Internal Server Error
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 503
Busy, try again later.
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 507
Insufficient resources
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
Secured by hue-application-key
Headers
- hue-application-key: required(string)
API token
/resource/room
API to manage rooms. Rooms group devices and each device can only be part of one room.
create a new resource of this type
List all resources of this type
post /resource/room
create a new resource of this type
API authorization using a hue-application-key header
Body
Media type: application/json
Type: object
Properties
- children: required(array of ResourceIdentifier)
Child devices/services to group by the derived group
Items: ResourceIdentifier
- rid: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
The unique id of the referenced resource
- rtype: required(one of device, bridge_home, room, zone, service_group, light, button, bell_button, relative_rotary, temperature, light_level, motion, camera_motion, entertainment, contact, tamper, convenience_area_motion, security_area_motion, speaker, grouped_light, grouped_motion, grouped_light_level, device_power, device_software_update, zigbee_connectivity, zgp_connectivity, bridge, motion_area_candidate, wifi_connectivity, zigbee_device_discovery, homekit, matter, matter_fabric, scene, entertainment_configuration, public_image, auth_v1, behavior_script, behavior_instance, geofence_client, geolocation, smart_scene, motion_area_configuration, clip)
The type of the referenced resource
- rid: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
- type: (room)
Type of the supported resources
- metadata: required(object)
configuration object for a room
- name: required(string – minLength: 1 – maxLength: 32)
Human readable name of a resource
- archetype: required(one of living_room, kitchen, dining, bedroom, kids_bedroom, bathroom, nursery, recreation, office, gym, hallway, toilet, front_door, garage, terrace, garden, driveway, carport, home, downstairs, upstairs, top_floor, attic, guest_room, staircase, lounge, man_cave, computer, studio, music, tv, reading, closet, storage, laundry_room, balcony, porch, barbecue, pool, other)
possible archetypes of a room
- name: required(string – minLength: 1 – maxLength: 32)
Example:
{
"type": "room",
"id": "6adb232c-e80c-49be-a4c8-fd32b2488bf5",
"metadata": {
"archetype": "living_room",
"name": "Living room"
},
"services": [
{
"rtype": "grouped_light",
"rid": "c8e1f2e6-f54f-4d20-bcdc-a568ebf61dcc"
}
],
"children": [
{
"rtype": "device",
"rid": "d7c305a8-73b6-4de4-9eb8-4dc20007c2c6"
},
{
"rtype": "device",
"rid": "5f742a9f-5c07-4c56-a996-888d620ccf8d"
},
{
"rtype": "device",
"rid": "5a251edd-45ab-4b97-b4c6-cde3a5abea33"
}
]
}
HTTP status code 201
Resource has been created
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
- data: required(array of ResourceIdentifier)
Items: ResourceIdentifier
- rid: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
The unique id of the referenced resource
- rtype: required(one of device, bridge_home, room, zone, service_group, light, button, bell_button, relative_rotary, temperature, light_level, motion, camera_motion, entertainment, contact, tamper, convenience_area_motion, security_area_motion, speaker, grouped_light, grouped_motion, grouped_light_level, device_power, device_software_update, zigbee_connectivity, zgp_connectivity, bridge, motion_area_candidate, wifi_connectivity, zigbee_device_discovery, homekit, matter, matter_fabric, scene, entertainment_configuration, public_image, auth_v1, behavior_script, behavior_instance, geofence_client, geolocation, smart_scene, motion_area_configuration, clip)
The type of the referenced resource
- rid: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
HTTP status code 400
Request was on resource path was unsuccessful, body of request contains errors.
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 401
Client is not authorized
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 403
Client is not allowed to perform operation on this resource.
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 404
Resource or resource path does not exist
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 405
Method is not supported by the resource
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 409
Request conflict with the current state of the target resource
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 429
Too many requests
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 500
Internal Server Error
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 503
Busy, try again later.
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 507
Insufficient resources
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
Secured by hue-application-key
Headers
- hue-application-key: required(string)
API token
get /resource/room
List all resources of this type
API authorization using a hue-application-key header
HTTP status code 200
Request was on resource path was successful. Result of request is in data.
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
- data: required(array of RoomGet)
Items: RoomGet
- id: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
Unique identifier representing a specific resource instance
- id_v1: (string – pattern: ^(\/[a-z]{4,32}\/[0-9a-zA-Z-]{1,32})?$)
Clip v1 resource identifier
- children: required(array of ResourceIdentifier)
Child devices/services to group by the derived group
Items: ResourceIdentifier
- rid: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
The unique id of the referenced resource
- rtype: required(one of device, bridge_home, room, zone, service_group, light, button, bell_button, relative_rotary, temperature, light_level, motion, camera_motion, entertainment, contact, tamper, convenience_area_motion, security_area_motion, speaker, grouped_light, grouped_motion, grouped_light_level, device_power, device_software_update, zigbee_connectivity, zgp_connectivity, bridge, motion_area_candidate, wifi_connectivity, zigbee_device_discovery, homekit, matter, matter_fabric, scene, entertainment_configuration, public_image, auth_v1, behavior_script, behavior_instance, geofence_client, geolocation, smart_scene, motion_area_configuration, clip)
The type of the referenced resource
- rid: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
- services: required(array of ResourceIdentifier)
References all services aggregating control and state of children in the group. This includes all services grouped in the group hierarchy given by child relation This includes all services of a device grouped in the group hierarchy given by child relation Aggregation is per service type, ie every service type which can be grouped has a corresponding definition of grouped type Supported types: – grouped_light – grouped_motion – grouped_light_level
Items: ResourceIdentifier
- rid: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
The unique id of the referenced resource
- rtype: required(one of device, bridge_home, room, zone, service_group, light, button, bell_button, relative_rotary, temperature, light_level, motion, camera_motion, entertainment, contact, tamper, convenience_area_motion, security_area_motion, speaker, grouped_light, grouped_motion, grouped_light_level, device_power, device_software_update, zigbee_connectivity, zgp_connectivity, bridge, motion_area_candidate, wifi_connectivity, zigbee_device_discovery, homekit, matter, matter_fabric, scene, entertainment_configuration, public_image, auth_v1, behavior_script, behavior_instance, geofence_client, geolocation, smart_scene, motion_area_configuration, clip)
The type of the referenced resource
- rid: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
- type: required(room)
Type of the supported resources
- metadata: required(object)
configuration object for a room
- name: required(string – minLength: 1 – maxLength: 32)
Human readable name of a resource
- archetype: required(one of living_room, kitchen, dining, bedroom, kids_bedroom, bathroom, nursery, recreation, office, gym, hallway, toilet, front_door, garage, terrace, garden, driveway, carport, home, downstairs, upstairs, top_floor, attic, guest_room, staircase, lounge, man_cave, computer, studio, music, tv, reading, closet, storage, laundry_room, balcony, porch, barbecue, pool, other)
possible archetypes of a room
- name: required(string – minLength: 1 – maxLength: 32)
Example:
{ "type": "room", "id": "6adb232c-e80c-49be-a4c8-fd32b2488bf5", "metadata": { "archetype": "living_room", "name": "Living room" }, "services": [ { "rtype": "grouped_light", "rid": "c8e1f2e6-f54f-4d20-bcdc-a568ebf61dcc" } ], "children": [ { "rtype": "device", "rid": "d7c305a8-73b6-4de4-9eb8-4dc20007c2c6" }, { "rtype": "device", "rid": "5f742a9f-5c07-4c56-a996-888d620ccf8d" }, { "rtype": "device", "rid": "5a251edd-45ab-4b97-b4c6-cde3a5abea33" } ] } - id: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
HTTP status code 401
Client is not authorized
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 403
Client is not allowed to perform operation on this resource.
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 404
Resource or resource path does not exist
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 405
Method is not supported by the resource
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 406
Query parameter has invalid value.
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 409
Request conflict with the current state of the target resource
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 429
Too many requests
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 500
Internal Server Error
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 503
Busy, try again later.
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 507
Insufficient resources
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
Secured by hue-application-key
Headers
- hue-application-key: required(string)
API token
API calls to read, update and delete a resource instance
delete /resource/room/{id}
API authorization using a hue-application-key header
URI Parameters
- id: required(string)
HTTP status code 200
Resource has been deleted
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
- data: required(array of ResourceIdentifier)
Items: ResourceIdentifier
- rid: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
The unique id of the referenced resource
- rtype: required(one of device, bridge_home, room, zone, service_group, light, button, bell_button, relative_rotary, temperature, light_level, motion, camera_motion, entertainment, contact, tamper, convenience_area_motion, security_area_motion, speaker, grouped_light, grouped_motion, grouped_light_level, device_power, device_software_update, zigbee_connectivity, zgp_connectivity, bridge, motion_area_candidate, wifi_connectivity, zigbee_device_discovery, homekit, matter, matter_fabric, scene, entertainment_configuration, public_image, auth_v1, behavior_script, behavior_instance, geofence_client, geolocation, smart_scene, motion_area_configuration, clip)
The type of the referenced resource
- rid: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
HTTP status code 401
Client is not authorized
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 403
Client is not allowed to perform operation on this resource.
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 404
Resource or resource path does not exist
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 405
Method is not supported by the resource
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 409
Request conflict with the current state of the target resource
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 429
Too many requests
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 500
Internal Server Error
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 503
Busy, try again later.
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 507
Insufficient resources
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
Secured by hue-application-key
Headers
- hue-application-key: required(string)
API token
put /resource/room/{id}
API authorization using a hue-application-key header
URI Parameters
- id: required(string)
Body
Media type: application/json
Type: object
Properties
- children: (array of ResourceIdentifier)
Child devices/services to group by the derived group
Items: ResourceIdentifier
- rid: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
The unique id of the referenced resource
- rtype: required(one of device, bridge_home, room, zone, service_group, light, button, bell_button, relative_rotary, temperature, light_level, motion, camera_motion, entertainment, contact, tamper, convenience_area_motion, security_area_motion, speaker, grouped_light, grouped_motion, grouped_light_level, device_power, device_software_update, zigbee_connectivity, zgp_connectivity, bridge, motion_area_candidate, wifi_connectivity, zigbee_device_discovery, homekit, matter, matter_fabric, scene, entertainment_configuration, public_image, auth_v1, behavior_script, behavior_instance, geofence_client, geolocation, smart_scene, motion_area_configuration, clip)
The type of the referenced resource
- rid: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
- type: (room)
Type of the supported resources
- metadata: (object)
configuration object for a room
- name: (string – minLength: 1 – maxLength: 32)
Human readable name of a resource
- archetype: (one of living_room, kitchen, dining, bedroom, kids_bedroom, bathroom, nursery, recreation, office, gym, hallway, toilet, front_door, garage, terrace, garden, driveway, carport, home, downstairs, upstairs, top_floor, attic, guest_room, staircase, lounge, man_cave, computer, studio, music, tv, reading, closet, storage, laundry_room, balcony, porch, barbecue, pool, other)
possible archetypes of a room
- name: (string – minLength: 1 – maxLength: 32)
Example:
{
"type": "room",
"id": "6adb232c-e80c-49be-a4c8-fd32b2488bf5",
"metadata": {
"archetype": "living_room",
"name": "Living room"
},
"services": [
{
"rtype": "grouped_light",
"rid": "c8e1f2e6-f54f-4d20-bcdc-a568ebf61dcc"
}
],
"children": [
{
"rtype": "device",
"rid": "d7c305a8-73b6-4de4-9eb8-4dc20007c2c6"
},
{
"rtype": "device",
"rid": "5f742a9f-5c07-4c56-a996-888d620ccf8d"
},
{
"rtype": "device",
"rid": "5a251edd-45ab-4b97-b4c6-cde3a5abea33"
}
]
}
HTTP status code 200
Request was on resource path was successful.
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
- data: required(array of ResourceIdentifier)
Items: ResourceIdentifier
- rid: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
The unique id of the referenced resource
- rtype: required(one of device, bridge_home, room, zone, service_group, light, button, bell_button, relative_rotary, temperature, light_level, motion, camera_motion, entertainment, contact, tamper, convenience_area_motion, security_area_motion, speaker, grouped_light, grouped_motion, grouped_light_level, device_power, device_software_update, zigbee_connectivity, zgp_connectivity, bridge, motion_area_candidate, wifi_connectivity, zigbee_device_discovery, homekit, matter, matter_fabric, scene, entertainment_configuration, public_image, auth_v1, behavior_script, behavior_instance, geofence_client, geolocation, smart_scene, motion_area_configuration, clip)
The type of the referenced resource
- rid: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
HTTP status code 207
Request was partially successful, resource has been updated. Failed requests and errors are listed in error object.
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
- data: required(array of ResourceIdentifier)
Items: ResourceIdentifier
- rid: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
The unique id of the referenced resource
- rtype: required(one of device, bridge_home, room, zone, service_group, light, button, bell_button, relative_rotary, temperature, light_level, motion, camera_motion, entertainment, contact, tamper, convenience_area_motion, security_area_motion, speaker, grouped_light, grouped_motion, grouped_light_level, device_power, device_software_update, zigbee_connectivity, zgp_connectivity, bridge, motion_area_candidate, wifi_connectivity, zigbee_device_discovery, homekit, matter, matter_fabric, scene, entertainment_configuration, public_image, auth_v1, behavior_script, behavior_instance, geofence_client, geolocation, smart_scene, motion_area_configuration, clip)
The type of the referenced resource
- rid: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
HTTP status code 400
Request was on resource path was unsuccessful, body of request contains errors.
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 401
Client is not authorized
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 403
Client is not allowed to perform operation on this resource.
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 404
Resource or resource path does not exist
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 405
Method is not supported by the resource
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 409
Request conflict with the current state of the target resource
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 429
Too many requests
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 500
Internal Server Error
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 503
Busy, try again later.
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 507
Insufficient resources
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
Secured by hue-application-key
Headers
- hue-application-key: required(string)
API token
get /resource/room/{id}
API authorization using a hue-application-key header
URI Parameters
- id: required(string)
HTTP status code 200
Request was on resource path was successful. Result of request is in data.
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
- data: required(array of RoomGet)
Items: RoomGet
- id: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
Unique identifier representing a specific resource instance
- id_v1: (string – pattern: ^(\/[a-z]{4,32}\/[0-9a-zA-Z-]{1,32})?$)
Clip v1 resource identifier
- children: required(array of ResourceIdentifier)
Child devices/services to group by the derived group
Items: ResourceIdentifier
- rid: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
The unique id of the referenced resource
- rtype: required(one of device, bridge_home, room, zone, service_group, light, button, bell_button, relative_rotary, temperature, light_level, motion, camera_motion, entertainment, contact, tamper, convenience_area_motion, security_area_motion, speaker, grouped_light, grouped_motion, grouped_light_level, device_power, device_software_update, zigbee_connectivity, zgp_connectivity, bridge, motion_area_candidate, wifi_connectivity, zigbee_device_discovery, homekit, matter, matter_fabric, scene, entertainment_configuration, public_image, auth_v1, behavior_script, behavior_instance, geofence_client, geolocation, smart_scene, motion_area_configuration, clip)
The type of the referenced resource
- rid: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
- services: required(array of ResourceIdentifier)
References all services aggregating control and state of children in the group. This includes all services grouped in the group hierarchy given by child relation This includes all services of a device grouped in the group hierarchy given by child relation Aggregation is per service type, ie every service type which can be grouped has a corresponding definition of grouped type Supported types: – grouped_light – grouped_motion – grouped_light_level
Items: ResourceIdentifier
- rid: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
The unique id of the referenced resource
- rtype: required(one of device, bridge_home, room, zone, service_group, light, button, bell_button, relative_rotary, temperature, light_level, motion, camera_motion, entertainment, contact, tamper, convenience_area_motion, security_area_motion, speaker, grouped_light, grouped_motion, grouped_light_level, device_power, device_software_update, zigbee_connectivity, zgp_connectivity, bridge, motion_area_candidate, wifi_connectivity, zigbee_device_discovery, homekit, matter, matter_fabric, scene, entertainment_configuration, public_image, auth_v1, behavior_script, behavior_instance, geofence_client, geolocation, smart_scene, motion_area_configuration, clip)
The type of the referenced resource
- rid: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
- type: required(room)
Type of the supported resources
- metadata: required(object)
configuration object for a room
- name: required(string – minLength: 1 – maxLength: 32)
Human readable name of a resource
- archetype: required(one of living_room, kitchen, dining, bedroom, kids_bedroom, bathroom, nursery, recreation, office, gym, hallway, toilet, front_door, garage, terrace, garden, driveway, carport, home, downstairs, upstairs, top_floor, attic, guest_room, staircase, lounge, man_cave, computer, studio, music, tv, reading, closet, storage, laundry_room, balcony, porch, barbecue, pool, other)
possible archetypes of a room
- name: required(string – minLength: 1 – maxLength: 32)
Example:
{ "type": "room", "id": "6adb232c-e80c-49be-a4c8-fd32b2488bf5", "metadata": { "archetype": "living_room", "name": "Living room" }, "services": [ { "rtype": "grouped_light", "rid": "c8e1f2e6-f54f-4d20-bcdc-a568ebf61dcc" } ], "children": [ { "rtype": "device", "rid": "d7c305a8-73b6-4de4-9eb8-4dc20007c2c6" }, { "rtype": "device", "rid": "5f742a9f-5c07-4c56-a996-888d620ccf8d" }, { "rtype": "device", "rid": "5a251edd-45ab-4b97-b4c6-cde3a5abea33" } ] } - id: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
HTTP status code 401
Client is not authorized
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 403
Client is not allowed to perform operation on this resource.
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 404
Resource or resource path does not exist
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 405
Method is not supported by the resource
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 409
Request conflict with the current state of the target resource
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 429
Too many requests
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 500
Internal Server Error
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 503
Busy, try again later.
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 507
Insufficient resources
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
Secured by hue-application-key
Headers
- hue-application-key: required(string)
API token
/resource/zone
API to manage zones. Zones group services and each service can be part of multiple zones.
create a new resource of this type
List all resources of this type
post /resource/zone
create a new resource of this type
API authorization using a hue-application-key header
Body
Media type: application/json
Type: object
Properties
- children: required(array of ResourceIdentifier)
Child devices/services to group by the derived group
Items: ResourceIdentifier
- rid: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
The unique id of the referenced resource
- rtype: required(one of device, bridge_home, room, zone, service_group, light, button, bell_button, relative_rotary, temperature, light_level, motion, camera_motion, entertainment, contact, tamper, convenience_area_motion, security_area_motion, speaker, grouped_light, grouped_motion, grouped_light_level, device_power, device_software_update, zigbee_connectivity, zgp_connectivity, bridge, motion_area_candidate, wifi_connectivity, zigbee_device_discovery, homekit, matter, matter_fabric, scene, entertainment_configuration, public_image, auth_v1, behavior_script, behavior_instance, geofence_client, geolocation, smart_scene, motion_area_configuration, clip)
The type of the referenced resource
- rid: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
- type: (zone)
Type of the supported resources
- metadata: required(object)
configuration object for a room
- name: required(string – minLength: 1 – maxLength: 32)
Human readable name of a resource
- archetype: required(one of living_room, kitchen, dining, bedroom, kids_bedroom, bathroom, nursery, recreation, office, gym, hallway, toilet, front_door, garage, terrace, garden, driveway, carport, home, downstairs, upstairs, top_floor, attic, guest_room, staircase, lounge, man_cave, computer, studio, music, tv, reading, closet, storage, laundry_room, balcony, porch, barbecue, pool, other)
possible archetypes of a room
- name: required(string – minLength: 1 – maxLength: 32)
Example:
{
"type": "zone",
"id": "99e2f2bb-a05f-42be-accb-85b241a95ae8",
"metadata": {
"archetype": "downstairs",
"name": "Downstairs"
},
"services": [
{
"rtype": "grouped_light",
"rid": "33a7b1df-46b5-493e-b04a-1aa214e31e41"
}
],
"children": [
{
"rtype": "light",
"rid": "d7c305a8-73b6-4de4-9eb8-4dc20007c2c6"
},
{
"rtype": "light",
"rid": "5f742a9f-5c07-4c56-a996-888d620ccf8d"
},
{
"rtype": "light",
"rid": "5a251edd-45ab-4b97-b4c6-cde3a5abea33"
}
]
}
HTTP status code 201
Resource has been created
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
- data: required(array of ResourceIdentifier)
Items: ResourceIdentifier
- rid: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
The unique id of the referenced resource
- rtype: required(one of device, bridge_home, room, zone, service_group, light, button, bell_button, relative_rotary, temperature, light_level, motion, camera_motion, entertainment, contact, tamper, convenience_area_motion, security_area_motion, speaker, grouped_light, grouped_motion, grouped_light_level, device_power, device_software_update, zigbee_connectivity, zgp_connectivity, bridge, motion_area_candidate, wifi_connectivity, zigbee_device_discovery, homekit, matter, matter_fabric, scene, entertainment_configuration, public_image, auth_v1, behavior_script, behavior_instance, geofence_client, geolocation, smart_scene, motion_area_configuration, clip)
The type of the referenced resource
- rid: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
HTTP status code 400
Request was on resource path was unsuccessful, body of request contains errors.
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 401
Client is not authorized
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 403
Client is not allowed to perform operation on this resource.
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 404
Resource or resource path does not exist
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 405
Method is not supported by the resource
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 409
Request conflict with the current state of the target resource
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 429
Too many requests
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 500
Internal Server Error
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 503
Busy, try again later.
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 507
Insufficient resources
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
Secured by hue-application-key
Headers
- hue-application-key: required(string)
API token
get /resource/zone
List all resources of this type
API authorization using a hue-application-key header
HTTP status code 200
Request was on resource path was successful. Result of request is in data.
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
- data: required(array of ZoneGet)
Items: ZoneGet
- id: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
Unique identifier representing a specific resource instance
- id_v1: (string – pattern: ^(\/[a-z]{4,32}\/[0-9a-zA-Z-]{1,32})?$)
Clip v1 resource identifier
- children: required(array of ResourceIdentifier)
Child devices/services to group by the derived group
Items: ResourceIdentifier
- rid: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
The unique id of the referenced resource
- rtype: required(one of device, bridge_home, room, zone, service_group, light, button, bell_button, relative_rotary, temperature, light_level, motion, camera_motion, entertainment, contact, tamper, convenience_area_motion, security_area_motion, speaker, grouped_light, grouped_motion, grouped_light_level, device_power, device_software_update, zigbee_connectivity, zgp_connectivity, bridge, motion_area_candidate, wifi_connectivity, zigbee_device_discovery, homekit, matter, matter_fabric, scene, entertainment_configuration, public_image, auth_v1, behavior_script, behavior_instance, geofence_client, geolocation, smart_scene, motion_area_configuration, clip)
The type of the referenced resource
- rid: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
- services: required(array of ResourceIdentifier)
References all services aggregating control and state of children in the group. This includes all services grouped in the group hierarchy given by child relation This includes all services of a device grouped in the group hierarchy given by child relation Aggregation is per service type, ie every service type which can be grouped has a corresponding definition of grouped type Supported types: – grouped_light – grouped_motion – grouped_light_level
Items: ResourceIdentifier
- rid: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
The unique id of the referenced resource
- rtype: required(one of device, bridge_home, room, zone, service_group, light, button, bell_button, relative_rotary, temperature, light_level, motion, camera_motion, entertainment, contact, tamper, convenience_area_motion, security_area_motion, speaker, grouped_light, grouped_motion, grouped_light_level, device_power, device_software_update, zigbee_connectivity, zgp_connectivity, bridge, motion_area_candidate, wifi_connectivity, zigbee_device_discovery, homekit, matter, matter_fabric, scene, entertainment_configuration, public_image, auth_v1, behavior_script, behavior_instance, geofence_client, geolocation, smart_scene, motion_area_configuration, clip)
The type of the referenced resource
- rid: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
- type: required(zone)
Type of the supported resources
- metadata: required(object)
configuration object for a room
- name: required(string – minLength: 1 – maxLength: 32)
Human readable name of a resource
- archetype: required(one of living_room, kitchen, dining, bedroom, kids_bedroom, bathroom, nursery, recreation, office, gym, hallway, toilet, front_door, garage, terrace, garden, driveway, carport, home, downstairs, upstairs, top_floor, attic, guest_room, staircase, lounge, man_cave, computer, studio, music, tv, reading, closet, storage, laundry_room, balcony, porch, barbecue, pool, other)
possible archetypes of a room
- name: required(string – minLength: 1 – maxLength: 32)
Example:
{ "type": "zone", "id": "99e2f2bb-a05f-42be-accb-85b241a95ae8", "metadata": { "archetype": "downstairs", "name": "Downstairs" }, "services": [ { "rtype": "grouped_light", "rid": "33a7b1df-46b5-493e-b04a-1aa214e31e41" } ], "children": [ { "rtype": "light", "rid": "d7c305a8-73b6-4de4-9eb8-4dc20007c2c6" }, { "rtype": "light", "rid": "5f742a9f-5c07-4c56-a996-888d620ccf8d" }, { "rtype": "light", "rid": "5a251edd-45ab-4b97-b4c6-cde3a5abea33" } ] } - id: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
HTTP status code 401
Client is not authorized
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 403
Client is not allowed to perform operation on this resource.
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 404
Resource or resource path does not exist
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 405
Method is not supported by the resource
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 406
Query parameter has invalid value.
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 409
Request conflict with the current state of the target resource
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 429
Too many requests
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 500
Internal Server Error
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 503
Busy, try again later.
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 507
Insufficient resources
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
Secured by hue-application-key
Headers
- hue-application-key: required(string)
API token
API calls to read, update and delete a resource instance
delete /resource/zone/{id}
API authorization using a hue-application-key header
URI Parameters
- id: required(string)
HTTP status code 200
Resource has been deleted
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
- data: required(array of ResourceIdentifier)
Items: ResourceIdentifier
- rid: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
The unique id of the referenced resource
- rtype: required(one of device, bridge_home, room, zone, service_group, light, button, bell_button, relative_rotary, temperature, light_level, motion, camera_motion, entertainment, contact, tamper, convenience_area_motion, security_area_motion, speaker, grouped_light, grouped_motion, grouped_light_level, device_power, device_software_update, zigbee_connectivity, zgp_connectivity, bridge, motion_area_candidate, wifi_connectivity, zigbee_device_discovery, homekit, matter, matter_fabric, scene, entertainment_configuration, public_image, auth_v1, behavior_script, behavior_instance, geofence_client, geolocation, smart_scene, motion_area_configuration, clip)
The type of the referenced resource
- rid: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
HTTP status code 401
Client is not authorized
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 403
Client is not allowed to perform operation on this resource.
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 404
Resource or resource path does not exist
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 405
Method is not supported by the resource
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 409
Request conflict with the current state of the target resource
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 429
Too many requests
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 500
Internal Server Error
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 503
Busy, try again later.
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 507
Insufficient resources
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
Secured by hue-application-key
Headers
- hue-application-key: required(string)
API token
put /resource/zone/{id}
API authorization using a hue-application-key header
URI Parameters
- id: required(string)
Body
Media type: application/json
Type: object
Properties
- children: (array of ResourceIdentifier)
Child devices/services to group by the derived group
Items: ResourceIdentifier
- rid: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
The unique id of the referenced resource
- rtype: required(one of device, bridge_home, room, zone, service_group, light, button, bell_button, relative_rotary, temperature, light_level, motion, camera_motion, entertainment, contact, tamper, convenience_area_motion, security_area_motion, speaker, grouped_light, grouped_motion, grouped_light_level, device_power, device_software_update, zigbee_connectivity, zgp_connectivity, bridge, motion_area_candidate, wifi_connectivity, zigbee_device_discovery, homekit, matter, matter_fabric, scene, entertainment_configuration, public_image, auth_v1, behavior_script, behavior_instance, geofence_client, geolocation, smart_scene, motion_area_configuration, clip)
The type of the referenced resource
- rid: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
- type: (zone)
Type of the supported resources
- metadata: (object)
configuration object for a room
- name: (string – minLength: 1 – maxLength: 32)
Human readable name of a resource
- archetype: (one of living_room, kitchen, dining, bedroom, kids_bedroom, bathroom, nursery, recreation, office, gym, hallway, toilet, front_door, garage, terrace, garden, driveway, carport, home, downstairs, upstairs, top_floor, attic, guest_room, staircase, lounge, man_cave, computer, studio, music, tv, reading, closet, storage, laundry_room, balcony, porch, barbecue, pool, other)
possible archetypes of a room
- name: (string – minLength: 1 – maxLength: 32)
Example:
{
"type": "zone",
"id": "99e2f2bb-a05f-42be-accb-85b241a95ae8",
"metadata": {
"archetype": "downstairs",
"name": "Downstairs"
},
"services": [
{
"rtype": "grouped_light",
"rid": "33a7b1df-46b5-493e-b04a-1aa214e31e41"
}
],
"children": [
{
"rtype": "light",
"rid": "d7c305a8-73b6-4de4-9eb8-4dc20007c2c6"
},
{
"rtype": "light",
"rid": "5f742a9f-5c07-4c56-a996-888d620ccf8d"
},
{
"rtype": "light",
"rid": "5a251edd-45ab-4b97-b4c6-cde3a5abea33"
}
]
}
HTTP status code 200
Request was on resource path was successful.
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
- data: required(array of ResourceIdentifier)
Items: ResourceIdentifier
- rid: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
The unique id of the referenced resource
- rtype: required(one of device, bridge_home, room, zone, service_group, light, button, bell_button, relative_rotary, temperature, light_level, motion, camera_motion, entertainment, contact, tamper, convenience_area_motion, security_area_motion, speaker, grouped_light, grouped_motion, grouped_light_level, device_power, device_software_update, zigbee_connectivity, zgp_connectivity, bridge, motion_area_candidate, wifi_connectivity, zigbee_device_discovery, homekit, matter, matter_fabric, scene, entertainment_configuration, public_image, auth_v1, behavior_script, behavior_instance, geofence_client, geolocation, smart_scene, motion_area_configuration, clip)
The type of the referenced resource
- rid: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
HTTP status code 207
Request was partially successful, resource has been updated. Failed requests and errors are listed in error object.
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
- data: required(array of ResourceIdentifier)
Items: ResourceIdentifier
- rid: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
The unique id of the referenced resource
- rtype: required(one of device, bridge_home, room, zone, service_group, light, button, bell_button, relative_rotary, temperature, light_level, motion, camera_motion, entertainment, contact, tamper, convenience_area_motion, security_area_motion, speaker, grouped_light, grouped_motion, grouped_light_level, device_power, device_software_update, zigbee_connectivity, zgp_connectivity, bridge, motion_area_candidate, wifi_connectivity, zigbee_device_discovery, homekit, matter, matter_fabric, scene, entertainment_configuration, public_image, auth_v1, behavior_script, behavior_instance, geofence_client, geolocation, smart_scene, motion_area_configuration, clip)
The type of the referenced resource
- rid: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
HTTP status code 400
Request was on resource path was unsuccessful, body of request contains errors.
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 401
Client is not authorized
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 403
Client is not allowed to perform operation on this resource.
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 404
Resource or resource path does not exist
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 405
Method is not supported by the resource
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 409
Request conflict with the current state of the target resource
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 429
Too many requests
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 500
Internal Server Error
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 503
Busy, try again later.
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 507
Insufficient resources
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
Secured by hue-application-key
Headers
- hue-application-key: required(string)
API token
get /resource/zone/{id}
API authorization using a hue-application-key header
URI Parameters
- id: required(string)
HTTP status code 200
Request was on resource path was successful. Result of request is in data.
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
- data: required(array of ZoneGet)
Items: ZoneGet
- id: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
Unique identifier representing a specific resource instance
- id_v1: (string – pattern: ^(\/[a-z]{4,32}\/[0-9a-zA-Z-]{1,32})?$)
Clip v1 resource identifier
- children: required(array of ResourceIdentifier)
Child devices/services to group by the derived group
Items: ResourceIdentifier
- rid: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
The unique id of the referenced resource
- rtype: required(one of device, bridge_home, room, zone, service_group, light, button, bell_button, relative_rotary, temperature, light_level, motion, camera_motion, entertainment, contact, tamper, convenience_area_motion, security_area_motion, speaker, grouped_light, grouped_motion, grouped_light_level, device_power, device_software_update, zigbee_connectivity, zgp_connectivity, bridge, motion_area_candidate, wifi_connectivity, zigbee_device_discovery, homekit, matter, matter_fabric, scene, entertainment_configuration, public_image, auth_v1, behavior_script, behavior_instance, geofence_client, geolocation, smart_scene, motion_area_configuration, clip)
The type of the referenced resource
- rid: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
- services: required(array of ResourceIdentifier)
References all services aggregating control and state of children in the group. This includes all services grouped in the group hierarchy given by child relation This includes all services of a device grouped in the group hierarchy given by child relation Aggregation is per service type, ie every service type which can be grouped has a corresponding definition of grouped type Supported types: – grouped_light – grouped_motion – grouped_light_level
Items: ResourceIdentifier
- rid: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
The unique id of the referenced resource
- rtype: required(one of device, bridge_home, room, zone, service_group, light, button, bell_button, relative_rotary, temperature, light_level, motion, camera_motion, entertainment, contact, tamper, convenience_area_motion, security_area_motion, speaker, grouped_light, grouped_motion, grouped_light_level, device_power, device_software_update, zigbee_connectivity, zgp_connectivity, bridge, motion_area_candidate, wifi_connectivity, zigbee_device_discovery, homekit, matter, matter_fabric, scene, entertainment_configuration, public_image, auth_v1, behavior_script, behavior_instance, geofence_client, geolocation, smart_scene, motion_area_configuration, clip)
The type of the referenced resource
- rid: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
- type: required(zone)
Type of the supported resources
- metadata: required(object)
configuration object for a room
- name: required(string – minLength: 1 – maxLength: 32)
Human readable name of a resource
- archetype: required(one of living_room, kitchen, dining, bedroom, kids_bedroom, bathroom, nursery, recreation, office, gym, hallway, toilet, front_door, garage, terrace, garden, driveway, carport, home, downstairs, upstairs, top_floor, attic, guest_room, staircase, lounge, man_cave, computer, studio, music, tv, reading, closet, storage, laundry_room, balcony, porch, barbecue, pool, other)
possible archetypes of a room
- name: required(string – minLength: 1 – maxLength: 32)
Example:
{ "type": "zone", "id": "99e2f2bb-a05f-42be-accb-85b241a95ae8", "metadata": { "archetype": "downstairs", "name": "Downstairs" }, "services": [ { "rtype": "grouped_light", "rid": "33a7b1df-46b5-493e-b04a-1aa214e31e41" } ], "children": [ { "rtype": "light", "rid": "d7c305a8-73b6-4de4-9eb8-4dc20007c2c6" }, { "rtype": "light", "rid": "5f742a9f-5c07-4c56-a996-888d620ccf8d" }, { "rtype": "light", "rid": "5a251edd-45ab-4b97-b4c6-cde3a5abea33" } ] } - id: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
HTTP status code 401
Client is not authorized
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 403
Client is not allowed to perform operation on this resource.
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 404
Resource or resource path does not exist
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 405
Method is not supported by the resource
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 409
Request conflict with the current state of the target resource
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 429
Too many requests
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 500
Internal Server Error
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 503
Busy, try again later.
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 507
Insufficient resources
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
Secured by hue-application-key
Headers
- hue-application-key: required(string)
API token
/resource/bridge_home
API to manage bridge homes. Homes group rooms as well as devices not assigned to a room.
List all resources of this type
get /resource/bridge_home
List all resources of this type
API authorization using a hue-application-key header
HTTP status code 200
Request was on resource path was successful. Result of request is in data.
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
- data: required(array of BridgeHomeGet)
Items: BridgeHomeGet
- id: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
Unique identifier representing a specific resource instance
- id_v1: (string – pattern: ^(\/[a-z]{4,32}\/[0-9a-zA-Z-]{1,32})?$)
Clip v1 resource identifier
- children: required(array of ResourceIdentifier)
Child devices/services to group by the derived group
Items: ResourceIdentifier
- rid: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
The unique id of the referenced resource
- rtype: required(one of device, bridge_home, room, zone, service_group, light, button, bell_button, relative_rotary, temperature, light_level, motion, camera_motion, entertainment, contact, tamper, convenience_area_motion, security_area_motion, speaker, grouped_light, grouped_motion, grouped_light_level, device_power, device_software_update, zigbee_connectivity, zgp_connectivity, bridge, motion_area_candidate, wifi_connectivity, zigbee_device_discovery, homekit, matter, matter_fabric, scene, entertainment_configuration, public_image, auth_v1, behavior_script, behavior_instance, geofence_client, geolocation, smart_scene, motion_area_configuration, clip)
The type of the referenced resource
- rid: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
- services: required(array of ResourceIdentifier)
References all services aggregating control and state of children in the group. This includes all services grouped in the group hierarchy given by child relation This includes all services of a device grouped in the group hierarchy given by child relation Aggregation is per service type, ie every service type which can be grouped has a corresponding definition of grouped type Supported types: – grouped_light – grouped_motion – grouped_light_level
Items: ResourceIdentifier
- rid: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
The unique id of the referenced resource
- rtype: required(one of device, bridge_home, room, zone, service_group, light, button, bell_button, relative_rotary, temperature, light_level, motion, camera_motion, entertainment, contact, tamper, convenience_area_motion, security_area_motion, speaker, grouped_light, grouped_motion, grouped_light_level, device_power, device_software_update, zigbee_connectivity, zgp_connectivity, bridge, motion_area_candidate, wifi_connectivity, zigbee_device_discovery, homekit, matter, matter_fabric, scene, entertainment_configuration, public_image, auth_v1, behavior_script, behavior_instance, geofence_client, geolocation, smart_scene, motion_area_configuration, clip)
The type of the referenced resource
- rid: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
- type: required(bridge_home)
Type of the supported resources
Example:
{ "type": "bridge_home", "id": "91a6626c-8b8f-4c4a-a9e8-18a6be332373", "services": [ { "rtype": "grouped_light", "rid": "709834c7-29e7-4dc9-961e-0f7a3f4c3842" } ], "children": [ { "rtype": "device", "rid": "91a6626c-8b8f-4c4a-a9e8-18a6be332373" }, { "rtype": "room", "rid": "a032577a-dc4e-4eee-97e1-fc2c146a6b23" } ] } - id: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
HTTP status code 401
Client is not authorized
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 403
Client is not allowed to perform operation on this resource.
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 404
Resource or resource path does not exist
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 405
Method is not supported by the resource
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 406
Query parameter has invalid value.
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 409
Request conflict with the current state of the target resource
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 429
Too many requests
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 500
Internal Server Error
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 503
Busy, try again later.
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 507
Insufficient resources
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
Secured by hue-application-key
Headers
- hue-application-key: required(string)
API token
API calls for resource which can be just retrieved (GET on resource instance)
get /resource/bridge_home/{id}
API authorization using a hue-application-key header
URI Parameters
- id: required(string)
HTTP status code 200
Request was on resource path was successful. Result of request is in data.
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
- data: required(array of BridgeHomeGet)
Items: BridgeHomeGet
- id: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
Unique identifier representing a specific resource instance
- id_v1: (string – pattern: ^(\/[a-z]{4,32}\/[0-9a-zA-Z-]{1,32})?$)
Clip v1 resource identifier
- children: required(array of ResourceIdentifier)
Child devices/services to group by the derived group
Items: ResourceIdentifier
- rid: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
The unique id of the referenced resource
- rtype: required(one of device, bridge_home, room, zone, service_group, light, button, bell_button, relative_rotary, temperature, light_level, motion, camera_motion, entertainment, contact, tamper, convenience_area_motion, security_area_motion, speaker, grouped_light, grouped_motion, grouped_light_level, device_power, device_software_update, zigbee_connectivity, zgp_connectivity, bridge, motion_area_candidate, wifi_connectivity, zigbee_device_discovery, homekit, matter, matter_fabric, scene, entertainment_configuration, public_image, auth_v1, behavior_script, behavior_instance, geofence_client, geolocation, smart_scene, motion_area_configuration, clip)
The type of the referenced resource
- rid: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
- services: required(array of ResourceIdentifier)
References all services aggregating control and state of children in the group. This includes all services grouped in the group hierarchy given by child relation This includes all services of a device grouped in the group hierarchy given by child relation Aggregation is per service type, ie every service type which can be grouped has a corresponding definition of grouped type Supported types: – grouped_light – grouped_motion – grouped_light_level
Items: ResourceIdentifier
- rid: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
The unique id of the referenced resource
- rtype: required(one of device, bridge_home, room, zone, service_group, light, button, bell_button, relative_rotary, temperature, light_level, motion, camera_motion, entertainment, contact, tamper, convenience_area_motion, security_area_motion, speaker, grouped_light, grouped_motion, grouped_light_level, device_power, device_software_update, zigbee_connectivity, zgp_connectivity, bridge, motion_area_candidate, wifi_connectivity, zigbee_device_discovery, homekit, matter, matter_fabric, scene, entertainment_configuration, public_image, auth_v1, behavior_script, behavior_instance, geofence_client, geolocation, smart_scene, motion_area_configuration, clip)
The type of the referenced resource
- rid: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
- type: required(bridge_home)
Type of the supported resources
Example:
{ "type": "bridge_home", "id": "91a6626c-8b8f-4c4a-a9e8-18a6be332373", "services": [ { "rtype": "grouped_light", "rid": "709834c7-29e7-4dc9-961e-0f7a3f4c3842" } ], "children": [ { "rtype": "device", "rid": "91a6626c-8b8f-4c4a-a9e8-18a6be332373" }, { "rtype": "room", "rid": "a032577a-dc4e-4eee-97e1-fc2c146a6b23" } ] } - id: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
HTTP status code 401
Client is not authorized
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 403
Client is not allowed to perform operation on this resource.
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 404
Resource or resource path does not exist
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 405
Method is not supported by the resource
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 409
Request conflict with the current state of the target resource
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 429
Too many requests
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 500
Internal Server Error
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 503
Busy, try again later.
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 507
Insufficient resources
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
Secured by hue-application-key
Headers
- hue-application-key: required(string)
API token
/resource/grouped_light
API to manage grouped light services. These are offered by rooms, zones, and homes.
List all resources of this type
get /resource/grouped_light
List all resources of this type
API authorization using a hue-application-key header
HTTP status code 200
Request was on resource path was successful. Result of request is in data.
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
- data: required(array of GroupedLightGet)
Items: GroupedLightGet
- id: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
Unique identifier representing a specific resource instance
- id_v1: (string – pattern: ^(\/[a-z]{4,32}\/[0-9a-zA-Z-]{1,32})?$)
Clip v1 resource identifier
- owner: required(object)
Owner of the service, in case the owner service is deleted, the service also gets deleted
- rid: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
The unique id of the referenced resource
- rtype: required(one of device, bridge_home, room, zone, service_group, light, button, bell_button, relative_rotary, temperature, light_level, motion, camera_motion, entertainment, contact, tamper, convenience_area_motion, security_area_motion, speaker, grouped_light, grouped_motion, grouped_light_level, device_power, device_software_update, zigbee_connectivity, zgp_connectivity, bridge, motion_area_candidate, wifi_connectivity, zigbee_device_discovery, homekit, matter, matter_fabric, scene, entertainment_configuration, public_image, auth_v1, behavior_script, behavior_instance, geofence_client, geolocation, smart_scene, motion_area_configuration, clip)
The type of the referenced resource
- rid: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
- type: required(grouped_light)
- on: (object)
Joined on control & aggregated on state.| – “on” is true if any light in the group is on
- on: required(boolean)
On/Off state of the light on=true, off=false
- on: required(boolean)
- dimming: (object)
Joined dimming control – “dimming.brightness” contains average brightness of group containing turned-on lights only.
- brightness: required(number – maximum: 100)
Brightness percentage. value cannot be 0, writing 0 changes it to lowest possible brightness
Example:
80
Example:
{ "brightness": 80 } - brightness: required(number – maximum: 100)
- dimming_delta: (object)
Example:
{ "action": "up", "brightness_delta": 10.5 } - color_temperature: (object)
Joined color temperature control
Example:
{ "mirek": 202 } - color_temperature_delta: (object)
Example:
{ "action": "up", "mirek_delta": 200 } - color: (object)
Joined color control
Example:
{ "xy": { "x": 0.6915, "y": 0.3083 } } - alert: (object)
Joined alert control
- action_values: required(array of AlertEffectType)
Alert effects that the light supports.
- action_values: required(array of AlertEffectType)
- signaling: (object)
Feature containing basic signaling properties.
- signal_values: required(array of SupportedSignals)
Signals that the light supports.
- signal_values: required(array of SupportedSignals)
- dynamics: (object)
- id: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
HTTP status code 401
Client is not authorized
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 403
Client is not allowed to perform operation on this resource.
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 404
Resource or resource path does not exist
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 405
Method is not supported by the resource
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 406
Query parameter has invalid value.
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 409
Request conflict with the current state of the target resource
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 429
Too many requests
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 500
Internal Server Error
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 503
Busy, try again later.
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 507
Insufficient resources
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
Secured by hue-application-key
Headers
- hue-application-key: required(string)
API token
API calls for resource which cannot be deleted (PUT and GET on resource instance)
put /resource/grouped_light/{id}
API authorization using a hue-application-key header
URI Parameters
- id: required(string)
Body
Media type: application/json
Type: object
Properties
- type: (grouped_light)
- on: (object)
Joined on control & aggregated on state.| – “on” is true if any light in the group is on
- on: (boolean)
On/Off state of the light on=true, off=false
- on: (boolean)
- dimming: (object)
Joined dimming control – “dimming.brightness” contains average brightness of group containing turned-on lights only.
- brightness: (number – maximum: 100)
Brightness percentage. value cannot be 0, writing 0 changes it to lowest possible brightness
Example:
80
Example:
{ "brightness": 80 } - brightness: (number – maximum: 100)
- dimming_delta: (object)
- action: required(one of up, down, stop)
The delta action to apply
- brightness_delta: (number – maximum: 100)
Brightness percentage of full-scale increase delta to current dimlevel. Clip at Max-level or Min-level.
Example:
20
Example:
{ "action": "up", "brightness_delta": 10.5 } - action: required(one of up, down, stop)
- color_temperature: (object)
Joined color temperature control
- mirek: (integer – minimum: 50 – maximum: 1000)
color temperature in mirek or null when the light color is not in the ct spectrum
Example:
233
Example:
{ "mirek": 202 } - mirek: (integer – minimum: 50 – maximum: 1000)
- color_temperature_delta: (object)
- action: required(one of up, down, stop)
The delta action to apply
- mirek_delta: (integer – maximum: 950)
Mirek delta to current mirek. Clip at mirek_minimum and mirek_maximum of mirek_schema.
Example:
10
Example:
{ "action": "up", "mirek_delta": 200 } - action: required(one of up, down, stop)
- color: (object)
Joined color control
- xy: (object)
CIE XY gamut position
- x: required(number – minimum: 0 – maximum: 1)
X position in color gamut
- y: required(number – minimum: 0 – maximum: 1)
Y position in color gamut
Example:
{ "x": 0.369, "y": 0.445 } - x: required(number – minimum: 0 – maximum: 1)
Example:
{ "xy": { "x": 0.6915, "y": 0.3083 } } - xy: (object)
- alert: (object)
Joined alert control
- action: required(breathe)
Alert to set the light to
- action: required(breathe)
- signaling: (object)
Feature containing basic signaling properties.
- signal: required(one of no_signal, on_off, on_off_color, alternating)
Signal to set the light to
- duration: required(integer)
Duration in milliseconds. Maximum value is 65534000 ms and a stepsize of 1 second. Values inbetween steps will be rounded. Duration is ignored for no_signal.
Example:
800 - colors: (array of ColorFeatureBasicPut – minItems: 1 – maxItems: 2)
List of colors to apply to the signal (not supported by all signals)
Items: ColorFeatureBasicPut
- xy: (object)
CIE XY gamut position
- x: required(number – minimum: 0 – maximum: 1)
X position in color gamut
- y: required(number – minimum: 0 – maximum: 1)
Y position in color gamut
Example:
{ "x": 0.369, "y": 0.445 } - x: required(number – minimum: 0 – maximum: 1)
Example:
{ "xy": { "x": 0.6915, "y": 0.3083 } } - xy: (object)
- signal: required(one of no_signal, on_off, on_off_color, alternating)
- dynamics: (object)
- duration: (integer)
Duration of a light transition in ms.
Example:
800
- duration: (integer)
HTTP status code 200
Request was on resource path was successful.
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
- data: required(array of ResourceIdentifier)
Items: ResourceIdentifier
- rid: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
The unique id of the referenced resource
- rtype: required(one of device, bridge_home, room, zone, service_group, light, button, bell_button, relative_rotary, temperature, light_level, motion, camera_motion, entertainment, contact, tamper, convenience_area_motion, security_area_motion, speaker, grouped_light, grouped_motion, grouped_light_level, device_power, device_software_update, zigbee_connectivity, zgp_connectivity, bridge, motion_area_candidate, wifi_connectivity, zigbee_device_discovery, homekit, matter, matter_fabric, scene, entertainment_configuration, public_image, auth_v1, behavior_script, behavior_instance, geofence_client, geolocation, smart_scene, motion_area_configuration, clip)
The type of the referenced resource
- rid: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
HTTP status code 207
Request was partially successful, resource has been updated. Failed requests and errors are listed in error object.
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
- data: required(array of ResourceIdentifier)
Items: ResourceIdentifier
- rid: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
The unique id of the referenced resource
- rtype: required(one of device, bridge_home, room, zone, service_group, light, button, bell_button, relative_rotary, temperature, light_level, motion, camera_motion, entertainment, contact, tamper, convenience_area_motion, security_area_motion, speaker, grouped_light, grouped_motion, grouped_light_level, device_power, device_software_update, zigbee_connectivity, zgp_connectivity, bridge, motion_area_candidate, wifi_connectivity, zigbee_device_discovery, homekit, matter, matter_fabric, scene, entertainment_configuration, public_image, auth_v1, behavior_script, behavior_instance, geofence_client, geolocation, smart_scene, motion_area_configuration, clip)
The type of the referenced resource
- rid: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
HTTP status code 400
Request was on resource path was unsuccessful, body of request contains errors.
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 401
Client is not authorized
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 403
Client is not allowed to perform operation on this resource.
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 404
Resource or resource path does not exist
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 405
Method is not supported by the resource
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 409
Request conflict with the current state of the target resource
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 429
Too many requests
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 500
Internal Server Error
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 503
Busy, try again later.
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 507
Insufficient resources
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
Secured by hue-application-key
Headers
- hue-application-key: required(string)
API token
get /resource/grouped_light/{id}
API authorization using a hue-application-key header
URI Parameters
- id: required(string)
HTTP status code 200
Request was on resource path was successful. Result of request is in data.
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
- data: required(array of GroupedLightGet)
Items: GroupedLightGet
- id: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
Unique identifier representing a specific resource instance
- id_v1: (string – pattern: ^(\/[a-z]{4,32}\/[0-9a-zA-Z-]{1,32})?$)
Clip v1 resource identifier
- owner: required(object)
Owner of the service, in case the owner service is deleted, the service also gets deleted
- rid: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
The unique id of the referenced resource
- rtype: required(one of device, bridge_home, room, zone, service_group, light, button, bell_button, relative_rotary, temperature, light_level, motion, camera_motion, entertainment, contact, tamper, convenience_area_motion, security_area_motion, speaker, grouped_light, grouped_motion, grouped_light_level, device_power, device_software_update, zigbee_connectivity, zgp_connectivity, bridge, motion_area_candidate, wifi_connectivity, zigbee_device_discovery, homekit, matter, matter_fabric, scene, entertainment_configuration, public_image, auth_v1, behavior_script, behavior_instance, geofence_client, geolocation, smart_scene, motion_area_configuration, clip)
The type of the referenced resource
- rid: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
- type: required(grouped_light)
- on: (object)
Joined on control & aggregated on state.| – “on” is true if any light in the group is on
- on: required(boolean)
On/Off state of the light on=true, off=false
- on: required(boolean)
- dimming: (object)
Joined dimming control – “dimming.brightness” contains average brightness of group containing turned-on lights only.
- brightness: required(number – maximum: 100)
Brightness percentage. value cannot be 0, writing 0 changes it to lowest possible brightness
Example:
80
Example:
{ "brightness": 80 } - brightness: required(number – maximum: 100)
- dimming_delta: (object)
Example:
{ "action": "up", "brightness_delta": 10.5 } - color_temperature: (object)
Joined color temperature control
Example:
{ "mirek": 202 } - color_temperature_delta: (object)
Example:
{ "action": "up", "mirek_delta": 200 } - color: (object)
Joined color control
Example:
{ "xy": { "x": 0.6915, "y": 0.3083 } } - alert: (object)
Joined alert control
- action_values: required(array of AlertEffectType)
Alert effects that the light supports.
- action_values: required(array of AlertEffectType)
- signaling: (object)
Feature containing basic signaling properties.
- signal_values: required(array of SupportedSignals)
Signals that the light supports.
- signal_values: required(array of SupportedSignals)
- dynamics: (object)
- id: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
HTTP status code 401
Client is not authorized
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 403
Client is not allowed to perform operation on this resource.
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 404
Resource or resource path does not exist
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 405
Method is not supported by the resource
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 409
Request conflict with the current state of the target resource
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 429
Too many requests
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 500
Internal Server Error
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 503
Busy, try again later.
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 507
Insufficient resources
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
Secured by hue-application-key
Headers
- hue-application-key: required(string)
API token
/resource/device
API to manage devices. Devices have device level properties and offer services such as light. Bridge device cannot be deleted.
List all resources of this type
get /resource/device
List all resources of this type
API authorization using a hue-application-key header
HTTP status code 200
Request was on resource path was successful. Result of request is in data.
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
- data: required(array of DeviceGet)
Items: DeviceGet
- id: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
Unique identifier representing a specific resource instance
- id_v1: (string – pattern: ^(\/[a-z]{4,32}\/[0-9a-zA-Z-]{1,32})?$)
Clip v1 resource identifier
- type: required(device)
- product_data: required(object)
- model_id: required(string)
unique identification of device model
- manufacturer_name: required(string)
Name of device manufacturer
- product_name: required(string)
Name of the product.
- product_archetype: required(one of bridge_v2, bridge_v3, unknown_archetype, classic_bulb, sultan_bulb, flood_bulb, spot_bulb, candle_bulb, luster_bulb, pendant_round, pendant_long, ceiling_round, ceiling_square, floor_shade, floor_lantern, table_shade, recessed_ceiling, recessed_floor, single_spot, double_spot, table_wash, wall_lantern, wall_shade, flexible_lamp, ground_spot, wall_spot, plug, hue_go, hue_lightstrip, hue_iris, hue_bloom, bollard, wall_washer, hue_play, hue_chime, vintage_bulb, vintage_candle_bulb, ellipse_bulb, triangle_bulb, small_globe_bulb, large_globe_bulb, edison_bulb, christmas_tree, string_light, hue_centris, hue_lightstrip_tv, hue_lightstrip_pc, hue_tube, hue_signe, pendant_spot, ceiling_horizontal, ceiling_tube, up_and_down, up_and_down_up, up_and_down_down, hue_floodlight_camera, twilight, twilight_front, twilight_back, hue_play_wallwasher, hue_omniglow, hue_neon, string_globe, string_permanent)
Archetype of the product
- certified: required(boolean)
This device is Hue certified
- software_version: required(string – pattern: \d+\.\d+\.\d+)
Software version of the product
- hardware_platform_type: (string)
Hardware type; identified by Manufacturer code and ImageType
Example:
{ "model_id": "LCB001", "manufacturer_name": "Signify Netherlands B.V.", "product_name": "Hue color downlight", "product_archetype": "flood_bulb", "certified": true, "software_version": "1.122.8", "hardware_platform_type": "100b-112" } - model_id: required(string)
- metadata: required(object)
additional metadata including a user given name
- name: required(string – minLength: 1 – maxLength: 32)
Human readable name of a resource
- archetype: required(one of bridge_v2, bridge_v3, unknown_archetype, classic_bulb, sultan_bulb, flood_bulb, spot_bulb, candle_bulb, luster_bulb, pendant_round, pendant_long, ceiling_round, ceiling_square, floor_shade, floor_lantern, table_shade, recessed_ceiling, recessed_floor, single_spot, double_spot, table_wash, wall_lantern, wall_shade, flexible_lamp, ground_spot, wall_spot, plug, hue_go, hue_lightstrip, hue_iris, hue_bloom, bollard, wall_washer, hue_play, hue_chime, vintage_bulb, vintage_candle_bulb, ellipse_bulb, triangle_bulb, small_globe_bulb, large_globe_bulb, edison_bulb, christmas_tree, string_light, hue_centris, hue_lightstrip_tv, hue_lightstrip_pc, hue_tube, hue_signe, pendant_spot, ceiling_horizontal, ceiling_tube, up_and_down, up_and_down_up, up_and_down_down, hue_floodlight_camera, twilight, twilight_front, twilight_back, hue_play_wallwasher, hue_omniglow, hue_neon, string_globe, string_permanent)
By default archetype given by manufacturer. Can be changed by user.
- name: required(string – minLength: 1 – maxLength: 32)
- identify: required(object)
- usertest: (object)
- status: required(one of set, changing)
- usertest: required(boolean)
Activates or extends user usertest mode of device for 120 seconds. false deactivates usertest mode. In usertest mode, devices report changes in state faster and indicate state changes on device LED (if applicable)
- device_mode: (object)
- status: required(one of set, changing)
- mode: required(one of switch_single_rocker, switch_single_pushbutton, switch_dual_rocker, switch_dual_pushbutton)
current mode (on read) or requested mode (on write) of the device
- mode_values: required(array of DeviceModeType)
the modes that the device supports
- services: required(array of ResourceIdentifier)
References all services providing control and state of the device.
Items: ResourceIdentifier
- rid: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
The unique id of the referenced resource
- rtype: required(one of device, bridge_home, room, zone, service_group, light, button, bell_button, relative_rotary, temperature, light_level, motion, camera_motion, entertainment, contact, tamper, convenience_area_motion, security_area_motion, speaker, grouped_light, grouped_motion, grouped_light_level, device_power, device_software_update, zigbee_connectivity, zgp_connectivity, bridge, motion_area_candidate, wifi_connectivity, zigbee_device_discovery, homekit, matter, matter_fabric, scene, entertainment_configuration, public_image, auth_v1, behavior_script, behavior_instance, geofence_client, geolocation, smart_scene, motion_area_configuration, clip)
The type of the referenced resource
- rid: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
- id: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
HTTP status code 401
Client is not authorized
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 403
Client is not allowed to perform operation on this resource.
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 404
Resource or resource path does not exist
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 405
Method is not supported by the resource
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 406
Query parameter has invalid value.
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 409
Request conflict with the current state of the target resource
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 429
Too many requests
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 500
Internal Server Error
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 503
Busy, try again later.
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 507
Insufficient resources
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
Secured by hue-application-key
Headers
- hue-application-key: required(string)
API token
API calls to read, update and delete a resource instance
delete /resource/device/{id}
API authorization using a hue-application-key header
URI Parameters
- id: required(string)
HTTP status code 200
Resource has been deleted
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
- data: required(array of ResourceIdentifier)
Items: ResourceIdentifier
- rid: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
The unique id of the referenced resource
- rtype: required(one of device, bridge_home, room, zone, service_group, light, button, bell_button, relative_rotary, temperature, light_level, motion, camera_motion, entertainment, contact, tamper, convenience_area_motion, security_area_motion, speaker, grouped_light, grouped_motion, grouped_light_level, device_power, device_software_update, zigbee_connectivity, zgp_connectivity, bridge, motion_area_candidate, wifi_connectivity, zigbee_device_discovery, homekit, matter, matter_fabric, scene, entertainment_configuration, public_image, auth_v1, behavior_script, behavior_instance, geofence_client, geolocation, smart_scene, motion_area_configuration, clip)
The type of the referenced resource
- rid: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
HTTP status code 401
Client is not authorized
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 403
Client is not allowed to perform operation on this resource.
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 404
Resource or resource path does not exist
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 405
Method is not supported by the resource
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 409
Request conflict with the current state of the target resource
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 429
Too many requests
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 500
Internal Server Error
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 503
Busy, try again later.
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 507
Insufficient resources
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
Secured by hue-application-key
Headers
- hue-application-key: required(string)
API token
put /resource/device/{id}
API authorization using a hue-application-key header
URI Parameters
- id: required(string)
Body
Media type: application/json
Type: object
Properties
- type: (device)
- metadata: (object)
additional metadata including a user given name
- name: (string – minLength: 1 – maxLength: 32)
Human readable name of a resource
- archetype: (one of bridge_v2, bridge_v3, unknown_archetype, classic_bulb, sultan_bulb, flood_bulb, spot_bulb, candle_bulb, luster_bulb, pendant_round, pendant_long, ceiling_round, ceiling_square, floor_shade, floor_lantern, table_shade, recessed_ceiling, recessed_floor, single_spot, double_spot, table_wash, wall_lantern, wall_shade, flexible_lamp, ground_spot, wall_spot, plug, hue_go, hue_lightstrip, hue_iris, hue_bloom, bollard, wall_washer, hue_play, hue_chime, vintage_bulb, vintage_candle_bulb, ellipse_bulb, triangle_bulb, small_globe_bulb, large_globe_bulb, edison_bulb, christmas_tree, string_light, hue_centris, hue_lightstrip_tv, hue_lightstrip_pc, hue_tube, hue_signe, pendant_spot, ceiling_horizontal, ceiling_tube, up_and_down, up_and_down_up, up_and_down_down, hue_floodlight_camera, twilight, twilight_front, twilight_back, hue_play_wallwasher, hue_omniglow, hue_neon, string_globe, string_permanent)
By default archetype given by manufacturer. Can be changed by user.
- name: (string – minLength: 1 – maxLength: 32)
- identify: (object)
- action: required(identify)
- identify: Triggers a visual identification sequence, current implemented as (which can change in the future): Bridge performs Zigbee LED identification cycles for 5 seconds Lights perform one breathe cycle Sensors perform LED identification cycles for 15 seconds
- duration: (integer)
Duration in milliseconds to perform the identify cycle.
Example:
800
- action: required(identify)
- usertest: (object)
- usertest: (boolean)
Activates or extends user usertest mode of device for 120 seconds. false deactivates usertest mode. In usertest mode, devices report changes in state faster and indicate state changes on device LED (if applicable)
- usertest: (boolean)
- device_mode: (object)
- mode: required(one of switch_single_rocker, switch_single_pushbutton, switch_dual_rocker, switch_dual_pushbutton)
current mode (on read) or requested mode (on write) of the device
- mode: required(one of switch_single_rocker, switch_single_pushbutton, switch_dual_rocker, switch_dual_pushbutton)
HTTP status code 200
Request was on resource path was successful.
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
- data: required(array of ResourceIdentifier)
Items: ResourceIdentifier
- rid: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
The unique id of the referenced resource
- rtype: required(one of device, bridge_home, room, zone, service_group, light, button, bell_button, relative_rotary, temperature, light_level, motion, camera_motion, entertainment, contact, tamper, convenience_area_motion, security_area_motion, speaker, grouped_light, grouped_motion, grouped_light_level, device_power, device_software_update, zigbee_connectivity, zgp_connectivity, bridge, motion_area_candidate, wifi_connectivity, zigbee_device_discovery, homekit, matter, matter_fabric, scene, entertainment_configuration, public_image, auth_v1, behavior_script, behavior_instance, geofence_client, geolocation, smart_scene, motion_area_configuration, clip)
The type of the referenced resource
- rid: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
HTTP status code 207
Request was partially successful, resource has been updated. Failed requests and errors are listed in error object.
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
- data: required(array of ResourceIdentifier)
Items: ResourceIdentifier
- rid: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
The unique id of the referenced resource
- rtype: required(one of device, bridge_home, room, zone, service_group, light, button, bell_button, relative_rotary, temperature, light_level, motion, camera_motion, entertainment, contact, tamper, convenience_area_motion, security_area_motion, speaker, grouped_light, grouped_motion, grouped_light_level, device_power, device_software_update, zigbee_connectivity, zgp_connectivity, bridge, motion_area_candidate, wifi_connectivity, zigbee_device_discovery, homekit, matter, matter_fabric, scene, entertainment_configuration, public_image, auth_v1, behavior_script, behavior_instance, geofence_client, geolocation, smart_scene, motion_area_configuration, clip)
The type of the referenced resource
- rid: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
HTTP status code 400
Request was on resource path was unsuccessful, body of request contains errors.
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 401
Client is not authorized
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 403
Client is not allowed to perform operation on this resource.
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 404
Resource or resource path does not exist
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 405
Method is not supported by the resource
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 409
Request conflict with the current state of the target resource
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 429
Too many requests
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 500
Internal Server Error
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 503
Busy, try again later.
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 507
Insufficient resources
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
Secured by hue-application-key
Headers
- hue-application-key: required(string)
API token
get /resource/device/{id}
API authorization using a hue-application-key header
URI Parameters
- id: required(string)
HTTP status code 200
Request was on resource path was successful. Result of request is in data.
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
- data: required(array of DeviceGet)
Items: DeviceGet
- id: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
Unique identifier representing a specific resource instance
- id_v1: (string – pattern: ^(\/[a-z]{4,32}\/[0-9a-zA-Z-]{1,32})?$)
Clip v1 resource identifier
- type: required(device)
- product_data: required(object)
- model_id: required(string)
unique identification of device model
- manufacturer_name: required(string)
Name of device manufacturer
- product_name: required(string)
Name of the product.
- product_archetype: required(one of bridge_v2, bridge_v3, unknown_archetype, classic_bulb, sultan_bulb, flood_bulb, spot_bulb, candle_bulb, luster_bulb, pendant_round, pendant_long, ceiling_round, ceiling_square, floor_shade, floor_lantern, table_shade, recessed_ceiling, recessed_floor, single_spot, double_spot, table_wash, wall_lantern, wall_shade, flexible_lamp, ground_spot, wall_spot, plug, hue_go, hue_lightstrip, hue_iris, hue_bloom, bollard, wall_washer, hue_play, hue_chime, vintage_bulb, vintage_candle_bulb, ellipse_bulb, triangle_bulb, small_globe_bulb, large_globe_bulb, edison_bulb, christmas_tree, string_light, hue_centris, hue_lightstrip_tv, hue_lightstrip_pc, hue_tube, hue_signe, pendant_spot, ceiling_horizontal, ceiling_tube, up_and_down, up_and_down_up, up_and_down_down, hue_floodlight_camera, twilight, twilight_front, twilight_back, hue_play_wallwasher, hue_omniglow, hue_neon, string_globe, string_permanent)
Archetype of the product
- certified: required(boolean)
This device is Hue certified
- software_version: required(string – pattern: \d+\.\d+\.\d+)
Software version of the product
- hardware_platform_type: (string)
Hardware type; identified by Manufacturer code and ImageType
Example:
{ "model_id": "LCB001", "manufacturer_name": "Signify Netherlands B.V.", "product_name": "Hue color downlight", "product_archetype": "flood_bulb", "certified": true, "software_version": "1.122.8", "hardware_platform_type": "100b-112" } - model_id: required(string)
- metadata: required(object)
additional metadata including a user given name
- name: required(string – minLength: 1 – maxLength: 32)
Human readable name of a resource
- archetype: required(one of bridge_v2, bridge_v3, unknown_archetype, classic_bulb, sultan_bulb, flood_bulb, spot_bulb, candle_bulb, luster_bulb, pendant_round, pendant_long, ceiling_round, ceiling_square, floor_shade, floor_lantern, table_shade, recessed_ceiling, recessed_floor, single_spot, double_spot, table_wash, wall_lantern, wall_shade, flexible_lamp, ground_spot, wall_spot, plug, hue_go, hue_lightstrip, hue_iris, hue_bloom, bollard, wall_washer, hue_play, hue_chime, vintage_bulb, vintage_candle_bulb, ellipse_bulb, triangle_bulb, small_globe_bulb, large_globe_bulb, edison_bulb, christmas_tree, string_light, hue_centris, hue_lightstrip_tv, hue_lightstrip_pc, hue_tube, hue_signe, pendant_spot, ceiling_horizontal, ceiling_tube, up_and_down, up_and_down_up, up_and_down_down, hue_floodlight_camera, twilight, twilight_front, twilight_back, hue_play_wallwasher, hue_omniglow, hue_neon, string_globe, string_permanent)
By default archetype given by manufacturer. Can be changed by user.
- name: required(string – minLength: 1 – maxLength: 32)
- identify: required(object)
- usertest: (object)
- status: required(one of set, changing)
- usertest: required(boolean)
Activates or extends user usertest mode of device for 120 seconds. false deactivates usertest mode. In usertest mode, devices report changes in state faster and indicate state changes on device LED (if applicable)
- device_mode: (object)
- status: required(one of set, changing)
- mode: required(one of switch_single_rocker, switch_single_pushbutton, switch_dual_rocker, switch_dual_pushbutton)
current mode (on read) or requested mode (on write) of the device
- mode_values: required(array of DeviceModeType)
the modes that the device supports
- services: required(array of ResourceIdentifier)
References all services providing control and state of the device.
Items: ResourceIdentifier
- rid: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
The unique id of the referenced resource
- rtype: required(one of device, bridge_home, room, zone, service_group, light, button, bell_button, relative_rotary, temperature, light_level, motion, camera_motion, entertainment, contact, tamper, convenience_area_motion, security_area_motion, speaker, grouped_light, grouped_motion, grouped_light_level, device_power, device_software_update, zigbee_connectivity, zgp_connectivity, bridge, motion_area_candidate, wifi_connectivity, zigbee_device_discovery, homekit, matter, matter_fabric, scene, entertainment_configuration, public_image, auth_v1, behavior_script, behavior_instance, geofence_client, geolocation, smart_scene, motion_area_configuration, clip)
The type of the referenced resource
- rid: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
- id: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
HTTP status code 401
Client is not authorized
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 403
Client is not allowed to perform operation on this resource.
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 404
Resource or resource path does not exist
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 405
Method is not supported by the resource
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 409
Request conflict with the current state of the target resource
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 429
Too many requests
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 500
Internal Server Error
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 503
Busy, try again later.
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 507
Insufficient resources
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
Secured by hue-application-key
Headers
- hue-application-key: required(string)
API token
/resource/bridge
API to manage the bridge
List all resources of this type
get /resource/bridge
List all resources of this type
API authorization using a hue-application-key header
HTTP status code 200
Request was on resource path was successful. Result of request is in data.
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
- data: required(array of BridgeGet)
Items: BridgeGet
- id: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
Unique identifier representing a specific resource instance
- id_v1: (string – pattern: ^(\/[a-z]{4,32}\/[0-9a-zA-Z-]{1,32})?$)
Clip v1 resource identifier
- owner: required(object)
Owner of the service, in case the owner service is deleted, the service also gets deleted
- rid: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
The unique id of the referenced resource
- rtype: required(one of device, bridge_home, room, zone, service_group, light, button, bell_button, relative_rotary, temperature, light_level, motion, camera_motion, entertainment, contact, tamper, convenience_area_motion, security_area_motion, speaker, grouped_light, grouped_motion, grouped_light_level, device_power, device_software_update, zigbee_connectivity, zgp_connectivity, bridge, motion_area_candidate, wifi_connectivity, zigbee_device_discovery, homekit, matter, matter_fabric, scene, entertainment_configuration, public_image, auth_v1, behavior_script, behavior_instance, geofence_client, geolocation, smart_scene, motion_area_configuration, clip)
The type of the referenced resource
- rid: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
- type: required(bridge)
Type of the supported resources
- bridge_id: required(string)
Unique identifier of the bridge as printed on the device. Lower case.
- time_zone: required(object)
- time_zone: required(string)
Time zone where the user's home is located (as Olson ID).
- time_zone: required(string)
- import: (object)
- origin: required(string)
Bridge ID (in lower case) where the imported data originates from.
- time: required(datetime)
UTC date and time when the import took place.
- origin: required(string)
Example:
{ "type": "bridge", "id": "91a6626c-8b8f-4c4a-a9e8-18a6be332373", "owner": { "rid": "08221fb4-ce0c-4914-845d-50aa5033f126", "rtype": "device" }, "bridge_id": "001788fffe21055d", "time_zone": { "time_zone": "Europe/Brussels" }, "import": { "origin": "c42996fffec02aea", "time": "2024-11-28T10:19:33.637Z" } } - id: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
HTTP status code 401
Client is not authorized
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 403
Client is not allowed to perform operation on this resource.
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 404
Resource or resource path does not exist
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 405
Method is not supported by the resource
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 406
Query parameter has invalid value.
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 409
Request conflict with the current state of the target resource
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 429
Too many requests
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 500
Internal Server Error
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 503
Busy, try again later.
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 507
Insufficient resources
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
Secured by hue-application-key
Headers
- hue-application-key: required(string)
API token
API calls for resource which cannot be deleted (PUT and GET on resource instance)
put /resource/bridge/{id}
API authorization using a hue-application-key header
URI Parameters
- id: required(string)
Body
Media type: application/json
Type: object
Properties
- type: (bridge)
Type of the supported resources
Example:
{
"type": "bridge",
"id": "91a6626c-8b8f-4c4a-a9e8-18a6be332373",
"owner": {
"rid": "08221fb4-ce0c-4914-845d-50aa5033f126",
"rtype": "device"
},
"bridge_id": "001788fffe21055d",
"time_zone": {
"time_zone": "Europe/Brussels"
},
"import": {
"origin": "c42996fffec02aea",
"time": "2024-11-28T10:19:33.637Z"
}
}
HTTP status code 200
Request was on resource path was successful.
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
- data: required(array of ResourceIdentifier)
Items: ResourceIdentifier
- rid: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
The unique id of the referenced resource
- rtype: required(one of device, bridge_home, room, zone, service_group, light, button, bell_button, relative_rotary, temperature, light_level, motion, camera_motion, entertainment, contact, tamper, convenience_area_motion, security_area_motion, speaker, grouped_light, grouped_motion, grouped_light_level, device_power, device_software_update, zigbee_connectivity, zgp_connectivity, bridge, motion_area_candidate, wifi_connectivity, zigbee_device_discovery, homekit, matter, matter_fabric, scene, entertainment_configuration, public_image, auth_v1, behavior_script, behavior_instance, geofence_client, geolocation, smart_scene, motion_area_configuration, clip)
The type of the referenced resource
- rid: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
HTTP status code 207
Request was partially successful, resource has been updated. Failed requests and errors are listed in error object.
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
- data: required(array of ResourceIdentifier)
Items: ResourceIdentifier
- rid: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
The unique id of the referenced resource
- rtype: required(one of device, bridge_home, room, zone, service_group, light, button, bell_button, relative_rotary, temperature, light_level, motion, camera_motion, entertainment, contact, tamper, convenience_area_motion, security_area_motion, speaker, grouped_light, grouped_motion, grouped_light_level, device_power, device_software_update, zigbee_connectivity, zgp_connectivity, bridge, motion_area_candidate, wifi_connectivity, zigbee_device_discovery, homekit, matter, matter_fabric, scene, entertainment_configuration, public_image, auth_v1, behavior_script, behavior_instance, geofence_client, geolocation, smart_scene, motion_area_configuration, clip)
The type of the referenced resource
- rid: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
HTTP status code 400
Request was on resource path was unsuccessful, body of request contains errors.
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 401
Client is not authorized
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 403
Client is not allowed to perform operation on this resource.
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 404
Resource or resource path does not exist
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 405
Method is not supported by the resource
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 409
Request conflict with the current state of the target resource
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 429
Too many requests
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 500
Internal Server Error
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 503
Busy, try again later.
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 507
Insufficient resources
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
Secured by hue-application-key
Headers
- hue-application-key: required(string)
API token
get /resource/bridge/{id}
API authorization using a hue-application-key header
URI Parameters
- id: required(string)
HTTP status code 200
Request was on resource path was successful. Result of request is in data.
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
- data: required(array of BridgeGet)
Items: BridgeGet
- id: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
Unique identifier representing a specific resource instance
- id_v1: (string – pattern: ^(\/[a-z]{4,32}\/[0-9a-zA-Z-]{1,32})?$)
Clip v1 resource identifier
- owner: required(object)
Owner of the service, in case the owner service is deleted, the service also gets deleted
- rid: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
The unique id of the referenced resource
- rtype: required(one of device, bridge_home, room, zone, service_group, light, button, bell_button, relative_rotary, temperature, light_level, motion, camera_motion, entertainment, contact, tamper, convenience_area_motion, security_area_motion, speaker, grouped_light, grouped_motion, grouped_light_level, device_power, device_software_update, zigbee_connectivity, zgp_connectivity, bridge, motion_area_candidate, wifi_connectivity, zigbee_device_discovery, homekit, matter, matter_fabric, scene, entertainment_configuration, public_image, auth_v1, behavior_script, behavior_instance, geofence_client, geolocation, smart_scene, motion_area_configuration, clip)
The type of the referenced resource
- rid: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
- type: required(bridge)
Type of the supported resources
- bridge_id: required(string)
Unique identifier of the bridge as printed on the device. Lower case.
- time_zone: required(object)
- time_zone: required(string)
Time zone where the user's home is located (as Olson ID).
- time_zone: required(string)
- import: (object)
- origin: required(string)
Bridge ID (in lower case) where the imported data originates from.
- time: required(datetime)
UTC date and time when the import took place.
- origin: required(string)
Example:
{ "type": "bridge", "id": "91a6626c-8b8f-4c4a-a9e8-18a6be332373", "owner": { "rid": "08221fb4-ce0c-4914-845d-50aa5033f126", "rtype": "device" }, "bridge_id": "001788fffe21055d", "time_zone": { "time_zone": "Europe/Brussels" }, "import": { "origin": "c42996fffec02aea", "time": "2024-11-28T10:19:33.637Z" } } - id: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
HTTP status code 401
Client is not authorized
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 403
Client is not allowed to perform operation on this resource.
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 404
Resource or resource path does not exist
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 405
Method is not supported by the resource
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 409
Request conflict with the current state of the target resource
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 429
Too many requests
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 500
Internal Server Error
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 503
Busy, try again later.
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 507
Insufficient resources
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
Secured by hue-application-key
Headers
- hue-application-key: required(string)
API token
/resource/device_software_update
API to manage device update services. These services are present for devices that support software update.
List all resources of this type
get /resource/device_software_update
List all resources of this type
API authorization using a hue-application-key header
HTTP status code 200
Request was on resource path was successful. Result of request is in data.
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
- data: required(array of DeviceSoftwareUpdateGet)
Items: DeviceSoftwareUpdateGet
- id: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
Unique identifier representing a specific resource instance
- id_v1: (string – pattern: ^(\/[a-z]{4,32}\/[0-9a-zA-Z-]{1,32})?$)
Clip v1 resource identifier
- owner: required(object)
Owner of the service, in case the owner service is deleted, the service also gets deleted
- rid: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
The unique id of the referenced resource
- rtype: required(one of device, bridge_home, room, zone, service_group, light, button, bell_button, relative_rotary, temperature, light_level, motion, camera_motion, entertainment, contact, tamper, convenience_area_motion, security_area_motion, speaker, grouped_light, grouped_motion, grouped_light_level, device_power, device_software_update, zigbee_connectivity, zgp_connectivity, bridge, motion_area_candidate, wifi_connectivity, zigbee_device_discovery, homekit, matter, matter_fabric, scene, entertainment_configuration, public_image, auth_v1, behavior_script, behavior_instance, geofence_client, geolocation, smart_scene, motion_area_configuration, clip)
The type of the referenced resource
- rid: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
- type: required(device_software_update)
Type of the supported resources
- state: required(one of no_update, update_pending, ready_to_install, installing)
software update status of the device.
- no_update – No software update available known for the device – update_pending – There is an update pending but not ready to install. (means the update is known, but transfer has not started or completed) – ready_to_install – The update is ready to be installed. – installing – The update is being installed.
- problems: required(array of DeviceSoftwareUpdateProblem)
Problems with software update that need user intervention
- id: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
HTTP status code 401
Client is not authorized
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 403
Client is not allowed to perform operation on this resource.
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 404
Resource or resource path does not exist
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 405
Method is not supported by the resource
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 406
Query parameter has invalid value.
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 409
Request conflict with the current state of the target resource
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 429
Too many requests
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 500
Internal Server Error
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 503
Busy, try again later.
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 507
Insufficient resources
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
Secured by hue-application-key
Headers
- hue-application-key: required(string)
API token
API calls for resource which cannot be deleted (PUT and GET on resource instance)
put /resource/device_software_update/{id}
API authorization using a hue-application-key header
URI Parameters
- id: required(string)
Body
Media type: application/json
Type: object
Properties
- type: (device_software_update)
Type of the supported resources
HTTP status code 200
Request was on resource path was successful.
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
- data: required(array of ResourceIdentifier)
Items: ResourceIdentifier
- rid: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
The unique id of the referenced resource
- rtype: required(one of device, bridge_home, room, zone, service_group, light, button, bell_button, relative_rotary, temperature, light_level, motion, camera_motion, entertainment, contact, tamper, convenience_area_motion, security_area_motion, speaker, grouped_light, grouped_motion, grouped_light_level, device_power, device_software_update, zigbee_connectivity, zgp_connectivity, bridge, motion_area_candidate, wifi_connectivity, zigbee_device_discovery, homekit, matter, matter_fabric, scene, entertainment_configuration, public_image, auth_v1, behavior_script, behavior_instance, geofence_client, geolocation, smart_scene, motion_area_configuration, clip)
The type of the referenced resource
- rid: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
HTTP status code 207
Request was partially successful, resource has been updated. Failed requests and errors are listed in error object.
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
- data: required(array of ResourceIdentifier)
Items: ResourceIdentifier
- rid: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
The unique id of the referenced resource
- rtype: required(one of device, bridge_home, room, zone, service_group, light, button, bell_button, relative_rotary, temperature, light_level, motion, camera_motion, entertainment, contact, tamper, convenience_area_motion, security_area_motion, speaker, grouped_light, grouped_motion, grouped_light_level, device_power, device_software_update, zigbee_connectivity, zgp_connectivity, bridge, motion_area_candidate, wifi_connectivity, zigbee_device_discovery, homekit, matter, matter_fabric, scene, entertainment_configuration, public_image, auth_v1, behavior_script, behavior_instance, geofence_client, geolocation, smart_scene, motion_area_configuration, clip)
The type of the referenced resource
- rid: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
HTTP status code 400
Request was on resource path was unsuccessful, body of request contains errors.
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 401
Client is not authorized
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 403
Client is not allowed to perform operation on this resource.
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 404
Resource or resource path does not exist
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 405
Method is not supported by the resource
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 409
Request conflict with the current state of the target resource
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 429
Too many requests
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 500
Internal Server Error
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 503
Busy, try again later.
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 507
Insufficient resources
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
Secured by hue-application-key
Headers
- hue-application-key: required(string)
API token
get /resource/device_software_update/{id}
API authorization using a hue-application-key header
URI Parameters
- id: required(string)
HTTP status code 200
Request was on resource path was successful. Result of request is in data.
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
- data: required(array of DeviceSoftwareUpdateGet)
Items: DeviceSoftwareUpdateGet
- id: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
Unique identifier representing a specific resource instance
- id_v1: (string – pattern: ^(\/[a-z]{4,32}\/[0-9a-zA-Z-]{1,32})?$)
Clip v1 resource identifier
- owner: required(object)
Owner of the service, in case the owner service is deleted, the service also gets deleted
- rid: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
The unique id of the referenced resource
- rtype: required(one of device, bridge_home, room, zone, service_group, light, button, bell_button, relative_rotary, temperature, light_level, motion, camera_motion, entertainment, contact, tamper, convenience_area_motion, security_area_motion, speaker, grouped_light, grouped_motion, grouped_light_level, device_power, device_software_update, zigbee_connectivity, zgp_connectivity, bridge, motion_area_candidate, wifi_connectivity, zigbee_device_discovery, homekit, matter, matter_fabric, scene, entertainment_configuration, public_image, auth_v1, behavior_script, behavior_instance, geofence_client, geolocation, smart_scene, motion_area_configuration, clip)
The type of the referenced resource
- rid: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
- type: required(device_software_update)
Type of the supported resources
- state: required(one of no_update, update_pending, ready_to_install, installing)
software update status of the device.
- no_update – No software update available known for the device – update_pending – There is an update pending but not ready to install. (means the update is known, but transfer has not started or completed) – ready_to_install – The update is ready to be installed. – installing – The update is being installed.
- problems: required(array of DeviceSoftwareUpdateProblem)
Problems with software update that need user intervention
- id: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
HTTP status code 401
Client is not authorized
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 403
Client is not allowed to perform operation on this resource.
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 404
Resource or resource path does not exist
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 405
Method is not supported by the resource
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 409
Request conflict with the current state of the target resource
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 429
Too many requests
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 500
Internal Server Error
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 503
Busy, try again later.
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 507
Insufficient resources
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
Secured by hue-application-key
Headers
- hue-application-key: required(string)
API token
/resource/device_power
API to manage device power services. These are offered by battery powered devices.
List all resources of this type
get /resource/device_power
List all resources of this type
API authorization using a hue-application-key header
HTTP status code 200
Request was on resource path was successful. Result of request is in data.
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
- data: required(array of DevicePowerGet)
Items: DevicePowerGet
- id: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
Unique identifier representing a specific resource instance
- id_v1: (string – pattern: ^(\/[a-z]{4,32}\/[0-9a-zA-Z-]{1,32})?$)
Clip v1 resource identifier
- owner: required(object)
Owner of the service, in case the owner service is deleted, the service also gets deleted
- rid: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
The unique id of the referenced resource
- rtype: required(one of device, bridge_home, room, zone, service_group, light, button, bell_button, relative_rotary, temperature, light_level, motion, camera_motion, entertainment, contact, tamper, convenience_area_motion, security_area_motion, speaker, grouped_light, grouped_motion, grouped_light_level, device_power, device_software_update, zigbee_connectivity, zgp_connectivity, bridge, motion_area_candidate, wifi_connectivity, zigbee_device_discovery, homekit, matter, matter_fabric, scene, entertainment_configuration, public_image, auth_v1, behavior_script, behavior_instance, geofence_client, geolocation, smart_scene, motion_area_configuration, clip)
The type of the referenced resource
- rid: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
- type: required(device_power)
Type of the supported resources
- power_state: required(object)
- battery_state: (one of normal, low, critical)
status of the power source of a device, only for battery powered devices.
- normal – battery level is sufficient – low – battery level low, some features (e.g. software update) might stop working, please change battery soon – critical – battery level critical, device can fail any moment
- battery_level: (integer – minimum: 0 – maximum: 100)
The current battery state in percent, only for battery powered devices.
- battery_state: (one of normal, low, critical)
- id: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
HTTP status code 401
Client is not authorized
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 403
Client is not allowed to perform operation on this resource.
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 404
Resource or resource path does not exist
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 405
Method is not supported by the resource
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 406
Query parameter has invalid value.
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 409
Request conflict with the current state of the target resource
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 429
Too many requests
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 500
Internal Server Error
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 503
Busy, try again later.
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 507
Insufficient resources
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
Secured by hue-application-key
Headers
- hue-application-key: required(string)
API token
API calls for resource which cannot be deleted (PUT and GET on resource instance)
put /resource/device_power/{id}
API authorization using a hue-application-key header
URI Parameters
- id: required(string)
Body
Media type: application/json
Type: object
Properties
- type: (device_power)
Type of the supported resources
HTTP status code 200
Request was on resource path was successful.
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
- data: required(array of ResourceIdentifier)
Items: ResourceIdentifier
- rid: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
The unique id of the referenced resource
- rtype: required(one of device, bridge_home, room, zone, service_group, light, button, bell_button, relative_rotary, temperature, light_level, motion, camera_motion, entertainment, contact, tamper, convenience_area_motion, security_area_motion, speaker, grouped_light, grouped_motion, grouped_light_level, device_power, device_software_update, zigbee_connectivity, zgp_connectivity, bridge, motion_area_candidate, wifi_connectivity, zigbee_device_discovery, homekit, matter, matter_fabric, scene, entertainment_configuration, public_image, auth_v1, behavior_script, behavior_instance, geofence_client, geolocation, smart_scene, motion_area_configuration, clip)
The type of the referenced resource
- rid: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
HTTP status code 207
Request was partially successful, resource has been updated. Failed requests and errors are listed in error object.
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
- data: required(array of ResourceIdentifier)
Items: ResourceIdentifier
- rid: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
The unique id of the referenced resource
- rtype: required(one of device, bridge_home, room, zone, service_group, light, button, bell_button, relative_rotary, temperature, light_level, motion, camera_motion, entertainment, contact, tamper, convenience_area_motion, security_area_motion, speaker, grouped_light, grouped_motion, grouped_light_level, device_power, device_software_update, zigbee_connectivity, zgp_connectivity, bridge, motion_area_candidate, wifi_connectivity, zigbee_device_discovery, homekit, matter, matter_fabric, scene, entertainment_configuration, public_image, auth_v1, behavior_script, behavior_instance, geofence_client, geolocation, smart_scene, motion_area_configuration, clip)
The type of the referenced resource
- rid: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
HTTP status code 400
Request was on resource path was unsuccessful, body of request contains errors.
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 401
Client is not authorized
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 403
Client is not allowed to perform operation on this resource.
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 404
Resource or resource path does not exist
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 405
Method is not supported by the resource
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 409
Request conflict with the current state of the target resource
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 429
Too many requests
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 500
Internal Server Error
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 503
Busy, try again later.
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 507
Insufficient resources
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
Secured by hue-application-key
Headers
- hue-application-key: required(string)
API token
get /resource/device_power/{id}
API authorization using a hue-application-key header
URI Parameters
- id: required(string)
HTTP status code 200
Request was on resource path was successful. Result of request is in data.
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
- data: required(array of DevicePowerGet)
Items: DevicePowerGet
- id: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
Unique identifier representing a specific resource instance
- id_v1: (string – pattern: ^(\/[a-z]{4,32}\/[0-9a-zA-Z-]{1,32})?$)
Clip v1 resource identifier
- owner: required(object)
Owner of the service, in case the owner service is deleted, the service also gets deleted
- rid: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
The unique id of the referenced resource
- rtype: required(one of device, bridge_home, room, zone, service_group, light, button, bell_button, relative_rotary, temperature, light_level, motion, camera_motion, entertainment, contact, tamper, convenience_area_motion, security_area_motion, speaker, grouped_light, grouped_motion, grouped_light_level, device_power, device_software_update, zigbee_connectivity, zgp_connectivity, bridge, motion_area_candidate, wifi_connectivity, zigbee_device_discovery, homekit, matter, matter_fabric, scene, entertainment_configuration, public_image, auth_v1, behavior_script, behavior_instance, geofence_client, geolocation, smart_scene, motion_area_configuration, clip)
The type of the referenced resource
- rid: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
- type: required(device_power)
Type of the supported resources
- power_state: required(object)
- battery_state: (one of normal, low, critical)
status of the power source of a device, only for battery powered devices.
- normal – battery level is sufficient – low – battery level low, some features (e.g. software update) might stop working, please change battery soon – critical – battery level critical, device can fail any moment
- battery_level: (integer – minimum: 0 – maximum: 100)
The current battery state in percent, only for battery powered devices.
- battery_state: (one of normal, low, critical)
- id: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
HTTP status code 401
Client is not authorized
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 403
Client is not allowed to perform operation on this resource.
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 404
Resource or resource path does not exist
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 405
Method is not supported by the resource
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 409
Request conflict with the current state of the target resource
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 429
Too many requests
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 500
Internal Server Error
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 503
Busy, try again later.
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 507
Insufficient resources
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
Secured by hue-application-key
Headers
- hue-application-key: required(string)
API token
/resource/zigbee_connectivity
API to manage zigbee connectivity services. These are offered by zigbee connected devices.
List all resources of this type
get /resource/zigbee_connectivity
List all resources of this type
API authorization using a hue-application-key header
HTTP status code 200
Request was on resource path was successful. Result of request is in data.
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
- data: required(array of ZigbeeConnectivityGet)
Items: ZigbeeConnectivityGet
- type: required(zigbee_connectivity)
- id: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
Unique identifier representing a specific resource instance
- id_v1: (string – pattern: ^(\/[a-z]{4,32}\/[0-9a-zA-Z-]{1,32})?$)
Clip v1 resource identifier
- owner: required(object)
Owner of the service, in case the owner service is deleted, the service also gets deleted
- rid: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
The unique id of the referenced resource
- rtype: required(one of device, bridge_home, room, zone, service_group, light, button, bell_button, relative_rotary, temperature, light_level, motion, camera_motion, entertainment, contact, tamper, convenience_area_motion, security_area_motion, speaker, grouped_light, grouped_motion, grouped_light_level, device_power, device_software_update, zigbee_connectivity, zgp_connectivity, bridge, motion_area_candidate, wifi_connectivity, zigbee_device_discovery, homekit, matter, matter_fabric, scene, entertainment_configuration, public_image, auth_v1, behavior_script, behavior_instance, geofence_client, geolocation, smart_scene, motion_area_configuration, clip)
The type of the referenced resource
- rid: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
- status: required(one of connected, disconnected, connectivity_issue, unidirectional_incoming, pending_discovery)
Connected if device has been recently been available. When indicating connectivity issues the device is powered off or has network issues When indicating unidirectional incoming the device only talks to bridge pending_discovery when device is expected to be discovered (added to the network) soon
- mac_address: required(string – pattern: ^([0-9a-fA-F]{2}:){7}[0-9a-fA-F]{2}$)
unique identifier of a ZigBee device on the network
- channel: (object)
- status: required(one of set, changing)
- value: (one of channel_11, channel_15, channel_20, channel_25, not_configured)
Current value of the zigbee channel. If recently changed, the value will reflect the channel that is currently being changed to.
- extended_pan_id: (string – pattern: ^[0-9a-f]{16}$)
Extended pan id of the zigbee network.
HTTP status code 401
Client is not authorized
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 403
Client is not allowed to perform operation on this resource.
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 404
Resource or resource path does not exist
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 405
Method is not supported by the resource
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 406
Query parameter has invalid value.
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 409
Request conflict with the current state of the target resource
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 429
Too many requests
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 500
Internal Server Error
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 503
Busy, try again later.
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 507
Insufficient resources
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
Secured by hue-application-key
Headers
- hue-application-key: required(string)
API token
API calls for resource which cannot be deleted (PUT and GET on resource instance)
put /resource/zigbee_connectivity/{id}
API authorization using a hue-application-key header
URI Parameters
- id: required(string)
Body
Media type: application/json
Type: object
Properties
- type: (zigbee_connectivity)
- channel: (object)
- value: (one of channel_11, channel_15, channel_20, channel_25, not_configured)
Current value of the zigbee channel. If recently changed, the value will reflect the channel that is currently being changed to.
- value: (one of channel_11, channel_15, channel_20, channel_25, not_configured)
HTTP status code 200
Request was on resource path was successful.
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
- data: required(array of ResourceIdentifier)
Items: ResourceIdentifier
- rid: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
The unique id of the referenced resource
- rtype: required(one of device, bridge_home, room, zone, service_group, light, button, bell_button, relative_rotary, temperature, light_level, motion, camera_motion, entertainment, contact, tamper, convenience_area_motion, security_area_motion, speaker, grouped_light, grouped_motion, grouped_light_level, device_power, device_software_update, zigbee_connectivity, zgp_connectivity, bridge, motion_area_candidate, wifi_connectivity, zigbee_device_discovery, homekit, matter, matter_fabric, scene, entertainment_configuration, public_image, auth_v1, behavior_script, behavior_instance, geofence_client, geolocation, smart_scene, motion_area_configuration, clip)
The type of the referenced resource
- rid: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
HTTP status code 207
Request was partially successful, resource has been updated. Failed requests and errors are listed in error object.
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
- data: required(array of ResourceIdentifier)
Items: ResourceIdentifier
- rid: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
The unique id of the referenced resource
- rtype: required(one of device, bridge_home, room, zone, service_group, light, button, bell_button, relative_rotary, temperature, light_level, motion, camera_motion, entertainment, contact, tamper, convenience_area_motion, security_area_motion, speaker, grouped_light, grouped_motion, grouped_light_level, device_power, device_software_update, zigbee_connectivity, zgp_connectivity, bridge, motion_area_candidate, wifi_connectivity, zigbee_device_discovery, homekit, matter, matter_fabric, scene, entertainment_configuration, public_image, auth_v1, behavior_script, behavior_instance, geofence_client, geolocation, smart_scene, motion_area_configuration, clip)
The type of the referenced resource
- rid: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
HTTP status code 400
Request was on resource path was unsuccessful, body of request contains errors.
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 401
Client is not authorized
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 403
Client is not allowed to perform operation on this resource.
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 404
Resource or resource path does not exist
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 405
Method is not supported by the resource
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 409
Request conflict with the current state of the target resource
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 429
Too many requests
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 500
Internal Server Error
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 503
Busy, try again later.
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 507
Insufficient resources
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
Secured by hue-application-key
Headers
- hue-application-key: required(string)
API token
get /resource/zigbee_connectivity/{id}
API authorization using a hue-application-key header
URI Parameters
- id: required(string)
HTTP status code 200
Request was on resource path was successful. Result of request is in data.
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
- data: required(array of ZigbeeConnectivityGet)
Items: ZigbeeConnectivityGet
- type: required(zigbee_connectivity)
- id: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
Unique identifier representing a specific resource instance
- id_v1: (string – pattern: ^(\/[a-z]{4,32}\/[0-9a-zA-Z-]{1,32})?$)
Clip v1 resource identifier
- owner: required(object)
Owner of the service, in case the owner service is deleted, the service also gets deleted
- rid: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
The unique id of the referenced resource
- rtype: required(one of device, bridge_home, room, zone, service_group, light, button, bell_button, relative_rotary, temperature, light_level, motion, camera_motion, entertainment, contact, tamper, convenience_area_motion, security_area_motion, speaker, grouped_light, grouped_motion, grouped_light_level, device_power, device_software_update, zigbee_connectivity, zgp_connectivity, bridge, motion_area_candidate, wifi_connectivity, zigbee_device_discovery, homekit, matter, matter_fabric, scene, entertainment_configuration, public_image, auth_v1, behavior_script, behavior_instance, geofence_client, geolocation, smart_scene, motion_area_configuration, clip)
The type of the referenced resource
- rid: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
- status: required(one of connected, disconnected, connectivity_issue, unidirectional_incoming, pending_discovery)
Connected if device has been recently been available. When indicating connectivity issues the device is powered off or has network issues When indicating unidirectional incoming the device only talks to bridge pending_discovery when device is expected to be discovered (added to the network) soon
- mac_address: required(string – pattern: ^([0-9a-fA-F]{2}:){7}[0-9a-fA-F]{2}$)
unique identifier of a ZigBee device on the network
- channel: (object)
- status: required(one of set, changing)
- value: (one of channel_11, channel_15, channel_20, channel_25, not_configured)
Current value of the zigbee channel. If recently changed, the value will reflect the channel that is currently being changed to.
- extended_pan_id: (string – pattern: ^[0-9a-f]{16}$)
Extended pan id of the zigbee network.
HTTP status code 401
Client is not authorized
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 403
Client is not allowed to perform operation on this resource.
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 404
Resource or resource path does not exist
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 405
Method is not supported by the resource
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 409
Request conflict with the current state of the target resource
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 429
Too many requests
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 500
Internal Server Error
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 503
Busy, try again later.
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 507
Insufficient resources
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
Secured by hue-application-key
Headers
- hue-application-key: required(string)
API token
/resource/zgp_connectivity
API to manage zgp connectivity services. These are offered by zigbee green power devices.
List all resources of this type
get /resource/zgp_connectivity
List all resources of this type
API authorization using a hue-application-key header
HTTP status code 200
Request was on resource path was successful. Result of request is in data.
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
- data: required(array of ZgpConnectivityGet)
Items: ZgpConnectivityGet
- type: required(zgp_connectivity)
Type of the supported resources
- id: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
Unique identifier representing a specific resource instance
- id_v1: (string – pattern: ^(\/[a-z]{4,32}\/[0-9a-zA-Z-]{1,32})?$)
Clip v1 resource identifier
- owner: required(object)
Owner of the service, in case the owner service is deleted, the service also gets deleted
- rid: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
The unique id of the referenced resource
- rtype: required(one of device, bridge_home, room, zone, service_group, light, button, bell_button, relative_rotary, temperature, light_level, motion, camera_motion, entertainment, contact, tamper, convenience_area_motion, security_area_motion, speaker, grouped_light, grouped_motion, grouped_light_level, device_power, device_software_update, zigbee_connectivity, zgp_connectivity, bridge, motion_area_candidate, wifi_connectivity, zigbee_device_discovery, homekit, matter, matter_fabric, scene, entertainment_configuration, public_image, auth_v1, behavior_script, behavior_instance, geofence_client, geolocation, smart_scene, motion_area_configuration, clip)
The type of the referenced resource
- rid: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
- status: required(one of connected, disconnected, connectivity_issue, unidirectional_incoming, pending_discovery)
Connected if device has been recently been available. When indicating connectivity issues the device is powered off or has network issues When indicating unidirectional incoming the device only talks to bridge pending_discovery when device is expected to be discovered (added to the network) soon
- source_id: required(string)
unique identifier of a ZigBee Green Power device on the network
- channel_confirmed: (datetime)
timestamp of the last channel change confirmation
- type: required(zgp_connectivity)
HTTP status code 401
Client is not authorized
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 403
Client is not allowed to perform operation on this resource.
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 404
Resource or resource path does not exist
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 405
Method is not supported by the resource
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 406
Query parameter has invalid value.
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 409
Request conflict with the current state of the target resource
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 429
Too many requests
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 500
Internal Server Error
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 503
Busy, try again later.
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 507
Insufficient resources
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
Secured by hue-application-key
Headers
- hue-application-key: required(string)
API token
API calls for resource which cannot be deleted (PUT and GET on resource instance)
put /resource/zgp_connectivity/{id}
API authorization using a hue-application-key header
URI Parameters
- id: required(string)
Body
Media type: application/json
Type: object
Properties
- type: (zgp_connectivity)
Type of the supported resources
HTTP status code 200
Request was on resource path was successful.
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
- data: required(array of ResourceIdentifier)
Items: ResourceIdentifier
- rid: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
The unique id of the referenced resource
- rtype: required(one of device, bridge_home, room, zone, service_group, light, button, bell_button, relative_rotary, temperature, light_level, motion, camera_motion, entertainment, contact, tamper, convenience_area_motion, security_area_motion, speaker, grouped_light, grouped_motion, grouped_light_level, device_power, device_software_update, zigbee_connectivity, zgp_connectivity, bridge, motion_area_candidate, wifi_connectivity, zigbee_device_discovery, homekit, matter, matter_fabric, scene, entertainment_configuration, public_image, auth_v1, behavior_script, behavior_instance, geofence_client, geolocation, smart_scene, motion_area_configuration, clip)
The type of the referenced resource
- rid: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
HTTP status code 207
Request was partially successful, resource has been updated. Failed requests and errors are listed in error object.
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
- data: required(array of ResourceIdentifier)
Items: ResourceIdentifier
- rid: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
The unique id of the referenced resource
- rtype: required(one of device, bridge_home, room, zone, service_group, light, button, bell_button, relative_rotary, temperature, light_level, motion, camera_motion, entertainment, contact, tamper, convenience_area_motion, security_area_motion, speaker, grouped_light, grouped_motion, grouped_light_level, device_power, device_software_update, zigbee_connectivity, zgp_connectivity, bridge, motion_area_candidate, wifi_connectivity, zigbee_device_discovery, homekit, matter, matter_fabric, scene, entertainment_configuration, public_image, auth_v1, behavior_script, behavior_instance, geofence_client, geolocation, smart_scene, motion_area_configuration, clip)
The type of the referenced resource
- rid: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
HTTP status code 400
Request was on resource path was unsuccessful, body of request contains errors.
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 401
Client is not authorized
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 403
Client is not allowed to perform operation on this resource.
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 404
Resource or resource path does not exist
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 405
Method is not supported by the resource
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 409
Request conflict with the current state of the target resource
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 429
Too many requests
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 500
Internal Server Error
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 503
Busy, try again later.
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 507
Insufficient resources
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
Secured by hue-application-key
Headers
- hue-application-key: required(string)
API token
get /resource/zgp_connectivity/{id}
API authorization using a hue-application-key header
URI Parameters
- id: required(string)
HTTP status code 200
Request was on resource path was successful. Result of request is in data.
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
- data: required(array of ZgpConnectivityGet)
Items: ZgpConnectivityGet
- type: required(zgp_connectivity)
Type of the supported resources
- id: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
Unique identifier representing a specific resource instance
- id_v1: (string – pattern: ^(\/[a-z]{4,32}\/[0-9a-zA-Z-]{1,32})?$)
Clip v1 resource identifier
- owner: required(object)
Owner of the service, in case the owner service is deleted, the service also gets deleted
- rid: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
The unique id of the referenced resource
- rtype: required(one of device, bridge_home, room, zone, service_group, light, button, bell_button, relative_rotary, temperature, light_level, motion, camera_motion, entertainment, contact, tamper, convenience_area_motion, security_area_motion, speaker, grouped_light, grouped_motion, grouped_light_level, device_power, device_software_update, zigbee_connectivity, zgp_connectivity, bridge, motion_area_candidate, wifi_connectivity, zigbee_device_discovery, homekit, matter, matter_fabric, scene, entertainment_configuration, public_image, auth_v1, behavior_script, behavior_instance, geofence_client, geolocation, smart_scene, motion_area_configuration, clip)
The type of the referenced resource
- rid: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
- status: required(one of connected, disconnected, connectivity_issue, unidirectional_incoming, pending_discovery)
Connected if device has been recently been available. When indicating connectivity issues the device is powered off or has network issues When indicating unidirectional incoming the device only talks to bridge pending_discovery when device is expected to be discovered (added to the network) soon
- source_id: required(string)
unique identifier of a ZigBee Green Power device on the network
- channel_confirmed: (datetime)
timestamp of the last channel change confirmation
- type: required(zgp_connectivity)
HTTP status code 401
Client is not authorized
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 403
Client is not allowed to perform operation on this resource.
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 404
Resource or resource path does not exist
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 405
Method is not supported by the resource
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 409
Request conflict with the current state of the target resource
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 429
Too many requests
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 500
Internal Server Error
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 503
Busy, try again later.
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 507
Insufficient resources
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
Secured by hue-application-key
Headers
- hue-application-key: required(string)
API token
/resource/zigbee_device_discovery
API to manage zigbee device discovery service. This is offered by the bridge for commissioning.
List all resources of this type
get /resource/zigbee_device_discovery
List all resources of this type
API authorization using a hue-application-key header
HTTP status code 200
Request was on resource path was successful. Result of request is in data.
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
- data: required(array of ZigbeeDeviceDiscoveryGet)
Items: ZigbeeDeviceDiscoveryGet
- id: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
Unique identifier representing a specific resource instance
- id_v1: (string – pattern: ^(\/[a-z]{4,32}\/[0-9a-zA-Z-]{1,32})?$)
Clip v1 resource identifier
- owner: required(object)
Owner of the service, in case the owner service is deleted, the service also gets deleted
- rid: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
The unique id of the referenced resource
- rtype: required(one of device, bridge_home, room, zone, service_group, light, button, bell_button, relative_rotary, temperature, light_level, motion, camera_motion, entertainment, contact, tamper, convenience_area_motion, security_area_motion, speaker, grouped_light, grouped_motion, grouped_light_level, device_power, device_software_update, zigbee_connectivity, zgp_connectivity, bridge, motion_area_candidate, wifi_connectivity, zigbee_device_discovery, homekit, matter, matter_fabric, scene, entertainment_configuration, public_image, auth_v1, behavior_script, behavior_instance, geofence_client, geolocation, smart_scene, motion_area_configuration, clip)
The type of the referenced resource
- rid: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
- type: required(zigbee_device_discovery)
Type of the supported resources
- status: required(one of active, ready)
Current status of the discovery process
- action: required(object)
- action_type_values: required(array of SearchActionType)
- add_install_codes: (object)
- id: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
HTTP status code 401
Client is not authorized
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 403
Client is not allowed to perform operation on this resource.
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 404
Resource or resource path does not exist
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 405
Method is not supported by the resource
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 406
Query parameter has invalid value.
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 409
Request conflict with the current state of the target resource
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 429
Too many requests
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 500
Internal Server Error
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 503
Busy, try again later.
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 507
Insufficient resources
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
Secured by hue-application-key
Headers
- hue-application-key: required(string)
API token
API calls for resource which cannot be deleted (PUT and GET on resource instance)
put /resource/zigbee_device_discovery/{id}
API authorization using a hue-application-key header
URI Parameters
- id: required(string)
Body
Media type: application/json
Type: object
Properties
- type: (zigbee_device_discovery)
Type of the supported resources
- action: required(object)
- action_type: required(one of search, search_allow_default_link_key)
- search_codes: (array of SearchCode – maxItems: 10)
- search_channels: (one of all, primary – default: all)
ignored if search_codes are not provided
- add_install_codes: (object)
- install_codes: (array of InstallCode – minItems: 1 – maxItems: 50)
Items: InstallCode
- mac_address: required(string – pattern: ^([0-9a-fA-F]{2}:){7}[0-9a-fA-F]{2}$)
- ic: required(string – pattern: ^[A-F0-9]{36}$)
- install_codes: (array of InstallCode – minItems: 1 – maxItems: 50)
HTTP status code 200
Request was on resource path was successful.
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
- data: required(array of ResourceIdentifier)
Items: ResourceIdentifier
- rid: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
The unique id of the referenced resource
- rtype: required(one of device, bridge_home, room, zone, service_group, light, button, bell_button, relative_rotary, temperature, light_level, motion, camera_motion, entertainment, contact, tamper, convenience_area_motion, security_area_motion, speaker, grouped_light, grouped_motion, grouped_light_level, device_power, device_software_update, zigbee_connectivity, zgp_connectivity, bridge, motion_area_candidate, wifi_connectivity, zigbee_device_discovery, homekit, matter, matter_fabric, scene, entertainment_configuration, public_image, auth_v1, behavior_script, behavior_instance, geofence_client, geolocation, smart_scene, motion_area_configuration, clip)
The type of the referenced resource
- rid: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
HTTP status code 207
Request was partially successful, resource has been updated. Failed requests and errors are listed in error object.
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
- data: required(array of ResourceIdentifier)
Items: ResourceIdentifier
- rid: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
The unique id of the referenced resource
- rtype: required(one of device, bridge_home, room, zone, service_group, light, button, bell_button, relative_rotary, temperature, light_level, motion, camera_motion, entertainment, contact, tamper, convenience_area_motion, security_area_motion, speaker, grouped_light, grouped_motion, grouped_light_level, device_power, device_software_update, zigbee_connectivity, zgp_connectivity, bridge, motion_area_candidate, wifi_connectivity, zigbee_device_discovery, homekit, matter, matter_fabric, scene, entertainment_configuration, public_image, auth_v1, behavior_script, behavior_instance, geofence_client, geolocation, smart_scene, motion_area_configuration, clip)
The type of the referenced resource
- rid: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
HTTP status code 400
Request was on resource path was unsuccessful, body of request contains errors.
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 401
Client is not authorized
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 403
Client is not allowed to perform operation on this resource.
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 404
Resource or resource path does not exist
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 405
Method is not supported by the resource
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 409
Request conflict with the current state of the target resource
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 429
Too many requests
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 500
Internal Server Error
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 503
Busy, try again later.
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 507
Insufficient resources
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
Secured by hue-application-key
Headers
- hue-application-key: required(string)
API token
get /resource/zigbee_device_discovery/{id}
API authorization using a hue-application-key header
URI Parameters
- id: required(string)
HTTP status code 200
Request was on resource path was successful. Result of request is in data.
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
- data: required(array of ZigbeeDeviceDiscoveryGet)
Items: ZigbeeDeviceDiscoveryGet
- id: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
Unique identifier representing a specific resource instance
- id_v1: (string – pattern: ^(\/[a-z]{4,32}\/[0-9a-zA-Z-]{1,32})?$)
Clip v1 resource identifier
- owner: required(object)
Owner of the service, in case the owner service is deleted, the service also gets deleted
- rid: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
The unique id of the referenced resource
- rtype: required(one of device, bridge_home, room, zone, service_group, light, button, bell_button, relative_rotary, temperature, light_level, motion, camera_motion, entertainment, contact, tamper, convenience_area_motion, security_area_motion, speaker, grouped_light, grouped_motion, grouped_light_level, device_power, device_software_update, zigbee_connectivity, zgp_connectivity, bridge, motion_area_candidate, wifi_connectivity, zigbee_device_discovery, homekit, matter, matter_fabric, scene, entertainment_configuration, public_image, auth_v1, behavior_script, behavior_instance, geofence_client, geolocation, smart_scene, motion_area_configuration, clip)
The type of the referenced resource
- rid: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
- type: required(zigbee_device_discovery)
Type of the supported resources
- status: required(one of active, ready)
Current status of the discovery process
- action: required(object)
- action_type_values: required(array of SearchActionType)
- add_install_codes: (object)
- id: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
HTTP status code 401
Client is not authorized
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 403
Client is not allowed to perform operation on this resource.
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 404
Resource or resource path does not exist
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 405
Method is not supported by the resource
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 409
Request conflict with the current state of the target resource
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 429
Too many requests
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 500
Internal Server Error
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 503
Busy, try again later.
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 507
Insufficient resources
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
Secured by hue-application-key
Headers
- hue-application-key: required(string)
API token
/resource/motion
API to manage motion services. These are offered by devices with motion sensing capabilities.
List all resources of this type
get /resource/motion
List all resources of this type
API authorization using a hue-application-key header
HTTP status code 200
Request was on resource path was successful. Result of request is in data.
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
- data: required(array of MotionGet)
Items: MotionGet
- id: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
Unique identifier representing a specific resource instance
- id_v1: (string – pattern: ^(\/[a-z]{4,32}\/[0-9a-zA-Z-]{1,32})?$)
Clip v1 resource identifier
- owner: required(object)
Owner of the service, in case the owner service is deleted, the service also gets deleted
- rid: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
The unique id of the referenced resource
- rtype: required(one of device, bridge_home, room, zone, service_group, light, button, bell_button, relative_rotary, temperature, light_level, motion, camera_motion, entertainment, contact, tamper, convenience_area_motion, security_area_motion, speaker, grouped_light, grouped_motion, grouped_light_level, device_power, device_software_update, zigbee_connectivity, zgp_connectivity, bridge, motion_area_candidate, wifi_connectivity, zigbee_device_discovery, homekit, matter, matter_fabric, scene, entertainment_configuration, public_image, auth_v1, behavior_script, behavior_instance, geofence_client, geolocation, smart_scene, motion_area_configuration, clip)
The type of the referenced resource
- rid: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
- enabled: required(boolean)
true when sensor is activated, false when deactivated
- motion: required(object)
- motion: required(boolean)
Deprecated. Moved to motion_report/motion.
- motion_valid: required(boolean)
Deprecated. Motion is valid when motion_report property is present, invalid when absent.
- motion_report: (object)
- changed: required(datetime)
last time the value of this property is changed.
- motion: required(boolean)
true if motion is detected
- changed: required(datetime)
- motion: required(boolean)
- sensitivity: (object)
- status: required(one of set, changing)
- sensitivity: required(integer)
Sensitivity of the sensor. Value in the range 0 to sensitivity_max.
- sensitivity_max: (integer)
Maximum value of the sensitivity configuration attribute.
- type: required(motion)
Type of the supported resources
- id: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
HTTP status code 401
Client is not authorized
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 403
Client is not allowed to perform operation on this resource.
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 404
Resource or resource path does not exist
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 405
Method is not supported by the resource
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 406
Query parameter has invalid value.
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 409
Request conflict with the current state of the target resource
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 429
Too many requests
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 500
Internal Server Error
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 503
Busy, try again later.
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 507
Insufficient resources
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
Secured by hue-application-key
Headers
- hue-application-key: required(string)
API token
API calls for resource which cannot be deleted (PUT and GET on resource instance)
put /resource/motion/{id}
API authorization using a hue-application-key header
URI Parameters
- id: required(string)
Body
Media type: application/json
Type: object
Properties
- enabled: (boolean)
true when sensor is activated, false when deactivated
- sensitivity: (object)
- sensitivity: (integer)
Sensitivity of the sensor. Value in the range 0 to sensitivity_max.
- sensitivity: (integer)
- type: (motion)
Type of the supported resources
HTTP status code 200
Request was on resource path was successful.
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
- data: required(array of ResourceIdentifier)
Items: ResourceIdentifier
- rid: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
The unique id of the referenced resource
- rtype: required(one of device, bridge_home, room, zone, service_group, light, button, bell_button, relative_rotary, temperature, light_level, motion, camera_motion, entertainment, contact, tamper, convenience_area_motion, security_area_motion, speaker, grouped_light, grouped_motion, grouped_light_level, device_power, device_software_update, zigbee_connectivity, zgp_connectivity, bridge, motion_area_candidate, wifi_connectivity, zigbee_device_discovery, homekit, matter, matter_fabric, scene, entertainment_configuration, public_image, auth_v1, behavior_script, behavior_instance, geofence_client, geolocation, smart_scene, motion_area_configuration, clip)
The type of the referenced resource
- rid: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
HTTP status code 207
Request was partially successful, resource has been updated. Failed requests and errors are listed in error object.
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
- data: required(array of ResourceIdentifier)
Items: ResourceIdentifier
- rid: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
The unique id of the referenced resource
- rtype: required(one of device, bridge_home, room, zone, service_group, light, button, bell_button, relative_rotary, temperature, light_level, motion, camera_motion, entertainment, contact, tamper, convenience_area_motion, security_area_motion, speaker, grouped_light, grouped_motion, grouped_light_level, device_power, device_software_update, zigbee_connectivity, zgp_connectivity, bridge, motion_area_candidate, wifi_connectivity, zigbee_device_discovery, homekit, matter, matter_fabric, scene, entertainment_configuration, public_image, auth_v1, behavior_script, behavior_instance, geofence_client, geolocation, smart_scene, motion_area_configuration, clip)
The type of the referenced resource
- rid: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
HTTP status code 400
Request was on resource path was unsuccessful, body of request contains errors.
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 401
Client is not authorized
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 403
Client is not allowed to perform operation on this resource.
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 404
Resource or resource path does not exist
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 405
Method is not supported by the resource
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 409
Request conflict with the current state of the target resource
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 429
Too many requests
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 500
Internal Server Error
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 503
Busy, try again later.
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 507
Insufficient resources
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
Secured by hue-application-key
Headers
- hue-application-key: required(string)
API token
get /resource/motion/{id}
API authorization using a hue-application-key header
URI Parameters
- id: required(string)
HTTP status code 200
Request was on resource path was successful. Result of request is in data.
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
- data: required(array of MotionGet)
Items: MotionGet
- id: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
Unique identifier representing a specific resource instance
- id_v1: (string – pattern: ^(\/[a-z]{4,32}\/[0-9a-zA-Z-]{1,32})?$)
Clip v1 resource identifier
- owner: required(object)
Owner of the service, in case the owner service is deleted, the service also gets deleted
- rid: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
The unique id of the referenced resource
- rtype: required(one of device, bridge_home, room, zone, service_group, light, button, bell_button, relative_rotary, temperature, light_level, motion, camera_motion, entertainment, contact, tamper, convenience_area_motion, security_area_motion, speaker, grouped_light, grouped_motion, grouped_light_level, device_power, device_software_update, zigbee_connectivity, zgp_connectivity, bridge, motion_area_candidate, wifi_connectivity, zigbee_device_discovery, homekit, matter, matter_fabric, scene, entertainment_configuration, public_image, auth_v1, behavior_script, behavior_instance, geofence_client, geolocation, smart_scene, motion_area_configuration, clip)
The type of the referenced resource
- rid: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
- enabled: required(boolean)
true when sensor is activated, false when deactivated
- motion: required(object)
- motion: required(boolean)
Deprecated. Moved to motion_report/motion.
- motion_valid: required(boolean)
Deprecated. Motion is valid when motion_report property is present, invalid when absent.
- motion_report: (object)
- changed: required(datetime)
last time the value of this property is changed.
- motion: required(boolean)
true if motion is detected
- changed: required(datetime)
- motion: required(boolean)
- sensitivity: (object)
- status: required(one of set, changing)
- sensitivity: required(integer)
Sensitivity of the sensor. Value in the range 0 to sensitivity_max.
- sensitivity_max: (integer)
Maximum value of the sensitivity configuration attribute.
- type: required(motion)
Type of the supported resources
- id: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
HTTP status code 401
Client is not authorized
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 403
Client is not allowed to perform operation on this resource.
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 404
Resource or resource path does not exist
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 405
Method is not supported by the resource
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 409
Request conflict with the current state of the target resource
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 429
Too many requests
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 500
Internal Server Error
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 503
Busy, try again later.
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 507
Insufficient resources
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
Secured by hue-application-key
Headers
- hue-application-key: required(string)
API token
/resource/service_group
API to manage service group services. These are services that aggregate their distinct children into grouped services. For example, adding one or more motion services as children will result in a grouped_motion service that aggregates the motions service report.
create a new resource of this type
List all resources of this type
post /resource/service_group
create a new resource of this type
API authorization using a hue-application-key header
Body
Media type: application/json
Type: object
Properties
- children: required(array of ResourceIdentifier)
Child devices/services to group by the derived group
Items: ResourceIdentifier
- rid: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
The unique id of the referenced resource
- rtype: required(one of device, bridge_home, room, zone, service_group, light, button, bell_button, relative_rotary, temperature, light_level, motion, camera_motion, entertainment, contact, tamper, convenience_area_motion, security_area_motion, speaker, grouped_light, grouped_motion, grouped_light_level, device_power, device_software_update, zigbee_connectivity, zgp_connectivity, bridge, motion_area_candidate, wifi_connectivity, zigbee_device_discovery, homekit, matter, matter_fabric, scene, entertainment_configuration, public_image, auth_v1, behavior_script, behavior_instance, geofence_client, geolocation, smart_scene, motion_area_configuration, clip)
The type of the referenced resource
- rid: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
- type: (service_group)
Type of the supported resources
- metadata: required(object)
additional metadata including a user given name
- name: required(string – minLength: 1 – maxLength: 32)
Human readable name of a resource
- name: required(string – minLength: 1 – maxLength: 32)
HTTP status code 201
Resource has been created
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
- data: required(array of ResourceIdentifier)
Items: ResourceIdentifier
- rid: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
The unique id of the referenced resource
- rtype: required(one of device, bridge_home, room, zone, service_group, light, button, bell_button, relative_rotary, temperature, light_level, motion, camera_motion, entertainment, contact, tamper, convenience_area_motion, security_area_motion, speaker, grouped_light, grouped_motion, grouped_light_level, device_power, device_software_update, zigbee_connectivity, zgp_connectivity, bridge, motion_area_candidate, wifi_connectivity, zigbee_device_discovery, homekit, matter, matter_fabric, scene, entertainment_configuration, public_image, auth_v1, behavior_script, behavior_instance, geofence_client, geolocation, smart_scene, motion_area_configuration, clip)
The type of the referenced resource
- rid: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
HTTP status code 400
Request was on resource path was unsuccessful, body of request contains errors.
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 401
Client is not authorized
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 403
Client is not allowed to perform operation on this resource.
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 404
Resource or resource path does not exist
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 405
Method is not supported by the resource
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 409
Request conflict with the current state of the target resource
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 429
Too many requests
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 500
Internal Server Error
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 503
Busy, try again later.
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 507
Insufficient resources
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
Secured by hue-application-key
Headers
- hue-application-key: required(string)
API token
get /resource/service_group
List all resources of this type
API authorization using a hue-application-key header
HTTP status code 200
Request was on resource path was successful. Result of request is in data.
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
- data: required(array of ServiceGroupGet)
Items: ServiceGroupGet
- id: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
Unique identifier representing a specific resource instance
- id_v1: (string – pattern: ^(\/[a-z]{4,32}\/[0-9a-zA-Z-]{1,32})?$)
Clip v1 resource identifier
- children: required(array of ResourceIdentifier)
Child devices/services to group by the derived group
Items: ResourceIdentifier
- rid: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
The unique id of the referenced resource
- rtype: required(one of device, bridge_home, room, zone, service_group, light, button, bell_button, relative_rotary, temperature, light_level, motion, camera_motion, entertainment, contact, tamper, convenience_area_motion, security_area_motion, speaker, grouped_light, grouped_motion, grouped_light_level, device_power, device_software_update, zigbee_connectivity, zgp_connectivity, bridge, motion_area_candidate, wifi_connectivity, zigbee_device_discovery, homekit, matter, matter_fabric, scene, entertainment_configuration, public_image, auth_v1, behavior_script, behavior_instance, geofence_client, geolocation, smart_scene, motion_area_configuration, clip)
The type of the referenced resource
- rid: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
- services: required(array of ResourceIdentifier)
References all services aggregating control and state of children in the group. This includes all services grouped in the group hierarchy given by child relation This includes all services of a device grouped in the group hierarchy given by child relation Aggregation is per service type, ie every service type which can be grouped has a corresponding definition of grouped type Supported types: – grouped_light – grouped_motion – grouped_light_level
Items: ResourceIdentifier
- rid: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
The unique id of the referenced resource
- rtype: required(one of device, bridge_home, room, zone, service_group, light, button, bell_button, relative_rotary, temperature, light_level, motion, camera_motion, entertainment, contact, tamper, convenience_area_motion, security_area_motion, speaker, grouped_light, grouped_motion, grouped_light_level, device_power, device_software_update, zigbee_connectivity, zgp_connectivity, bridge, motion_area_candidate, wifi_connectivity, zigbee_device_discovery, homekit, matter, matter_fabric, scene, entertainment_configuration, public_image, auth_v1, behavior_script, behavior_instance, geofence_client, geolocation, smart_scene, motion_area_configuration, clip)
The type of the referenced resource
- rid: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
- type: required(service_group)
Type of the supported resources
- metadata: required(object)
additional metadata including a user given name
- name: required(string – minLength: 1 – maxLength: 32)
Human readable name of a resource
- name: required(string – minLength: 1 – maxLength: 32)
- id: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
HTTP status code 401
Client is not authorized
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 403
Client is not allowed to perform operation on this resource.
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 404
Resource or resource path does not exist
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 405
Method is not supported by the resource
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 406
Query parameter has invalid value.
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 409
Request conflict with the current state of the target resource
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 429
Too many requests
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 500
Internal Server Error
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 503
Busy, try again later.
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 507
Insufficient resources
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
Secured by hue-application-key
Headers
- hue-application-key: required(string)
API token
API calls to read, update and delete a resource instance
delete /resource/service_group/{id}
API authorization using a hue-application-key header
URI Parameters
- id: required(string)
HTTP status code 200
Resource has been deleted
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
- data: required(array of ResourceIdentifier)
Items: ResourceIdentifier
- rid: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
The unique id of the referenced resource
- rtype: required(one of device, bridge_home, room, zone, service_group, light, button, bell_button, relative_rotary, temperature, light_level, motion, camera_motion, entertainment, contact, tamper, convenience_area_motion, security_area_motion, speaker, grouped_light, grouped_motion, grouped_light_level, device_power, device_software_update, zigbee_connectivity, zgp_connectivity, bridge, motion_area_candidate, wifi_connectivity, zigbee_device_discovery, homekit, matter, matter_fabric, scene, entertainment_configuration, public_image, auth_v1, behavior_script, behavior_instance, geofence_client, geolocation, smart_scene, motion_area_configuration, clip)
The type of the referenced resource
- rid: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
HTTP status code 401
Client is not authorized
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 403
Client is not allowed to perform operation on this resource.
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 404
Resource or resource path does not exist
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 405
Method is not supported by the resource
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 409
Request conflict with the current state of the target resource
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 429
Too many requests
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 500
Internal Server Error
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 503
Busy, try again later.
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 507
Insufficient resources
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
Secured by hue-application-key
Headers
- hue-application-key: required(string)
API token
put /resource/service_group/{id}
API authorization using a hue-application-key header
URI Parameters
- id: required(string)
Body
Media type: application/json
Type: object
Properties
- children: (array of ResourceIdentifier)
Child devices/services to group by the derived group
Items: ResourceIdentifier
- rid: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
The unique id of the referenced resource
- rtype: required(one of device, bridge_home, room, zone, service_group, light, button, bell_button, relative_rotary, temperature, light_level, motion, camera_motion, entertainment, contact, tamper, convenience_area_motion, security_area_motion, speaker, grouped_light, grouped_motion, grouped_light_level, device_power, device_software_update, zigbee_connectivity, zgp_connectivity, bridge, motion_area_candidate, wifi_connectivity, zigbee_device_discovery, homekit, matter, matter_fabric, scene, entertainment_configuration, public_image, auth_v1, behavior_script, behavior_instance, geofence_client, geolocation, smart_scene, motion_area_configuration, clip)
The type of the referenced resource
- rid: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
- type: (service_group)
Type of the supported resources
- metadata: (object)
additional metadata including a user given name
- name: (string – minLength: 1 – maxLength: 32)
Human readable name of a resource
- name: (string – minLength: 1 – maxLength: 32)
HTTP status code 200
Request was on resource path was successful.
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
- data: required(array of ResourceIdentifier)
Items: ResourceIdentifier
- rid: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
The unique id of the referenced resource
- rtype: required(one of device, bridge_home, room, zone, service_group, light, button, bell_button, relative_rotary, temperature, light_level, motion, camera_motion, entertainment, contact, tamper, convenience_area_motion, security_area_motion, speaker, grouped_light, grouped_motion, grouped_light_level, device_power, device_software_update, zigbee_connectivity, zgp_connectivity, bridge, motion_area_candidate, wifi_connectivity, zigbee_device_discovery, homekit, matter, matter_fabric, scene, entertainment_configuration, public_image, auth_v1, behavior_script, behavior_instance, geofence_client, geolocation, smart_scene, motion_area_configuration, clip)
The type of the referenced resource
- rid: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
HTTP status code 207
Request was partially successful, resource has been updated. Failed requests and errors are listed in error object.
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
- data: required(array of ResourceIdentifier)
Items: ResourceIdentifier
- rid: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
The unique id of the referenced resource
- rtype: required(one of device, bridge_home, room, zone, service_group, light, button, bell_button, relative_rotary, temperature, light_level, motion, camera_motion, entertainment, contact, tamper, convenience_area_motion, security_area_motion, speaker, grouped_light, grouped_motion, grouped_light_level, device_power, device_software_update, zigbee_connectivity, zgp_connectivity, bridge, motion_area_candidate, wifi_connectivity, zigbee_device_discovery, homekit, matter, matter_fabric, scene, entertainment_configuration, public_image, auth_v1, behavior_script, behavior_instance, geofence_client, geolocation, smart_scene, motion_area_configuration, clip)
The type of the referenced resource
- rid: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
HTTP status code 400
Request was on resource path was unsuccessful, body of request contains errors.
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 401
Client is not authorized
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 403
Client is not allowed to perform operation on this resource.
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 404
Resource or resource path does not exist
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 405
Method is not supported by the resource
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 409
Request conflict with the current state of the target resource
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 429
Too many requests
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 500
Internal Server Error
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 503
Busy, try again later.
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 507
Insufficient resources
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
Secured by hue-application-key
Headers
- hue-application-key: required(string)
API token
get /resource/service_group/{id}
API authorization using a hue-application-key header
URI Parameters
- id: required(string)
HTTP status code 200
Request was on resource path was successful. Result of request is in data.
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
- data: required(array of ServiceGroupGet)
Items: ServiceGroupGet
- id: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
Unique identifier representing a specific resource instance
- id_v1: (string – pattern: ^(\/[a-z]{4,32}\/[0-9a-zA-Z-]{1,32})?$)
Clip v1 resource identifier
- children: required(array of ResourceIdentifier)
Child devices/services to group by the derived group
Items: ResourceIdentifier
- rid: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
The unique id of the referenced resource
- rtype: required(one of device, bridge_home, room, zone, service_group, light, button, bell_button, relative_rotary, temperature, light_level, motion, camera_motion, entertainment, contact, tamper, convenience_area_motion, security_area_motion, speaker, grouped_light, grouped_motion, grouped_light_level, device_power, device_software_update, zigbee_connectivity, zgp_connectivity, bridge, motion_area_candidate, wifi_connectivity, zigbee_device_discovery, homekit, matter, matter_fabric, scene, entertainment_configuration, public_image, auth_v1, behavior_script, behavior_instance, geofence_client, geolocation, smart_scene, motion_area_configuration, clip)
The type of the referenced resource
- rid: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
- services: required(array of ResourceIdentifier)
References all services aggregating control and state of children in the group. This includes all services grouped in the group hierarchy given by child relation This includes all services of a device grouped in the group hierarchy given by child relation Aggregation is per service type, ie every service type which can be grouped has a corresponding definition of grouped type Supported types: – grouped_light – grouped_motion – grouped_light_level
Items: ResourceIdentifier
- rid: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
The unique id of the referenced resource
- rtype: required(one of device, bridge_home, room, zone, service_group, light, button, bell_button, relative_rotary, temperature, light_level, motion, camera_motion, entertainment, contact, tamper, convenience_area_motion, security_area_motion, speaker, grouped_light, grouped_motion, grouped_light_level, device_power, device_software_update, zigbee_connectivity, zgp_connectivity, bridge, motion_area_candidate, wifi_connectivity, zigbee_device_discovery, homekit, matter, matter_fabric, scene, entertainment_configuration, public_image, auth_v1, behavior_script, behavior_instance, geofence_client, geolocation, smart_scene, motion_area_configuration, clip)
The type of the referenced resource
- rid: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
- type: required(service_group)
Type of the supported resources
- metadata: required(object)
additional metadata including a user given name
- name: required(string – minLength: 1 – maxLength: 32)
Human readable name of a resource
- name: required(string – minLength: 1 – maxLength: 32)
- id: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
HTTP status code 401
Client is not authorized
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 403
Client is not allowed to perform operation on this resource.
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 404
Resource or resource path does not exist
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 405
Method is not supported by the resource
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 409
Request conflict with the current state of the target resource
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 429
Too many requests
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 500
Internal Server Error
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 503
Busy, try again later.
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 507
Insufficient resources
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
Secured by hue-application-key
Headers
- hue-application-key: required(string)
API token
/resource/grouped_motion
API to manage grouped motion services. These are offered by service groups with archetype “sensor_group”.
List all resources of this type
get /resource/grouped_motion
List all resources of this type
API authorization using a hue-application-key header
HTTP status code 200
Request was on resource path was successful. Result of request is in data.
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
- data: required(array of GroupedMotionGet)
Items: GroupedMotionGet
- id: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
Unique identifier representing a specific resource instance
- id_v1: (string – pattern: ^(\/[a-z]{4,32}\/[0-9a-zA-Z-]{1,32})?$)
Clip v1 resource identifier
- owner: required(object)
Owner of the service, in case the owner service is deleted, the service also gets deleted
- rid: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
The unique id of the referenced resource
- rtype: required(one of device, bridge_home, room, zone, service_group, light, button, bell_button, relative_rotary, temperature, light_level, motion, camera_motion, entertainment, contact, tamper, convenience_area_motion, security_area_motion, speaker, grouped_light, grouped_motion, grouped_light_level, device_power, device_software_update, zigbee_connectivity, zgp_connectivity, bridge, motion_area_candidate, wifi_connectivity, zigbee_device_discovery, homekit, matter, matter_fabric, scene, entertainment_configuration, public_image, auth_v1, behavior_script, behavior_instance, geofence_client, geolocation, smart_scene, motion_area_configuration, clip)
The type of the referenced resource
- rid: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
- enabled: required(boolean)
true when sensor is activated, false when deactivated
- motion: required(object)
- motion: required(boolean)
Deprecated. Moved to motion_report/motion.
- motion_valid: required(boolean)
Deprecated. Motion is valid when motion_report property is present, invalid when absent.
- motion_report: (object)
- changed: required(datetime)
last time the value of this property is changed.
- motion: required(boolean)
true if motion is detected
- changed: required(datetime)
- motion: required(boolean)
- type: required(grouped_motion)
Type of the supported resources
- id: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
HTTP status code 401
Client is not authorized
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 403
Client is not allowed to perform operation on this resource.
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 404
Resource or resource path does not exist
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 405
Method is not supported by the resource
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 406
Query parameter has invalid value.
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 409
Request conflict with the current state of the target resource
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 429
Too many requests
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 500
Internal Server Error
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 503
Busy, try again later.
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 507
Insufficient resources
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
Secured by hue-application-key
Headers
- hue-application-key: required(string)
API token
API calls for resource which cannot be deleted (PUT and GET on resource instance)
put /resource/grouped_motion/{id}
API authorization using a hue-application-key header
URI Parameters
- id: required(string)
Body
Media type: application/json
Type: object
Properties
- enabled: (boolean)
true when sensor is activated, false when deactivated
- type: (grouped_motion)
Type of the supported resources
HTTP status code 200
Request was on resource path was successful.
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
- data: required(array of ResourceIdentifier)
Items: ResourceIdentifier
- rid: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
The unique id of the referenced resource
- rtype: required(one of device, bridge_home, room, zone, service_group, light, button, bell_button, relative_rotary, temperature, light_level, motion, camera_motion, entertainment, contact, tamper, convenience_area_motion, security_area_motion, speaker, grouped_light, grouped_motion, grouped_light_level, device_power, device_software_update, zigbee_connectivity, zgp_connectivity, bridge, motion_area_candidate, wifi_connectivity, zigbee_device_discovery, homekit, matter, matter_fabric, scene, entertainment_configuration, public_image, auth_v1, behavior_script, behavior_instance, geofence_client, geolocation, smart_scene, motion_area_configuration, clip)
The type of the referenced resource
- rid: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
HTTP status code 207
Request was partially successful, resource has been updated. Failed requests and errors are listed in error object.
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
- data: required(array of ResourceIdentifier)
Items: ResourceIdentifier
- rid: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
The unique id of the referenced resource
- rtype: required(one of device, bridge_home, room, zone, service_group, light, button, bell_button, relative_rotary, temperature, light_level, motion, camera_motion, entertainment, contact, tamper, convenience_area_motion, security_area_motion, speaker, grouped_light, grouped_motion, grouped_light_level, device_power, device_software_update, zigbee_connectivity, zgp_connectivity, bridge, motion_area_candidate, wifi_connectivity, zigbee_device_discovery, homekit, matter, matter_fabric, scene, entertainment_configuration, public_image, auth_v1, behavior_script, behavior_instance, geofence_client, geolocation, smart_scene, motion_area_configuration, clip)
The type of the referenced resource
- rid: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
HTTP status code 400
Request was on resource path was unsuccessful, body of request contains errors.
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 401
Client is not authorized
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 403
Client is not allowed to perform operation on this resource.
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 404
Resource or resource path does not exist
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 405
Method is not supported by the resource
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 409
Request conflict with the current state of the target resource
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 429
Too many requests
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 500
Internal Server Error
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 503
Busy, try again later.
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 507
Insufficient resources
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
Secured by hue-application-key
Headers
- hue-application-key: required(string)
API token
get /resource/grouped_motion/{id}
API authorization using a hue-application-key header
URI Parameters
- id: required(string)
HTTP status code 200
Request was on resource path was successful. Result of request is in data.
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
- data: required(array of GroupedMotionGet)
Items: GroupedMotionGet
- id: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
Unique identifier representing a specific resource instance
- id_v1: (string – pattern: ^(\/[a-z]{4,32}\/[0-9a-zA-Z-]{1,32})?$)
Clip v1 resource identifier
- owner: required(object)
Owner of the service, in case the owner service is deleted, the service also gets deleted
- rid: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
The unique id of the referenced resource
- rtype: required(one of device, bridge_home, room, zone, service_group, light, button, bell_button, relative_rotary, temperature, light_level, motion, camera_motion, entertainment, contact, tamper, convenience_area_motion, security_area_motion, speaker, grouped_light, grouped_motion, grouped_light_level, device_power, device_software_update, zigbee_connectivity, zgp_connectivity, bridge, motion_area_candidate, wifi_connectivity, zigbee_device_discovery, homekit, matter, matter_fabric, scene, entertainment_configuration, public_image, auth_v1, behavior_script, behavior_instance, geofence_client, geolocation, smart_scene, motion_area_configuration, clip)
The type of the referenced resource
- rid: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
- enabled: required(boolean)
true when sensor is activated, false when deactivated
- motion: required(object)
- motion: required(boolean)
Deprecated. Moved to motion_report/motion.
- motion_valid: required(boolean)
Deprecated. Motion is valid when motion_report property is present, invalid when absent.
- motion_report: (object)
- changed: required(datetime)
last time the value of this property is changed.
- motion: required(boolean)
true if motion is detected
- changed: required(datetime)
- motion: required(boolean)
- type: required(grouped_motion)
Type of the supported resources
- id: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
HTTP status code 401
Client is not authorized
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 403
Client is not allowed to perform operation on this resource.
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 404
Resource or resource path does not exist
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 405
Method is not supported by the resource
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 409
Request conflict with the current state of the target resource
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 429
Too many requests
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 500
Internal Server Error
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 503
Busy, try again later.
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 507
Insufficient resources
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
Secured by hue-application-key
Headers
- hue-application-key: required(string)
API token
/resource/grouped_light_level
API to manage grouped light-level services. These are offered by service groups with archetype “sensor_group”.
List all resources of this type
get /resource/grouped_light_level
List all resources of this type
API authorization using a hue-application-key header
HTTP status code 200
Request was on resource path was successful. Result of request is in data.
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
- data: required(array of GroupedLightLevelGet)
Items: GroupedLightLevelGet
- id: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
Unique identifier representing a specific resource instance
- id_v1: (string – pattern: ^(\/[a-z]{4,32}\/[0-9a-zA-Z-]{1,32})?$)
Clip v1 resource identifier
- owner: required(object)
Owner of the service, in case the owner service is deleted, the service also gets deleted
- rid: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
The unique id of the referenced resource
- rtype: required(one of device, bridge_home, room, zone, service_group, light, button, bell_button, relative_rotary, temperature, light_level, motion, camera_motion, entertainment, contact, tamper, convenience_area_motion, security_area_motion, speaker, grouped_light, grouped_motion, grouped_light_level, device_power, device_software_update, zigbee_connectivity, zgp_connectivity, bridge, motion_area_candidate, wifi_connectivity, zigbee_device_discovery, homekit, matter, matter_fabric, scene, entertainment_configuration, public_image, auth_v1, behavior_script, behavior_instance, geofence_client, geolocation, smart_scene, motion_area_configuration, clip)
The type of the referenced resource
- rid: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
- enabled: required(boolean)
true when sensor is activated, false when deactivated
- light: required(object)
- light_level: required(integer)
Deprecated. Moved to light_level_report/light_level
- light_level_valid: required(boolean)
Deprecated. Indication whether the value presented in light_level is valid
- light_level_report: (object)
- changed: required(datetime)
last time the value of this property is changed.
- light_level: required(integer)
Light level in 10000*log10(lux) +1 measured by sensor. Logarithmic scale used because the human eye adjusts to light levels and small changes at low lux levels are more noticeable than at high lux levels. This allows use of linear scale configuration sliders.
- changed: required(datetime)
- light_level: required(integer)
- type: required(grouped_light_level)
Type of the supported resources
- id: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
HTTP status code 401
Client is not authorized
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 403
Client is not allowed to perform operation on this resource.
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 404
Resource or resource path does not exist
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 405
Method is not supported by the resource
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 406
Query parameter has invalid value.
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 409
Request conflict with the current state of the target resource
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 429
Too many requests
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 500
Internal Server Error
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 503
Busy, try again later.
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 507
Insufficient resources
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
Secured by hue-application-key
Headers
- hue-application-key: required(string)
API token
API calls for resource which cannot be deleted (PUT and GET on resource instance)
put /resource/grouped_light_level/{id}
API authorization using a hue-application-key header
URI Parameters
- id: required(string)
Body
Media type: application/json
Type: object
Properties
- enabled: (boolean)
true when sensor is activated, false when deactivated
- type: (grouped_light_level)
Type of the supported resources
HTTP status code 200
Request was on resource path was successful.
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
- data: required(array of ResourceIdentifier)
Items: ResourceIdentifier
- rid: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
The unique id of the referenced resource
- rtype: required(one of device, bridge_home, room, zone, service_group, light, button, bell_button, relative_rotary, temperature, light_level, motion, camera_motion, entertainment, contact, tamper, convenience_area_motion, security_area_motion, speaker, grouped_light, grouped_motion, grouped_light_level, device_power, device_software_update, zigbee_connectivity, zgp_connectivity, bridge, motion_area_candidate, wifi_connectivity, zigbee_device_discovery, homekit, matter, matter_fabric, scene, entertainment_configuration, public_image, auth_v1, behavior_script, behavior_instance, geofence_client, geolocation, smart_scene, motion_area_configuration, clip)
The type of the referenced resource
- rid: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
HTTP status code 207
Request was partially successful, resource has been updated. Failed requests and errors are listed in error object.
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
- data: required(array of ResourceIdentifier)
Items: ResourceIdentifier
- rid: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
The unique id of the referenced resource
- rtype: required(one of device, bridge_home, room, zone, service_group, light, button, bell_button, relative_rotary, temperature, light_level, motion, camera_motion, entertainment, contact, tamper, convenience_area_motion, security_area_motion, speaker, grouped_light, grouped_motion, grouped_light_level, device_power, device_software_update, zigbee_connectivity, zgp_connectivity, bridge, motion_area_candidate, wifi_connectivity, zigbee_device_discovery, homekit, matter, matter_fabric, scene, entertainment_configuration, public_image, auth_v1, behavior_script, behavior_instance, geofence_client, geolocation, smart_scene, motion_area_configuration, clip)
The type of the referenced resource
- rid: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
HTTP status code 400
Request was on resource path was unsuccessful, body of request contains errors.
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 401
Client is not authorized
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 403
Client is not allowed to perform operation on this resource.
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 404
Resource or resource path does not exist
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 405
Method is not supported by the resource
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 409
Request conflict with the current state of the target resource
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 429
Too many requests
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 500
Internal Server Error
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 503
Busy, try again later.
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 507
Insufficient resources
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
Secured by hue-application-key
Headers
- hue-application-key: required(string)
API token
get /resource/grouped_light_level/{id}
API authorization using a hue-application-key header
URI Parameters
- id: required(string)
HTTP status code 200
Request was on resource path was successful. Result of request is in data.
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
- data: required(array of GroupedLightLevelGet)
Items: GroupedLightLevelGet
- id: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
Unique identifier representing a specific resource instance
- id_v1: (string – pattern: ^(\/[a-z]{4,32}\/[0-9a-zA-Z-]{1,32})?$)
Clip v1 resource identifier
- owner: required(object)
Owner of the service, in case the owner service is deleted, the service also gets deleted
- rid: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
The unique id of the referenced resource
- rtype: required(one of device, bridge_home, room, zone, service_group, light, button, bell_button, relative_rotary, temperature, light_level, motion, camera_motion, entertainment, contact, tamper, convenience_area_motion, security_area_motion, speaker, grouped_light, grouped_motion, grouped_light_level, device_power, device_software_update, zigbee_connectivity, zgp_connectivity, bridge, motion_area_candidate, wifi_connectivity, zigbee_device_discovery, homekit, matter, matter_fabric, scene, entertainment_configuration, public_image, auth_v1, behavior_script, behavior_instance, geofence_client, geolocation, smart_scene, motion_area_configuration, clip)
The type of the referenced resource
- rid: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
- enabled: required(boolean)
true when sensor is activated, false when deactivated
- light: required(object)
- light_level: required(integer)
Deprecated. Moved to light_level_report/light_level
- light_level_valid: required(boolean)
Deprecated. Indication whether the value presented in light_level is valid
- light_level_report: (object)
- changed: required(datetime)
last time the value of this property is changed.
- light_level: required(integer)
Light level in 10000*log10(lux) +1 measured by sensor. Logarithmic scale used because the human eye adjusts to light levels and small changes at low lux levels are more noticeable than at high lux levels. This allows use of linear scale configuration sliders.
- changed: required(datetime)
- light_level: required(integer)
- type: required(grouped_light_level)
Type of the supported resources
- id: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
HTTP status code 401
Client is not authorized
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 403
Client is not allowed to perform operation on this resource.
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 404
Resource or resource path does not exist
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 405
Method is not supported by the resource
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 409
Request conflict with the current state of the target resource
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 429
Too many requests
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 500
Internal Server Error
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 503
Busy, try again later.
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 507
Insufficient resources
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
Secured by hue-application-key
Headers
- hue-application-key: required(string)
API token
/resource/camera_motion
API to manage camera_motion services. These are offered by devices with camera based motion sensing capabilities.
List all resources of this type
get /resource/camera_motion
List all resources of this type
API authorization using a hue-application-key header
HTTP status code 200
Request was on resource path was successful. Result of request is in data.
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
- data: required(array of CameraMotionGet)
Items: CameraMotionGet
- id: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
Unique identifier representing a specific resource instance
- id_v1: (string – pattern: ^(\/[a-z]{4,32}\/[0-9a-zA-Z-]{1,32})?$)
Clip v1 resource identifier
- owner: required(object)
Owner of the service, in case the owner service is deleted, the service also gets deleted
- rid: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
The unique id of the referenced resource
- rtype: required(one of device, bridge_home, room, zone, service_group, light, button, bell_button, relative_rotary, temperature, light_level, motion, camera_motion, entertainment, contact, tamper, convenience_area_motion, security_area_motion, speaker, grouped_light, grouped_motion, grouped_light_level, device_power, device_software_update, zigbee_connectivity, zgp_connectivity, bridge, motion_area_candidate, wifi_connectivity, zigbee_device_discovery, homekit, matter, matter_fabric, scene, entertainment_configuration, public_image, auth_v1, behavior_script, behavior_instance, geofence_client, geolocation, smart_scene, motion_area_configuration, clip)
The type of the referenced resource
- rid: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
- enabled: required(boolean)
true when sensor is activated, false when deactivated
- motion: required(object)
- motion: required(boolean)
Deprecated. Moved to motion_report/motion.
- motion_valid: required(boolean)
Deprecated. Motion is valid when motion_report property is present, invalid when absent.
- motion_report: (object)
- changed: required(datetime)
last time the value of this property is changed.
- motion: required(boolean)
true if motion is detected
- changed: required(datetime)
- motion: required(boolean)
- sensitivity: (object)
- status: required(one of set, changing)
- sensitivity: required(integer)
Sensitivity of the sensor. Value in the range 0 to sensitivity_max.
- sensitivity_max: (integer)
Maximum value of the sensitivity configuration attribute.
- type: required(camera_motion)
Type of the supported resources
- id: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
HTTP status code 401
Client is not authorized
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 403
Client is not allowed to perform operation on this resource.
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 404
Resource or resource path does not exist
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 405
Method is not supported by the resource
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 406
Query parameter has invalid value.
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 409
Request conflict with the current state of the target resource
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 429
Too many requests
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 500
Internal Server Error
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 503
Busy, try again later.
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 507
Insufficient resources
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
Secured by hue-application-key
Headers
- hue-application-key: required(string)
API token
API calls for resource which cannot be deleted (PUT and GET on resource instance)
put /resource/camera_motion/{id}
API authorization using a hue-application-key header
URI Parameters
- id: required(string)
Body
Media type: application/json
Type: object
Properties
- enabled: (boolean)
true when sensor is activated, false when deactivated
- sensitivity: (object)
- sensitivity: (integer)
Sensitivity of the sensor. Value in the range 0 to sensitivity_max.
- sensitivity: (integer)
- type: (camera_motion)
Type of the supported resources
HTTP status code 200
Request was on resource path was successful.
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
- data: required(array of ResourceIdentifier)
Items: ResourceIdentifier
- rid: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
The unique id of the referenced resource
- rtype: required(one of device, bridge_home, room, zone, service_group, light, button, bell_button, relative_rotary, temperature, light_level, motion, camera_motion, entertainment, contact, tamper, convenience_area_motion, security_area_motion, speaker, grouped_light, grouped_motion, grouped_light_level, device_power, device_software_update, zigbee_connectivity, zgp_connectivity, bridge, motion_area_candidate, wifi_connectivity, zigbee_device_discovery, homekit, matter, matter_fabric, scene, entertainment_configuration, public_image, auth_v1, behavior_script, behavior_instance, geofence_client, geolocation, smart_scene, motion_area_configuration, clip)
The type of the referenced resource
- rid: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
HTTP status code 207
Request was partially successful, resource has been updated. Failed requests and errors are listed in error object.
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
- data: required(array of ResourceIdentifier)
Items: ResourceIdentifier
- rid: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
The unique id of the referenced resource
- rtype: required(one of device, bridge_home, room, zone, service_group, light, button, bell_button, relative_rotary, temperature, light_level, motion, camera_motion, entertainment, contact, tamper, convenience_area_motion, security_area_motion, speaker, grouped_light, grouped_motion, grouped_light_level, device_power, device_software_update, zigbee_connectivity, zgp_connectivity, bridge, motion_area_candidate, wifi_connectivity, zigbee_device_discovery, homekit, matter, matter_fabric, scene, entertainment_configuration, public_image, auth_v1, behavior_script, behavior_instance, geofence_client, geolocation, smart_scene, motion_area_configuration, clip)
The type of the referenced resource
- rid: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
HTTP status code 400
Request was on resource path was unsuccessful, body of request contains errors.
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 401
Client is not authorized
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 403
Client is not allowed to perform operation on this resource.
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 404
Resource or resource path does not exist
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 405
Method is not supported by the resource
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 409
Request conflict with the current state of the target resource
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 429
Too many requests
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 500
Internal Server Error
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 503
Busy, try again later.
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 507
Insufficient resources
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
Secured by hue-application-key
Headers
- hue-application-key: required(string)
API token
get /resource/camera_motion/{id}
API authorization using a hue-application-key header
URI Parameters
- id: required(string)
HTTP status code 200
Request was on resource path was successful. Result of request is in data.
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
- data: required(array of CameraMotionGet)
Items: CameraMotionGet
- id: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
Unique identifier representing a specific resource instance
- id_v1: (string – pattern: ^(\/[a-z]{4,32}\/[0-9a-zA-Z-]{1,32})?$)
Clip v1 resource identifier
- owner: required(object)
Owner of the service, in case the owner service is deleted, the service also gets deleted
- rid: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
The unique id of the referenced resource
- rtype: required(one of device, bridge_home, room, zone, service_group, light, button, bell_button, relative_rotary, temperature, light_level, motion, camera_motion, entertainment, contact, tamper, convenience_area_motion, security_area_motion, speaker, grouped_light, grouped_motion, grouped_light_level, device_power, device_software_update, zigbee_connectivity, zgp_connectivity, bridge, motion_area_candidate, wifi_connectivity, zigbee_device_discovery, homekit, matter, matter_fabric, scene, entertainment_configuration, public_image, auth_v1, behavior_script, behavior_instance, geofence_client, geolocation, smart_scene, motion_area_configuration, clip)
The type of the referenced resource
- rid: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
- enabled: required(boolean)
true when sensor is activated, false when deactivated
- motion: required(object)
- motion: required(boolean)
Deprecated. Moved to motion_report/motion.
- motion_valid: required(boolean)
Deprecated. Motion is valid when motion_report property is present, invalid when absent.
- motion_report: (object)
- changed: required(datetime)
last time the value of this property is changed.
- motion: required(boolean)
true if motion is detected
- changed: required(datetime)
- motion: required(boolean)
- sensitivity: (object)
- status: required(one of set, changing)
- sensitivity: required(integer)
Sensitivity of the sensor. Value in the range 0 to sensitivity_max.
- sensitivity_max: (integer)
Maximum value of the sensitivity configuration attribute.
- type: required(camera_motion)
Type of the supported resources
- id: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
HTTP status code 401
Client is not authorized
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 403
Client is not allowed to perform operation on this resource.
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 404
Resource or resource path does not exist
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 405
Method is not supported by the resource
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 409
Request conflict with the current state of the target resource
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 429
Too many requests
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 500
Internal Server Error
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 503
Busy, try again later.
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 507
Insufficient resources
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
Secured by hue-application-key
Headers
- hue-application-key: required(string)
API token
/resource/temperature
API to manage temperature services. These are offered by devices with temperature sensing capabilities.
List all resources of this type
get /resource/temperature
List all resources of this type
API authorization using a hue-application-key header
HTTP status code 200
Request was on resource path was successful. Result of request is in data.
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
- data: required(array of TemperatureGet)
Items: TemperatureGet
- id: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
Unique identifier representing a specific resource instance
- id_v1: (string – pattern: ^(\/[a-z]{4,32}\/[0-9a-zA-Z-]{1,32})?$)
Clip v1 resource identifier
- owner: required(object)
Owner of the service, in case the owner service is deleted, the service also gets deleted
- rid: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
The unique id of the referenced resource
- rtype: required(one of device, bridge_home, room, zone, service_group, light, button, bell_button, relative_rotary, temperature, light_level, motion, camera_motion, entertainment, contact, tamper, convenience_area_motion, security_area_motion, speaker, grouped_light, grouped_motion, grouped_light_level, device_power, device_software_update, zigbee_connectivity, zgp_connectivity, bridge, motion_area_candidate, wifi_connectivity, zigbee_device_discovery, homekit, matter, matter_fabric, scene, entertainment_configuration, public_image, auth_v1, behavior_script, behavior_instance, geofence_client, geolocation, smart_scene, motion_area_configuration, clip)
The type of the referenced resource
- rid: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
- enabled: required(boolean)
true when sensor is activated, false when deactivated
- type: required(temperature)
Type of the supported resources
- temperature: required(object)
- temperature: required(number)
Deprecated. Moved to Temperature_report/temperature
- temperature_valid: required(boolean)
Deprecated. Indication whether the value presented in temperature is valid
- temperature_report: (object)
- changed: required(datetime)
last time the value of this property is changed.
- temperature: required(number)
Temperature in 1.00 degrees Celsius
- changed: required(datetime)
- temperature: required(number)
- id: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
HTTP status code 401
Client is not authorized
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 403
Client is not allowed to perform operation on this resource.
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 404
Resource or resource path does not exist
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 405
Method is not supported by the resource
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 406
Query parameter has invalid value.
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 409
Request conflict with the current state of the target resource
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 429
Too many requests
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 500
Internal Server Error
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 503
Busy, try again later.
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 507
Insufficient resources
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
Secured by hue-application-key
Headers
- hue-application-key: required(string)
API token
API calls for resource which cannot be deleted (PUT and GET on resource instance)
put /resource/temperature/{id}
API authorization using a hue-application-key header
URI Parameters
- id: required(string)
Body
Media type: application/json
Type: object
Properties
- enabled: (boolean)
true when sensor is activated, false when deactivated
- type: (temperature)
Type of the supported resources
HTTP status code 200
Request was on resource path was successful.
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
- data: required(array of ResourceIdentifier)
Items: ResourceIdentifier
- rid: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
The unique id of the referenced resource
- rtype: required(one of device, bridge_home, room, zone, service_group, light, button, bell_button, relative_rotary, temperature, light_level, motion, camera_motion, entertainment, contact, tamper, convenience_area_motion, security_area_motion, speaker, grouped_light, grouped_motion, grouped_light_level, device_power, device_software_update, zigbee_connectivity, zgp_connectivity, bridge, motion_area_candidate, wifi_connectivity, zigbee_device_discovery, homekit, matter, matter_fabric, scene, entertainment_configuration, public_image, auth_v1, behavior_script, behavior_instance, geofence_client, geolocation, smart_scene, motion_area_configuration, clip)
The type of the referenced resource
- rid: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
HTTP status code 207
Request was partially successful, resource has been updated. Failed requests and errors are listed in error object.
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
- data: required(array of ResourceIdentifier)
Items: ResourceIdentifier
- rid: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
The unique id of the referenced resource
- rtype: required(one of device, bridge_home, room, zone, service_group, light, button, bell_button, relative_rotary, temperature, light_level, motion, camera_motion, entertainment, contact, tamper, convenience_area_motion, security_area_motion, speaker, grouped_light, grouped_motion, grouped_light_level, device_power, device_software_update, zigbee_connectivity, zgp_connectivity, bridge, motion_area_candidate, wifi_connectivity, zigbee_device_discovery, homekit, matter, matter_fabric, scene, entertainment_configuration, public_image, auth_v1, behavior_script, behavior_instance, geofence_client, geolocation, smart_scene, motion_area_configuration, clip)
The type of the referenced resource
- rid: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
HTTP status code 400
Request was on resource path was unsuccessful, body of request contains errors.
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 401
Client is not authorized
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 403
Client is not allowed to perform operation on this resource.
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 404
Resource or resource path does not exist
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 405
Method is not supported by the resource
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 409
Request conflict with the current state of the target resource
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 429
Too many requests
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 500
Internal Server Error
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 503
Busy, try again later.
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 507
Insufficient resources
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
Secured by hue-application-key
Headers
- hue-application-key: required(string)
API token
get /resource/temperature/{id}
API authorization using a hue-application-key header
URI Parameters
- id: required(string)
HTTP status code 200
Request was on resource path was successful. Result of request is in data.
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
- data: required(array of TemperatureGet)
Items: TemperatureGet
- id: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
Unique identifier representing a specific resource instance
- id_v1: (string – pattern: ^(\/[a-z]{4,32}\/[0-9a-zA-Z-]{1,32})?$)
Clip v1 resource identifier
- owner: required(object)
Owner of the service, in case the owner service is deleted, the service also gets deleted
- rid: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
The unique id of the referenced resource
- rtype: required(one of device, bridge_home, room, zone, service_group, light, button, bell_button, relative_rotary, temperature, light_level, motion, camera_motion, entertainment, contact, tamper, convenience_area_motion, security_area_motion, speaker, grouped_light, grouped_motion, grouped_light_level, device_power, device_software_update, zigbee_connectivity, zgp_connectivity, bridge, motion_area_candidate, wifi_connectivity, zigbee_device_discovery, homekit, matter, matter_fabric, scene, entertainment_configuration, public_image, auth_v1, behavior_script, behavior_instance, geofence_client, geolocation, smart_scene, motion_area_configuration, clip)
The type of the referenced resource
- rid: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
- enabled: required(boolean)
true when sensor is activated, false when deactivated
- type: required(temperature)
Type of the supported resources
- temperature: required(object)
- temperature: required(number)
Deprecated. Moved to Temperature_report/temperature
- temperature_valid: required(boolean)
Deprecated. Indication whether the value presented in temperature is valid
- temperature_report: (object)
- changed: required(datetime)
last time the value of this property is changed.
- temperature: required(number)
Temperature in 1.00 degrees Celsius
- changed: required(datetime)
- temperature: required(number)
- id: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
HTTP status code 401
Client is not authorized
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 403
Client is not allowed to perform operation on this resource.
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 404
Resource or resource path does not exist
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 405
Method is not supported by the resource
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 409
Request conflict with the current state of the target resource
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 429
Too many requests
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 500
Internal Server Error
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 503
Busy, try again later.
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 507
Insufficient resources
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
Secured by hue-application-key
Headers
- hue-application-key: required(string)
API token
/resource/light_level
API to manage light level services. These are offered by devices with light level sensing capabilities.
List all resources of this type
get /resource/light_level
List all resources of this type
API authorization using a hue-application-key header
HTTP status code 200
Request was on resource path was successful. Result of request is in data.
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
- data: required(array of LightLevelGet)
Items: LightLevelGet
- id: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
Unique identifier representing a specific resource instance
- id_v1: (string – pattern: ^(\/[a-z]{4,32}\/[0-9a-zA-Z-]{1,32})?$)
Clip v1 resource identifier
- owner: required(object)
Owner of the service, in case the owner service is deleted, the service also gets deleted
- rid: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
The unique id of the referenced resource
- rtype: required(one of device, bridge_home, room, zone, service_group, light, button, bell_button, relative_rotary, temperature, light_level, motion, camera_motion, entertainment, contact, tamper, convenience_area_motion, security_area_motion, speaker, grouped_light, grouped_motion, grouped_light_level, device_power, device_software_update, zigbee_connectivity, zgp_connectivity, bridge, motion_area_candidate, wifi_connectivity, zigbee_device_discovery, homekit, matter, matter_fabric, scene, entertainment_configuration, public_image, auth_v1, behavior_script, behavior_instance, geofence_client, geolocation, smart_scene, motion_area_configuration, clip)
The type of the referenced resource
- rid: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
- enabled: required(boolean)
true when sensor is activated, false when deactivated
- light: required(object)
- light_level: required(integer)
Deprecated. Moved to light_level_report/light_level
- light_level_valid: required(boolean)
Deprecated. Indication whether the value presented in light_level is valid
- light_level_report: (object)
- changed: required(datetime)
last time the value of this property is changed.
- light_level: required(integer)
Light level in 10000*log10(lux) +1 measured by sensor. Logarithmic scale used because the human eye adjusts to light levels and small changes at low lux levels are more noticeable than at high lux levels. This allows use of linear scale configuration sliders.
- changed: required(datetime)
- light_level: required(integer)
- type: required(light_level)
Type of the supported resources
- id: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
HTTP status code 401
Client is not authorized
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 403
Client is not allowed to perform operation on this resource.
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 404
Resource or resource path does not exist
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 405
Method is not supported by the resource
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 406
Query parameter has invalid value.
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 409
Request conflict with the current state of the target resource
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 429
Too many requests
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 500
Internal Server Error
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 503
Busy, try again later.
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 507
Insufficient resources
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
Secured by hue-application-key
Headers
- hue-application-key: required(string)
API token
API calls for resource which cannot be deleted (PUT and GET on resource instance)
put /resource/light_level/{id}
API authorization using a hue-application-key header
URI Parameters
- id: required(string)
Body
Media type: application/json
Type: object
Properties
- enabled: (boolean)
true when sensor is activated, false when deactivated
- type: (light_level)
Type of the supported resources
HTTP status code 200
Request was on resource path was successful.
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
- data: required(array of ResourceIdentifier)
Items: ResourceIdentifier
- rid: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
The unique id of the referenced resource
- rtype: required(one of device, bridge_home, room, zone, service_group, light, button, bell_button, relative_rotary, temperature, light_level, motion, camera_motion, entertainment, contact, tamper, convenience_area_motion, security_area_motion, speaker, grouped_light, grouped_motion, grouped_light_level, device_power, device_software_update, zigbee_connectivity, zgp_connectivity, bridge, motion_area_candidate, wifi_connectivity, zigbee_device_discovery, homekit, matter, matter_fabric, scene, entertainment_configuration, public_image, auth_v1, behavior_script, behavior_instance, geofence_client, geolocation, smart_scene, motion_area_configuration, clip)
The type of the referenced resource
- rid: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
HTTP status code 207
Request was partially successful, resource has been updated. Failed requests and errors are listed in error object.
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
- data: required(array of ResourceIdentifier)
Items: ResourceIdentifier
- rid: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
The unique id of the referenced resource
- rtype: required(one of device, bridge_home, room, zone, service_group, light, button, bell_button, relative_rotary, temperature, light_level, motion, camera_motion, entertainment, contact, tamper, convenience_area_motion, security_area_motion, speaker, grouped_light, grouped_motion, grouped_light_level, device_power, device_software_update, zigbee_connectivity, zgp_connectivity, bridge, motion_area_candidate, wifi_connectivity, zigbee_device_discovery, homekit, matter, matter_fabric, scene, entertainment_configuration, public_image, auth_v1, behavior_script, behavior_instance, geofence_client, geolocation, smart_scene, motion_area_configuration, clip)
The type of the referenced resource
- rid: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
HTTP status code 400
Request was on resource path was unsuccessful, body of request contains errors.
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 401
Client is not authorized
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 403
Client is not allowed to perform operation on this resource.
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 404
Resource or resource path does not exist
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 405
Method is not supported by the resource
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 409
Request conflict with the current state of the target resource
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 429
Too many requests
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 500
Internal Server Error
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 503
Busy, try again later.
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 507
Insufficient resources
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
Secured by hue-application-key
Headers
- hue-application-key: required(string)
API token
get /resource/light_level/{id}
API authorization using a hue-application-key header
URI Parameters
- id: required(string)
HTTP status code 200
Request was on resource path was successful. Result of request is in data.
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
- data: required(array of LightLevelGet)
Items: LightLevelGet
- id: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
Unique identifier representing a specific resource instance
- id_v1: (string – pattern: ^(\/[a-z]{4,32}\/[0-9a-zA-Z-]{1,32})?$)
Clip v1 resource identifier
- owner: required(object)
Owner of the service, in case the owner service is deleted, the service also gets deleted
- rid: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
The unique id of the referenced resource
- rtype: required(one of device, bridge_home, room, zone, service_group, light, button, bell_button, relative_rotary, temperature, light_level, motion, camera_motion, entertainment, contact, tamper, convenience_area_motion, security_area_motion, speaker, grouped_light, grouped_motion, grouped_light_level, device_power, device_software_update, zigbee_connectivity, zgp_connectivity, bridge, motion_area_candidate, wifi_connectivity, zigbee_device_discovery, homekit, matter, matter_fabric, scene, entertainment_configuration, public_image, auth_v1, behavior_script, behavior_instance, geofence_client, geolocation, smart_scene, motion_area_configuration, clip)
The type of the referenced resource
- rid: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
- enabled: required(boolean)
true when sensor is activated, false when deactivated
- light: required(object)
- light_level: required(integer)
Deprecated. Moved to light_level_report/light_level
- light_level_valid: required(boolean)
Deprecated. Indication whether the value presented in light_level is valid
- light_level_report: (object)
- changed: required(datetime)
last time the value of this property is changed.
- light_level: required(integer)
Light level in 10000*log10(lux) +1 measured by sensor. Logarithmic scale used because the human eye adjusts to light levels and small changes at low lux levels are more noticeable than at high lux levels. This allows use of linear scale configuration sliders.
- changed: required(datetime)
- light_level: required(integer)
- type: required(light_level)
Type of the supported resources
- id: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
HTTP status code 401
Client is not authorized
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 403
Client is not allowed to perform operation on this resource.
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 404
Resource or resource path does not exist
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 405
Method is not supported by the resource
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 409
Request conflict with the current state of the target resource
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 429
Too many requests
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 500
Internal Server Error
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 503
Busy, try again later.
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 507
Insufficient resources
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
Secured by hue-application-key
Headers
- hue-application-key: required(string)
API token
/resource/button
API to manage button services. These are offered by devices with buttons.
List all resources of this type
get /resource/button
List all resources of this type
API authorization using a hue-application-key header
HTTP status code 200
Request was on resource path was successful. Result of request is in data.
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
- data: required(array of ButtonGet)
Items: ButtonGet
- id: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
Unique identifier representing a specific resource instance
- id_v1: (string – pattern: ^(\/[a-z]{4,32}\/[0-9a-zA-Z-]{1,32})?$)
Clip v1 resource identifier
- owner: required(object)
Owner of the service, in case the owner service is deleted, the service also gets deleted
- rid: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
The unique id of the referenced resource
- rtype: required(one of device, bridge_home, room, zone, service_group, light, button, bell_button, relative_rotary, temperature, light_level, motion, camera_motion, entertainment, contact, tamper, convenience_area_motion, security_area_motion, speaker, grouped_light, grouped_motion, grouped_light_level, device_power, device_software_update, zigbee_connectivity, zgp_connectivity, bridge, motion_area_candidate, wifi_connectivity, zigbee_device_discovery, homekit, matter, matter_fabric, scene, entertainment_configuration, public_image, auth_v1, behavior_script, behavior_instance, geofence_client, geolocation, smart_scene, motion_area_configuration, clip)
The type of the referenced resource
- rid: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
- metadata: required(object)
Metadata describing this resource
- control_id: required(integer – minimum: 0 – maximum: 8)
control identifier of the switch which is unique per device. Meaning in combination with type – dots Number of dots – number Number printed on device – other a logical order of controls in switch
- control_id: required(integer – minimum: 0 – maximum: 8)
- button: required(object)
- last_event: (one of initial_press, repeat, short_release, long_release, double_short_release, long_press)
Deprecated. Move to button_report/event
- button_report: (object)
- updated: required(datetime)
last time the value of this property is updated.
- event: required(one of initial_press, repeat, short_release, long_release, double_short_release, long_press)
event which can be send by a button control
- updated: required(datetime)
- repeat_interval: (integer)
Duration between repeat events when holding the button in milliseconds.
Example:
800 - event_values: (array of ButtonEvent)
list of all button events that this device supports
- last_event: (one of initial_press, repeat, short_release, long_release, double_short_release, long_press)
- type: required(button)
Type of the supported resources
- id: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
HTTP status code 401
Client is not authorized
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 403
Client is not allowed to perform operation on this resource.
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 404
Resource or resource path does not exist
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 405
Method is not supported by the resource
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 406
Query parameter has invalid value.
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 409
Request conflict with the current state of the target resource
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 429
Too many requests
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 500
Internal Server Error
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 503
Busy, try again later.
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 507
Insufficient resources
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
Secured by hue-application-key
Headers
- hue-application-key: required(string)
API token
API calls for resource which cannot be deleted (PUT and GET on resource instance)
put /resource/button/{id}
API authorization using a hue-application-key header
URI Parameters
- id: required(string)
Body
Media type: application/json
Type: object
Properties
- type: (button)
Type of the supported resources
HTTP status code 200
Request was on resource path was successful.
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
- data: required(array of ResourceIdentifier)
Items: ResourceIdentifier
- rid: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
The unique id of the referenced resource
- rtype: required(one of device, bridge_home, room, zone, service_group, light, button, bell_button, relative_rotary, temperature, light_level, motion, camera_motion, entertainment, contact, tamper, convenience_area_motion, security_area_motion, speaker, grouped_light, grouped_motion, grouped_light_level, device_power, device_software_update, zigbee_connectivity, zgp_connectivity, bridge, motion_area_candidate, wifi_connectivity, zigbee_device_discovery, homekit, matter, matter_fabric, scene, entertainment_configuration, public_image, auth_v1, behavior_script, behavior_instance, geofence_client, geolocation, smart_scene, motion_area_configuration, clip)
The type of the referenced resource
- rid: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
HTTP status code 207
Request was partially successful, resource has been updated. Failed requests and errors are listed in error object.
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
- data: required(array of ResourceIdentifier)
Items: ResourceIdentifier
- rid: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
The unique id of the referenced resource
- rtype: required(one of device, bridge_home, room, zone, service_group, light, button, bell_button, relative_rotary, temperature, light_level, motion, camera_motion, entertainment, contact, tamper, convenience_area_motion, security_area_motion, speaker, grouped_light, grouped_motion, grouped_light_level, device_power, device_software_update, zigbee_connectivity, zgp_connectivity, bridge, motion_area_candidate, wifi_connectivity, zigbee_device_discovery, homekit, matter, matter_fabric, scene, entertainment_configuration, public_image, auth_v1, behavior_script, behavior_instance, geofence_client, geolocation, smart_scene, motion_area_configuration, clip)
The type of the referenced resource
- rid: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
HTTP status code 400
Request was on resource path was unsuccessful, body of request contains errors.
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 401
Client is not authorized
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 403
Client is not allowed to perform operation on this resource.
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 404
Resource or resource path does not exist
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 405
Method is not supported by the resource
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 409
Request conflict with the current state of the target resource
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 429
Too many requests
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 500
Internal Server Error
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 503
Busy, try again later.
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 507
Insufficient resources
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
Secured by hue-application-key
Headers
- hue-application-key: required(string)
API token
get /resource/button/{id}
API authorization using a hue-application-key header
URI Parameters
- id: required(string)
HTTP status code 200
Request was on resource path was successful. Result of request is in data.
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
- data: required(array of ButtonGet)
Items: ButtonGet
- id: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
Unique identifier representing a specific resource instance
- id_v1: (string – pattern: ^(\/[a-z]{4,32}\/[0-9a-zA-Z-]{1,32})?$)
Clip v1 resource identifier
- owner: required(object)
Owner of the service, in case the owner service is deleted, the service also gets deleted
- rid: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
The unique id of the referenced resource
- rtype: required(one of device, bridge_home, room, zone, service_group, light, button, bell_button, relative_rotary, temperature, light_level, motion, camera_motion, entertainment, contact, tamper, convenience_area_motion, security_area_motion, speaker, grouped_light, grouped_motion, grouped_light_level, device_power, device_software_update, zigbee_connectivity, zgp_connectivity, bridge, motion_area_candidate, wifi_connectivity, zigbee_device_discovery, homekit, matter, matter_fabric, scene, entertainment_configuration, public_image, auth_v1, behavior_script, behavior_instance, geofence_client, geolocation, smart_scene, motion_area_configuration, clip)
The type of the referenced resource
- rid: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
- metadata: required(object)
Metadata describing this resource
- control_id: required(integer – minimum: 0 – maximum: 8)
control identifier of the switch which is unique per device. Meaning in combination with type – dots Number of dots – number Number printed on device – other a logical order of controls in switch
- control_id: required(integer – minimum: 0 – maximum: 8)
- button: required(object)
- last_event: (one of initial_press, repeat, short_release, long_release, double_short_release, long_press)
Deprecated. Move to button_report/event
- button_report: (object)
- updated: required(datetime)
last time the value of this property is updated.
- event: required(one of initial_press, repeat, short_release, long_release, double_short_release, long_press)
event which can be send by a button control
- updated: required(datetime)
- repeat_interval: (integer)
Duration between repeat events when holding the button in milliseconds.
Example:
800 - event_values: (array of ButtonEvent)
list of all button events that this device supports
- last_event: (one of initial_press, repeat, short_release, long_release, double_short_release, long_press)
- type: required(button)
Type of the supported resources
- id: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
HTTP status code 401
Client is not authorized
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 403
Client is not allowed to perform operation on this resource.
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 404
Resource or resource path does not exist
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 405
Method is not supported by the resource
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 409
Request conflict with the current state of the target resource
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 429
Too many requests
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 500
Internal Server Error
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 503
Busy, try again later.
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 507
Insufficient resources
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
Secured by hue-application-key
Headers
- hue-application-key: required(string)
API token
/resource/bell_button
API to manage button services. These are offered by devices with buttons.
List all resources of this type
get /resource/bell_button
List all resources of this type
API authorization using a hue-application-key header
HTTP status code 200
Request was on resource path was successful. Result of request is in data.
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
- data: required(array of BellButtonGet)
Items: BellButtonGet
- id: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
Unique identifier representing a specific resource instance
- id_v1: (string – pattern: ^(\/[a-z]{4,32}\/[0-9a-zA-Z-]{1,32})?$)
Clip v1 resource identifier
- owner: required(object)
Owner of the service, in case the owner service is deleted, the service also gets deleted
- rid: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
The unique id of the referenced resource
- rtype: required(one of device, bridge_home, room, zone, service_group, light, button, bell_button, relative_rotary, temperature, light_level, motion, camera_motion, entertainment, contact, tamper, convenience_area_motion, security_area_motion, speaker, grouped_light, grouped_motion, grouped_light_level, device_power, device_software_update, zigbee_connectivity, zgp_connectivity, bridge, motion_area_candidate, wifi_connectivity, zigbee_device_discovery, homekit, matter, matter_fabric, scene, entertainment_configuration, public_image, auth_v1, behavior_script, behavior_instance, geofence_client, geolocation, smart_scene, motion_area_configuration, clip)
The type of the referenced resource
- rid: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
- metadata: required(object)
Metadata describing this resource
- control_id: required(integer – minimum: 0 – maximum: 8)
control identifier of the switch which is unique per device. Meaning in combination with type – dots Number of dots – number Number printed on device – other a logical order of controls in switch
- control_id: required(integer – minimum: 0 – maximum: 8)
- button: required(object)
- last_event: (one of initial_press, repeat, short_release, long_release, double_short_release, long_press)
Deprecated. Move to button_report/event
- button_report: (object)
- updated: required(datetime)
last time the value of this property is updated.
- event: required(one of initial_press, repeat, short_release, long_release, double_short_release, long_press)
event which can be send by a button control
- updated: required(datetime)
- repeat_interval: (integer)
Duration between repeat events when holding the button in milliseconds.
Example:
800 - event_values: (array of ButtonEvent)
list of all button events that this device supports
- last_event: (one of initial_press, repeat, short_release, long_release, double_short_release, long_press)
- type: required(bell_button)
Type of the supported resources
- id: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
HTTP status code 401
Client is not authorized
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 403
Client is not allowed to perform operation on this resource.
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 404
Resource or resource path does not exist
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 405
Method is not supported by the resource
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 406
Query parameter has invalid value.
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 409
Request conflict with the current state of the target resource
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 429
Too many requests
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 500
Internal Server Error
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 503
Busy, try again later.
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 507
Insufficient resources
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
Secured by hue-application-key
Headers
- hue-application-key: required(string)
API token
API calls for resource which cannot be deleted (PUT and GET on resource instance)
put /resource/bell_button/{id}
API authorization using a hue-application-key header
URI Parameters
- id: required(string)
Body
Media type: application/json
Type: object
Properties
- type: (bell_button)
Type of the supported resources
HTTP status code 200
Request was on resource path was successful.
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
- data: required(array of ResourceIdentifier)
Items: ResourceIdentifier
- rid: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
The unique id of the referenced resource
- rtype: required(one of device, bridge_home, room, zone, service_group, light, button, bell_button, relative_rotary, temperature, light_level, motion, camera_motion, entertainment, contact, tamper, convenience_area_motion, security_area_motion, speaker, grouped_light, grouped_motion, grouped_light_level, device_power, device_software_update, zigbee_connectivity, zgp_connectivity, bridge, motion_area_candidate, wifi_connectivity, zigbee_device_discovery, homekit, matter, matter_fabric, scene, entertainment_configuration, public_image, auth_v1, behavior_script, behavior_instance, geofence_client, geolocation, smart_scene, motion_area_configuration, clip)
The type of the referenced resource
- rid: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
HTTP status code 207
Request was partially successful, resource has been updated. Failed requests and errors are listed in error object.
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
- data: required(array of ResourceIdentifier)
Items: ResourceIdentifier
- rid: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
The unique id of the referenced resource
- rtype: required(one of device, bridge_home, room, zone, service_group, light, button, bell_button, relative_rotary, temperature, light_level, motion, camera_motion, entertainment, contact, tamper, convenience_area_motion, security_area_motion, speaker, grouped_light, grouped_motion, grouped_light_level, device_power, device_software_update, zigbee_connectivity, zgp_connectivity, bridge, motion_area_candidate, wifi_connectivity, zigbee_device_discovery, homekit, matter, matter_fabric, scene, entertainment_configuration, public_image, auth_v1, behavior_script, behavior_instance, geofence_client, geolocation, smart_scene, motion_area_configuration, clip)
The type of the referenced resource
- rid: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
HTTP status code 400
Request was on resource path was unsuccessful, body of request contains errors.
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 401
Client is not authorized
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 403
Client is not allowed to perform operation on this resource.
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 404
Resource or resource path does not exist
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 405
Method is not supported by the resource
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 409
Request conflict with the current state of the target resource
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 429
Too many requests
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 500
Internal Server Error
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 503
Busy, try again later.
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 507
Insufficient resources
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
Secured by hue-application-key
Headers
- hue-application-key: required(string)
API token
get /resource/bell_button/{id}
API authorization using a hue-application-key header
URI Parameters
- id: required(string)
HTTP status code 200
Request was on resource path was successful. Result of request is in data.
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
- data: required(array of BellButtonGet)
Items: BellButtonGet
- id: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
Unique identifier representing a specific resource instance
- id_v1: (string – pattern: ^(\/[a-z]{4,32}\/[0-9a-zA-Z-]{1,32})?$)
Clip v1 resource identifier
- owner: required(object)
Owner of the service, in case the owner service is deleted, the service also gets deleted
- rid: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
The unique id of the referenced resource
- rtype: required(one of device, bridge_home, room, zone, service_group, light, button, bell_button, relative_rotary, temperature, light_level, motion, camera_motion, entertainment, contact, tamper, convenience_area_motion, security_area_motion, speaker, grouped_light, grouped_motion, grouped_light_level, device_power, device_software_update, zigbee_connectivity, zgp_connectivity, bridge, motion_area_candidate, wifi_connectivity, zigbee_device_discovery, homekit, matter, matter_fabric, scene, entertainment_configuration, public_image, auth_v1, behavior_script, behavior_instance, geofence_client, geolocation, smart_scene, motion_area_configuration, clip)
The type of the referenced resource
- rid: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
- metadata: required(object)
Metadata describing this resource
- control_id: required(integer – minimum: 0 – maximum: 8)
control identifier of the switch which is unique per device. Meaning in combination with type – dots Number of dots – number Number printed on device – other a logical order of controls in switch
- control_id: required(integer – minimum: 0 – maximum: 8)
- button: required(object)
- last_event: (one of initial_press, repeat, short_release, long_release, double_short_release, long_press)
Deprecated. Move to button_report/event
- button_report: (object)
- updated: required(datetime)
last time the value of this property is updated.
- event: required(one of initial_press, repeat, short_release, long_release, double_short_release, long_press)
event which can be send by a button control
- updated: required(datetime)
- repeat_interval: (integer)
Duration between repeat events when holding the button in milliseconds.
Example:
800 - event_values: (array of ButtonEvent)
list of all button events that this device supports
- last_event: (one of initial_press, repeat, short_release, long_release, double_short_release, long_press)
- type: required(bell_button)
Type of the supported resources
- id: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
HTTP status code 401
Client is not authorized
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 403
Client is not allowed to perform operation on this resource.
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 404
Resource or resource path does not exist
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 405
Method is not supported by the resource
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 409
Request conflict with the current state of the target resource
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 429
Too many requests
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 500
Internal Server Error
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 503
Busy, try again later.
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 507
Insufficient resources
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
Secured by hue-application-key
Headers
- hue-application-key: required(string)
API token
/resource/relative_rotary
API to manage relative rotary services. These are offered by devices with rotary capabilities.
List all resources of this type
get /resource/relative_rotary
List all resources of this type
API authorization using a hue-application-key header
HTTP status code 200
Request was on resource path was successful. Result of request is in data.
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
- data: required(array of RelativeRotaryGet)
Items: RelativeRotaryGet
- id: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
Unique identifier representing a specific resource instance
- id_v1: (string – pattern: ^(\/[a-z]{4,32}\/[0-9a-zA-Z-]{1,32})?$)
Clip v1 resource identifier
- owner: required(object)
Owner of the service, in case the owner service is deleted, the service also gets deleted
- rid: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
The unique id of the referenced resource
- rtype: required(one of device, bridge_home, room, zone, service_group, light, button, bell_button, relative_rotary, temperature, light_level, motion, camera_motion, entertainment, contact, tamper, convenience_area_motion, security_area_motion, speaker, grouped_light, grouped_motion, grouped_light_level, device_power, device_software_update, zigbee_connectivity, zgp_connectivity, bridge, motion_area_candidate, wifi_connectivity, zigbee_device_discovery, homekit, matter, matter_fabric, scene, entertainment_configuration, public_image, auth_v1, behavior_script, behavior_instance, geofence_client, geolocation, smart_scene, motion_area_configuration, clip)
The type of the referenced resource
- rid: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
- type: required(relative_rotary)
Type of the supported resources
- relative_rotary: required(object)
- last_event: (object)
Deprecated. Renamed to RelativeRotaryReport. Indicate which type of rotary event is received
- action: required(one of start, repeat)
Indicate which type of rotary event is received
- rotation: required(object)
- direction: required(one of clock_wise, counter_clock_wise)
A rotation opposite to the previous rotation, will always start with new start command.
- steps: required(integer – minimum: 0 – maximum: 32767)
amount of rotation since previous event in case of repeat, amount of rotation since start in case of a start_event. Resolution = 1000 steps / 360 degree rotation.
- duration: required(integer – minimum: 0 – maximum: 65534)
duration of rotation since previous event in case of repeat, amount of rotation since start in case of a start_event. duration is specified in miliseconds.
- direction: required(one of clock_wise, counter_clock_wise)
- action: required(one of start, repeat)
- rotary_report: (object)
- updated: required(datetime)
last time the value of this property is updated.
- action: required(one of start, repeat)
Indicate which type of rotary event is received
- rotation: required(object)
- direction: required(one of clock_wise, counter_clock_wise)
A rotation opposite to the previous rotation, will always start with new start command.
- steps: required(integer – minimum: 0 – maximum: 32767)
amount of rotation since previous event in case of repeat, amount of rotation since start in case of a start_event. Resolution = 1000 steps / 360 degree rotation.
- duration: required(integer – minimum: 0 – maximum: 65534)
duration of rotation since previous event in case of repeat, amount of rotation since start in case of a start_event. duration is specified in miliseconds.
- direction: required(one of clock_wise, counter_clock_wise)
- updated: required(datetime)
- last_event: (object)
- id: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
HTTP status code 401
Client is not authorized
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 403
Client is not allowed to perform operation on this resource.
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 404
Resource or resource path does not exist
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 405
Method is not supported by the resource
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 406
Query parameter has invalid value.
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 409
Request conflict with the current state of the target resource
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 429
Too many requests
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 500
Internal Server Error
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 503
Busy, try again later.
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 507
Insufficient resources
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
Secured by hue-application-key
Headers
- hue-application-key: required(string)
API token
API calls for resource which cannot be deleted (PUT and GET on resource instance)
put /resource/relative_rotary/{id}
API authorization using a hue-application-key header
URI Parameters
- id: required(string)
Body
Media type: application/json
Type: object
Properties
- type: (relative_rotary)
Type of the supported resources
HTTP status code 200
Request was on resource path was successful.
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
- data: required(array of ResourceIdentifier)
Items: ResourceIdentifier
- rid: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
The unique id of the referenced resource
- rtype: required(one of device, bridge_home, room, zone, service_group, light, button, bell_button, relative_rotary, temperature, light_level, motion, camera_motion, entertainment, contact, tamper, convenience_area_motion, security_area_motion, speaker, grouped_light, grouped_motion, grouped_light_level, device_power, device_software_update, zigbee_connectivity, zgp_connectivity, bridge, motion_area_candidate, wifi_connectivity, zigbee_device_discovery, homekit, matter, matter_fabric, scene, entertainment_configuration, public_image, auth_v1, behavior_script, behavior_instance, geofence_client, geolocation, smart_scene, motion_area_configuration, clip)
The type of the referenced resource
- rid: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
HTTP status code 207
Request was partially successful, resource has been updated. Failed requests and errors are listed in error object.
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
- data: required(array of ResourceIdentifier)
Items: ResourceIdentifier
- rid: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
The unique id of the referenced resource
- rtype: required(one of device, bridge_home, room, zone, service_group, light, button, bell_button, relative_rotary, temperature, light_level, motion, camera_motion, entertainment, contact, tamper, convenience_area_motion, security_area_motion, speaker, grouped_light, grouped_motion, grouped_light_level, device_power, device_software_update, zigbee_connectivity, zgp_connectivity, bridge, motion_area_candidate, wifi_connectivity, zigbee_device_discovery, homekit, matter, matter_fabric, scene, entertainment_configuration, public_image, auth_v1, behavior_script, behavior_instance, geofence_client, geolocation, smart_scene, motion_area_configuration, clip)
The type of the referenced resource
- rid: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
HTTP status code 400
Request was on resource path was unsuccessful, body of request contains errors.
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 401
Client is not authorized
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 403
Client is not allowed to perform operation on this resource.
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 404
Resource or resource path does not exist
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 405
Method is not supported by the resource
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 409
Request conflict with the current state of the target resource
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 429
Too many requests
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 500
Internal Server Error
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 503
Busy, try again later.
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 507
Insufficient resources
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
Secured by hue-application-key
Headers
- hue-application-key: required(string)
API token
get /resource/relative_rotary/{id}
API authorization using a hue-application-key header
URI Parameters
- id: required(string)
HTTP status code 200
Request was on resource path was successful. Result of request is in data.
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
- data: required(array of RelativeRotaryGet)
Items: RelativeRotaryGet
- id: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
Unique identifier representing a specific resource instance
- id_v1: (string – pattern: ^(\/[a-z]{4,32}\/[0-9a-zA-Z-]{1,32})?$)
Clip v1 resource identifier
- owner: required(object)
Owner of the service, in case the owner service is deleted, the service also gets deleted
- rid: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
The unique id of the referenced resource
- rtype: required(one of device, bridge_home, room, zone, service_group, light, button, bell_button, relative_rotary, temperature, light_level, motion, camera_motion, entertainment, contact, tamper, convenience_area_motion, security_area_motion, speaker, grouped_light, grouped_motion, grouped_light_level, device_power, device_software_update, zigbee_connectivity, zgp_connectivity, bridge, motion_area_candidate, wifi_connectivity, zigbee_device_discovery, homekit, matter, matter_fabric, scene, entertainment_configuration, public_image, auth_v1, behavior_script, behavior_instance, geofence_client, geolocation, smart_scene, motion_area_configuration, clip)
The type of the referenced resource
- rid: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
- type: required(relative_rotary)
Type of the supported resources
- relative_rotary: required(object)
- last_event: (object)
Deprecated. Renamed to RelativeRotaryReport. Indicate which type of rotary event is received
- action: required(one of start, repeat)
Indicate which type of rotary event is received
- rotation: required(object)
- direction: required(one of clock_wise, counter_clock_wise)
A rotation opposite to the previous rotation, will always start with new start command.
- steps: required(integer – minimum: 0 – maximum: 32767)
amount of rotation since previous event in case of repeat, amount of rotation since start in case of a start_event. Resolution = 1000 steps / 360 degree rotation.
- duration: required(integer – minimum: 0 – maximum: 65534)
duration of rotation since previous event in case of repeat, amount of rotation since start in case of a start_event. duration is specified in miliseconds.
- direction: required(one of clock_wise, counter_clock_wise)
- action: required(one of start, repeat)
- rotary_report: (object)
- updated: required(datetime)
last time the value of this property is updated.
- action: required(one of start, repeat)
Indicate which type of rotary event is received
- rotation: required(object)
- direction: required(one of clock_wise, counter_clock_wise)
A rotation opposite to the previous rotation, will always start with new start command.
- steps: required(integer – minimum: 0 – maximum: 32767)
amount of rotation since previous event in case of repeat, amount of rotation since start in case of a start_event. Resolution = 1000 steps / 360 degree rotation.
- duration: required(integer – minimum: 0 – maximum: 65534)
duration of rotation since previous event in case of repeat, amount of rotation since start in case of a start_event. duration is specified in miliseconds.
- direction: required(one of clock_wise, counter_clock_wise)
- updated: required(datetime)
- last_event: (object)
- id: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
HTTP status code 401
Client is not authorized
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 403
Client is not allowed to perform operation on this resource.
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 404
Resource or resource path does not exist
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 405
Method is not supported by the resource
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 409
Request conflict with the current state of the target resource
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 429
Too many requests
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 500
Internal Server Error
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 503
Busy, try again later.
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 507
Insufficient resources
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
Secured by hue-application-key
Headers
- hue-application-key: required(string)
API token
/resource/behavior_script
API to discover available scripts that can be instantiated
List all resources of this type
get /resource/behavior_script
List all resources of this type
API authorization using a hue-application-key header
HTTP status code 200
Request was on resource path was successful. Result of request is in data.
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
- data: required(array of BehaviorScriptGet)
Items: BehaviorScriptGet
- type: required(behavior_script)
Type of the supported resources
- id: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
Unique identifier representing a specific resource instance
- id_v1: (string – pattern: ^(\/[a-z]{4,32}\/[0-9a-zA-Z-]{1,32})?$)
Clip v1 resource identifier
- description: required(string)
Short description of script.
- configuration_schema: required(object)
JSON schema object used for validating ScriptInstance.configuration property.
- trigger_schema: required(object)
JSON schema object used for validating ScriptInstance.trigger property.
- state_schema: required(object)
JSON schema of ScriptInstance.state property.
- version: required(string – pattern: ^[1-9][0-9]{0,2}([.][0-9]{1,3}){1,2})
Version of script.
- metadata: required(object)
- name: (string – minLength: 1 – maxLength: 32)
Human readable name of a resource
- category: required(one of automation, entertainment, accessory, other)
- name: (string – minLength: 1 – maxLength: 32)
- supported_features: (array of string)
Features that the script supports.
- max_number_instances: (integer – minimum: 0 – maximum: 255)
Max number of script instances.
- type: required(behavior_script)
HTTP status code 401
Client is not authorized
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 403
Client is not allowed to perform operation on this resource.
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 404
Resource or resource path does not exist
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 405
Method is not supported by the resource
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 406
Query parameter has invalid value.
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 409
Request conflict with the current state of the target resource
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 429
Too many requests
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 500
Internal Server Error
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 503
Busy, try again later.
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 507
Insufficient resources
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
Secured by hue-application-key
Headers
- hue-application-key: required(string)
API token
API calls for resource which can be just retrieved (GET on resource instance)
get /resource/behavior_script/{id}
API authorization using a hue-application-key header
URI Parameters
- id: required(string)
HTTP status code 200
Request was on resource path was successful. Result of request is in data.
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
- data: required(array of BehaviorScriptGet)
Items: BehaviorScriptGet
- type: required(behavior_script)
Type of the supported resources
- id: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
Unique identifier representing a specific resource instance
- id_v1: (string – pattern: ^(\/[a-z]{4,32}\/[0-9a-zA-Z-]{1,32})?$)
Clip v1 resource identifier
- description: required(string)
Short description of script.
- configuration_schema: required(object)
JSON schema object used for validating ScriptInstance.configuration property.
- trigger_schema: required(object)
JSON schema object used for validating ScriptInstance.trigger property.
- state_schema: required(object)
JSON schema of ScriptInstance.state property.
- version: required(string – pattern: ^[1-9][0-9]{0,2}([.][0-9]{1,3}){1,2})
Version of script.
- metadata: required(object)
- name: (string – minLength: 1 – maxLength: 32)
Human readable name of a resource
- category: required(one of automation, entertainment, accessory, other)
- name: (string – minLength: 1 – maxLength: 32)
- supported_features: (array of string)
Features that the script supports.
- max_number_instances: (integer – minimum: 0 – maximum: 255)
Max number of script instances.
- type: required(behavior_script)
HTTP status code 401
Client is not authorized
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 403
Client is not allowed to perform operation on this resource.
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 404
Resource or resource path does not exist
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 405
Method is not supported by the resource
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 409
Request conflict with the current state of the target resource
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 429
Too many requests
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 500
Internal Server Error
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 503
Busy, try again later.
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 507
Insufficient resources
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
Secured by hue-application-key
Headers
- hue-application-key: required(string)
API token
/resource/behavior_instance
API to manage instances of script
create a new resource of this type
List all resources of this type
post /resource/behavior_instance
create a new resource of this type
API authorization using a hue-application-key header
Body
Media type: application/json
Type: object
Properties
- type: (behavior_instance)
Type of the supported resources
- script_id: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
Identifier to ScriptDefinition.
- enabled: required(boolean)
Indicated whether a scripts is enabled.
- configuration: required(object)
Script configuration. This property is validated using ScriptDefinition.configuration_schema JSON schema.
- metadata: (object)
- name: (string – minLength: 1 – maxLength: 32)
Human readable name of a resource
- name: (string – minLength: 1 – maxLength: 32)
- migrated_from: (string – pattern: ^(\/[a-z]{4,32}\/[0-9a-zA-Z-]{1,32})?$)
Clip v1 resource identifier
HTTP status code 201
Resource has been created
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
- data: required(array of ResourceIdentifier)
Items: ResourceIdentifier
- rid: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
The unique id of the referenced resource
- rtype: required(one of device, bridge_home, room, zone, service_group, light, button, bell_button, relative_rotary, temperature, light_level, motion, camera_motion, entertainment, contact, tamper, convenience_area_motion, security_area_motion, speaker, grouped_light, grouped_motion, grouped_light_level, device_power, device_software_update, zigbee_connectivity, zgp_connectivity, bridge, motion_area_candidate, wifi_connectivity, zigbee_device_discovery, homekit, matter, matter_fabric, scene, entertainment_configuration, public_image, auth_v1, behavior_script, behavior_instance, geofence_client, geolocation, smart_scene, motion_area_configuration, clip)
The type of the referenced resource
- rid: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
HTTP status code 400
Request was on resource path was unsuccessful, body of request contains errors.
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 401
Client is not authorized
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 403
Client is not allowed to perform operation on this resource.
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 404
Resource or resource path does not exist
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 405
Method is not supported by the resource
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 409
Request conflict with the current state of the target resource
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 429
Too many requests
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 500
Internal Server Error
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 503
Busy, try again later.
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 507
Insufficient resources
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
Secured by hue-application-key
Headers
- hue-application-key: required(string)
API token
get /resource/behavior_instance
List all resources of this type
API authorization using a hue-application-key header
HTTP status code 200
Request was on resource path was successful. Result of request is in data.
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
- data: required(array of BehaviorInstanceGet)
Items: BehaviorInstanceGet
- type: required(behavior_instance)
Type of the supported resources
- id: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
Unique identifier representing a specific resource instance
- id_v1: (string – pattern: ^(\/[a-z]{4,32}\/[0-9a-zA-Z-]{1,32})?$)
Clip v1 resource identifier
- script_id: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
Identifier to ScriptDefinition.
- enabled: required(boolean)
Indicated whether a scripts is enabled.
- state: (object)
Script instance state. This read-only property is according to ScriptDefinition.state_schema JSON schema.
- configuration: required(object)
Script configuration. This property is validated using ScriptDefinition.configuration_schema JSON schema.
- dependees: required(array of ResourceDependee)
Represents all resources which this instance depends on.
Items: ResourceDependee
- type: required(string)
- target: required(object)
Id of the dependency resource (target).
- rid: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
The unique id of the referenced resource
- rtype: required(one of device, bridge_home, room, zone, service_group, light, button, bell_button, relative_rotary, temperature, light_level, motion, camera_motion, entertainment, contact, tamper, convenience_area_motion, security_area_motion, speaker, grouped_light, grouped_motion, grouped_light_level, device_power, device_software_update, zigbee_connectivity, zgp_connectivity, bridge, motion_area_candidate, wifi_connectivity, zigbee_device_discovery, homekit, matter, matter_fabric, scene, entertainment_configuration, public_image, auth_v1, behavior_script, behavior_instance, geofence_client, geolocation, smart_scene, motion_area_configuration, clip)
The type of the referenced resource
- rid: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
- level: required(critical)
#- non_critical: Defines a dependency between resources: although source is impacted by removal of target, source remains of target means removal of source.
- critical: Defines a critical dependency between resources: source cannot function without target, hence removal of target means removal of source.
- status: required(one of initializing, running, disabled, errored)
Script status. If the script is in the errored state then check errors for more details about the error.
- last_error: required(string)
Last error happened while executing the script.
- metadata: required(object)
- name: (string – minLength: 1 – maxLength: 32)
Human readable name of a resource
- name: (string – minLength: 1 – maxLength: 32)
- migrated_from: (string – pattern: ^(\/[a-z]{4,32}\/[0-9a-zA-Z-]{1,32})?$)
Clip v1 resource identifier
- type: required(behavior_instance)
HTTP status code 401
Client is not authorized
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 403
Client is not allowed to perform operation on this resource.
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 404
Resource or resource path does not exist
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 405
Method is not supported by the resource
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 406
Query parameter has invalid value.
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 409
Request conflict with the current state of the target resource
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 429
Too many requests
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 500
Internal Server Error
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 503
Busy, try again later.
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 507
Insufficient resources
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
Secured by hue-application-key
Headers
- hue-application-key: required(string)
API token
API calls to read, update and delete a resource instance
delete /resource/behavior_instance/{id}
API authorization using a hue-application-key header
URI Parameters
- id: required(string)
HTTP status code 200
Resource has been deleted
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
- data: required(array of ResourceIdentifier)
Items: ResourceIdentifier
- rid: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
The unique id of the referenced resource
- rtype: required(one of device, bridge_home, room, zone, service_group, light, button, bell_button, relative_rotary, temperature, light_level, motion, camera_motion, entertainment, contact, tamper, convenience_area_motion, security_area_motion, speaker, grouped_light, grouped_motion, grouped_light_level, device_power, device_software_update, zigbee_connectivity, zgp_connectivity, bridge, motion_area_candidate, wifi_connectivity, zigbee_device_discovery, homekit, matter, matter_fabric, scene, entertainment_configuration, public_image, auth_v1, behavior_script, behavior_instance, geofence_client, geolocation, smart_scene, motion_area_configuration, clip)
The type of the referenced resource
- rid: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
HTTP status code 401
Client is not authorized
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 403
Client is not allowed to perform operation on this resource.
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 404
Resource or resource path does not exist
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 405
Method is not supported by the resource
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 409
Request conflict with the current state of the target resource
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 429
Too many requests
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 500
Internal Server Error
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 503
Busy, try again later.
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 507
Insufficient resources
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
Secured by hue-application-key
Headers
- hue-application-key: required(string)
API token
put /resource/behavior_instance/{id}
API authorization using a hue-application-key header
URI Parameters
- id: required(string)
Body
Media type: application/json
Type: object
Properties
- type: (behavior_instance)
Type of the supported resources
- enabled: (boolean)
Indicated whether a scripts is enabled.
- configuration: (object)
Script configuration. This property is validated using ScriptDefinition.configuration_schema JSON schema.
- trigger: (object)
Action that needs to be taken by this script instance. This property is validated using ScriptDefinition.trigger_schema JSON schema.
- metadata: (object)
- name: (string – minLength: 1 – maxLength: 32)
Human readable name of a resource
- name: (string – minLength: 1 – maxLength: 32)
HTTP status code 200
Request was on resource path was successful.
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
- data: required(array of ResourceIdentifier)
Items: ResourceIdentifier
- rid: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
The unique id of the referenced resource
- rtype: required(one of device, bridge_home, room, zone, service_group, light, button, bell_button, relative_rotary, temperature, light_level, motion, camera_motion, entertainment, contact, tamper, convenience_area_motion, security_area_motion, speaker, grouped_light, grouped_motion, grouped_light_level, device_power, device_software_update, zigbee_connectivity, zgp_connectivity, bridge, motion_area_candidate, wifi_connectivity, zigbee_device_discovery, homekit, matter, matter_fabric, scene, entertainment_configuration, public_image, auth_v1, behavior_script, behavior_instance, geofence_client, geolocation, smart_scene, motion_area_configuration, clip)
The type of the referenced resource
- rid: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
HTTP status code 207
Request was partially successful, resource has been updated. Failed requests and errors are listed in error object.
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
- data: required(array of ResourceIdentifier)
Items: ResourceIdentifier
- rid: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
The unique id of the referenced resource
- rtype: required(one of device, bridge_home, room, zone, service_group, light, button, bell_button, relative_rotary, temperature, light_level, motion, camera_motion, entertainment, contact, tamper, convenience_area_motion, security_area_motion, speaker, grouped_light, grouped_motion, grouped_light_level, device_power, device_software_update, zigbee_connectivity, zgp_connectivity, bridge, motion_area_candidate, wifi_connectivity, zigbee_device_discovery, homekit, matter, matter_fabric, scene, entertainment_configuration, public_image, auth_v1, behavior_script, behavior_instance, geofence_client, geolocation, smart_scene, motion_area_configuration, clip)
The type of the referenced resource
- rid: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
HTTP status code 400
Request was on resource path was unsuccessful, body of request contains errors.
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 401
Client is not authorized
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 403
Client is not allowed to perform operation on this resource.
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 404
Resource or resource path does not exist
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 405
Method is not supported by the resource
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 409
Request conflict with the current state of the target resource
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 429
Too many requests
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 500
Internal Server Error
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 503
Busy, try again later.
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 507
Insufficient resources
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
Secured by hue-application-key
Headers
- hue-application-key: required(string)
API token
get /resource/behavior_instance/{id}
API authorization using a hue-application-key header
URI Parameters
- id: required(string)
HTTP status code 200
Request was on resource path was successful. Result of request is in data.
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
- data: required(array of BehaviorInstanceGet)
Items: BehaviorInstanceGet
- type: required(behavior_instance)
Type of the supported resources
- id: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
Unique identifier representing a specific resource instance
- id_v1: (string – pattern: ^(\/[a-z]{4,32}\/[0-9a-zA-Z-]{1,32})?$)
Clip v1 resource identifier
- script_id: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
Identifier to ScriptDefinition.
- enabled: required(boolean)
Indicated whether a scripts is enabled.
- state: (object)
Script instance state. This read-only property is according to ScriptDefinition.state_schema JSON schema.
- configuration: required(object)
Script configuration. This property is validated using ScriptDefinition.configuration_schema JSON schema.
- dependees: required(array of ResourceDependee)
Represents all resources which this instance depends on.
Items: ResourceDependee
- type: required(string)
- target: required(object)
Id of the dependency resource (target).
- rid: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
The unique id of the referenced resource
- rtype: required(one of device, bridge_home, room, zone, service_group, light, button, bell_button, relative_rotary, temperature, light_level, motion, camera_motion, entertainment, contact, tamper, convenience_area_motion, security_area_motion, speaker, grouped_light, grouped_motion, grouped_light_level, device_power, device_software_update, zigbee_connectivity, zgp_connectivity, bridge, motion_area_candidate, wifi_connectivity, zigbee_device_discovery, homekit, matter, matter_fabric, scene, entertainment_configuration, public_image, auth_v1, behavior_script, behavior_instance, geofence_client, geolocation, smart_scene, motion_area_configuration, clip)
The type of the referenced resource
- rid: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
- level: required(critical)
#- non_critical: Defines a dependency between resources: although source is impacted by removal of target, source remains of target means removal of source.
- critical: Defines a critical dependency between resources: source cannot function without target, hence removal of target means removal of source.
- status: required(one of initializing, running, disabled, errored)
Script status. If the script is in the errored state then check errors for more details about the error.
- last_error: required(string)
Last error happened while executing the script.
- metadata: required(object)
- name: (string – minLength: 1 – maxLength: 32)
Human readable name of a resource
- name: (string – minLength: 1 – maxLength: 32)
- migrated_from: (string – pattern: ^(\/[a-z]{4,32}\/[0-9a-zA-Z-]{1,32})?$)
Clip v1 resource identifier
- type: required(behavior_instance)
HTTP status code 401
Client is not authorized
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 403
Client is not allowed to perform operation on this resource.
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 404
Resource or resource path does not exist
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 405
Method is not supported by the resource
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 409
Request conflict with the current state of the target resource
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 429
Too many requests
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 500
Internal Server Error
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 503
Busy, try again later.
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 507
Insufficient resources
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
Secured by hue-application-key
Headers
- hue-application-key: required(string)
API token
/resource/geofence_client
API for geofencing functionality
create a new resource of this type
List all resources of this type
post /resource/geofence_client
create a new resource of this type
API authorization using a hue-application-key header
Body
Media type: application/json
Type: object
Properties
- type: (geofence_client)
Type of the supported resources
- is_at_home: (boolean)
Indicator if Geofence Client is at home.
- name: (string – minLength: 1 – maxLength: 32)
User defined name of the geofence client
HTTP status code 201
Resource has been created
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
- data: required(array of ResourceIdentifier)
Items: ResourceIdentifier
- rid: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
The unique id of the referenced resource
- rtype: required(one of device, bridge_home, room, zone, service_group, light, button, bell_button, relative_rotary, temperature, light_level, motion, camera_motion, entertainment, contact, tamper, convenience_area_motion, security_area_motion, speaker, grouped_light, grouped_motion, grouped_light_level, device_power, device_software_update, zigbee_connectivity, zgp_connectivity, bridge, motion_area_candidate, wifi_connectivity, zigbee_device_discovery, homekit, matter, matter_fabric, scene, entertainment_configuration, public_image, auth_v1, behavior_script, behavior_instance, geofence_client, geolocation, smart_scene, motion_area_configuration, clip)
The type of the referenced resource
- rid: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
HTTP status code 400
Request was on resource path was unsuccessful, body of request contains errors.
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 401
Client is not authorized
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 403
Client is not allowed to perform operation on this resource.
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 404
Resource or resource path does not exist
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 405
Method is not supported by the resource
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 409
Request conflict with the current state of the target resource
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 429
Too many requests
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 500
Internal Server Error
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 503
Busy, try again later.
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 507
Insufficient resources
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
Secured by hue-application-key
Headers
- hue-application-key: required(string)
API token
get /resource/geofence_client
List all resources of this type
API authorization using a hue-application-key header
HTTP status code 200
Request was on resource path was successful. Result of request is in data.
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
- data: required(array of GeofenceClientGet)
Items: GeofenceClientGet
- id: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
Unique identifier representing a specific resource instance
- id_v1: (string – pattern: ^(\/[a-z]{4,32}\/[0-9a-zA-Z-]{1,32})?$)
Clip v1 resource identifier
- type: required(geofence_client)
Type of the supported resources
- name: required(string – minLength: 1 – maxLength: 32)
User defined name of the geofence client
- id: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
HTTP status code 401
Client is not authorized
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 403
Client is not allowed to perform operation on this resource.
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 404
Resource or resource path does not exist
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 405
Method is not supported by the resource
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 406
Query parameter has invalid value.
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 409
Request conflict with the current state of the target resource
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 429
Too many requests
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 500
Internal Server Error
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 503
Busy, try again later.
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 507
Insufficient resources
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
Secured by hue-application-key
Headers
- hue-application-key: required(string)
API token
API calls to read, update and delete a resource instance
delete /resource/geofence_client/{id}
API authorization using a hue-application-key header
URI Parameters
- id: required(string)
HTTP status code 200
Resource has been deleted
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
- data: required(array of ResourceIdentifier)
Items: ResourceIdentifier
- rid: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
The unique id of the referenced resource
- rtype: required(one of device, bridge_home, room, zone, service_group, light, button, bell_button, relative_rotary, temperature, light_level, motion, camera_motion, entertainment, contact, tamper, convenience_area_motion, security_area_motion, speaker, grouped_light, grouped_motion, grouped_light_level, device_power, device_software_update, zigbee_connectivity, zgp_connectivity, bridge, motion_area_candidate, wifi_connectivity, zigbee_device_discovery, homekit, matter, matter_fabric, scene, entertainment_configuration, public_image, auth_v1, behavior_script, behavior_instance, geofence_client, geolocation, smart_scene, motion_area_configuration, clip)
The type of the referenced resource
- rid: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
HTTP status code 401
Client is not authorized
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 403
Client is not allowed to perform operation on this resource.
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 404
Resource or resource path does not exist
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 405
Method is not supported by the resource
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 409
Request conflict with the current state of the target resource
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 429
Too many requests
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 500
Internal Server Error
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 503
Busy, try again later.
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 507
Insufficient resources
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
Secured by hue-application-key
Headers
- hue-application-key: required(string)
API token
put /resource/geofence_client/{id}
API authorization using a hue-application-key header
URI Parameters
- id: required(string)
Body
Media type: application/json
Type: object
Properties
- type: (geofence_client)
Type of the supported resources
- is_at_home: (boolean)
Indicator if Geofence Client is at home.
- name: (string – minLength: 1 – maxLength: 32)
User defined name of the geofence client
HTTP status code 200
Request was on resource path was successful.
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
- data: required(array of ResourceIdentifier)
Items: ResourceIdentifier
- rid: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
The unique id of the referenced resource
- rtype: required(one of device, bridge_home, room, zone, service_group, light, button, bell_button, relative_rotary, temperature, light_level, motion, camera_motion, entertainment, contact, tamper, convenience_area_motion, security_area_motion, speaker, grouped_light, grouped_motion, grouped_light_level, device_power, device_software_update, zigbee_connectivity, zgp_connectivity, bridge, motion_area_candidate, wifi_connectivity, zigbee_device_discovery, homekit, matter, matter_fabric, scene, entertainment_configuration, public_image, auth_v1, behavior_script, behavior_instance, geofence_client, geolocation, smart_scene, motion_area_configuration, clip)
The type of the referenced resource
- rid: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
HTTP status code 207
Request was partially successful, resource has been updated. Failed requests and errors are listed in error object.
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
- data: required(array of ResourceIdentifier)
Items: ResourceIdentifier
- rid: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
The unique id of the referenced resource
- rtype: required(one of device, bridge_home, room, zone, service_group, light, button, bell_button, relative_rotary, temperature, light_level, motion, camera_motion, entertainment, contact, tamper, convenience_area_motion, security_area_motion, speaker, grouped_light, grouped_motion, grouped_light_level, device_power, device_software_update, zigbee_connectivity, zgp_connectivity, bridge, motion_area_candidate, wifi_connectivity, zigbee_device_discovery, homekit, matter, matter_fabric, scene, entertainment_configuration, public_image, auth_v1, behavior_script, behavior_instance, geofence_client, geolocation, smart_scene, motion_area_configuration, clip)
The type of the referenced resource
- rid: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
HTTP status code 400
Request was on resource path was unsuccessful, body of request contains errors.
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 401
Client is not authorized
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 403
Client is not allowed to perform operation on this resource.
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 404
Resource or resource path does not exist
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 405
Method is not supported by the resource
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 409
Request conflict with the current state of the target resource
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 429
Too many requests
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 500
Internal Server Error
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 503
Busy, try again later.
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 507
Insufficient resources
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
Secured by hue-application-key
Headers
- hue-application-key: required(string)
API token
get /resource/geofence_client/{id}
API authorization using a hue-application-key header
URI Parameters
- id: required(string)
HTTP status code 200
Request was on resource path was successful. Result of request is in data.
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
- data: required(array of GeofenceClientGet)
Items: GeofenceClientGet
- id: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
Unique identifier representing a specific resource instance
- id_v1: (string – pattern: ^(\/[a-z]{4,32}\/[0-9a-zA-Z-]{1,32})?$)
Clip v1 resource identifier
- type: required(geofence_client)
Type of the supported resources
- name: required(string – minLength: 1 – maxLength: 32)
User defined name of the geofence client
- id: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
HTTP status code 401
Client is not authorized
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 403
Client is not allowed to perform operation on this resource.
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 404
Resource or resource path does not exist
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 405
Method is not supported by the resource
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 409
Request conflict with the current state of the target resource
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 429
Too many requests
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 500
Internal Server Error
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 503
Busy, try again later.
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 507
Insufficient resources
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
Secured by hue-application-key
Headers
- hue-application-key: required(string)
API token
/resource/geolocation
API for setting the geolocation
List all resources of this type
get /resource/geolocation
List all resources of this type
API authorization using a hue-application-key header
HTTP status code 200
Request was on resource path was successful. Result of request is in data.
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
- data: required(array of GeolocationGet)
Items: GeolocationGet
- id: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
Unique identifier representing a specific resource instance
- id_v1: (string – pattern: ^(\/[a-z]{4,32}\/[0-9a-zA-Z-]{1,32})?$)
Clip v1 resource identifier
- type: required(geolocation)
Type of the supported resources
- is_configured: required(boolean – default: false)
is the geolocation configured
- sun_today: (object)
Info related to today's sun (only available when geolocation has been configured)
- sunset_time: required(time-only)
time of day at sunset (in local time, and only valid on normal days, see property day_type)
- day_type: required(one of normal_day, polar_day, polar_night)
- sunset_time: required(time-only)
- id: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
HTTP status code 401
Client is not authorized
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 403
Client is not allowed to perform operation on this resource.
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 404
Resource or resource path does not exist
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 405
Method is not supported by the resource
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 406
Query parameter has invalid value.
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 409
Request conflict with the current state of the target resource
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 429
Too many requests
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 500
Internal Server Error
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 503
Busy, try again later.
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 507
Insufficient resources
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
Secured by hue-application-key
Headers
- hue-application-key: required(string)
API token
API calls for resource which cannot be deleted (PUT and GET on resource instance)
put /resource/geolocation/{id}
API authorization using a hue-application-key header
URI Parameters
- id: required(string)
Body
Media type: application/json
Type: object
Properties
- type: (geolocation)
Type of the supported resources
- longitude: required(number – minimum: -180 – maximum: 180)
longitude
- latitude: required(number – minimum: -90 – maximum: 90)
latitude
HTTP status code 200
Request was on resource path was successful.
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
- data: required(array of ResourceIdentifier)
Items: ResourceIdentifier
- rid: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
The unique id of the referenced resource
- rtype: required(one of device, bridge_home, room, zone, service_group, light, button, bell_button, relative_rotary, temperature, light_level, motion, camera_motion, entertainment, contact, tamper, convenience_area_motion, security_area_motion, speaker, grouped_light, grouped_motion, grouped_light_level, device_power, device_software_update, zigbee_connectivity, zgp_connectivity, bridge, motion_area_candidate, wifi_connectivity, zigbee_device_discovery, homekit, matter, matter_fabric, scene, entertainment_configuration, public_image, auth_v1, behavior_script, behavior_instance, geofence_client, geolocation, smart_scene, motion_area_configuration, clip)
The type of the referenced resource
- rid: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
HTTP status code 207
Request was partially successful, resource has been updated. Failed requests and errors are listed in error object.
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
- data: required(array of ResourceIdentifier)
Items: ResourceIdentifier
- rid: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
The unique id of the referenced resource
- rtype: required(one of device, bridge_home, room, zone, service_group, light, button, bell_button, relative_rotary, temperature, light_level, motion, camera_motion, entertainment, contact, tamper, convenience_area_motion, security_area_motion, speaker, grouped_light, grouped_motion, grouped_light_level, device_power, device_software_update, zigbee_connectivity, zgp_connectivity, bridge, motion_area_candidate, wifi_connectivity, zigbee_device_discovery, homekit, matter, matter_fabric, scene, entertainment_configuration, public_image, auth_v1, behavior_script, behavior_instance, geofence_client, geolocation, smart_scene, motion_area_configuration, clip)
The type of the referenced resource
- rid: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
HTTP status code 400
Request was on resource path was unsuccessful, body of request contains errors.
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 401
Client is not authorized
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 403
Client is not allowed to perform operation on this resource.
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 404
Resource or resource path does not exist
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 405
Method is not supported by the resource
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 409
Request conflict with the current state of the target resource
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 429
Too many requests
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 500
Internal Server Error
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 503
Busy, try again later.
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 507
Insufficient resources
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
Secured by hue-application-key
Headers
- hue-application-key: required(string)
API token
get /resource/geolocation/{id}
API authorization using a hue-application-key header
URI Parameters
- id: required(string)
HTTP status code 200
Request was on resource path was successful. Result of request is in data.
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
- data: required(array of GeolocationGet)
Items: GeolocationGet
- id: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
Unique identifier representing a specific resource instance
- id_v1: (string – pattern: ^(\/[a-z]{4,32}\/[0-9a-zA-Z-]{1,32})?$)
Clip v1 resource identifier
- type: required(geolocation)
Type of the supported resources
- is_configured: required(boolean – default: false)
is the geolocation configured
- sun_today: (object)
Info related to today's sun (only available when geolocation has been configured)
- sunset_time: required(time-only)
time of day at sunset (in local time, and only valid on normal days, see property day_type)
- day_type: required(one of normal_day, polar_day, polar_night)
- sunset_time: required(time-only)
- id: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
HTTP status code 401
Client is not authorized
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 403
Client is not allowed to perform operation on this resource.
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 404
Resource or resource path does not exist
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 405
Method is not supported by the resource
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 409
Request conflict with the current state of the target resource
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 429
Too many requests
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 500
Internal Server Error
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 503
Busy, try again later.
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 507
Insufficient resources
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
Secured by hue-application-key
Headers
- hue-application-key: required(string)
API token
/resource/entertainment_configuration
API to manage entertainment configurations, used for Hue Entertainment functionality
create a new resource of this type
List all resources of this type
post /resource/entertainment_configuration
create a new resource of this type
API authorization using a hue-application-key header
Body
Media type: application/json
Type: object
Properties
- type: (entertainment_configuration)
- metadata: required(object)
- name: required(string – minLength: 1 – maxLength: 32)
Friendly name of the entertainment configuration
- name: required(string – minLength: 1 – maxLength: 32)
- configuration_type: required(one of screen, monitor, music, 3dspace, other)
Defines for which type of application this channel assignment was optimized for “screen”: Channels are organized around content from a screen “monitor”: Channels are organized around content from one or several monitors “music”: Channels are organized for music synchronization “3dspace: Channels are organized to provide 3d spacial effects “other”: General use case
- stream_proxy: (object)
- mode: required(one of auto, manual)
Proxymode used for this group
- auto – The bridge will select a proxynode automatically. – manual – The proxynode has been set manually
- node: (object)
Reference to the device acting as proxy The proxynode relays the entertainment traffic and should be located in or close to all entertainment lamps in this group. The proxynode set by the application (manual) resp selected by the bridge (auto). Writing sets proxymode to “manual”. Is not allowed to be combined with attribute “proxymode”:”auto” Can be type BridgeDevice or ZigbeeDevice
- rid: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
The unique id of the referenced resource
- rtype: required(one of device, bridge_home, room, zone, service_group, light, button, bell_button, relative_rotary, temperature, light_level, motion, camera_motion, entertainment, contact, tamper, convenience_area_motion, security_area_motion, speaker, grouped_light, grouped_motion, grouped_light_level, device_power, device_software_update, zigbee_connectivity, zgp_connectivity, bridge, motion_area_candidate, wifi_connectivity, zigbee_device_discovery, homekit, matter, matter_fabric, scene, entertainment_configuration, public_image, auth_v1, behavior_script, behavior_instance, geofence_client, geolocation, smart_scene, motion_area_configuration, clip)
The type of the referenced resource
- rid: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
- mode: required(one of auto, manual)
- locations: required(object)
Entertainment services of the lights that are in the zone have locations
- service_locations: required(array of ServiceLocationPost)
Items: ServiceLocationPost
- service: required(object)
- rid: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
The unique id of the referenced resource
- rtype: required(one of device, bridge_home, room, zone, service_group, light, button, bell_button, relative_rotary, temperature, light_level, motion, camera_motion, entertainment, contact, tamper, convenience_area_motion, security_area_motion, speaker, grouped_light, grouped_motion, grouped_light_level, device_power, device_software_update, zigbee_connectivity, zgp_connectivity, bridge, motion_area_candidate, wifi_connectivity, zigbee_device_discovery, homekit, matter, matter_fabric, scene, entertainment_configuration, public_image, auth_v1, behavior_script, behavior_instance, geofence_client, geolocation, smart_scene, motion_area_configuration, clip)
The type of the referenced resource
- rid: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
- positions: required(array of Position – minItems: 1 – maxItems: 2)
Describes the location of the service.
Items: Position
- x: required(number – minimum: -1 – maximum: 1)
Coordinate of a single axis
- y: required(number – minimum: -1 – maximum: 1)
Coordinate of a single axis
- z: required(number – minimum: -1 – maximum: 1)
Coordinate of a single axis
- x: required(number – minimum: -1 – maximum: 1)
- service: required(object)
- service_locations: required(array of ServiceLocationPost)
HTTP status code 201
Resource has been created
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
- data: required(array of ResourceIdentifier)
Items: ResourceIdentifier
- rid: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
The unique id of the referenced resource
- rtype: required(one of device, bridge_home, room, zone, service_group, light, button, bell_button, relative_rotary, temperature, light_level, motion, camera_motion, entertainment, contact, tamper, convenience_area_motion, security_area_motion, speaker, grouped_light, grouped_motion, grouped_light_level, device_power, device_software_update, zigbee_connectivity, zgp_connectivity, bridge, motion_area_candidate, wifi_connectivity, zigbee_device_discovery, homekit, matter, matter_fabric, scene, entertainment_configuration, public_image, auth_v1, behavior_script, behavior_instance, geofence_client, geolocation, smart_scene, motion_area_configuration, clip)
The type of the referenced resource
- rid: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
HTTP status code 400
Request was on resource path was unsuccessful, body of request contains errors.
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 401
Client is not authorized
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 403
Client is not allowed to perform operation on this resource.
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 404
Resource or resource path does not exist
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 405
Method is not supported by the resource
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 409
Request conflict with the current state of the target resource
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 429
Too many requests
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 500
Internal Server Error
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 503
Busy, try again later.
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 507
Insufficient resources
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
Secured by hue-application-key
Headers
- hue-application-key: required(string)
API token
get /resource/entertainment_configuration
List all resources of this type
API authorization using a hue-application-key header
HTTP status code 200
Request was on resource path was successful. Result of request is in data.
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
- data: required(array of EntertainmentConfigurationGet)
Items: EntertainmentConfigurationGet
- id: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
Unique identifier representing a specific resource instance
- id_v1: (string – pattern: ^(\/[a-z]{4,32}\/[0-9a-zA-Z-]{1,32})?$)
Clip v1 resource identifier
- type: required(entertainment_configuration)
- metadata: required(object)
- name: required(string – minLength: 1 – maxLength: 32)
Friendly name of the entertainment configuration
- name: required(string – minLength: 1 – maxLength: 32)
- name: (string – minLength: 1 – maxLength: 32)
Friendly name of the entertainment configuration Deprecated: use metadata/name
- configuration_type: required(one of screen, monitor, music, 3dspace, other)
Defines for which type of application this channel assignment was optimized for “screen”: Channels are organized around content from a screen “monitor”: Channels are organized around content from one or several monitors “music”: Channels are organized for music synchronization “3dspace: Channels are organized to provide 3d spacial effects “other”: General use case
- status: required(one of active, inactive)
Read only field reporting if the stream is active or not
- active_streamer: (object)
Expected value is of a ResourceIdentifier of the type auth_v1 i.e. an application id, only available if status is active
- rid: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
The unique id of the referenced resource
- rtype: required(one of device, bridge_home, room, zone, service_group, light, button, bell_button, relative_rotary, temperature, light_level, motion, camera_motion, entertainment, contact, tamper, convenience_area_motion, security_area_motion, speaker, grouped_light, grouped_motion, grouped_light_level, device_power, device_software_update, zigbee_connectivity, zgp_connectivity, bridge, motion_area_candidate, wifi_connectivity, zigbee_device_discovery, homekit, matter, matter_fabric, scene, entertainment_configuration, public_image, auth_v1, behavior_script, behavior_instance, geofence_client, geolocation, smart_scene, motion_area_configuration, clip)
The type of the referenced resource
- rid: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
- stream_proxy: required(object)
- mode: required(one of auto, manual)
Proxymode used for this group
- auto – The bridge will select a proxynode automatically. – manual – The proxynode has been set manually
- node: required(object)
Reference to the device acting as proxy The proxynode relays the entertainment traffic and should be located in or close to all entertainment lamps in this group. The proxynode set by the application (manual) resp selected by the bridge (auto). Writing sets proxymode to “manual”. Is not allowed to be combined with attribute “proxymode”:”auto” Can be type BridgeDevice or ZigbeeDevice
- rid: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
The unique id of the referenced resource
- rtype: required(one of device, bridge_home, room, zone, service_group, light, button, bell_button, relative_rotary, temperature, light_level, motion, camera_motion, entertainment, contact, tamper, convenience_area_motion, security_area_motion, speaker, grouped_light, grouped_motion, grouped_light_level, device_power, device_software_update, zigbee_connectivity, zgp_connectivity, bridge, motion_area_candidate, wifi_connectivity, zigbee_device_discovery, homekit, matter, matter_fabric, scene, entertainment_configuration, public_image, auth_v1, behavior_script, behavior_instance, geofence_client, geolocation, smart_scene, motion_area_configuration, clip)
The type of the referenced resource
- rid: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
- mode: required(one of auto, manual)
- channels: required(array of EntertainmentChannelGet)
Holds the channels. Each channel groups segments of one or different light
Items: EntertainmentChannelGet
- channel_id: required(integer – minimum: 0 – maximum: 255)
Bridge assigns a number upon creation. This is the number to be used by the HueStream API when addressing the channel
- position: required(object)
xyz position of this channel. It is the average position of its members
- x: required(number – minimum: -1 – maximum: 1)
Coordinate of a single axis
- y: required(number – minimum: -1 – maximum: 1)
Coordinate of a single axis
- z: required(number – minimum: -1 – maximum: 1)
Coordinate of a single axis
- x: required(number – minimum: -1 – maximum: 1)
- members: required(array of SegmentReference)
List that references segments that are members of that channel
Items: SegmentReference
- service: required(object)
- rid: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
The unique id of the referenced resource
- rtype: required(one of device, bridge_home, room, zone, service_group, light, button, bell_button, relative_rotary, temperature, light_level, motion, camera_motion, entertainment, contact, tamper, convenience_area_motion, security_area_motion, speaker, grouped_light, grouped_motion, grouped_light_level, device_power, device_software_update, zigbee_connectivity, zgp_connectivity, bridge, motion_area_candidate, wifi_connectivity, zigbee_device_discovery, homekit, matter, matter_fabric, scene, entertainment_configuration, public_image, auth_v1, behavior_script, behavior_instance, geofence_client, geolocation, smart_scene, motion_area_configuration, clip)
The type of the referenced resource
- rid: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
- index: required(integer)
- service: required(object)
- channel_id: required(integer – minimum: 0 – maximum: 255)
- locations: required(object)
Entertainment services of the lights that are in the zone have locations
- service_locations: required(array of ServiceLocationGet)
Items: ServiceLocationGet
- service: required(object)
- rid: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
The unique id of the referenced resource
- rtype: required(one of device, bridge_home, room, zone, service_group, light, button, bell_button, relative_rotary, temperature, light_level, motion, camera_motion, entertainment, contact, tamper, convenience_area_motion, security_area_motion, speaker, grouped_light, grouped_motion, grouped_light_level, device_power, device_software_update, zigbee_connectivity, zgp_connectivity, bridge, motion_area_candidate, wifi_connectivity, zigbee_device_discovery, homekit, matter, matter_fabric, scene, entertainment_configuration, public_image, auth_v1, behavior_script, behavior_instance, geofence_client, geolocation, smart_scene, motion_area_configuration, clip)
The type of the referenced resource
- rid: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
- position: (object)
Describes the location of the service. Deprecated: use positions
- x: required(number – minimum: -1 – maximum: 1)
Coordinate of a single axis
- y: required(number – minimum: -1 – maximum: 1)
Coordinate of a single axis
- z: required(number – minimum: -1 – maximum: 1)
Coordinate of a single axis
- x: required(number – minimum: -1 – maximum: 1)
- positions: required(array of Position – minItems: 1 – maxItems: 2)
Describes the location of the service.
Items: Position
- x: required(number – minimum: -1 – maximum: 1)
Coordinate of a single axis
- y: required(number – minimum: -1 – maximum: 1)
Coordinate of a single axis
- z: required(number – minimum: -1 – maximum: 1)
Coordinate of a single axis
- x: required(number – minimum: -1 – maximum: 1)
- equalization_factor: required(number – default: 1 – maximum: 1)
Relative equalization factor applied to the entertainment service, to compensate for differences in brightness in the entertainment configuration. Value cannot be 0, writing 0 changes it to lowest possible value.
- service: required(object)
- service_locations: required(array of ServiceLocationGet)
- light_services: (array of ResourceIdentifier)
List of light services that belong to this entertainment configuration Deprecated: resolve via entertainment services in locations object
Items: ResourceIdentifier
- rid: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
The unique id of the referenced resource
- rtype: required(one of device, bridge_home, room, zone, service_group, light, button, bell_button, relative_rotary, temperature, light_level, motion, camera_motion, entertainment, contact, tamper, convenience_area_motion, security_area_motion, speaker, grouped_light, grouped_motion, grouped_light_level, device_power, device_software_update, zigbee_connectivity, zgp_connectivity, bridge, motion_area_candidate, wifi_connectivity, zigbee_device_discovery, homekit, matter, matter_fabric, scene, entertainment_configuration, public_image, auth_v1, behavior_script, behavior_instance, geofence_client, geolocation, smart_scene, motion_area_configuration, clip)
The type of the referenced resource
- rid: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
- id: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
HTTP status code 401
Client is not authorized
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 403
Client is not allowed to perform operation on this resource.
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 404
Resource or resource path does not exist
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 405
Method is not supported by the resource
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 406
Query parameter has invalid value.
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 409
Request conflict with the current state of the target resource
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 429
Too many requests
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 500
Internal Server Error
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 503
Busy, try again later.
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 507
Insufficient resources
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
Secured by hue-application-key
Headers
- hue-application-key: required(string)
API token
API calls to read, update and delete a resource instance
delete /resource/entertainment_configuration/{id}
API authorization using a hue-application-key header
URI Parameters
- id: required(string)
HTTP status code 200
Resource has been deleted
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
- data: required(array of ResourceIdentifier)
Items: ResourceIdentifier
- rid: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
The unique id of the referenced resource
- rtype: required(one of device, bridge_home, room, zone, service_group, light, button, bell_button, relative_rotary, temperature, light_level, motion, camera_motion, entertainment, contact, tamper, convenience_area_motion, security_area_motion, speaker, grouped_light, grouped_motion, grouped_light_level, device_power, device_software_update, zigbee_connectivity, zgp_connectivity, bridge, motion_area_candidate, wifi_connectivity, zigbee_device_discovery, homekit, matter, matter_fabric, scene, entertainment_configuration, public_image, auth_v1, behavior_script, behavior_instance, geofence_client, geolocation, smart_scene, motion_area_configuration, clip)
The type of the referenced resource
- rid: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
HTTP status code 401
Client is not authorized
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 403
Client is not allowed to perform operation on this resource.
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 404
Resource or resource path does not exist
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 405
Method is not supported by the resource
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 409
Request conflict with the current state of the target resource
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 429
Too many requests
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 500
Internal Server Error
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 503
Busy, try again later.
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 507
Insufficient resources
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
Secured by hue-application-key
Headers
- hue-application-key: required(string)
API token
put /resource/entertainment_configuration/{id}
API authorization using a hue-application-key header
URI Parameters
- id: required(string)
Body
Media type: application/json
Type: object
Properties
- type: (entertainment_configuration)
- metadata: (object)
- name: required(string – minLength: 1 – maxLength: 32)
Friendly name of the entertainment configuration
- name: required(string – minLength: 1 – maxLength: 32)
- configuration_type: (one of screen, monitor, music, 3dspace, other)
Defines for which type of application this channel assignment was optimized for “screen”: Channels are organized around content from a screen “monitor”: Channels are organized around content from one or several monitors “music”: Channels are organized for music synchronization “3dspace: Channels are organized to provide 3d spacial effects “other”: General use case
- action: (one of start, stop)
If status is “inactive” -> write start to start streaming. Writing start when it's already active does not change the owership of the streaming. If status is “active” -> write “stop” to end the current streaming. In order to start streaming when other application is already streaming first write “stop” and then “start”
- stream_proxy: (object)
- mode: required(one of auto, manual)
Proxymode used for this group
- auto – The bridge will select a proxynode automatically. – manual – The proxynode has been set manually
- node: (object)
Reference to the device acting as proxy The proxynode relays the entertainment traffic and should be located in or close to all entertainment lamps in this group. The proxynode set by the application (manual) resp selected by the bridge (auto). Writing sets proxymode to “manual”. Is not allowed to be combined with attribute “proxymode”:”auto” Can be type BridgeDevice or ZigbeeDevice
- rid: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
The unique id of the referenced resource
- rtype: required(one of device, bridge_home, room, zone, service_group, light, button, bell_button, relative_rotary, temperature, light_level, motion, camera_motion, entertainment, contact, tamper, convenience_area_motion, security_area_motion, speaker, grouped_light, grouped_motion, grouped_light_level, device_power, device_software_update, zigbee_connectivity, zgp_connectivity, bridge, motion_area_candidate, wifi_connectivity, zigbee_device_discovery, homekit, matter, matter_fabric, scene, entertainment_configuration, public_image, auth_v1, behavior_script, behavior_instance, geofence_client, geolocation, smart_scene, motion_area_configuration, clip)
The type of the referenced resource
- rid: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
- mode: required(one of auto, manual)
- locations: (object)
Entertainment services of the lights that are in the zone have locations
- service_locations: required(array of ServiceLocationPut)
Items: ServiceLocationPut
- service: required(object)
- rid: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
The unique id of the referenced resource
- rtype: required(one of device, bridge_home, room, zone, service_group, light, button, bell_button, relative_rotary, temperature, light_level, motion, camera_motion, entertainment, contact, tamper, convenience_area_motion, security_area_motion, speaker, grouped_light, grouped_motion, grouped_light_level, device_power, device_software_update, zigbee_connectivity, zgp_connectivity, bridge, motion_area_candidate, wifi_connectivity, zigbee_device_discovery, homekit, matter, matter_fabric, scene, entertainment_configuration, public_image, auth_v1, behavior_script, behavior_instance, geofence_client, geolocation, smart_scene, motion_area_configuration, clip)
The type of the referenced resource
- rid: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
- positions: required(array of Position – minItems: 1 – maxItems: 2)
Describes the location of the service.
Items: Position
- x: required(number – minimum: -1 – maximum: 1)
Coordinate of a single axis
- y: required(number – minimum: -1 – maximum: 1)
Coordinate of a single axis
- z: required(number – minimum: -1 – maximum: 1)
Coordinate of a single axis
- x: required(number – minimum: -1 – maximum: 1)
- equalization_factor: (number – default: 1 – maximum: 1)
Relative equalization factor applied to the entertainment service, to compensate for differences in brightness in the entertainment configuration. Value cannot be 0, writing 0 changes it to lowest possible value.
- service: required(object)
- service_locations: required(array of ServiceLocationPut)
HTTP status code 200
Request was on resource path was successful.
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
- data: required(array of ResourceIdentifier)
Items: ResourceIdentifier
- rid: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
The unique id of the referenced resource
- rtype: required(one of device, bridge_home, room, zone, service_group, light, button, bell_button, relative_rotary, temperature, light_level, motion, camera_motion, entertainment, contact, tamper, convenience_area_motion, security_area_motion, speaker, grouped_light, grouped_motion, grouped_light_level, device_power, device_software_update, zigbee_connectivity, zgp_connectivity, bridge, motion_area_candidate, wifi_connectivity, zigbee_device_discovery, homekit, matter, matter_fabric, scene, entertainment_configuration, public_image, auth_v1, behavior_script, behavior_instance, geofence_client, geolocation, smart_scene, motion_area_configuration, clip)
The type of the referenced resource
- rid: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
HTTP status code 207
Request was partially successful, resource has been updated. Failed requests and errors are listed in error object.
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
- data: required(array of ResourceIdentifier)
Items: ResourceIdentifier
- rid: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
The unique id of the referenced resource
- rtype: required(one of device, bridge_home, room, zone, service_group, light, button, bell_button, relative_rotary, temperature, light_level, motion, camera_motion, entertainment, contact, tamper, convenience_area_motion, security_area_motion, speaker, grouped_light, grouped_motion, grouped_light_level, device_power, device_software_update, zigbee_connectivity, zgp_connectivity, bridge, motion_area_candidate, wifi_connectivity, zigbee_device_discovery, homekit, matter, matter_fabric, scene, entertainment_configuration, public_image, auth_v1, behavior_script, behavior_instance, geofence_client, geolocation, smart_scene, motion_area_configuration, clip)
The type of the referenced resource
- rid: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
HTTP status code 400
Request was on resource path was unsuccessful, body of request contains errors.
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 401
Client is not authorized
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 403
Client is not allowed to perform operation on this resource.
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 404
Resource or resource path does not exist
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 405
Method is not supported by the resource
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 409
Request conflict with the current state of the target resource
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 429
Too many requests
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 500
Internal Server Error
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 503
Busy, try again later.
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 507
Insufficient resources
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
Secured by hue-application-key
Headers
- hue-application-key: required(string)
API token
get /resource/entertainment_configuration/{id}
API authorization using a hue-application-key header
URI Parameters
- id: required(string)
HTTP status code 200
Request was on resource path was successful. Result of request is in data.
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
- data: required(array of EntertainmentConfigurationGet)
Items: EntertainmentConfigurationGet
- id: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
Unique identifier representing a specific resource instance
- id_v1: (string – pattern: ^(\/[a-z]{4,32}\/[0-9a-zA-Z-]{1,32})?$)
Clip v1 resource identifier
- type: required(entertainment_configuration)
- metadata: required(object)
- name: required(string – minLength: 1 – maxLength: 32)
Friendly name of the entertainment configuration
- name: required(string – minLength: 1 – maxLength: 32)
- name: (string – minLength: 1 – maxLength: 32)
Friendly name of the entertainment configuration Deprecated: use metadata/name
- configuration_type: required(one of screen, monitor, music, 3dspace, other)
Defines for which type of application this channel assignment was optimized for “screen”: Channels are organized around content from a screen “monitor”: Channels are organized around content from one or several monitors “music”: Channels are organized for music synchronization “3dspace: Channels are organized to provide 3d spacial effects “other”: General use case
- status: required(one of active, inactive)
Read only field reporting if the stream is active or not
- active_streamer: (object)
Expected value is of a ResourceIdentifier of the type auth_v1 i.e. an application id, only available if status is active
- rid: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
The unique id of the referenced resource
- rtype: required(one of device, bridge_home, room, zone, service_group, light, button, bell_button, relative_rotary, temperature, light_level, motion, camera_motion, entertainment, contact, tamper, convenience_area_motion, security_area_motion, speaker, grouped_light, grouped_motion, grouped_light_level, device_power, device_software_update, zigbee_connectivity, zgp_connectivity, bridge, motion_area_candidate, wifi_connectivity, zigbee_device_discovery, homekit, matter, matter_fabric, scene, entertainment_configuration, public_image, auth_v1, behavior_script, behavior_instance, geofence_client, geolocation, smart_scene, motion_area_configuration, clip)
The type of the referenced resource
- rid: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
- stream_proxy: required(object)
- mode: required(one of auto, manual)
Proxymode used for this group
- auto – The bridge will select a proxynode automatically. – manual – The proxynode has been set manually
- node: required(object)
Reference to the device acting as proxy The proxynode relays the entertainment traffic and should be located in or close to all entertainment lamps in this group. The proxynode set by the application (manual) resp selected by the bridge (auto). Writing sets proxymode to “manual”. Is not allowed to be combined with attribute “proxymode”:”auto” Can be type BridgeDevice or ZigbeeDevice
- rid: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
The unique id of the referenced resource
- rtype: required(one of device, bridge_home, room, zone, service_group, light, button, bell_button, relative_rotary, temperature, light_level, motion, camera_motion, entertainment, contact, tamper, convenience_area_motion, security_area_motion, speaker, grouped_light, grouped_motion, grouped_light_level, device_power, device_software_update, zigbee_connectivity, zgp_connectivity, bridge, motion_area_candidate, wifi_connectivity, zigbee_device_discovery, homekit, matter, matter_fabric, scene, entertainment_configuration, public_image, auth_v1, behavior_script, behavior_instance, geofence_client, geolocation, smart_scene, motion_area_configuration, clip)
The type of the referenced resource
- rid: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
- mode: required(one of auto, manual)
- channels: required(array of EntertainmentChannelGet)
Holds the channels. Each channel groups segments of one or different light
Items: EntertainmentChannelGet
- channel_id: required(integer – minimum: 0 – maximum: 255)
Bridge assigns a number upon creation. This is the number to be used by the HueStream API when addressing the channel
- position: required(object)
xyz position of this channel. It is the average position of its members
- x: required(number – minimum: -1 – maximum: 1)
Coordinate of a single axis
- y: required(number – minimum: -1 – maximum: 1)
Coordinate of a single axis
- z: required(number – minimum: -1 – maximum: 1)
Coordinate of a single axis
- x: required(number – minimum: -1 – maximum: 1)
- members: required(array of SegmentReference)
List that references segments that are members of that channel
Items: SegmentReference
- service: required(object)
- rid: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
The unique id of the referenced resource
- rtype: required(one of device, bridge_home, room, zone, service_group, light, button, bell_button, relative_rotary, temperature, light_level, motion, camera_motion, entertainment, contact, tamper, convenience_area_motion, security_area_motion, speaker, grouped_light, grouped_motion, grouped_light_level, device_power, device_software_update, zigbee_connectivity, zgp_connectivity, bridge, motion_area_candidate, wifi_connectivity, zigbee_device_discovery, homekit, matter, matter_fabric, scene, entertainment_configuration, public_image, auth_v1, behavior_script, behavior_instance, geofence_client, geolocation, smart_scene, motion_area_configuration, clip)
The type of the referenced resource
- rid: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
- index: required(integer)
- service: required(object)
- channel_id: required(integer – minimum: 0 – maximum: 255)
- locations: required(object)
Entertainment services of the lights that are in the zone have locations
- service_locations: required(array of ServiceLocationGet)
Items: ServiceLocationGet
- service: required(object)
- rid: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
The unique id of the referenced resource
- rtype: required(one of device, bridge_home, room, zone, service_group, light, button, bell_button, relative_rotary, temperature, light_level, motion, camera_motion, entertainment, contact, tamper, convenience_area_motion, security_area_motion, speaker, grouped_light, grouped_motion, grouped_light_level, device_power, device_software_update, zigbee_connectivity, zgp_connectivity, bridge, motion_area_candidate, wifi_connectivity, zigbee_device_discovery, homekit, matter, matter_fabric, scene, entertainment_configuration, public_image, auth_v1, behavior_script, behavior_instance, geofence_client, geolocation, smart_scene, motion_area_configuration, clip)
The type of the referenced resource
- rid: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
- position: (object)
Describes the location of the service. Deprecated: use positions
- x: required(number – minimum: -1 – maximum: 1)
Coordinate of a single axis
- y: required(number – minimum: -1 – maximum: 1)
Coordinate of a single axis
- z: required(number – minimum: -1 – maximum: 1)
Coordinate of a single axis
- x: required(number – minimum: -1 – maximum: 1)
- positions: required(array of Position – minItems: 1 – maxItems: 2)
Describes the location of the service.
Items: Position
- x: required(number – minimum: -1 – maximum: 1)
Coordinate of a single axis
- y: required(number – minimum: -1 – maximum: 1)
Coordinate of a single axis
- z: required(number – minimum: -1 – maximum: 1)
Coordinate of a single axis
- x: required(number – minimum: -1 – maximum: 1)
- equalization_factor: required(number – default: 1 – maximum: 1)
Relative equalization factor applied to the entertainment service, to compensate for differences in brightness in the entertainment configuration. Value cannot be 0, writing 0 changes it to lowest possible value.
- service: required(object)
- service_locations: required(array of ServiceLocationGet)
- light_services: (array of ResourceIdentifier)
List of light services that belong to this entertainment configuration Deprecated: resolve via entertainment services in locations object
Items: ResourceIdentifier
- rid: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
The unique id of the referenced resource
- rtype: required(one of device, bridge_home, room, zone, service_group, light, button, bell_button, relative_rotary, temperature, light_level, motion, camera_motion, entertainment, contact, tamper, convenience_area_motion, security_area_motion, speaker, grouped_light, grouped_motion, grouped_light_level, device_power, device_software_update, zigbee_connectivity, zgp_connectivity, bridge, motion_area_candidate, wifi_connectivity, zigbee_device_discovery, homekit, matter, matter_fabric, scene, entertainment_configuration, public_image, auth_v1, behavior_script, behavior_instance, geofence_client, geolocation, smart_scene, motion_area_configuration, clip)
The type of the referenced resource
- rid: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
- id: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
HTTP status code 401
Client is not authorized
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 403
Client is not allowed to perform operation on this resource.
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 404
Resource or resource path does not exist
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 405
Method is not supported by the resource
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 409
Request conflict with the current state of the target resource
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 429
Too many requests
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 500
Internal Server Error
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 503
Busy, try again later.
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 507
Insufficient resources
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
Secured by hue-application-key
Headers
- hue-application-key: required(string)
API token
/resource/entertainment
API to manage entertainment services. These are offered by devices with color lighting capabilities.
List all resources of this type
get /resource/entertainment
List all resources of this type
API authorization using a hue-application-key header
HTTP status code 200
Request was on resource path was successful. Result of request is in data.
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
- data: required(array of EntertainmentGet)
Items: EntertainmentGet
- id: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
Unique identifier representing a specific resource instance
- id_v1: (string – pattern: ^(\/[a-z]{4,32}\/[0-9a-zA-Z-]{1,32})?$)
Clip v1 resource identifier
- owner: required(object)
Owner of the service, in case the owner service is deleted, the service also gets deleted
- rid: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
The unique id of the referenced resource
- rtype: required(one of device, bridge_home, room, zone, service_group, light, button, bell_button, relative_rotary, temperature, light_level, motion, camera_motion, entertainment, contact, tamper, convenience_area_motion, security_area_motion, speaker, grouped_light, grouped_motion, grouped_light_level, device_power, device_software_update, zigbee_connectivity, zgp_connectivity, bridge, motion_area_candidate, wifi_connectivity, zigbee_device_discovery, homekit, matter, matter_fabric, scene, entertainment_configuration, public_image, auth_v1, behavior_script, behavior_instance, geofence_client, geolocation, smart_scene, motion_area_configuration, clip)
The type of the referenced resource
- rid: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
- type: required(entertainment)
- renderer: required(boolean)
Indicates if a lamp can be used for entertainment streaming as renderer
- renderer_reference: (object)
Indicates which light service is linked to this entertainment service
- rid: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
The unique id of the referenced resource
- rtype: required(one of device, bridge_home, room, zone, service_group, light, button, bell_button, relative_rotary, temperature, light_level, motion, camera_motion, entertainment, contact, tamper, convenience_area_motion, security_area_motion, speaker, grouped_light, grouped_motion, grouped_light_level, device_power, device_software_update, zigbee_connectivity, zgp_connectivity, bridge, motion_area_candidate, wifi_connectivity, zigbee_device_discovery, homekit, matter, matter_fabric, scene, entertainment_configuration, public_image, auth_v1, behavior_script, behavior_instance, geofence_client, geolocation, smart_scene, motion_area_configuration, clip)
The type of the referenced resource
- rid: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
- proxy: required(boolean)
Indicates if a lamp can be used for entertainment streaming as a proxy node
- equalizer: required(boolean)
Indicates if a lamp can handle the equalization factor to dimming maximum brightness in a stream
- max_streams: (integer – minimum: 1)
Indicates the maximum number of parallel streaming sessions the bridge supports
- segments: (object)
Holds all parameters concerning the segmentations capabilities of a device
- configurable: required(boolean)
Defines if the segmentation of the device are configurable or not
- max_segments: required(integer – minimum: 1)
- segments: required(array of Segment – minItems: 1)
Contains the segments configuration of the device for entertainment purposes. A device can be segmented in a single way
Items: Segment
- start: required(integer – minimum: 0)
- length: required(integer – minimum: 1)
- configurable: required(boolean)
- id: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
HTTP status code 401
Client is not authorized
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 403
Client is not allowed to perform operation on this resource.
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 404
Resource or resource path does not exist
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 405
Method is not supported by the resource
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 406
Query parameter has invalid value.
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 409
Request conflict with the current state of the target resource
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 429
Too many requests
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 500
Internal Server Error
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 503
Busy, try again later.
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 507
Insufficient resources
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
Secured by hue-application-key
Headers
- hue-application-key: required(string)
API token
API calls for resource which cannot be deleted (PUT and GET on resource instance)
put /resource/entertainment/{id}
API authorization using a hue-application-key header
URI Parameters
- id: required(string)
Body
Media type: application/json
Type: object
Properties
- type: (entertainment)
HTTP status code 200
Request was on resource path was successful.
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
- data: required(array of ResourceIdentifier)
Items: ResourceIdentifier
- rid: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
The unique id of the referenced resource
- rtype: required(one of device, bridge_home, room, zone, service_group, light, button, bell_button, relative_rotary, temperature, light_level, motion, camera_motion, entertainment, contact, tamper, convenience_area_motion, security_area_motion, speaker, grouped_light, grouped_motion, grouped_light_level, device_power, device_software_update, zigbee_connectivity, zgp_connectivity, bridge, motion_area_candidate, wifi_connectivity, zigbee_device_discovery, homekit, matter, matter_fabric, scene, entertainment_configuration, public_image, auth_v1, behavior_script, behavior_instance, geofence_client, geolocation, smart_scene, motion_area_configuration, clip)
The type of the referenced resource
- rid: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
HTTP status code 207
Request was partially successful, resource has been updated. Failed requests and errors are listed in error object.
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
- data: required(array of ResourceIdentifier)
Items: ResourceIdentifier
- rid: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
The unique id of the referenced resource
- rtype: required(one of device, bridge_home, room, zone, service_group, light, button, bell_button, relative_rotary, temperature, light_level, motion, camera_motion, entertainment, contact, tamper, convenience_area_motion, security_area_motion, speaker, grouped_light, grouped_motion, grouped_light_level, device_power, device_software_update, zigbee_connectivity, zgp_connectivity, bridge, motion_area_candidate, wifi_connectivity, zigbee_device_discovery, homekit, matter, matter_fabric, scene, entertainment_configuration, public_image, auth_v1, behavior_script, behavior_instance, geofence_client, geolocation, smart_scene, motion_area_configuration, clip)
The type of the referenced resource
- rid: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
HTTP status code 400
Request was on resource path was unsuccessful, body of request contains errors.
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 401
Client is not authorized
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 403
Client is not allowed to perform operation on this resource.
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 404
Resource or resource path does not exist
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 405
Method is not supported by the resource
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 409
Request conflict with the current state of the target resource
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 429
Too many requests
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 500
Internal Server Error
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 503
Busy, try again later.
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 507
Insufficient resources
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
Secured by hue-application-key
Headers
- hue-application-key: required(string)
API token
get /resource/entertainment/{id}
API authorization using a hue-application-key header
URI Parameters
- id: required(string)
HTTP status code 200
Request was on resource path was successful. Result of request is in data.
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
- data: required(array of EntertainmentGet)
Items: EntertainmentGet
- id: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
Unique identifier representing a specific resource instance
- id_v1: (string – pattern: ^(\/[a-z]{4,32}\/[0-9a-zA-Z-]{1,32})?$)
Clip v1 resource identifier
- owner: required(object)
Owner of the service, in case the owner service is deleted, the service also gets deleted
- rid: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
The unique id of the referenced resource
- rtype: required(one of device, bridge_home, room, zone, service_group, light, button, bell_button, relative_rotary, temperature, light_level, motion, camera_motion, entertainment, contact, tamper, convenience_area_motion, security_area_motion, speaker, grouped_light, grouped_motion, grouped_light_level, device_power, device_software_update, zigbee_connectivity, zgp_connectivity, bridge, motion_area_candidate, wifi_connectivity, zigbee_device_discovery, homekit, matter, matter_fabric, scene, entertainment_configuration, public_image, auth_v1, behavior_script, behavior_instance, geofence_client, geolocation, smart_scene, motion_area_configuration, clip)
The type of the referenced resource
- rid: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
- type: required(entertainment)
- renderer: required(boolean)
Indicates if a lamp can be used for entertainment streaming as renderer
- renderer_reference: (object)
Indicates which light service is linked to this entertainment service
- rid: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
The unique id of the referenced resource
- rtype: required(one of device, bridge_home, room, zone, service_group, light, button, bell_button, relative_rotary, temperature, light_level, motion, camera_motion, entertainment, contact, tamper, convenience_area_motion, security_area_motion, speaker, grouped_light, grouped_motion, grouped_light_level, device_power, device_software_update, zigbee_connectivity, zgp_connectivity, bridge, motion_area_candidate, wifi_connectivity, zigbee_device_discovery, homekit, matter, matter_fabric, scene, entertainment_configuration, public_image, auth_v1, behavior_script, behavior_instance, geofence_client, geolocation, smart_scene, motion_area_configuration, clip)
The type of the referenced resource
- rid: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
- proxy: required(boolean)
Indicates if a lamp can be used for entertainment streaming as a proxy node
- equalizer: required(boolean)
Indicates if a lamp can handle the equalization factor to dimming maximum brightness in a stream
- max_streams: (integer – minimum: 1)
Indicates the maximum number of parallel streaming sessions the bridge supports
- segments: (object)
Holds all parameters concerning the segmentations capabilities of a device
- configurable: required(boolean)
Defines if the segmentation of the device are configurable or not
- max_segments: required(integer – minimum: 1)
- segments: required(array of Segment – minItems: 1)
Contains the segments configuration of the device for entertainment purposes. A device can be segmented in a single way
Items: Segment
- start: required(integer – minimum: 0)
- length: required(integer – minimum: 1)
- configurable: required(boolean)
- id: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
HTTP status code 401
Client is not authorized
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 403
Client is not allowed to perform operation on this resource.
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 404
Resource or resource path does not exist
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 405
Method is not supported by the resource
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 409
Request conflict with the current state of the target resource
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 429
Too many requests
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 500
Internal Server Error
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 503
Busy, try again later.
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 507
Insufficient resources
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
Secured by hue-application-key
Headers
- hue-application-key: required(string)
API token
/resource/homekit
API to manage homekit service
List all resources of this type
get /resource/homekit
List all resources of this type
API authorization using a hue-application-key header
HTTP status code 200
Request was on resource path was successful. Result of request is in data.
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
- data: required(array of HomekitGet)
Items: HomekitGet
- id: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
Unique identifier representing a specific resource instance
- id_v1: (string – pattern: ^(\/[a-z]{4,32}\/[0-9a-zA-Z-]{1,32})?$)
Clip v1 resource identifier
- type: required(homekit)
Type of the supported resources
- status: required(one of paired, pairing, unpaired)
Read only field indicating whether homekit is already paired, currently open for pairing, or unpaired. Transitions: – unpaired > pairing – pushlink button press or power cycle – pairing > paired – through HAP – pairing > unpaired – 10 minutes – paired > unpaired – homekit reset.
- id: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
HTTP status code 401
Client is not authorized
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 403
Client is not allowed to perform operation on this resource.
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 404
Resource or resource path does not exist
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 405
Method is not supported by the resource
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 406
Query parameter has invalid value.
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 409
Request conflict with the current state of the target resource
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 429
Too many requests
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 500
Internal Server Error
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 503
Busy, try again later.
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 507
Insufficient resources
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
Secured by hue-application-key
Headers
- hue-application-key: required(string)
API token
API calls for resource which cannot be deleted (PUT and GET on resource instance)
put /resource/homekit/{id}
API authorization using a hue-application-key header
URI Parameters
- id: required(string)
Body
Media type: application/json
Type: object
Properties
- type: (homekit)
Type of the supported resources
- action: (homekit_reset)
Reset homekit, including removing all pairings and reset state and Bonjour service to factory settings. The Homekit will start functioning after approximately 10 seconds.
HTTP status code 200
Request was on resource path was successful.
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
- data: required(array of ResourceIdentifier)
Items: ResourceIdentifier
- rid: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
The unique id of the referenced resource
- rtype: required(one of device, bridge_home, room, zone, service_group, light, button, bell_button, relative_rotary, temperature, light_level, motion, camera_motion, entertainment, contact, tamper, convenience_area_motion, security_area_motion, speaker, grouped_light, grouped_motion, grouped_light_level, device_power, device_software_update, zigbee_connectivity, zgp_connectivity, bridge, motion_area_candidate, wifi_connectivity, zigbee_device_discovery, homekit, matter, matter_fabric, scene, entertainment_configuration, public_image, auth_v1, behavior_script, behavior_instance, geofence_client, geolocation, smart_scene, motion_area_configuration, clip)
The type of the referenced resource
- rid: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
HTTP status code 207
Request was partially successful, resource has been updated. Failed requests and errors are listed in error object.
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
- data: required(array of ResourceIdentifier)
Items: ResourceIdentifier
- rid: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
The unique id of the referenced resource
- rtype: required(one of device, bridge_home, room, zone, service_group, light, button, bell_button, relative_rotary, temperature, light_level, motion, camera_motion, entertainment, contact, tamper, convenience_area_motion, security_area_motion, speaker, grouped_light, grouped_motion, grouped_light_level, device_power, device_software_update, zigbee_connectivity, zgp_connectivity, bridge, motion_area_candidate, wifi_connectivity, zigbee_device_discovery, homekit, matter, matter_fabric, scene, entertainment_configuration, public_image, auth_v1, behavior_script, behavior_instance, geofence_client, geolocation, smart_scene, motion_area_configuration, clip)
The type of the referenced resource
- rid: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
HTTP status code 400
Request was on resource path was unsuccessful, body of request contains errors.
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 401
Client is not authorized
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 403
Client is not allowed to perform operation on this resource.
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 404
Resource or resource path does not exist
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 405
Method is not supported by the resource
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 409
Request conflict with the current state of the target resource
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 429
Too many requests
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 500
Internal Server Error
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 503
Busy, try again later.
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 507
Insufficient resources
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
Secured by hue-application-key
Headers
- hue-application-key: required(string)
API token
get /resource/homekit/{id}
API authorization using a hue-application-key header
URI Parameters
- id: required(string)
HTTP status code 200
Request was on resource path was successful. Result of request is in data.
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
- data: required(array of HomekitGet)
Items: HomekitGet
- id: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
Unique identifier representing a specific resource instance
- id_v1: (string – pattern: ^(\/[a-z]{4,32}\/[0-9a-zA-Z-]{1,32})?$)
Clip v1 resource identifier
- type: required(homekit)
Type of the supported resources
- status: required(one of paired, pairing, unpaired)
Read only field indicating whether homekit is already paired, currently open for pairing, or unpaired. Transitions: – unpaired > pairing – pushlink button press or power cycle – pairing > paired – through HAP – pairing > unpaired – 10 minutes – paired > unpaired – homekit reset.
- id: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
HTTP status code 401
Client is not authorized
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 403
Client is not allowed to perform operation on this resource.
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 404
Resource or resource path does not exist
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 405
Method is not supported by the resource
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 409
Request conflict with the current state of the target resource
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 429
Too many requests
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 500
Internal Server Error
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 503
Busy, try again later.
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 507
Insufficient resources
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
Secured by hue-application-key
Headers
- hue-application-key: required(string)
API token
/resource/matter
API to manage matter service
List all resources of this type
get /resource/matter
List all resources of this type
API authorization using a hue-application-key header
HTTP status code 200
Request was on resource path was successful. Result of request is in data.
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
- data: required(array of MatterGet)
Items: MatterGet
- id: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
Unique identifier representing a specific resource instance
- id_v1: (string – pattern: ^(\/[a-z]{4,32}\/[0-9a-zA-Z-]{1,32})?$)
Clip v1 resource identifier
- type: required(matter)
Type of the supported resources
- max_fabrics: required(integer)
Maximum number of fabrics that can exist at a time
- has_qr_code: required(boolean)
Indicates whether a physical QR code is present
- software_version_string: required(string – pattern: ^[0-9][A-Za-z0-9]*(?:.(?:[A-Za-z0-9]+(?:[-_][A-Za-z0-9]+)?)){1,2}$)
Indicates the software version of the matter daemon
Example:
1.5.0
- id: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
HTTP status code 401
Client is not authorized
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 403
Client is not allowed to perform operation on this resource.
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 404
Resource or resource path does not exist
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 405
Method is not supported by the resource
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 406
Query parameter has invalid value.
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 409
Request conflict with the current state of the target resource
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 429
Too many requests
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 500
Internal Server Error
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 503
Busy, try again later.
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 507
Insufficient resources
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
Secured by hue-application-key
Headers
- hue-application-key: required(string)
API token
API calls for resource which cannot be deleted (PUT and GET on resource instance)
put /resource/matter/{id}
API authorization using a hue-application-key header
URI Parameters
- id: required(string)
Body
Media type: application/json
Type: object
Properties
- type: (matter)
Type of the supported resources
- action: required(matter_reset)
matter_reset: Resets Matter, including removing all fabrics and reset state to factory settings
HTTP status code 200
Request was on resource path was successful.
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
- data: required(array of ResourceIdentifier)
Items: ResourceIdentifier
- rid: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
The unique id of the referenced resource
- rtype: required(one of device, bridge_home, room, zone, service_group, light, button, bell_button, relative_rotary, temperature, light_level, motion, camera_motion, entertainment, contact, tamper, convenience_area_motion, security_area_motion, speaker, grouped_light, grouped_motion, grouped_light_level, device_power, device_software_update, zigbee_connectivity, zgp_connectivity, bridge, motion_area_candidate, wifi_connectivity, zigbee_device_discovery, homekit, matter, matter_fabric, scene, entertainment_configuration, public_image, auth_v1, behavior_script, behavior_instance, geofence_client, geolocation, smart_scene, motion_area_configuration, clip)
The type of the referenced resource
- rid: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
HTTP status code 207
Request was partially successful, resource has been updated. Failed requests and errors are listed in error object.
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
- data: required(array of ResourceIdentifier)
Items: ResourceIdentifier
- rid: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
The unique id of the referenced resource
- rtype: required(one of device, bridge_home, room, zone, service_group, light, button, bell_button, relative_rotary, temperature, light_level, motion, camera_motion, entertainment, contact, tamper, convenience_area_motion, security_area_motion, speaker, grouped_light, grouped_motion, grouped_light_level, device_power, device_software_update, zigbee_connectivity, zgp_connectivity, bridge, motion_area_candidate, wifi_connectivity, zigbee_device_discovery, homekit, matter, matter_fabric, scene, entertainment_configuration, public_image, auth_v1, behavior_script, behavior_instance, geofence_client, geolocation, smart_scene, motion_area_configuration, clip)
The type of the referenced resource
- rid: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
HTTP status code 400
Request was on resource path was unsuccessful, body of request contains errors.
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 401
Client is not authorized
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 403
Client is not allowed to perform operation on this resource.
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 404
Resource or resource path does not exist
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 405
Method is not supported by the resource
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 409
Request conflict with the current state of the target resource
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 429
Too many requests
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 500
Internal Server Error
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 503
Busy, try again later.
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 507
Insufficient resources
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
Secured by hue-application-key
Headers
- hue-application-key: required(string)
API token
get /resource/matter/{id}
API authorization using a hue-application-key header
URI Parameters
- id: required(string)
HTTP status code 200
Request was on resource path was successful. Result of request is in data.
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
- data: required(array of MatterGet)
Items: MatterGet
- id: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
Unique identifier representing a specific resource instance
- id_v1: (string – pattern: ^(\/[a-z]{4,32}\/[0-9a-zA-Z-]{1,32})?$)
Clip v1 resource identifier
- type: required(matter)
Type of the supported resources
- max_fabrics: required(integer)
Maximum number of fabrics that can exist at a time
- has_qr_code: required(boolean)
Indicates whether a physical QR code is present
- software_version_string: required(string – pattern: ^[0-9][A-Za-z0-9]*(?:.(?:[A-Za-z0-9]+(?:[-_][A-Za-z0-9]+)?)){1,2}$)
Indicates the software version of the matter daemon
Example:
1.5.0
- id: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
HTTP status code 401
Client is not authorized
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 403
Client is not allowed to perform operation on this resource.
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 404
Resource or resource path does not exist
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 405
Method is not supported by the resource
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 409
Request conflict with the current state of the target resource
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 429
Too many requests
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 500
Internal Server Error
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 503
Busy, try again later.
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 507
Insufficient resources
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
Secured by hue-application-key
Headers
- hue-application-key: required(string)
API token
/resource/matter_fabric
API to manage matter fabrics
List all resources of this type
get /resource/matter_fabric
List all resources of this type
API authorization using a hue-application-key header
HTTP status code 200
Request was on resource path was successful. Result of request is in data.
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
- data: required(array of MatterFabricGet)
Items: MatterFabricGet
- id: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
Unique identifier representing a specific resource instance
- id_v1: (string – pattern: ^(\/[a-z]{4,32}\/[0-9a-zA-Z-]{1,32})?$)
Clip v1 resource identifier
- type: required(matter_fabric)
Type of the supported resources
- status: required(one of pending, timedout, paired)
only a fabric with status paired has label and vendor_id properties
- fabric_data: (object)
Human readable context to identify fabric
- label: required(string – minLength: 1)
Human readable context to identify fabric
- vendor_id: required(integer)
Matter vendor id of entity that created the fabric association
- label: required(string – minLength: 1)
- creation_time: required(datetime)
UTC date and time when the fabric association was created
- id: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
HTTP status code 401
Client is not authorized
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 403
Client is not allowed to perform operation on this resource.
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 404
Resource or resource path does not exist
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 405
Method is not supported by the resource
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 406
Query parameter has invalid value.
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 409
Request conflict with the current state of the target resource
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 429
Too many requests
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 500
Internal Server Error
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 503
Busy, try again later.
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 507
Insufficient resources
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
Secured by hue-application-key
Headers
- hue-application-key: required(string)
API token
API calls to read, update and delete a resource instance
delete /resource/matter_fabric/{id}
API authorization using a hue-application-key header
URI Parameters
- id: required(string)
HTTP status code 200
Resource has been deleted
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
- data: required(array of ResourceIdentifier)
Items: ResourceIdentifier
- rid: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
The unique id of the referenced resource
- rtype: required(one of device, bridge_home, room, zone, service_group, light, button, bell_button, relative_rotary, temperature, light_level, motion, camera_motion, entertainment, contact, tamper, convenience_area_motion, security_area_motion, speaker, grouped_light, grouped_motion, grouped_light_level, device_power, device_software_update, zigbee_connectivity, zgp_connectivity, bridge, motion_area_candidate, wifi_connectivity, zigbee_device_discovery, homekit, matter, matter_fabric, scene, entertainment_configuration, public_image, auth_v1, behavior_script, behavior_instance, geofence_client, geolocation, smart_scene, motion_area_configuration, clip)
The type of the referenced resource
- rid: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
HTTP status code 401
Client is not authorized
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 403
Client is not allowed to perform operation on this resource.
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 404
Resource or resource path does not exist
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 405
Method is not supported by the resource
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 409
Request conflict with the current state of the target resource
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 429
Too many requests
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 500
Internal Server Error
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 503
Busy, try again later.
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 507
Insufficient resources
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
Secured by hue-application-key
Headers
- hue-application-key: required(string)
API token
get /resource/matter_fabric/{id}
API authorization using a hue-application-key header
URI Parameters
- id: required(string)
HTTP status code 200
Request was on resource path was successful. Result of request is in data.
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
- data: required(array of MatterFabricGet)
Items: MatterFabricGet
- id: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
Unique identifier representing a specific resource instance
- id_v1: (string – pattern: ^(\/[a-z]{4,32}\/[0-9a-zA-Z-]{1,32})?$)
Clip v1 resource identifier
- type: required(matter_fabric)
Type of the supported resources
- status: required(one of pending, timedout, paired)
only a fabric with status paired has label and vendor_id properties
- fabric_data: (object)
Human readable context to identify fabric
- label: required(string – minLength: 1)
Human readable context to identify fabric
- vendor_id: required(integer)
Matter vendor id of entity that created the fabric association
- label: required(string – minLength: 1)
- creation_time: required(datetime)
UTC date and time when the fabric association was created
- id: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
HTTP status code 401
Client is not authorized
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 403
Client is not allowed to perform operation on this resource.
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 404
Resource or resource path does not exist
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 405
Method is not supported by the resource
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 409
Request conflict with the current state of the target resource
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 429
Too many requests
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 500
Internal Server Error
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 503
Busy, try again later.
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 507
Insufficient resources
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
Secured by hue-application-key
Headers
- hue-application-key: required(string)
API token
/resource/smart_scene
API to manage smart scenes
create a new resource of this type
List all resources of this type
post /resource/smart_scene
create a new resource of this type
API authorization using a hue-application-key header
Body
Media type: application/json
Type: object
Properties
- type: (smart_scene)
Type of the supported resources
- metadata: required(object)
- name: required(string – minLength: 1 – maxLength: 32)
Human readable name of a resource
- image: (object)
Reference with unique identifier for the image representing the scene only accepting “rtype”: “public_image” on creation
- rid: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
The unique id of the referenced resource
- rtype: required(one of device, bridge_home, room, zone, service_group, light, button, bell_button, relative_rotary, temperature, light_level, motion, camera_motion, entertainment, contact, tamper, convenience_area_motion, security_area_motion, speaker, grouped_light, grouped_motion, grouped_light_level, device_power, device_software_update, zigbee_connectivity, zgp_connectivity, bridge, motion_area_candidate, wifi_connectivity, zigbee_device_discovery, homekit, matter, matter_fabric, scene, entertainment_configuration, public_image, auth_v1, behavior_script, behavior_instance, geofence_client, geolocation, smart_scene, motion_area_configuration, clip)
The type of the referenced resource
- rid: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
- appdata: (string – minLength: 1 – maxLength: 16)
Application specific data. Free format string.
- name: required(string – minLength: 1 – maxLength: 32)
- group: required(object)
Group associated with this Scene. All services in the group are part of this scene. If the group is changed the scene is update (e.g. light added/removed)
- rid: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
The unique id of the referenced resource
- rtype: required(one of device, bridge_home, room, zone, service_group, light, button, bell_button, relative_rotary, temperature, light_level, motion, camera_motion, entertainment, contact, tamper, convenience_area_motion, security_area_motion, speaker, grouped_light, grouped_motion, grouped_light_level, device_power, device_software_update, zigbee_connectivity, zgp_connectivity, bridge, motion_area_candidate, wifi_connectivity, zigbee_device_discovery, homekit, matter, matter_fabric, scene, entertainment_configuration, public_image, auth_v1, behavior_script, behavior_instance, geofence_client, geolocation, smart_scene, motion_area_configuration, clip)
The type of the referenced resource
- rid: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
- week_timeslots: required(array of DayTimeslotsPost)
information on what is the light state for every timeslot of the day
Items: DayTimeslotsPost
- timeslots: required(array of SmartSceneTimeslotPost)
Items: SmartSceneTimeslotPost
- start_time: required(object)
- kind: required(one of time, sunset)
- time: (object)
this property is only used when property “kind” is “time”
- hour: required(integer – minimum: 0 – maximum: 23)
- minute: required(integer – minimum: 0 – maximum: 59)
- second: required(integer – minimum: 0 – maximum: 59)
- target: required(object)
The identifier of the scene to recall
- rid: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
The unique id of the referenced resource
- rtype: required(one of device, bridge_home, room, zone, service_group, light, button, bell_button, relative_rotary, temperature, light_level, motion, camera_motion, entertainment, contact, tamper, convenience_area_motion, security_area_motion, speaker, grouped_light, grouped_motion, grouped_light_level, device_power, device_software_update, zigbee_connectivity, zgp_connectivity, bridge, motion_area_candidate, wifi_connectivity, zigbee_device_discovery, homekit, matter, matter_fabric, scene, entertainment_configuration, public_image, auth_v1, behavior_script, behavior_instance, geofence_client, geolocation, smart_scene, motion_area_configuration, clip)
The type of the referenced resource
- rid: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
- start_time: required(object)
- recurrence: required(array of WeekDay)
- timeslots: required(array of SmartSceneTimeslotPost)
- transition_duration: (integer)
duration of the transition from on one timeslot's scene to the other (defaults to 60000ms)
Example:
800 - recall: (object)
- action: required(one of activate, deactivate)
Activate will start the smart (24h) scene; deactivate will stop it
- action: required(one of activate, deactivate)
HTTP status code 201
Resource has been created
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
- data: required(array of ResourceIdentifier)
Items: ResourceIdentifier
- rid: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
The unique id of the referenced resource
- rtype: required(one of device, bridge_home, room, zone, service_group, light, button, bell_button, relative_rotary, temperature, light_level, motion, camera_motion, entertainment, contact, tamper, convenience_area_motion, security_area_motion, speaker, grouped_light, grouped_motion, grouped_light_level, device_power, device_software_update, zigbee_connectivity, zgp_connectivity, bridge, motion_area_candidate, wifi_connectivity, zigbee_device_discovery, homekit, matter, matter_fabric, scene, entertainment_configuration, public_image, auth_v1, behavior_script, behavior_instance, geofence_client, geolocation, smart_scene, motion_area_configuration, clip)
The type of the referenced resource
- rid: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
HTTP status code 400
Request was on resource path was unsuccessful, body of request contains errors.
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 401
Client is not authorized
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 403
Client is not allowed to perform operation on this resource.
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 404
Resource or resource path does not exist
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 405
Method is not supported by the resource
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 409
Request conflict with the current state of the target resource
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 429
Too many requests
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 500
Internal Server Error
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 503
Busy, try again later.
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 507
Insufficient resources
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
Secured by hue-application-key
Headers
- hue-application-key: required(string)
API token
get /resource/smart_scene
List all resources of this type
API authorization using a hue-application-key header
HTTP status code 200
Request was on resource path was successful. Result of request is in data.
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
- data: required(array of SmartSceneGet)
Items: SmartSceneGet
- id: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
Unique identifier representing a specific resource instance
- id_v1: (string – pattern: ^(\/[a-z]{4,32}\/[0-9a-zA-Z-]{1,32})?$)
Clip v1 resource identifier
- type: required(smart_scene)
Type of the supported resources
- metadata: required(object)
- name: required(string – minLength: 1 – maxLength: 32)
Human readable name of a resource
- image: (object)
Reference with unique identifier for the image representing the scene only accepting “rtype”: “public_image” on creation
- rid: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
The unique id of the referenced resource
- rtype: required(one of device, bridge_home, room, zone, service_group, light, button, bell_button, relative_rotary, temperature, light_level, motion, camera_motion, entertainment, contact, tamper, convenience_area_motion, security_area_motion, speaker, grouped_light, grouped_motion, grouped_light_level, device_power, device_software_update, zigbee_connectivity, zgp_connectivity, bridge, motion_area_candidate, wifi_connectivity, zigbee_device_discovery, homekit, matter, matter_fabric, scene, entertainment_configuration, public_image, auth_v1, behavior_script, behavior_instance, geofence_client, geolocation, smart_scene, motion_area_configuration, clip)
The type of the referenced resource
- rid: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
- appdata: (string – minLength: 1 – maxLength: 16)
Application specific data. Free format string.
- name: required(string – minLength: 1 – maxLength: 32)
- group: required(object)
Group associated with this Scene. All services in the group are part of this scene. If the group is changed the scene is update (e.g. light added/removed)
- rid: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
The unique id of the referenced resource
- rtype: required(one of device, bridge_home, room, zone, service_group, light, button, bell_button, relative_rotary, temperature, light_level, motion, camera_motion, entertainment, contact, tamper, convenience_area_motion, security_area_motion, speaker, grouped_light, grouped_motion, grouped_light_level, device_power, device_software_update, zigbee_connectivity, zgp_connectivity, bridge, motion_area_candidate, wifi_connectivity, zigbee_device_discovery, homekit, matter, matter_fabric, scene, entertainment_configuration, public_image, auth_v1, behavior_script, behavior_instance, geofence_client, geolocation, smart_scene, motion_area_configuration, clip)
The type of the referenced resource
- rid: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
- week_timeslots: required(array of DayTimeslotsGet)
information on what is the light state for every timeslot of the day
Items: DayTimeslotsGet
- timeslots: required(array of SmartSceneTimeslotGet)
Items: SmartSceneTimeslotGet
- start_time: required(object)
- kind: required(one of time, sunset)
- time: required(object)
this property is only used when property “kind” is “time”
- hour: required(integer – minimum: 0 – maximum: 23)
- minute: required(integer – minimum: 0 – maximum: 59)
- second: required(integer – minimum: 0 – maximum: 59)
- target: required(object)
The identifier of the scene to recall
- rid: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
The unique id of the referenced resource
- rtype: required(one of device, bridge_home, room, zone, service_group, light, button, bell_button, relative_rotary, temperature, light_level, motion, camera_motion, entertainment, contact, tamper, convenience_area_motion, security_area_motion, speaker, grouped_light, grouped_motion, grouped_light_level, device_power, device_software_update, zigbee_connectivity, zgp_connectivity, bridge, motion_area_candidate, wifi_connectivity, zigbee_device_discovery, homekit, matter, matter_fabric, scene, entertainment_configuration, public_image, auth_v1, behavior_script, behavior_instance, geofence_client, geolocation, smart_scene, motion_area_configuration, clip)
The type of the referenced resource
- rid: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
- start_time: required(object)
- recurrence: required(array of WeekDay)
- timeslots: required(array of SmartSceneTimeslotGet)
- transition_duration: required(integer)
duration of the transition from on one timeslot's scene to the other (defaults to 60000ms)
Example:
800 - active_timeslot: (object)
the active time slot in execution
- timeslot_id: required(integer)
- weekday: required(one of monday, tuesday, wednesday, thursday, friday, saturday, sunday)
- state: required(one of active, inactive)
the current state of the smart scene. The default state is
inactiveif norecallis provided
- id: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
HTTP status code 401
Client is not authorized
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 403
Client is not allowed to perform operation on this resource.
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 404
Resource or resource path does not exist
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 405
Method is not supported by the resource
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 406
Query parameter has invalid value.
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 409
Request conflict with the current state of the target resource
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 429
Too many requests
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 500
Internal Server Error
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 503
Busy, try again later.
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 507
Insufficient resources
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
Secured by hue-application-key
Headers
- hue-application-key: required(string)
API token
API calls to read, update and delete a resource instance
delete /resource/smart_scene/{id}
API authorization using a hue-application-key header
URI Parameters
- id: required(string)
HTTP status code 200
Resource has been deleted
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
- data: required(array of ResourceIdentifier)
Items: ResourceIdentifier
- rid: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
The unique id of the referenced resource
- rtype: required(one of device, bridge_home, room, zone, service_group, light, button, bell_button, relative_rotary, temperature, light_level, motion, camera_motion, entertainment, contact, tamper, convenience_area_motion, security_area_motion, speaker, grouped_light, grouped_motion, grouped_light_level, device_power, device_software_update, zigbee_connectivity, zgp_connectivity, bridge, motion_area_candidate, wifi_connectivity, zigbee_device_discovery, homekit, matter, matter_fabric, scene, entertainment_configuration, public_image, auth_v1, behavior_script, behavior_instance, geofence_client, geolocation, smart_scene, motion_area_configuration, clip)
The type of the referenced resource
- rid: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
HTTP status code 401
Client is not authorized
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 403
Client is not allowed to perform operation on this resource.
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 404
Resource or resource path does not exist
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 405
Method is not supported by the resource
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 409
Request conflict with the current state of the target resource
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 429
Too many requests
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 500
Internal Server Error
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 503
Busy, try again later.
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 507
Insufficient resources
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
Secured by hue-application-key
Headers
- hue-application-key: required(string)
API token
put /resource/smart_scene/{id}
API authorization using a hue-application-key header
URI Parameters
- id: required(string)
Body
Media type: application/json
Type: object
Properties
- type: (smart_scene)
Type of the supported resources
- metadata: (object)
- name: (string – minLength: 1 – maxLength: 32)
Human readable name of a resource
- appdata: (string – minLength: 1 – maxLength: 16)
Application specific data. Free format string.
- name: (string – minLength: 1 – maxLength: 32)
- week_timeslots: (array of DayTimeslotsPut)
information on what is the light state for every timeslot of the day
Items: DayTimeslotsPut
- timeslots: required(array of SmartSceneTimeslotPut)
Items: SmartSceneTimeslotPut
- start_time: required(object)
- kind: required(one of time, sunset)
- time: (object)
this property is only used when property “kind” is “time”
- hour: required(integer – minimum: 0 – maximum: 23)
- minute: required(integer – minimum: 0 – maximum: 59)
- second: (integer – minimum: 0 – maximum: 59)
- target: required(object)
The identifier of the scene to recall
- rid: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
The unique id of the referenced resource
- rtype: required(one of device, bridge_home, room, zone, service_group, light, button, bell_button, relative_rotary, temperature, light_level, motion, camera_motion, entertainment, contact, tamper, convenience_area_motion, security_area_motion, speaker, grouped_light, grouped_motion, grouped_light_level, device_power, device_software_update, zigbee_connectivity, zgp_connectivity, bridge, motion_area_candidate, wifi_connectivity, zigbee_device_discovery, homekit, matter, matter_fabric, scene, entertainment_configuration, public_image, auth_v1, behavior_script, behavior_instance, geofence_client, geolocation, smart_scene, motion_area_configuration, clip)
The type of the referenced resource
- rid: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
- start_time: required(object)
- recurrence: required(array of WeekDay)
- timeslots: required(array of SmartSceneTimeslotPut)
- transition_duration: (integer)
duration of the transition from on one timeslot's scene to the other (defaults to 60000ms)
Example:
800 - recall: (object)
- action: (one of activate, deactivate)
Activate will start the smart (24h) scene; deactivate will stop it
- action: (one of activate, deactivate)
HTTP status code 200
Request was on resource path was successful.
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
- data: required(array of ResourceIdentifier)
Items: ResourceIdentifier
- rid: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
The unique id of the referenced resource
- rtype: required(one of device, bridge_home, room, zone, service_group, light, button, bell_button, relative_rotary, temperature, light_level, motion, camera_motion, entertainment, contact, tamper, convenience_area_motion, security_area_motion, speaker, grouped_light, grouped_motion, grouped_light_level, device_power, device_software_update, zigbee_connectivity, zgp_connectivity, bridge, motion_area_candidate, wifi_connectivity, zigbee_device_discovery, homekit, matter, matter_fabric, scene, entertainment_configuration, public_image, auth_v1, behavior_script, behavior_instance, geofence_client, geolocation, smart_scene, motion_area_configuration, clip)
The type of the referenced resource
- rid: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
HTTP status code 207
Request was partially successful, resource has been updated. Failed requests and errors are listed in error object.
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
- data: required(array of ResourceIdentifier)
Items: ResourceIdentifier
- rid: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
The unique id of the referenced resource
- rtype: required(one of device, bridge_home, room, zone, service_group, light, button, bell_button, relative_rotary, temperature, light_level, motion, camera_motion, entertainment, contact, tamper, convenience_area_motion, security_area_motion, speaker, grouped_light, grouped_motion, grouped_light_level, device_power, device_software_update, zigbee_connectivity, zgp_connectivity, bridge, motion_area_candidate, wifi_connectivity, zigbee_device_discovery, homekit, matter, matter_fabric, scene, entertainment_configuration, public_image, auth_v1, behavior_script, behavior_instance, geofence_client, geolocation, smart_scene, motion_area_configuration, clip)
The type of the referenced resource
- rid: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
HTTP status code 400
Request was on resource path was unsuccessful, body of request contains errors.
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 401
Client is not authorized
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 403
Client is not allowed to perform operation on this resource.
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 404
Resource or resource path does not exist
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 405
Method is not supported by the resource
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 409
Request conflict with the current state of the target resource
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 429
Too many requests
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 500
Internal Server Error
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 503
Busy, try again later.
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 507
Insufficient resources
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
Secured by hue-application-key
Headers
- hue-application-key: required(string)
API token
get /resource/smart_scene/{id}
API authorization using a hue-application-key header
URI Parameters
- id: required(string)
HTTP status code 200
Request was on resource path was successful. Result of request is in data.
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
- data: required(array of SmartSceneGet)
Items: SmartSceneGet
- id: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
Unique identifier representing a specific resource instance
- id_v1: (string – pattern: ^(\/[a-z]{4,32}\/[0-9a-zA-Z-]{1,32})?$)
Clip v1 resource identifier
- type: required(smart_scene)
Type of the supported resources
- metadata: required(object)
- name: required(string – minLength: 1 – maxLength: 32)
Human readable name of a resource
- image: (object)
Reference with unique identifier for the image representing the scene only accepting “rtype”: “public_image” on creation
- rid: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
The unique id of the referenced resource
- rtype: required(one of device, bridge_home, room, zone, service_group, light, button, bell_button, relative_rotary, temperature, light_level, motion, camera_motion, entertainment, contact, tamper, convenience_area_motion, security_area_motion, speaker, grouped_light, grouped_motion, grouped_light_level, device_power, device_software_update, zigbee_connectivity, zgp_connectivity, bridge, motion_area_candidate, wifi_connectivity, zigbee_device_discovery, homekit, matter, matter_fabric, scene, entertainment_configuration, public_image, auth_v1, behavior_script, behavior_instance, geofence_client, geolocation, smart_scene, motion_area_configuration, clip)
The type of the referenced resource
- rid: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
- appdata: (string – minLength: 1 – maxLength: 16)
Application specific data. Free format string.
- name: required(string – minLength: 1 – maxLength: 32)
- group: required(object)
Group associated with this Scene. All services in the group are part of this scene. If the group is changed the scene is update (e.g. light added/removed)
- rid: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
The unique id of the referenced resource
- rtype: required(one of device, bridge_home, room, zone, service_group, light, button, bell_button, relative_rotary, temperature, light_level, motion, camera_motion, entertainment, contact, tamper, convenience_area_motion, security_area_motion, speaker, grouped_light, grouped_motion, grouped_light_level, device_power, device_software_update, zigbee_connectivity, zgp_connectivity, bridge, motion_area_candidate, wifi_connectivity, zigbee_device_discovery, homekit, matter, matter_fabric, scene, entertainment_configuration, public_image, auth_v1, behavior_script, behavior_instance, geofence_client, geolocation, smart_scene, motion_area_configuration, clip)
The type of the referenced resource
- rid: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
- week_timeslots: required(array of DayTimeslotsGet)
information on what is the light state for every timeslot of the day
Items: DayTimeslotsGet
- timeslots: required(array of SmartSceneTimeslotGet)
Items: SmartSceneTimeslotGet
- start_time: required(object)
- kind: required(one of time, sunset)
- time: required(object)
this property is only used when property “kind” is “time”
- hour: required(integer – minimum: 0 – maximum: 23)
- minute: required(integer – minimum: 0 – maximum: 59)
- second: required(integer – minimum: 0 – maximum: 59)
- target: required(object)
The identifier of the scene to recall
- rid: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
The unique id of the referenced resource
- rtype: required(one of device, bridge_home, room, zone, service_group, light, button, bell_button, relative_rotary, temperature, light_level, motion, camera_motion, entertainment, contact, tamper, convenience_area_motion, security_area_motion, speaker, grouped_light, grouped_motion, grouped_light_level, device_power, device_software_update, zigbee_connectivity, zgp_connectivity, bridge, motion_area_candidate, wifi_connectivity, zigbee_device_discovery, homekit, matter, matter_fabric, scene, entertainment_configuration, public_image, auth_v1, behavior_script, behavior_instance, geofence_client, geolocation, smart_scene, motion_area_configuration, clip)
The type of the referenced resource
- rid: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
- start_time: required(object)
- recurrence: required(array of WeekDay)
- timeslots: required(array of SmartSceneTimeslotGet)
- transition_duration: required(integer)
duration of the transition from on one timeslot's scene to the other (defaults to 60000ms)
Example:
800 - active_timeslot: (object)
the active time slot in execution
- timeslot_id: required(integer)
- weekday: required(one of monday, tuesday, wednesday, thursday, friday, saturday, sunday)
- state: required(one of active, inactive)
the current state of the smart scene. The default state is
inactiveif norecallis provided
- id: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
HTTP status code 401
Client is not authorized
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 403
Client is not allowed to perform operation on this resource.
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 404
Resource or resource path does not exist
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 405
Method is not supported by the resource
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 409
Request conflict with the current state of the target resource
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 429
Too many requests
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 500
Internal Server Error
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 503
Busy, try again later.
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 507
Insufficient resources
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
Secured by hue-application-key
Headers
- hue-application-key: required(string)
API token
/resource/contact
API to manage contact sensor state for general purpose cases. These are offered by devices that have a static “switch” position. Not necessarily a physical switch.
List all resources of this type
get /resource/contact
List all resources of this type
API authorization using a hue-application-key header
HTTP status code 200
Request was on resource path was successful. Result of request is in data.
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
- data: required(array of ContactGet)
Items: ContactGet
- id: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
Unique identifier representing a specific resource instance
- id_v1: (string – pattern: ^(\/[a-z]{4,32}\/[0-9a-zA-Z-]{1,32})?$)
Clip v1 resource identifier
- owner: required(object)
Owner of the service, in case the owner service is deleted, the service also gets deleted
- rid: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
The unique id of the referenced resource
- rtype: required(one of device, bridge_home, room, zone, service_group, light, button, bell_button, relative_rotary, temperature, light_level, motion, camera_motion, entertainment, contact, tamper, convenience_area_motion, security_area_motion, speaker, grouped_light, grouped_motion, grouped_light_level, device_power, device_software_update, zigbee_connectivity, zgp_connectivity, bridge, motion_area_candidate, wifi_connectivity, zigbee_device_discovery, homekit, matter, matter_fabric, scene, entertainment_configuration, public_image, auth_v1, behavior_script, behavior_instance, geofence_client, geolocation, smart_scene, motion_area_configuration, clip)
The type of the referenced resource
- rid: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
- enabled: required(boolean)
true when sensor is activated, false when deactivated
- type: required(contact)
Type of the supported resources
- contact_report: (object)
- changed: required(datetime)
last time the value of this property is changed.
- state: required(one of contact, no_contact)
contact and no_contact are the states of the sensor after last state-change.
- changed: required(datetime)
- id: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
HTTP status code 401
Client is not authorized
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 403
Client is not allowed to perform operation on this resource.
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 404
Resource or resource path does not exist
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 405
Method is not supported by the resource
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 406
Query parameter has invalid value.
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 409
Request conflict with the current state of the target resource
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 429
Too many requests
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 500
Internal Server Error
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 503
Busy, try again later.
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 507
Insufficient resources
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
Secured by hue-application-key
Headers
- hue-application-key: required(string)
API token
API calls for resource which cannot be deleted (PUT and GET on resource instance)
put /resource/contact/{id}
API authorization using a hue-application-key header
URI Parameters
- id: required(string)
Body
Media type: application/json
Type: object
Properties
- enabled: (boolean)
true when sensor is activated, false when deactivated
- type: (contact)
Type of the supported resources
HTTP status code 200
Request was on resource path was successful.
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
- data: required(array of ResourceIdentifier)
Items: ResourceIdentifier
- rid: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
The unique id of the referenced resource
- rtype: required(one of device, bridge_home, room, zone, service_group, light, button, bell_button, relative_rotary, temperature, light_level, motion, camera_motion, entertainment, contact, tamper, convenience_area_motion, security_area_motion, speaker, grouped_light, grouped_motion, grouped_light_level, device_power, device_software_update, zigbee_connectivity, zgp_connectivity, bridge, motion_area_candidate, wifi_connectivity, zigbee_device_discovery, homekit, matter, matter_fabric, scene, entertainment_configuration, public_image, auth_v1, behavior_script, behavior_instance, geofence_client, geolocation, smart_scene, motion_area_configuration, clip)
The type of the referenced resource
- rid: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
HTTP status code 207
Request was partially successful, resource has been updated. Failed requests and errors are listed in error object.
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
- data: required(array of ResourceIdentifier)
Items: ResourceIdentifier
- rid: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
The unique id of the referenced resource
- rtype: required(one of device, bridge_home, room, zone, service_group, light, button, bell_button, relative_rotary, temperature, light_level, motion, camera_motion, entertainment, contact, tamper, convenience_area_motion, security_area_motion, speaker, grouped_light, grouped_motion, grouped_light_level, device_power, device_software_update, zigbee_connectivity, zgp_connectivity, bridge, motion_area_candidate, wifi_connectivity, zigbee_device_discovery, homekit, matter, matter_fabric, scene, entertainment_configuration, public_image, auth_v1, behavior_script, behavior_instance, geofence_client, geolocation, smart_scene, motion_area_configuration, clip)
The type of the referenced resource
- rid: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
HTTP status code 400
Request was on resource path was unsuccessful, body of request contains errors.
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 401
Client is not authorized
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 403
Client is not allowed to perform operation on this resource.
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 404
Resource or resource path does not exist
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 405
Method is not supported by the resource
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 409
Request conflict with the current state of the target resource
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 429
Too many requests
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 500
Internal Server Error
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 503
Busy, try again later.
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 507
Insufficient resources
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
Secured by hue-application-key
Headers
- hue-application-key: required(string)
API token
get /resource/contact/{id}
API authorization using a hue-application-key header
URI Parameters
- id: required(string)
HTTP status code 200
Request was on resource path was successful. Result of request is in data.
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
- data: required(array of ContactGet)
Items: ContactGet
- id: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
Unique identifier representing a specific resource instance
- id_v1: (string – pattern: ^(\/[a-z]{4,32}\/[0-9a-zA-Z-]{1,32})?$)
Clip v1 resource identifier
- owner: required(object)
Owner of the service, in case the owner service is deleted, the service also gets deleted
- rid: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
The unique id of the referenced resource
- rtype: required(one of device, bridge_home, room, zone, service_group, light, button, bell_button, relative_rotary, temperature, light_level, motion, camera_motion, entertainment, contact, tamper, convenience_area_motion, security_area_motion, speaker, grouped_light, grouped_motion, grouped_light_level, device_power, device_software_update, zigbee_connectivity, zgp_connectivity, bridge, motion_area_candidate, wifi_connectivity, zigbee_device_discovery, homekit, matter, matter_fabric, scene, entertainment_configuration, public_image, auth_v1, behavior_script, behavior_instance, geofence_client, geolocation, smart_scene, motion_area_configuration, clip)
The type of the referenced resource
- rid: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
- enabled: required(boolean)
true when sensor is activated, false when deactivated
- type: required(contact)
Type of the supported resources
- contact_report: (object)
- changed: required(datetime)
last time the value of this property is changed.
- state: required(one of contact, no_contact)
contact and no_contact are the states of the sensor after last state-change.
- changed: required(datetime)
- id: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
HTTP status code 401
Client is not authorized
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 403
Client is not allowed to perform operation on this resource.
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 404
Resource or resource path does not exist
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 405
Method is not supported by the resource
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 409
Request conflict with the current state of the target resource
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 429
Too many requests
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 500
Internal Server Error
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 503
Busy, try again later.
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 507
Insufficient resources
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
Secured by hue-application-key
Headers
- hue-application-key: required(string)
API token
/resource/tamper
API to manage device tamper state. Offered by devices capable of detecting tampering.
List all resources of this type
get /resource/tamper
List all resources of this type
API authorization using a hue-application-key header
HTTP status code 200
Request was on resource path was successful. Result of request is in data.
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
- data: required(array of TamperGet)
Items: TamperGet
- id: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
Unique identifier representing a specific resource instance
- id_v1: (string – pattern: ^(\/[a-z]{4,32}\/[0-9a-zA-Z-]{1,32})?$)
Clip v1 resource identifier
- owner: required(object)
Owner of the service, in case the owner service is deleted, the service also gets deleted
- rid: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
The unique id of the referenced resource
- rtype: required(one of device, bridge_home, room, zone, service_group, light, button, bell_button, relative_rotary, temperature, light_level, motion, camera_motion, entertainment, contact, tamper, convenience_area_motion, security_area_motion, speaker, grouped_light, grouped_motion, grouped_light_level, device_power, device_software_update, zigbee_connectivity, zgp_connectivity, bridge, motion_area_candidate, wifi_connectivity, zigbee_device_discovery, homekit, matter, matter_fabric, scene, entertainment_configuration, public_image, auth_v1, behavior_script, behavior_instance, geofence_client, geolocation, smart_scene, motion_area_configuration, clip)
The type of the referenced resource
- rid: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
- type: required(tamper)
Type of the supported resources
- tamper_reports: required(array of TamperReport)
Items: TamperReport
- changed: required(datetime)
last time the value of this property is changed.
- source: required(battery_door)
Source of tamper and time expired since last change of tamper-state.
- state: required(one of tampered, not_tampered)
tampered and not_tampered are the state of tamper after last change of tamper_state.
- changed: required(datetime)
- id: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
HTTP status code 401
Client is not authorized
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 403
Client is not allowed to perform operation on this resource.
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 404
Resource or resource path does not exist
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 405
Method is not supported by the resource
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 406
Query parameter has invalid value.
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 409
Request conflict with the current state of the target resource
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 429
Too many requests
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 500
Internal Server Error
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 503
Busy, try again later.
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 507
Insufficient resources
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
Secured by hue-application-key
Headers
- hue-application-key: required(string)
API token
API calls for resource which cannot be deleted (PUT and GET on resource instance)
put /resource/tamper/{id}
API authorization using a hue-application-key header
URI Parameters
- id: required(string)
Body
Media type: application/json
Type: object
Properties
- type: (tamper)
Type of the supported resources
HTTP status code 200
Request was on resource path was successful.
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
- data: required(array of ResourceIdentifier)
Items: ResourceIdentifier
- rid: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
The unique id of the referenced resource
- rtype: required(one of device, bridge_home, room, zone, service_group, light, button, bell_button, relative_rotary, temperature, light_level, motion, camera_motion, entertainment, contact, tamper, convenience_area_motion, security_area_motion, speaker, grouped_light, grouped_motion, grouped_light_level, device_power, device_software_update, zigbee_connectivity, zgp_connectivity, bridge, motion_area_candidate, wifi_connectivity, zigbee_device_discovery, homekit, matter, matter_fabric, scene, entertainment_configuration, public_image, auth_v1, behavior_script, behavior_instance, geofence_client, geolocation, smart_scene, motion_area_configuration, clip)
The type of the referenced resource
- rid: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
HTTP status code 207
Request was partially successful, resource has been updated. Failed requests and errors are listed in error object.
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
- data: required(array of ResourceIdentifier)
Items: ResourceIdentifier
- rid: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
The unique id of the referenced resource
- rtype: required(one of device, bridge_home, room, zone, service_group, light, button, bell_button, relative_rotary, temperature, light_level, motion, camera_motion, entertainment, contact, tamper, convenience_area_motion, security_area_motion, speaker, grouped_light, grouped_motion, grouped_light_level, device_power, device_software_update, zigbee_connectivity, zgp_connectivity, bridge, motion_area_candidate, wifi_connectivity, zigbee_device_discovery, homekit, matter, matter_fabric, scene, entertainment_configuration, public_image, auth_v1, behavior_script, behavior_instance, geofence_client, geolocation, smart_scene, motion_area_configuration, clip)
The type of the referenced resource
- rid: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
HTTP status code 400
Request was on resource path was unsuccessful, body of request contains errors.
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 401
Client is not authorized
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 403
Client is not allowed to perform operation on this resource.
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 404
Resource or resource path does not exist
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 405
Method is not supported by the resource
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 409
Request conflict with the current state of the target resource
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 429
Too many requests
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 500
Internal Server Error
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 503
Busy, try again later.
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 507
Insufficient resources
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
Secured by hue-application-key
Headers
- hue-application-key: required(string)
API token
get /resource/tamper/{id}
API authorization using a hue-application-key header
URI Parameters
- id: required(string)
HTTP status code 200
Request was on resource path was successful. Result of request is in data.
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
- data: required(array of TamperGet)
Items: TamperGet
- id: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
Unique identifier representing a specific resource instance
- id_v1: (string – pattern: ^(\/[a-z]{4,32}\/[0-9a-zA-Z-]{1,32})?$)
Clip v1 resource identifier
- owner: required(object)
Owner of the service, in case the owner service is deleted, the service also gets deleted
- rid: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
The unique id of the referenced resource
- rtype: required(one of device, bridge_home, room, zone, service_group, light, button, bell_button, relative_rotary, temperature, light_level, motion, camera_motion, entertainment, contact, tamper, convenience_area_motion, security_area_motion, speaker, grouped_light, grouped_motion, grouped_light_level, device_power, device_software_update, zigbee_connectivity, zgp_connectivity, bridge, motion_area_candidate, wifi_connectivity, zigbee_device_discovery, homekit, matter, matter_fabric, scene, entertainment_configuration, public_image, auth_v1, behavior_script, behavior_instance, geofence_client, geolocation, smart_scene, motion_area_configuration, clip)
The type of the referenced resource
- rid: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
- type: required(tamper)
Type of the supported resources
- tamper_reports: required(array of TamperReport)
Items: TamperReport
- changed: required(datetime)
last time the value of this property is changed.
- source: required(battery_door)
Source of tamper and time expired since last change of tamper-state.
- state: required(one of tampered, not_tampered)
tampered and not_tampered are the state of tamper after last change of tamper_state.
- changed: required(datetime)
- id: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
HTTP status code 401
Client is not authorized
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 403
Client is not allowed to perform operation on this resource.
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 404
Resource or resource path does not exist
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 405
Method is not supported by the resource
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 409
Request conflict with the current state of the target resource
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 429
Too many requests
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 500
Internal Server Error
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 503
Busy, try again later.
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 507
Insufficient resources
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
Secured by hue-application-key
Headers
- hue-application-key: required(string)
API token
/resource/motion_area_configuration
API to manage motion area's
create a new resource of this type
List all resources of this type
post /resource/motion_area_configuration
create a new resource of this type
API authorization using a hue-application-key header
Body
Media type: application/json
Type: object
Properties
- type: (motion_area_configuration)
Type of the supported resources
- name: required(string – minLength: 1 – maxLength: 32)
Friendly name of the service
- group: required(object)
Additional info used by the App.
- rid: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
The unique id of the referenced resource
- rtype: required(one of device, bridge_home, room, zone, service_group, light, button, bell_button, relative_rotary, temperature, light_level, motion, camera_motion, entertainment, contact, tamper, convenience_area_motion, security_area_motion, speaker, grouped_light, grouped_motion, grouped_light_level, device_power, device_software_update, zigbee_connectivity, zgp_connectivity, bridge, motion_area_candidate, wifi_connectivity, zigbee_device_discovery, homekit, matter, matter_fabric, scene, entertainment_configuration, public_image, auth_v1, behavior_script, behavior_instance, geofence_client, geolocation, smart_scene, motion_area_configuration, clip)
The type of the referenced resource
- rid: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
- participants: required(array of ParticipantPost)
A list of motion area services used in this configuration, with each service including its health status. Supported types “MotionAreaCandidate”
Items: ParticipantPost
- resource: (object)
- rid: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
The unique id of the referenced resource
- rtype: required(one of device, bridge_home, room, zone, service_group, light, button, bell_button, relative_rotary, temperature, light_level, motion, camera_motion, entertainment, contact, tamper, convenience_area_motion, security_area_motion, speaker, grouped_light, grouped_motion, grouped_light_level, device_power, device_software_update, zigbee_connectivity, zgp_connectivity, bridge, motion_area_candidate, wifi_connectivity, zigbee_device_discovery, homekit, matter, matter_fabric, scene, entertainment_configuration, public_image, auth_v1, behavior_script, behavior_instance, geofence_client, geolocation, smart_scene, motion_area_configuration, clip)
The type of the referenced resource
- rid: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
- resource: (object)
- enabled: (boolean)
Enable or disable the area
HTTP status code 201
Resource has been created
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
- data: required(array of ResourceIdentifier)
Items: ResourceIdentifier
- rid: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
The unique id of the referenced resource
- rtype: required(one of device, bridge_home, room, zone, service_group, light, button, bell_button, relative_rotary, temperature, light_level, motion, camera_motion, entertainment, contact, tamper, convenience_area_motion, security_area_motion, speaker, grouped_light, grouped_motion, grouped_light_level, device_power, device_software_update, zigbee_connectivity, zgp_connectivity, bridge, motion_area_candidate, wifi_connectivity, zigbee_device_discovery, homekit, matter, matter_fabric, scene, entertainment_configuration, public_image, auth_v1, behavior_script, behavior_instance, geofence_client, geolocation, smart_scene, motion_area_configuration, clip)
The type of the referenced resource
- rid: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
HTTP status code 400
Request was on resource path was unsuccessful, body of request contains errors.
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 401
Client is not authorized
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 403
Client is not allowed to perform operation on this resource.
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 404
Resource or resource path does not exist
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 405
Method is not supported by the resource
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 409
Request conflict with the current state of the target resource
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 429
Too many requests
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 500
Internal Server Error
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 503
Busy, try again later.
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 507
Insufficient resources
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
Secured by hue-application-key
Headers
- hue-application-key: required(string)
API token
get /resource/motion_area_configuration
List all resources of this type
API authorization using a hue-application-key header
HTTP status code 200
Request was on resource path was successful. Result of request is in data.
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
- data: required(array of MotionAreaConfigurationGet)
Items: MotionAreaConfigurationGet
- id: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
Unique identifier representing a specific resource instance
- id_v1: (string – pattern: ^(\/[a-z]{4,32}\/[0-9a-zA-Z-]{1,32})?$)
Clip v1 resource identifier
- type: required(motion_area_configuration)
Type of the supported resources
- name: required(string – minLength: 1 – maxLength: 32)
Friendly name of the service
- group: required(object)
Additional info used by the App.
- rid: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
The unique id of the referenced resource
- rtype: required(one of device, bridge_home, room, zone, service_group, light, button, bell_button, relative_rotary, temperature, light_level, motion, camera_motion, entertainment, contact, tamper, convenience_area_motion, security_area_motion, speaker, grouped_light, grouped_motion, grouped_light_level, device_power, device_software_update, zigbee_connectivity, zgp_connectivity, bridge, motion_area_candidate, wifi_connectivity, zigbee_device_discovery, homekit, matter, matter_fabric, scene, entertainment_configuration, public_image, auth_v1, behavior_script, behavior_instance, geofence_client, geolocation, smart_scene, motion_area_configuration, clip)
The type of the referenced resource
- rid: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
- participants: required(array of ParticipantGet)
A list of motion area services used in this configuration, with each service including its health status. Supported types “MotionAreaCandidate”
Items: ParticipantGet
- resource: required(object)
- rid: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
The unique id of the referenced resource
- rtype: required(one of device, bridge_home, room, zone, service_group, light, button, bell_button, relative_rotary, temperature, light_level, motion, camera_motion, entertainment, contact, tamper, convenience_area_motion, security_area_motion, speaker, grouped_light, grouped_motion, grouped_light_level, device_power, device_software_update, zigbee_connectivity, zgp_connectivity, bridge, motion_area_candidate, wifi_connectivity, zigbee_device_discovery, homekit, matter, matter_fabric, scene, entertainment_configuration, public_image, auth_v1, behavior_script, behavior_instance, geofence_client, geolocation, smart_scene, motion_area_configuration, clip)
The type of the referenced resource
- rid: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
- status: required(object)
Status object that contains health and other related fields
- health: required(one of healthy, unhealthy)
Health indicator for this participant
- health: required(one of healthy, unhealthy)
- resource: required(object)
- services: required(array of ResourceIdentifier)
Supported types “ConvenienceAreaMotion” and “SecurityAreaMotion”
Items: ResourceIdentifier
- rid: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
The unique id of the referenced resource
- rtype: required(one of device, bridge_home, room, zone, service_group, light, button, bell_button, relative_rotary, temperature, light_level, motion, camera_motion, entertainment, contact, tamper, convenience_area_motion, security_area_motion, speaker, grouped_light, grouped_motion, grouped_light_level, device_power, device_software_update, zigbee_connectivity, zgp_connectivity, bridge, motion_area_candidate, wifi_connectivity, zigbee_device_discovery, homekit, matter, matter_fabric, scene, entertainment_configuration, public_image, auth_v1, behavior_script, behavior_instance, geofence_client, geolocation, smart_scene, motion_area_configuration, clip)
The type of the referenced resource
- rid: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
- health: required(one of healthy, degraded, recovering, unrecoverable, not_running)
Health indicator for this resource
- enabled: required(boolean)
Enable or disable the area
- id: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
HTTP status code 401
Client is not authorized
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 403
Client is not allowed to perform operation on this resource.
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 404
Resource or resource path does not exist
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 405
Method is not supported by the resource
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 406
Query parameter has invalid value.
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 409
Request conflict with the current state of the target resource
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 429
Too many requests
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 500
Internal Server Error
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 503
Busy, try again later.
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 507
Insufficient resources
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
Secured by hue-application-key
Headers
- hue-application-key: required(string)
API token
API calls to read, update and delete a resource instance
delete /resource/motion_area_configuration/{id}
API authorization using a hue-application-key header
URI Parameters
- id: required(string)
HTTP status code 200
Resource has been deleted
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
- data: required(array of ResourceIdentifier)
Items: ResourceIdentifier
- rid: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
The unique id of the referenced resource
- rtype: required(one of device, bridge_home, room, zone, service_group, light, button, bell_button, relative_rotary, temperature, light_level, motion, camera_motion, entertainment, contact, tamper, convenience_area_motion, security_area_motion, speaker, grouped_light, grouped_motion, grouped_light_level, device_power, device_software_update, zigbee_connectivity, zgp_connectivity, bridge, motion_area_candidate, wifi_connectivity, zigbee_device_discovery, homekit, matter, matter_fabric, scene, entertainment_configuration, public_image, auth_v1, behavior_script, behavior_instance, geofence_client, geolocation, smart_scene, motion_area_configuration, clip)
The type of the referenced resource
- rid: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
HTTP status code 401
Client is not authorized
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 403
Client is not allowed to perform operation on this resource.
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 404
Resource or resource path does not exist
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 405
Method is not supported by the resource
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 409
Request conflict with the current state of the target resource
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 429
Too many requests
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 500
Internal Server Error
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 503
Busy, try again later.
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 507
Insufficient resources
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
Secured by hue-application-key
Headers
- hue-application-key: required(string)
API token
put /resource/motion_area_configuration/{id}
API authorization using a hue-application-key header
URI Parameters
- id: required(string)
Body
Media type: application/json
Type: object
Properties
- type: (motion_area_configuration)
Type of the supported resources
- name: (string – minLength: 1 – maxLength: 32)
Friendly name of the service
- group: (object)
Additional info used by the App.
- rid: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
The unique id of the referenced resource
- rtype: required(one of device, bridge_home, room, zone, service_group, light, button, bell_button, relative_rotary, temperature, light_level, motion, camera_motion, entertainment, contact, tamper, convenience_area_motion, security_area_motion, speaker, grouped_light, grouped_motion, grouped_light_level, device_power, device_software_update, zigbee_connectivity, zgp_connectivity, bridge, motion_area_candidate, wifi_connectivity, zigbee_device_discovery, homekit, matter, matter_fabric, scene, entertainment_configuration, public_image, auth_v1, behavior_script, behavior_instance, geofence_client, geolocation, smart_scene, motion_area_configuration, clip)
The type of the referenced resource
- rid: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
- participants: (array of ParticipantPut)
A list of motion area services used in this configuration, with each service including its health status. Supported types “MotionAreaCandidate”
Items: ParticipantPut
- resource: (object)
- rid: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
The unique id of the referenced resource
- rtype: required(one of device, bridge_home, room, zone, service_group, light, button, bell_button, relative_rotary, temperature, light_level, motion, camera_motion, entertainment, contact, tamper, convenience_area_motion, security_area_motion, speaker, grouped_light, grouped_motion, grouped_light_level, device_power, device_software_update, zigbee_connectivity, zgp_connectivity, bridge, motion_area_candidate, wifi_connectivity, zigbee_device_discovery, homekit, matter, matter_fabric, scene, entertainment_configuration, public_image, auth_v1, behavior_script, behavior_instance, geofence_client, geolocation, smart_scene, motion_area_configuration, clip)
The type of the referenced resource
- rid: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
- resource: (object)
- enabled: (boolean)
Enable or disable the area
HTTP status code 200
Request was on resource path was successful.
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
- data: required(array of ResourceIdentifier)
Items: ResourceIdentifier
- rid: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
The unique id of the referenced resource
- rtype: required(one of device, bridge_home, room, zone, service_group, light, button, bell_button, relative_rotary, temperature, light_level, motion, camera_motion, entertainment, contact, tamper, convenience_area_motion, security_area_motion, speaker, grouped_light, grouped_motion, grouped_light_level, device_power, device_software_update, zigbee_connectivity, zgp_connectivity, bridge, motion_area_candidate, wifi_connectivity, zigbee_device_discovery, homekit, matter, matter_fabric, scene, entertainment_configuration, public_image, auth_v1, behavior_script, behavior_instance, geofence_client, geolocation, smart_scene, motion_area_configuration, clip)
The type of the referenced resource
- rid: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
HTTP status code 207
Request was partially successful, resource has been updated. Failed requests and errors are listed in error object.
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
- data: required(array of ResourceIdentifier)
Items: ResourceIdentifier
- rid: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
The unique id of the referenced resource
- rtype: required(one of device, bridge_home, room, zone, service_group, light, button, bell_button, relative_rotary, temperature, light_level, motion, camera_motion, entertainment, contact, tamper, convenience_area_motion, security_area_motion, speaker, grouped_light, grouped_motion, grouped_light_level, device_power, device_software_update, zigbee_connectivity, zgp_connectivity, bridge, motion_area_candidate, wifi_connectivity, zigbee_device_discovery, homekit, matter, matter_fabric, scene, entertainment_configuration, public_image, auth_v1, behavior_script, behavior_instance, geofence_client, geolocation, smart_scene, motion_area_configuration, clip)
The type of the referenced resource
- rid: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
HTTP status code 400
Request was on resource path was unsuccessful, body of request contains errors.
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 401
Client is not authorized
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 403
Client is not allowed to perform operation on this resource.
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 404
Resource or resource path does not exist
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 405
Method is not supported by the resource
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 409
Request conflict with the current state of the target resource
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 429
Too many requests
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 500
Internal Server Error
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 503
Busy, try again later.
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 507
Insufficient resources
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
Secured by hue-application-key
Headers
- hue-application-key: required(string)
API token
get /resource/motion_area_configuration/{id}
API authorization using a hue-application-key header
URI Parameters
- id: required(string)
HTTP status code 200
Request was on resource path was successful. Result of request is in data.
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
- data: required(array of MotionAreaConfigurationGet)
Items: MotionAreaConfigurationGet
- id: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
Unique identifier representing a specific resource instance
- id_v1: (string – pattern: ^(\/[a-z]{4,32}\/[0-9a-zA-Z-]{1,32})?$)
Clip v1 resource identifier
- type: required(motion_area_configuration)
Type of the supported resources
- name: required(string – minLength: 1 – maxLength: 32)
Friendly name of the service
- group: required(object)
Additional info used by the App.
- rid: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
The unique id of the referenced resource
- rtype: required(one of device, bridge_home, room, zone, service_group, light, button, bell_button, relative_rotary, temperature, light_level, motion, camera_motion, entertainment, contact, tamper, convenience_area_motion, security_area_motion, speaker, grouped_light, grouped_motion, grouped_light_level, device_power, device_software_update, zigbee_connectivity, zgp_connectivity, bridge, motion_area_candidate, wifi_connectivity, zigbee_device_discovery, homekit, matter, matter_fabric, scene, entertainment_configuration, public_image, auth_v1, behavior_script, behavior_instance, geofence_client, geolocation, smart_scene, motion_area_configuration, clip)
The type of the referenced resource
- rid: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
- participants: required(array of ParticipantGet)
A list of motion area services used in this configuration, with each service including its health status. Supported types “MotionAreaCandidate”
Items: ParticipantGet
- resource: required(object)
- rid: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
The unique id of the referenced resource
- rtype: required(one of device, bridge_home, room, zone, service_group, light, button, bell_button, relative_rotary, temperature, light_level, motion, camera_motion, entertainment, contact, tamper, convenience_area_motion, security_area_motion, speaker, grouped_light, grouped_motion, grouped_light_level, device_power, device_software_update, zigbee_connectivity, zgp_connectivity, bridge, motion_area_candidate, wifi_connectivity, zigbee_device_discovery, homekit, matter, matter_fabric, scene, entertainment_configuration, public_image, auth_v1, behavior_script, behavior_instance, geofence_client, geolocation, smart_scene, motion_area_configuration, clip)
The type of the referenced resource
- rid: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
- status: required(object)
Status object that contains health and other related fields
- health: required(one of healthy, unhealthy)
Health indicator for this participant
- health: required(one of healthy, unhealthy)
- resource: required(object)
- services: required(array of ResourceIdentifier)
Supported types “ConvenienceAreaMotion” and “SecurityAreaMotion”
Items: ResourceIdentifier
- rid: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
The unique id of the referenced resource
- rtype: required(one of device, bridge_home, room, zone, service_group, light, button, bell_button, relative_rotary, temperature, light_level, motion, camera_motion, entertainment, contact, tamper, convenience_area_motion, security_area_motion, speaker, grouped_light, grouped_motion, grouped_light_level, device_power, device_software_update, zigbee_connectivity, zgp_connectivity, bridge, motion_area_candidate, wifi_connectivity, zigbee_device_discovery, homekit, matter, matter_fabric, scene, entertainment_configuration, public_image, auth_v1, behavior_script, behavior_instance, geofence_client, geolocation, smart_scene, motion_area_configuration, clip)
The type of the referenced resource
- rid: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
- health: required(one of healthy, degraded, recovering, unrecoverable, not_running)
Health indicator for this resource
- enabled: required(boolean)
Enable or disable the area
- id: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
HTTP status code 401
Client is not authorized
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 403
Client is not allowed to perform operation on this resource.
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 404
Resource or resource path does not exist
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 405
Method is not supported by the resource
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 409
Request conflict with the current state of the target resource
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 429
Too many requests
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 500
Internal Server Error
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 503
Busy, try again later.
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 507
Insufficient resources
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
Secured by hue-application-key
Headers
- hue-application-key: required(string)
API token
/resource/motion_area_candidate
API to manage motion area services of lights
List all resources of this type
get /resource/motion_area_candidate
List all resources of this type
API authorization using a hue-application-key header
HTTP status code 200
Request was on resource path was successful. Result of request is in data.
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
- data: required(array of MotionAreaCandidateGet)
Items: MotionAreaCandidateGet
- id: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
Unique identifier representing a specific resource instance
- id_v1: (string – pattern: ^(\/[a-z]{4,32}\/[0-9a-zA-Z-]{1,32})?$)
Clip v1 resource identifier
- owner: required(object)
Owner of the service, in case the owner service is deleted, the service also gets deleted
- rid: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
The unique id of the referenced resource
- rtype: required(one of device, bridge_home, room, zone, service_group, light, button, bell_button, relative_rotary, temperature, light_level, motion, camera_motion, entertainment, contact, tamper, convenience_area_motion, security_area_motion, speaker, grouped_light, grouped_motion, grouped_light_level, device_power, device_software_update, zigbee_connectivity, zgp_connectivity, bridge, motion_area_candidate, wifi_connectivity, zigbee_device_discovery, homekit, matter, matter_fabric, scene, entertainment_configuration, public_image, auth_v1, behavior_script, behavior_instance, geofence_client, geolocation, smart_scene, motion_area_configuration, clip)
The type of the referenced resource
- rid: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
- type: required(motion_area_candidate)
Type of the supported resources
- capabilities: required(array of MotionAreaCapability)
- id: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
HTTP status code 401
Client is not authorized
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 403
Client is not allowed to perform operation on this resource.
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 404
Resource or resource path does not exist
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 405
Method is not supported by the resource
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 406
Query parameter has invalid value.
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 409
Request conflict with the current state of the target resource
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 429
Too many requests
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 500
Internal Server Error
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 503
Busy, try again later.
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 507
Insufficient resources
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
Secured by hue-application-key
Headers
- hue-application-key: required(string)
API token
API calls for resource which cannot be deleted (PUT and GET on resource instance)
put /resource/motion_area_candidate/{id}
API authorization using a hue-application-key header
URI Parameters
- id: required(string)
Body
Media type: application/json
Type: object
Properties
- type: (motion_area_candidate)
Type of the supported resources
HTTP status code 200
Request was on resource path was successful.
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
- data: required(array of ResourceIdentifier)
Items: ResourceIdentifier
- rid: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
The unique id of the referenced resource
- rtype: required(one of device, bridge_home, room, zone, service_group, light, button, bell_button, relative_rotary, temperature, light_level, motion, camera_motion, entertainment, contact, tamper, convenience_area_motion, security_area_motion, speaker, grouped_light, grouped_motion, grouped_light_level, device_power, device_software_update, zigbee_connectivity, zgp_connectivity, bridge, motion_area_candidate, wifi_connectivity, zigbee_device_discovery, homekit, matter, matter_fabric, scene, entertainment_configuration, public_image, auth_v1, behavior_script, behavior_instance, geofence_client, geolocation, smart_scene, motion_area_configuration, clip)
The type of the referenced resource
- rid: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
HTTP status code 207
Request was partially successful, resource has been updated. Failed requests and errors are listed in error object.
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
- data: required(array of ResourceIdentifier)
Items: ResourceIdentifier
- rid: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
The unique id of the referenced resource
- rtype: required(one of device, bridge_home, room, zone, service_group, light, button, bell_button, relative_rotary, temperature, light_level, motion, camera_motion, entertainment, contact, tamper, convenience_area_motion, security_area_motion, speaker, grouped_light, grouped_motion, grouped_light_level, device_power, device_software_update, zigbee_connectivity, zgp_connectivity, bridge, motion_area_candidate, wifi_connectivity, zigbee_device_discovery, homekit, matter, matter_fabric, scene, entertainment_configuration, public_image, auth_v1, behavior_script, behavior_instance, geofence_client, geolocation, smart_scene, motion_area_configuration, clip)
The type of the referenced resource
- rid: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
HTTP status code 400
Request was on resource path was unsuccessful, body of request contains errors.
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 401
Client is not authorized
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 403
Client is not allowed to perform operation on this resource.
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 404
Resource or resource path does not exist
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 405
Method is not supported by the resource
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 409
Request conflict with the current state of the target resource
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 429
Too many requests
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 500
Internal Server Error
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 503
Busy, try again later.
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 507
Insufficient resources
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
Secured by hue-application-key
Headers
- hue-application-key: required(string)
API token
get /resource/motion_area_candidate/{id}
API authorization using a hue-application-key header
URI Parameters
- id: required(string)
HTTP status code 200
Request was on resource path was successful. Result of request is in data.
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
- data: required(array of MotionAreaCandidateGet)
Items: MotionAreaCandidateGet
- id: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
Unique identifier representing a specific resource instance
- id_v1: (string – pattern: ^(\/[a-z]{4,32}\/[0-9a-zA-Z-]{1,32})?$)
Clip v1 resource identifier
- owner: required(object)
Owner of the service, in case the owner service is deleted, the service also gets deleted
- rid: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
The unique id of the referenced resource
- rtype: required(one of device, bridge_home, room, zone, service_group, light, button, bell_button, relative_rotary, temperature, light_level, motion, camera_motion, entertainment, contact, tamper, convenience_area_motion, security_area_motion, speaker, grouped_light, grouped_motion, grouped_light_level, device_power, device_software_update, zigbee_connectivity, zgp_connectivity, bridge, motion_area_candidate, wifi_connectivity, zigbee_device_discovery, homekit, matter, matter_fabric, scene, entertainment_configuration, public_image, auth_v1, behavior_script, behavior_instance, geofence_client, geolocation, smart_scene, motion_area_configuration, clip)
The type of the referenced resource
- rid: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
- type: required(motion_area_candidate)
Type of the supported resources
- capabilities: required(array of MotionAreaCapability)
- id: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
HTTP status code 401
Client is not authorized
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 403
Client is not allowed to perform operation on this resource.
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 404
Resource or resource path does not exist
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 405
Method is not supported by the resource
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 409
Request conflict with the current state of the target resource
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 429
Too many requests
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 500
Internal Server Error
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 503
Busy, try again later.
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 507
Insufficient resources
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
Secured by hue-application-key
Headers
- hue-application-key: required(string)
API token
/resource/convenience_area_motion
API to motion area based motion sensors for convenience use case
List all resources of this type
get /resource/convenience_area_motion
List all resources of this type
API authorization using a hue-application-key header
HTTP status code 200
Request was on resource path was successful. Result of request is in data.
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
- data: required(array of ConvenienceAreaMotionGet)
Items: ConvenienceAreaMotionGet
- id: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
Unique identifier representing a specific resource instance
- id_v1: (string – pattern: ^(\/[a-z]{4,32}\/[0-9a-zA-Z-]{1,32})?$)
Clip v1 resource identifier
- owner: required(object)
Owner of the service, in case the owner service is deleted, the service also gets deleted
- rid: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
The unique id of the referenced resource
- rtype: required(one of device, bridge_home, room, zone, service_group, light, button, bell_button, relative_rotary, temperature, light_level, motion, camera_motion, entertainment, contact, tamper, convenience_area_motion, security_area_motion, speaker, grouped_light, grouped_motion, grouped_light_level, device_power, device_software_update, zigbee_connectivity, zgp_connectivity, bridge, motion_area_candidate, wifi_connectivity, zigbee_device_discovery, homekit, matter, matter_fabric, scene, entertainment_configuration, public_image, auth_v1, behavior_script, behavior_instance, geofence_client, geolocation, smart_scene, motion_area_configuration, clip)
The type of the referenced resource
- rid: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
- enabled: required(boolean)
true when sensor is activated, false when deactivated
- motion: required(object)
- motion: required(boolean)
Deprecated. Moved to motion_report/motion.
- motion_valid: required(boolean)
Deprecated. Motion is valid when motion_report property is present, invalid when absent.
- motion_report: (object)
- changed: required(datetime)
last time the value of this property is changed.
- motion: required(boolean)
true if motion is detected
- changed: required(datetime)
- motion: required(boolean)
- sensitivity: (object)
- status: required(one of set, changing)
- sensitivity: required(integer)
Sensitivity of the sensor. Value in the range 0 to sensitivity_max.
- sensitivity_max: (integer)
Maximum value of the sensitivity configuration attribute.
- type: required(convenience_area_motion)
Type of the supported resources
- id: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
HTTP status code 401
Client is not authorized
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 403
Client is not allowed to perform operation on this resource.
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 404
Resource or resource path does not exist
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 405
Method is not supported by the resource
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 406
Query parameter has invalid value.
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 409
Request conflict with the current state of the target resource
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 429
Too many requests
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 500
Internal Server Error
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 503
Busy, try again later.
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 507
Insufficient resources
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
Secured by hue-application-key
Headers
- hue-application-key: required(string)
API token
API calls for resource which cannot be deleted (PUT and GET on resource instance)
put /resource/convenience_area_motion/{id}
API authorization using a hue-application-key header
URI Parameters
- id: required(string)
Body
Media type: application/json
Type: object
Properties
- enabled: (boolean)
true when sensor is activated, false when deactivated
- sensitivity: (object)
- sensitivity: (integer)
Sensitivity of the sensor. Value in the range 0 to sensitivity_max.
- sensitivity: (integer)
- type: (convenience_area_motion)
Type of the supported resources
HTTP status code 200
Request was on resource path was successful.
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
- data: required(array of ResourceIdentifier)
Items: ResourceIdentifier
- rid: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
The unique id of the referenced resource
- rtype: required(one of device, bridge_home, room, zone, service_group, light, button, bell_button, relative_rotary, temperature, light_level, motion, camera_motion, entertainment, contact, tamper, convenience_area_motion, security_area_motion, speaker, grouped_light, grouped_motion, grouped_light_level, device_power, device_software_update, zigbee_connectivity, zgp_connectivity, bridge, motion_area_candidate, wifi_connectivity, zigbee_device_discovery, homekit, matter, matter_fabric, scene, entertainment_configuration, public_image, auth_v1, behavior_script, behavior_instance, geofence_client, geolocation, smart_scene, motion_area_configuration, clip)
The type of the referenced resource
- rid: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
HTTP status code 207
Request was partially successful, resource has been updated. Failed requests and errors are listed in error object.
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
- data: required(array of ResourceIdentifier)
Items: ResourceIdentifier
- rid: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
The unique id of the referenced resource
- rtype: required(one of device, bridge_home, room, zone, service_group, light, button, bell_button, relative_rotary, temperature, light_level, motion, camera_motion, entertainment, contact, tamper, convenience_area_motion, security_area_motion, speaker, grouped_light, grouped_motion, grouped_light_level, device_power, device_software_update, zigbee_connectivity, zgp_connectivity, bridge, motion_area_candidate, wifi_connectivity, zigbee_device_discovery, homekit, matter, matter_fabric, scene, entertainment_configuration, public_image, auth_v1, behavior_script, behavior_instance, geofence_client, geolocation, smart_scene, motion_area_configuration, clip)
The type of the referenced resource
- rid: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
HTTP status code 400
Request was on resource path was unsuccessful, body of request contains errors.
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 401
Client is not authorized
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 403
Client is not allowed to perform operation on this resource.
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 404
Resource or resource path does not exist
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 405
Method is not supported by the resource
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 409
Request conflict with the current state of the target resource
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 429
Too many requests
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 500
Internal Server Error
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 503
Busy, try again later.
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 507
Insufficient resources
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
Secured by hue-application-key
Headers
- hue-application-key: required(string)
API token
get /resource/convenience_area_motion/{id}
API authorization using a hue-application-key header
URI Parameters
- id: required(string)
HTTP status code 200
Request was on resource path was successful. Result of request is in data.
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
- data: required(array of ConvenienceAreaMotionGet)
Items: ConvenienceAreaMotionGet
- id: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
Unique identifier representing a specific resource instance
- id_v1: (string – pattern: ^(\/[a-z]{4,32}\/[0-9a-zA-Z-]{1,32})?$)
Clip v1 resource identifier
- owner: required(object)
Owner of the service, in case the owner service is deleted, the service also gets deleted
- rid: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
The unique id of the referenced resource
- rtype: required(one of device, bridge_home, room, zone, service_group, light, button, bell_button, relative_rotary, temperature, light_level, motion, camera_motion, entertainment, contact, tamper, convenience_area_motion, security_area_motion, speaker, grouped_light, grouped_motion, grouped_light_level, device_power, device_software_update, zigbee_connectivity, zgp_connectivity, bridge, motion_area_candidate, wifi_connectivity, zigbee_device_discovery, homekit, matter, matter_fabric, scene, entertainment_configuration, public_image, auth_v1, behavior_script, behavior_instance, geofence_client, geolocation, smart_scene, motion_area_configuration, clip)
The type of the referenced resource
- rid: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
- enabled: required(boolean)
true when sensor is activated, false when deactivated
- motion: required(object)
- motion: required(boolean)
Deprecated. Moved to motion_report/motion.
- motion_valid: required(boolean)
Deprecated. Motion is valid when motion_report property is present, invalid when absent.
- motion_report: (object)
- changed: required(datetime)
last time the value of this property is changed.
- motion: required(boolean)
true if motion is detected
- changed: required(datetime)
- motion: required(boolean)
- sensitivity: (object)
- status: required(one of set, changing)
- sensitivity: required(integer)
Sensitivity of the sensor. Value in the range 0 to sensitivity_max.
- sensitivity_max: (integer)
Maximum value of the sensitivity configuration attribute.
- type: required(convenience_area_motion)
Type of the supported resources
- id: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
HTTP status code 401
Client is not authorized
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 403
Client is not allowed to perform operation on this resource.
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 404
Resource or resource path does not exist
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 405
Method is not supported by the resource
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 409
Request conflict with the current state of the target resource
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 429
Too many requests
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 500
Internal Server Error
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 503
Busy, try again later.
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 507
Insufficient resources
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
Secured by hue-application-key
Headers
- hue-application-key: required(string)
API token
/resource/security_area_motion
API to motion area based motion sensors for security use case
List all resources of this type
get /resource/security_area_motion
List all resources of this type
API authorization using a hue-application-key header
HTTP status code 200
Request was on resource path was successful. Result of request is in data.
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
- data: required(array of SecurityAreaMotionGet)
Items: SecurityAreaMotionGet
- id: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
Unique identifier representing a specific resource instance
- id_v1: (string – pattern: ^(\/[a-z]{4,32}\/[0-9a-zA-Z-]{1,32})?$)
Clip v1 resource identifier
- owner: required(object)
Owner of the service, in case the owner service is deleted, the service also gets deleted
- rid: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
The unique id of the referenced resource
- rtype: required(one of device, bridge_home, room, zone, service_group, light, button, bell_button, relative_rotary, temperature, light_level, motion, camera_motion, entertainment, contact, tamper, convenience_area_motion, security_area_motion, speaker, grouped_light, grouped_motion, grouped_light_level, device_power, device_software_update, zigbee_connectivity, zgp_connectivity, bridge, motion_area_candidate, wifi_connectivity, zigbee_device_discovery, homekit, matter, matter_fabric, scene, entertainment_configuration, public_image, auth_v1, behavior_script, behavior_instance, geofence_client, geolocation, smart_scene, motion_area_configuration, clip)
The type of the referenced resource
- rid: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
- enabled: required(boolean)
true when sensor is activated, false when deactivated
- motion: required(object)
- motion: required(boolean)
Deprecated. Moved to motion_report/motion.
- motion_valid: required(boolean)
Deprecated. Motion is valid when motion_report property is present, invalid when absent.
- motion_report: (object)
- changed: required(datetime)
last time the value of this property is changed.
- motion: required(boolean)
true if motion is detected
- changed: required(datetime)
- motion: required(boolean)
- sensitivity: (object)
- status: required(one of set, changing)
- sensitivity: required(integer)
Sensitivity of the sensor. Value in the range 0 to sensitivity_max.
- sensitivity_max: (integer)
Maximum value of the sensitivity configuration attribute.
- type: required(security_area_motion)
Type of the supported resources
- id: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
HTTP status code 401
Client is not authorized
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 403
Client is not allowed to perform operation on this resource.
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 404
Resource or resource path does not exist
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 405
Method is not supported by the resource
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 406
Query parameter has invalid value.
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 409
Request conflict with the current state of the target resource
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 429
Too many requests
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 500
Internal Server Error
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 503
Busy, try again later.
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 507
Insufficient resources
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
Secured by hue-application-key
Headers
- hue-application-key: required(string)
API token
API calls for resource which cannot be deleted (PUT and GET on resource instance)
put /resource/security_area_motion/{id}
API authorization using a hue-application-key header
URI Parameters
- id: required(string)
Body
Media type: application/json
Type: object
Properties
- enabled: (boolean)
true when sensor is activated, false when deactivated
- sensitivity: (object)
- sensitivity: (integer)
Sensitivity of the sensor. Value in the range 0 to sensitivity_max.
- sensitivity: (integer)
- type: (security_area_motion)
Type of the supported resources
HTTP status code 200
Request was on resource path was successful.
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
- data: required(array of ResourceIdentifier)
Items: ResourceIdentifier
- rid: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
The unique id of the referenced resource
- rtype: required(one of device, bridge_home, room, zone, service_group, light, button, bell_button, relative_rotary, temperature, light_level, motion, camera_motion, entertainment, contact, tamper, convenience_area_motion, security_area_motion, speaker, grouped_light, grouped_motion, grouped_light_level, device_power, device_software_update, zigbee_connectivity, zgp_connectivity, bridge, motion_area_candidate, wifi_connectivity, zigbee_device_discovery, homekit, matter, matter_fabric, scene, entertainment_configuration, public_image, auth_v1, behavior_script, behavior_instance, geofence_client, geolocation, smart_scene, motion_area_configuration, clip)
The type of the referenced resource
- rid: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
HTTP status code 207
Request was partially successful, resource has been updated. Failed requests and errors are listed in error object.
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
- data: required(array of ResourceIdentifier)
Items: ResourceIdentifier
- rid: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
The unique id of the referenced resource
- rtype: required(one of device, bridge_home, room, zone, service_group, light, button, bell_button, relative_rotary, temperature, light_level, motion, camera_motion, entertainment, contact, tamper, convenience_area_motion, security_area_motion, speaker, grouped_light, grouped_motion, grouped_light_level, device_power, device_software_update, zigbee_connectivity, zgp_connectivity, bridge, motion_area_candidate, wifi_connectivity, zigbee_device_discovery, homekit, matter, matter_fabric, scene, entertainment_configuration, public_image, auth_v1, behavior_script, behavior_instance, geofence_client, geolocation, smart_scene, motion_area_configuration, clip)
The type of the referenced resource
- rid: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
HTTP status code 400
Request was on resource path was unsuccessful, body of request contains errors.
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 401
Client is not authorized
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 403
Client is not allowed to perform operation on this resource.
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 404
Resource or resource path does not exist
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 405
Method is not supported by the resource
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 409
Request conflict with the current state of the target resource
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 429
Too many requests
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 500
Internal Server Error
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 503
Busy, try again later.
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 507
Insufficient resources
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
Secured by hue-application-key
Headers
- hue-application-key: required(string)
API token
get /resource/security_area_motion/{id}
API authorization using a hue-application-key header
URI Parameters
- id: required(string)
HTTP status code 200
Request was on resource path was successful. Result of request is in data.
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
- data: required(array of SecurityAreaMotionGet)
Items: SecurityAreaMotionGet
- id: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
Unique identifier representing a specific resource instance
- id_v1: (string – pattern: ^(\/[a-z]{4,32}\/[0-9a-zA-Z-]{1,32})?$)
Clip v1 resource identifier
- owner: required(object)
Owner of the service, in case the owner service is deleted, the service also gets deleted
- rid: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
The unique id of the referenced resource
- rtype: required(one of device, bridge_home, room, zone, service_group, light, button, bell_button, relative_rotary, temperature, light_level, motion, camera_motion, entertainment, contact, tamper, convenience_area_motion, security_area_motion, speaker, grouped_light, grouped_motion, grouped_light_level, device_power, device_software_update, zigbee_connectivity, zgp_connectivity, bridge, motion_area_candidate, wifi_connectivity, zigbee_device_discovery, homekit, matter, matter_fabric, scene, entertainment_configuration, public_image, auth_v1, behavior_script, behavior_instance, geofence_client, geolocation, smart_scene, motion_area_configuration, clip)
The type of the referenced resource
- rid: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
- enabled: required(boolean)
true when sensor is activated, false when deactivated
- motion: required(object)
- motion: required(boolean)
Deprecated. Moved to motion_report/motion.
- motion_valid: required(boolean)
Deprecated. Motion is valid when motion_report property is present, invalid when absent.
- motion_report: (object)
- changed: required(datetime)
last time the value of this property is changed.
- motion: required(boolean)
true if motion is detected
- changed: required(datetime)
- motion: required(boolean)
- sensitivity: (object)
- status: required(one of set, changing)
- sensitivity: required(integer)
Sensitivity of the sensor. Value in the range 0 to sensitivity_max.
- sensitivity_max: (integer)
Maximum value of the sensitivity configuration attribute.
- type: required(security_area_motion)
Type of the supported resources
- id: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
HTTP status code 401
Client is not authorized
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 403
Client is not allowed to perform operation on this resource.
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 404
Resource or resource path does not exist
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 405
Method is not supported by the resource
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 409
Request conflict with the current state of the target resource
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 429
Too many requests
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 500
Internal Server Error
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 503
Busy, try again later.
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 507
Insufficient resources
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
Secured by hue-application-key
Headers
- hue-application-key: required(string)
API token
/resource/speaker
API to manage speaker services. These are offered by devices with speakers.
List all resources of this type
get /resource/speaker
List all resources of this type
API authorization using a hue-application-key header
HTTP status code 200
Request was on resource path was successful. Result of request is in data.
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
- data: required(array of SpeakerGet)
Items: SpeakerGet
- id: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
Unique identifier representing a specific resource instance
- id_v1: (string – pattern: ^(\/[a-z]{4,32}\/[0-9a-zA-Z-]{1,32})?$)
Clip v1 resource identifier
- owner: required(object)
Owner of the service, in case the owner service is deleted, the service also gets deleted
- rid: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
The unique id of the referenced resource
- rtype: required(one of device, bridge_home, room, zone, service_group, light, button, bell_button, relative_rotary, temperature, light_level, motion, camera_motion, entertainment, contact, tamper, convenience_area_motion, security_area_motion, speaker, grouped_light, grouped_motion, grouped_light_level, device_power, device_software_update, zigbee_connectivity, zgp_connectivity, bridge, motion_area_candidate, wifi_connectivity, zigbee_device_discovery, homekit, matter, matter_fabric, scene, entertainment_configuration, public_image, auth_v1, behavior_script, behavior_instance, geofence_client, geolocation, smart_scene, motion_area_configuration, clip)
The type of the referenced resource
- rid: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
- type: required(speaker)
Type of the supported resources
- alarm: (object)
- sound_values: required(array of SupportedSounds – minItems: 1)
- status: required(object)
Status of the current active feature
- sound: required(one of no_sound, alert, bleep, ding_dong_classic, ding_dong_modern, rise, siren, westminster_classic, westminster_modern, ding_dong_xylo, hue_default, sonar, swing, bright, glow, bounce, reveal, welcome, bright_modern, fairy, galaxy, echo)
- sound_values: required(array of SupportedSounds – minItems: 2)
- estimated_end: (object)
only present for siren. Estimated end-time based on requested duration.
- estimate: required(datetime)
- chime: (object)
- sound_values: required(array of SupportedSounds – minItems: 1)
- status: required(object)
Status of the current active feature
- sound: required(one of no_sound, alert, bleep, ding_dong_classic, ding_dong_modern, rise, siren, westminster_classic, westminster_modern, ding_dong_xylo, hue_default, sonar, swing, bright, glow, bounce, reveal, welcome, bright_modern, fairy, galaxy, echo)
- sound_values: required(array of SupportedSounds – minItems: 2)
- estimated_end: (object)
only present for siren. Estimated end-time based on requested duration.
- estimate: required(datetime)
- alert: (object)
- sound_values: required(array of SupportedSounds – minItems: 1)
- status: required(object)
Status of the current active feature
- sound: required(one of no_sound, alert, bleep, ding_dong_classic, ding_dong_modern, rise, siren, westminster_classic, westminster_modern, ding_dong_xylo, hue_default, sonar, swing, bright, glow, bounce, reveal, welcome, bright_modern, fairy, galaxy, echo)
- sound_values: required(array of SupportedSounds – minItems: 2)
- estimated_end: (object)
only present for siren. Estimated end-time based on requested duration.
- estimate: required(datetime)
- mute: (object)
Device has only one global mute-property. Siren will not be affected by value of mute feature
- mute: required(one of mute, unmute)
- id: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
HTTP status code 401
Client is not authorized
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 403
Client is not allowed to perform operation on this resource.
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 404
Resource or resource path does not exist
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 405
Method is not supported by the resource
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 406
Query parameter has invalid value.
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 409
Request conflict with the current state of the target resource
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 429
Too many requests
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 500
Internal Server Error
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 503
Busy, try again later.
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 507
Insufficient resources
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
Secured by hue-application-key
Headers
- hue-application-key: required(string)
API token
API calls for resource which cannot be deleted (PUT and GET on resource instance)
put /resource/speaker/{id}
API authorization using a hue-application-key header
URI Parameters
- id: required(string)
Body
Media type: application/json
Type: object
Properties
- type: (speaker)
Type of the supported resources
- alarm: (object)
- sound: required(one of no_sound, alert, bleep, ding_dong_classic, ding_dong_modern, rise, siren, westminster_classic, westminster_modern, ding_dong_xylo, hue_default, sonar, swing, bright, glow, bounce, reveal, welcome, bright_modern, fairy, galaxy, echo)
- volume: (object)
Requested volume on play sound request
- level: required(number – minimum: 0 – maximum: 100)
- duration: (number – minimum: 0 – maximum: 65534000)
Stepsize of 1000 ms. Values in-between steps will round-up to next multiple of 1000
- chime: (object)
- sound: required(one of no_sound, alert, bleep, ding_dong_classic, ding_dong_modern, rise, siren, westminster_classic, westminster_modern, ding_dong_xylo, hue_default, sonar, swing, bright, glow, bounce, reveal, welcome, bright_modern, fairy, galaxy, echo)
- volume: (object)
Requested volume on play sound request
- level: required(number – minimum: 0 – maximum: 100)
- alert: (object)
- sound: required(one of no_sound, alert, bleep, ding_dong_classic, ding_dong_modern, rise, siren, westminster_classic, westminster_modern, ding_dong_xylo, hue_default, sonar, swing, bright, glow, bounce, reveal, welcome, bright_modern, fairy, galaxy, echo)
- volume: (object)
Requested volume on play sound request
- level: required(number – minimum: 0 – maximum: 100)
- mute: (object)
Device has only one global mute-property. Siren will not be affected by value of mute feature
- mute: required(one of mute, unmute)
HTTP status code 200
Request was on resource path was successful.
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
- data: required(array of ResourceIdentifier)
Items: ResourceIdentifier
- rid: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
The unique id of the referenced resource
- rtype: required(one of device, bridge_home, room, zone, service_group, light, button, bell_button, relative_rotary, temperature, light_level, motion, camera_motion, entertainment, contact, tamper, convenience_area_motion, security_area_motion, speaker, grouped_light, grouped_motion, grouped_light_level, device_power, device_software_update, zigbee_connectivity, zgp_connectivity, bridge, motion_area_candidate, wifi_connectivity, zigbee_device_discovery, homekit, matter, matter_fabric, scene, entertainment_configuration, public_image, auth_v1, behavior_script, behavior_instance, geofence_client, geolocation, smart_scene, motion_area_configuration, clip)
The type of the referenced resource
- rid: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
HTTP status code 207
Request was partially successful, resource has been updated. Failed requests and errors are listed in error object.
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
- data: required(array of ResourceIdentifier)
Items: ResourceIdentifier
- rid: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
The unique id of the referenced resource
- rtype: required(one of device, bridge_home, room, zone, service_group, light, button, bell_button, relative_rotary, temperature, light_level, motion, camera_motion, entertainment, contact, tamper, convenience_area_motion, security_area_motion, speaker, grouped_light, grouped_motion, grouped_light_level, device_power, device_software_update, zigbee_connectivity, zgp_connectivity, bridge, motion_area_candidate, wifi_connectivity, zigbee_device_discovery, homekit, matter, matter_fabric, scene, entertainment_configuration, public_image, auth_v1, behavior_script, behavior_instance, geofence_client, geolocation, smart_scene, motion_area_configuration, clip)
The type of the referenced resource
- rid: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
HTTP status code 400
Request was on resource path was unsuccessful, body of request contains errors.
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 401
Client is not authorized
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 403
Client is not allowed to perform operation on this resource.
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 404
Resource or resource path does not exist
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 405
Method is not supported by the resource
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 409
Request conflict with the current state of the target resource
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 429
Too many requests
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 500
Internal Server Error
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 503
Busy, try again later.
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 507
Insufficient resources
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
Secured by hue-application-key
Headers
- hue-application-key: required(string)
API token
get /resource/speaker/{id}
API authorization using a hue-application-key header
URI Parameters
- id: required(string)
HTTP status code 200
Request was on resource path was successful. Result of request is in data.
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
- data: required(array of SpeakerGet)
Items: SpeakerGet
- id: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
Unique identifier representing a specific resource instance
- id_v1: (string – pattern: ^(\/[a-z]{4,32}\/[0-9a-zA-Z-]{1,32})?$)
Clip v1 resource identifier
- owner: required(object)
Owner of the service, in case the owner service is deleted, the service also gets deleted
- rid: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
The unique id of the referenced resource
- rtype: required(one of device, bridge_home, room, zone, service_group, light, button, bell_button, relative_rotary, temperature, light_level, motion, camera_motion, entertainment, contact, tamper, convenience_area_motion, security_area_motion, speaker, grouped_light, grouped_motion, grouped_light_level, device_power, device_software_update, zigbee_connectivity, zgp_connectivity, bridge, motion_area_candidate, wifi_connectivity, zigbee_device_discovery, homekit, matter, matter_fabric, scene, entertainment_configuration, public_image, auth_v1, behavior_script, behavior_instance, geofence_client, geolocation, smart_scene, motion_area_configuration, clip)
The type of the referenced resource
- rid: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
- type: required(speaker)
Type of the supported resources
- alarm: (object)
- sound_values: required(array of SupportedSounds – minItems: 1)
- status: required(object)
Status of the current active feature
- sound: required(one of no_sound, alert, bleep, ding_dong_classic, ding_dong_modern, rise, siren, westminster_classic, westminster_modern, ding_dong_xylo, hue_default, sonar, swing, bright, glow, bounce, reveal, welcome, bright_modern, fairy, galaxy, echo)
- sound_values: required(array of SupportedSounds – minItems: 2)
- estimated_end: (object)
only present for siren. Estimated end-time based on requested duration.
- estimate: required(datetime)
- chime: (object)
- sound_values: required(array of SupportedSounds – minItems: 1)
- status: required(object)
Status of the current active feature
- sound: required(one of no_sound, alert, bleep, ding_dong_classic, ding_dong_modern, rise, siren, westminster_classic, westminster_modern, ding_dong_xylo, hue_default, sonar, swing, bright, glow, bounce, reveal, welcome, bright_modern, fairy, galaxy, echo)
- sound_values: required(array of SupportedSounds – minItems: 2)
- estimated_end: (object)
only present for siren. Estimated end-time based on requested duration.
- estimate: required(datetime)
- alert: (object)
- sound_values: required(array of SupportedSounds – minItems: 1)
- status: required(object)
Status of the current active feature
- sound: required(one of no_sound, alert, bleep, ding_dong_classic, ding_dong_modern, rise, siren, westminster_classic, westminster_modern, ding_dong_xylo, hue_default, sonar, swing, bright, glow, bounce, reveal, welcome, bright_modern, fairy, galaxy, echo)
- sound_values: required(array of SupportedSounds – minItems: 2)
- estimated_end: (object)
only present for siren. Estimated end-time based on requested duration.
- estimate: required(datetime)
- mute: (object)
Device has only one global mute-property. Siren will not be affected by value of mute feature
- mute: required(one of mute, unmute)
- id: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
HTTP status code 401
Client is not authorized
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 403
Client is not allowed to perform operation on this resource.
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 404
Resource or resource path does not exist
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 405
Method is not supported by the resource
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 409
Request conflict with the current state of the target resource
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 429
Too many requests
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 500
Internal Server Error
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 503
Busy, try again later.
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 507
Insufficient resources
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
Secured by hue-application-key
Headers
- hue-application-key: required(string)
API token
/resource/clip
API to reflect public clip services
List all resources of this type
get /resource/clip
List all resources of this type
API authorization using a hue-application-key header
HTTP status code 200
Request was on resource path was successful. Result of request is in data.
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
- data: required(array of ClipGet)
Items: ClipGet
- id: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
Unique identifier representing a specific resource instance
- id_v1: (string – pattern: ^(\/[a-z]{4,32}\/[0-9a-zA-Z-]{1,32})?$)
Clip v1 resource identifier
- type: required(clip)
Type of the supported resources
- resources: required(array of ResourceTypes)
A list of all public resource types supported by the bridge.
- id: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
HTTP status code 401
Client is not authorized
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 403
Client is not allowed to perform operation on this resource.
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 404
Resource or resource path does not exist
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 405
Method is not supported by the resource
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 406
Query parameter has invalid value.
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 409
Request conflict with the current state of the target resource
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 429
Too many requests
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 500
Internal Server Error
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 503
Busy, try again later.
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 507
Insufficient resources
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
Secured by hue-application-key
Headers
- hue-application-key: required(string)
API token
API calls for resource which cannot be deleted (PUT and GET on resource instance)
put /resource/clip/{id}
API authorization using a hue-application-key header
URI Parameters
- id: required(string)
Body
Media type: application/json
Type: object
Properties
- type: (clip)
Type of the supported resources
HTTP status code 200
Request was on resource path was successful.
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
- data: required(array of ResourceIdentifier)
Items: ResourceIdentifier
- rid: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
The unique id of the referenced resource
- rtype: required(one of device, bridge_home, room, zone, service_group, light, button, bell_button, relative_rotary, temperature, light_level, motion, camera_motion, entertainment, contact, tamper, convenience_area_motion, security_area_motion, speaker, grouped_light, grouped_motion, grouped_light_level, device_power, device_software_update, zigbee_connectivity, zgp_connectivity, bridge, motion_area_candidate, wifi_connectivity, zigbee_device_discovery, homekit, matter, matter_fabric, scene, entertainment_configuration, public_image, auth_v1, behavior_script, behavior_instance, geofence_client, geolocation, smart_scene, motion_area_configuration, clip)
The type of the referenced resource
- rid: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
HTTP status code 207
Request was partially successful, resource has been updated. Failed requests and errors are listed in error object.
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
- data: required(array of ResourceIdentifier)
Items: ResourceIdentifier
- rid: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
The unique id of the referenced resource
- rtype: required(one of device, bridge_home, room, zone, service_group, light, button, bell_button, relative_rotary, temperature, light_level, motion, camera_motion, entertainment, contact, tamper, convenience_area_motion, security_area_motion, speaker, grouped_light, grouped_motion, grouped_light_level, device_power, device_software_update, zigbee_connectivity, zgp_connectivity, bridge, motion_area_candidate, wifi_connectivity, zigbee_device_discovery, homekit, matter, matter_fabric, scene, entertainment_configuration, public_image, auth_v1, behavior_script, behavior_instance, geofence_client, geolocation, smart_scene, motion_area_configuration, clip)
The type of the referenced resource
- rid: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
HTTP status code 400
Request was on resource path was unsuccessful, body of request contains errors.
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 401
Client is not authorized
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 403
Client is not allowed to perform operation on this resource.
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 404
Resource or resource path does not exist
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 405
Method is not supported by the resource
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 409
Request conflict with the current state of the target resource
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 429
Too many requests
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 500
Internal Server Error
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 503
Busy, try again later.
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 507
Insufficient resources
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
Secured by hue-application-key
Headers
- hue-application-key: required(string)
API token
get /resource/clip/{id}
API authorization using a hue-application-key header
URI Parameters
- id: required(string)
HTTP status code 200
Request was on resource path was successful. Result of request is in data.
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
- data: required(array of ClipGet)
Items: ClipGet
- id: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
Unique identifier representing a specific resource instance
- id_v1: (string – pattern: ^(\/[a-z]{4,32}\/[0-9a-zA-Z-]{1,32})?$)
Clip v1 resource identifier
- type: required(clip)
Type of the supported resources
- resources: required(array of ResourceTypes)
A list of all public resource types supported by the bridge.
- id: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
HTTP status code 401
Client is not authorized
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 403
Client is not allowed to perform operation on this resource.
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 404
Resource or resource path does not exist
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 405
Method is not supported by the resource
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 409
Request conflict with the current state of the target resource
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 429
Too many requests
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 500
Internal Server Error
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 503
Busy, try again later.
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 507
Insufficient resources
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
Secured by hue-application-key
Headers
- hue-application-key: required(string)
API token
/resource/wifi_connectivity
API to expose wifi_connectivity status
List all resources of this type
get /resource/wifi_connectivity
List all resources of this type
API authorization using a hue-application-key header
HTTP status code 200
Request was on resource path was successful. Result of request is in data.
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
- data: required(array of WifiConnectivityGet)
Items: WifiConnectivityGet
- id: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
Unique identifier representing a specific resource instance
- id_v1: (string – pattern: ^(\/[a-z]{4,32}\/[0-9a-zA-Z-]{1,32})?$)
Clip v1 resource identifier
- status: required(one of connected, disconnected)
Connected if device is available via this network interface.
- type: required(wifi_connectivity)
Type of the supported resources
- has_ssid: required(boolean)
- id: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
HTTP status code 401
Client is not authorized
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 403
Client is not allowed to perform operation on this resource.
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 404
Resource or resource path does not exist
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 405
Method is not supported by the resource
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 406
Query parameter has invalid value.
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 409
Request conflict with the current state of the target resource
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 429
Too many requests
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 500
Internal Server Error
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 503
Busy, try again later.
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 507
Insufficient resources
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
Secured by hue-application-key
Headers
- hue-application-key: required(string)
API token
API calls for resource which cannot be deleted (PUT and GET on resource instance)
put /resource/wifi_connectivity/{id}
API authorization using a hue-application-key header
URI Parameters
- id: required(string)
Body
Media type: application/json
Type: object
Properties
- type: (wifi_connectivity)
Type of the supported resources
HTTP status code 200
Request was on resource path was successful.
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
- data: required(array of ResourceIdentifier)
Items: ResourceIdentifier
- rid: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
The unique id of the referenced resource
- rtype: required(one of device, bridge_home, room, zone, service_group, light, button, bell_button, relative_rotary, temperature, light_level, motion, camera_motion, entertainment, contact, tamper, convenience_area_motion, security_area_motion, speaker, grouped_light, grouped_motion, grouped_light_level, device_power, device_software_update, zigbee_connectivity, zgp_connectivity, bridge, motion_area_candidate, wifi_connectivity, zigbee_device_discovery, homekit, matter, matter_fabric, scene, entertainment_configuration, public_image, auth_v1, behavior_script, behavior_instance, geofence_client, geolocation, smart_scene, motion_area_configuration, clip)
The type of the referenced resource
- rid: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
HTTP status code 207
Request was partially successful, resource has been updated. Failed requests and errors are listed in error object.
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
- data: required(array of ResourceIdentifier)
Items: ResourceIdentifier
- rid: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
The unique id of the referenced resource
- rtype: required(one of device, bridge_home, room, zone, service_group, light, button, bell_button, relative_rotary, temperature, light_level, motion, camera_motion, entertainment, contact, tamper, convenience_area_motion, security_area_motion, speaker, grouped_light, grouped_motion, grouped_light_level, device_power, device_software_update, zigbee_connectivity, zgp_connectivity, bridge, motion_area_candidate, wifi_connectivity, zigbee_device_discovery, homekit, matter, matter_fabric, scene, entertainment_configuration, public_image, auth_v1, behavior_script, behavior_instance, geofence_client, geolocation, smart_scene, motion_area_configuration, clip)
The type of the referenced resource
- rid: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
HTTP status code 400
Request was on resource path was unsuccessful, body of request contains errors.
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 401
Client is not authorized
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 403
Client is not allowed to perform operation on this resource.
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 404
Resource or resource path does not exist
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 405
Method is not supported by the resource
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 409
Request conflict with the current state of the target resource
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 429
Too many requests
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 500
Internal Server Error
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 503
Busy, try again later.
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 507
Insufficient resources
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
Secured by hue-application-key
Headers
- hue-application-key: required(string)
API token
get /resource/wifi_connectivity/{id}
API authorization using a hue-application-key header
URI Parameters
- id: required(string)
HTTP status code 200
Request was on resource path was successful. Result of request is in data.
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
- data: required(array of WifiConnectivityGet)
Items: WifiConnectivityGet
- id: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
Unique identifier representing a specific resource instance
- id_v1: (string – pattern: ^(\/[a-z]{4,32}\/[0-9a-zA-Z-]{1,32})?$)
Clip v1 resource identifier
- status: required(one of connected, disconnected)
Connected if device is available via this network interface.
- type: required(wifi_connectivity)
Type of the supported resources
- has_ssid: required(boolean)
- id: required(string – pattern: ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$)
HTTP status code 401
Client is not authorized
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 403
Client is not allowed to perform operation on this resource.
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 404
Resource or resource path does not exist
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 405
Method is not supported by the resource
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 409
Request conflict with the current state of the target resource
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 429
Too many requests
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 500
Internal Server Error
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 503
Busy, try again later.
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
HTTP status code 507
Insufficient resources
Body
Media type: application/json
Type: object
Properties
- errors: required(array of Error)
Items: Error
- description: required(string)
a human-readable explanation specific to this occurrence of the problem.
- description: required(string)
Secured by hue-application-key
Headers
- hue-application-key: required(string)
API token