HubDevices
Retrieves the list of hub installed driver
Changed onReturns the list of drivers currently installed on the hub
get/hubdevices/{hubDeviceId}/drivers
Request
- Base URLhttps://api.smartthings.com/v1
- AuthOAuth 2Implicithttps://auth-global.api.smartthings.comScopesr:drivers:*, mobile, w:devices:*
- 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
deviceIdstring
optional filter to only return installed drivers that can be used by the passed in device
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
List of hub installed drivers
Example response
[
{
"driverId": "6d7bf35a-bb57-4b1f-945a-63ff72bfbef3",
"name": "Caleb's Fiendly Driver",
"description": "One friendly driver alright",
"vendorSupportInformation": "You can find us at JustAFriendlyDriver.com",
"permissions": {
"lan": {},
"lan_internet": {
"allowed_hosts": [
"smartthings.com",
"samsung.com"
]
}
}
}
]Changes
- info
endpoint added
- info