HueSDK.API.Resourcelinks (HueSDK v0.1.0) View Source

Interface to the Resourcelinks API.

See the official documentation for more information.

Link to this section Summary

Functions

Creates a new resourcelink in the bridge and generates a unique identifier for this resourcelink.

Deletes the specified resourcelink from the bridge.

Gets a list of all resourcelinks that are in the bridge.

Updates individual or multiple attributes of an existing resourcelink. At least one attribute has to be provided.

Link to this section Functions

Link to this function

create_resourcelink(bridge, attributes)

View Source

Specs

create_resourcelink(HueSDK.Bridge.t(), map()) :: HueSDK.HTTP.response()

Creates a new resourcelink in the bridge and generates a unique identifier for this resourcelink.

Link to this function

delete_resourcelink(bridge, resourcelink_id)

View Source

Specs

delete_resourcelink(HueSDK.Bridge.t(), String.t()) :: HueSDK.HTTP.response()

Deletes the specified resourcelink from the bridge.

Link to this function

get_all_resourcelinks(bridge)

View Source

Specs

get_all_resourcelinks(HueSDK.Bridge.t()) :: HueSDK.HTTP.response()

Gets a list of all resourcelinks that are in the bridge.

Link to this function

update_resourcelink(bridge, resourcelink_id, attributes)

View Source

Specs

update_resourcelink(HueSDK.Bridge.t(), String.t(), map()) ::
  HueSDK.HTTP.response()

Updates individual or multiple attributes of an existing resourcelink. At least one attribute has to be provided.