get States

get
/subscriptions/{subscriptionid}/registries/{registryId}/devices/{deviceId}/states

Get States Of Devices

Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
x-api-keystringRequired
Path parameters
subscriptionidstringRequired

Subscription ID

registryIdstringRequired

Registry ID

deviceIdstringRequired

Device ID

Query parameters
numStatesintegerOptional

The number of states to list. States are listed in descending order of update time. The maximum number of states retained is 10. If this value is zero, it will return all the states available.

Responses
200

OK

application/json
get
/subscriptions/{subscriptionid}/registries/{registryId}/devices/{deviceId}/states

Authorization: apiKey

name: x-api-key
in: header
type: apiKey

Last updated