HubDevices
Retrieves the list of driver channels
Changed onReturns the list of driver channels the hub is currently subscribed to. Currently only returns the driver channel type
get/hubdevices/{hubDeviceId}/channels
Request
- Base URLhttps://api.smartthings.com/v1
- AuthOAuth 2Implicithttps://auth-global.api.smartthings.comScopesr:channels:*, mobile
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
hubDeviceIdstring ^(?:([0-9a-fA-F]{32})|([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}))$ required
The Hub's Device ID. This is sometimes referred to as the Hub UUID or HubId
Query parameters
channelTypestring
The type of channels
Headers
Authorizationstring string required
OAuth token
Accept-Languagestring
Language header representing the client's preferred language. The format of the Accept-Language header follows what is defined in RFC 7231, section 5.3.5
Response
Channels Subscribed to by Hub
Example response
[
{
"channelId": "6d7bf35a-bb57-4b1f-945a-63ff72bfbef3",
"name": "Caleb's Fiendly Drivers",
"description": "Just some friendly Drivers Here"
}
]Changes
- info
endpoint added
- info