View Source HueSDK.API.Resourcelinks (HueSDK v0.1.1)
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
@spec create_resourcelink(HueSDK.Bridge.t(), map()) :: HueSDK.HTTP.response()
Creates a new resourcelink in the bridge and generates a unique identifier for this resourcelink.
@spec delete_resourcelink(HueSDK.Bridge.t(), String.t()) :: HueSDK.HTTP.response()
Deletes the specified resourcelink from the bridge.
@spec get_all_resourcelinks(HueSDK.Bridge.t()) :: HueSDK.HTTP.response()
Gets a list of all resourcelinks that are in the bridge.
@spec 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.