Logs
List logs
This endpoint lists data for a robot.
curl --request GET https://api.airbotics.io/robots/robot0/logs \
--header 'content-type: application/json' \
--header 'air-api-key: <token>'
[
{
"uuid": "43422c40-111f-4345-87d4-b27b952397fe",
"stamp": "2023-08-03T15:46:17.864Z",
"level": "INFO",
"name": "/turtlebot_controller",
"file": "src/turtlebot_controller.cpp",
"function": "void TurtlebotController::navigateToGoal(const geometry_msgs::Pose& goal)",
"line": 123,
"msg": "Robot has reached its destination."
}
]
Path parameters
id
string
requiredThe ID of the robot.
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/robots/robot0/logs \
--header 'content-type: application/json' \
--header 'air-api-key: <token>'
[
{
"uuid": "43422c40-111f-4345-87d4-b27b952397fe",
"stamp": "2023-08-03T15:46:17.864Z",
"level": "INFO",
"name": "/turtlebot_controller",
"file": "src/turtlebot_controller.cpp",
"function": "void TurtlebotController::navigateToGoal(const geometry_msgs::Pose& goal)",
"line": 123,
"msg": "Robot has reached its destination."
}
]