HubDevices

Get Driver in use by Hub Device

Changed on

Returns the specific driver revision information of the driver that is in use by a hub

get/hubdevices/{hubDeviceId}/drivers/{driverId}

Request

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

driverIdstring uuid required

Headers

Authorizationstring string required

OAuth token

Response

Installed Driver Information

driverIdstring required

Unique Identifier of the driver

namestring required

User friendly Identifier for Driver

descriptionstring

Description of Driver

versionstring required

version of the driver currently in use

channelIdstring

identifier for channel this driver is installed from

developerstring

developer of the driver

vendorSupportInformationstring

information on how to reach vendor

permissionsobject

map of permissions and attributes used by the driver. In format of {"permissions":{"perm1":{...}, "perm2"{...}}}

isWWSTboolean

Flag to denote that this driver is part of a works with SmartThings channel

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