Commands
Get a command
This endpoint gets details about a command.
curl --request GET https://api.airbotics.io/commands/00000000-0000-0000-0000-000000000000 \
--header 'content-type: application/json' \
--header 'air-api-key: <token>'
{
"uuid": "00000000-0000-0000-0000-000000000000",
"robot_id": "robot0",
"state": "sent",
"error_code": null,
"interface": "topic",
"name": "/set-bool",
"type": "std_msgs/msg/Bool",
"payload": {
"data": true
},
"created_at": "2023-07-17T13:38:43.508Z"
}
Path parameters
id
string
requiredThe ID of the command.
curl --request GET https://api.airbotics.io/commands/00000000-0000-0000-0000-000000000000 \
--header 'content-type: application/json' \
--header 'air-api-key: <token>'
{
"uuid": "00000000-0000-0000-0000-000000000000",
"robot_id": "robot0",
"state": "sent",
"error_code": null,
"interface": "topic",
"name": "/set-bool",
"type": "std_msgs/msg/Bool",
"payload": {
"data": true
},
"created_at": "2023-07-17T13:38:43.508Z"
}