Commands
List commands
This endpoint lists all commands in your organisation.
curl --request GET https://api.airbotics.io/commands \
--header 'content-type: application/json' \
--header 'air-api-key: <token>'
[
{
"uuid": "6a7cbf64-94fe-4cc5-944d-ff92a1a4a507",
"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"
},
{
"uuid": "aef6416c-f1ce-4385-9bb2-8798fe942f0f",
"robot_id": "robot0",
"state": "error",
"error_code": "robot_not_provisioned",
"interface": "topic",
"name": "/speak",
"type": "std_msgs/msg/String",
"payload": {
"data": "hi"
},
"created_at": "2023-07-17T13:38:19.684Z"
}
]
Query parameters
offset
int
default: "0"The number of results to skip, if paginating.
limit
int
default: "50"The number of results to take, if paginating.
curl --request GET https://api.airbotics.io/commands \
--header 'content-type: application/json' \
--header 'air-api-key: <token>'
[
{
"uuid": "6a7cbf64-94fe-4cc5-944d-ff92a1a4a507",
"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"
},
{
"uuid": "aef6416c-f1ce-4385-9bb2-8798fe942f0f",
"robot_id": "robot0",
"state": "error",
"error_code": "robot_not_provisioned",
"interface": "topic",
"name": "/speak",
"type": "std_msgs/msg/String",
"payload": {
"data": "hi"
},
"created_at": "2023-07-17T13:38:19.684Z"
}
]