Devices

Get the Status of a Device Component

Get the status of all attributes of a specified component.

The results may be filtered if the requester only has permission to view a subset of the component's capabilities.

If the OAuth token used in this API call is for a SmartApp that created the Device, it implicitly has permission for this API.

get/devices/{deviceId}/components/{componentId}/status

Request

Response

Successful return current status of device component's attributes.

ComponentStatus required

A map of capabilityId to capability status.

Example response

{
  "switch": {
    "switch": {
      "value": "on"
    }
  },
  "switchLevel": {
    "level": {
      "value": 90
    }
  }
}

Changes

No recorded changes to this operation across all 8 revisions of this API.