Commands
List for a robot
This endpoint lists all commands sent to a robot.
curl --request GET https://api.airbotics.io/robots/robot0/commands \
--header 'content-type: application/json' \
--header 'air-api-key: <token>'
[
{
"uuid": "6a7cbf64-94fe-4cc5-944d-ff92a1a4a507",
"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"
},
{
"uuid": "aef6416c-f1ce-4385-9bb2-8798fe942f0f",
"state": "sent",
"error_code": null,
"interface": "topic",
"name": "/speak",
"type": "std_msgs/msg/String",
"payload": {
"data": "hi"
},
"created_at": "2023-07-17T13:38:19.684Z"
}
]
Path parameters
id
string
requiredThe ID of the robot.
curl --request GET https://api.airbotics.io/robots/robot0/commands \
--header 'content-type: application/json' \
--header 'air-api-key: <token>'
[
{
"uuid": "6a7cbf64-94fe-4cc5-944d-ff92a1a4a507",
"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"
},
{
"uuid": "aef6416c-f1ce-4385-9bb2-8798fe942f0f",
"state": "sent",
"error_code": null,
"interface": "topic",
"name": "/speak",
"type": "std_msgs/msg/String",
"payload": {
"data": "hi"
},
"created_at": "2023-07-17T13:38:19.684Z"
}
]