Skip to main content

Send a command to Node

POST 

/commands/send

Sends a command to a node. If node is online and connected to the platform through MQTT it is sent to the node in realtime. It is also stored and queued if device is not online. Device can execute the commands in order or in parallel depending on application requirement.

note

The commands can be queued for maximum of 7 days and is then discarded.

Request

Body

    nodeid string
    command string
    data string
    type string

    Possible values: [string, binary]

    expiry integer

Responses

Success

Schema
    success string
    error string
    errorcode string
    commandId string
Loading...