Skip to main content

Get next command

POST 

/v1/commands/next

Get the next command from the platform. Platform returns one command at a time in the ascending order of creation time. This API is usefull when in-order command execution is required, i.e. commands needs to be executed in the same order in which they were issued.

note

The API will return same command on each call until that command is acknowledged to state received and above

MQTT Topic

$anedya/device/{deviceid}/commands/next/json

Request

Responses

Success