Update Command

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
📘

Use the hub_url received in the registration response as your base URL.

📘

This API requires the device to authenticate, see Device Authentication.

Update the server on the status of execution of a command.

Request Data

NameTypeRequiredDescription
statusstringYesCurrent command status:
  • in_progress - update server on a long-running command
  • done - command completed
  • failed - failed to run command
messagestring

Optional: Message providing details on the status update.

It is strongly recommended to provide a message in case of failure, to allow the operator to understand the error's cause.

idstringYes

Request Sample

{
    "status": "done",
    "message": "success!",
    "id": "xxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
}
Path Params
string
required
Body Params
string
required
Defaults to done
string
string
required
Responses

Language
Credentials
Header
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json