Data
Update a data stream
This endpoint updates a data stream for a robot.
curl --request PATCH https://api.airbotics.io/robots/robot0/%2Fturtle1%2Fcmd_vel \
--header 'content-type: application/json' \
--header 'air-api-key: <token>' \
--data '{
"enabled": false,
"hz": 1
}'
{
"message": "You have updated a data collection stream for that robot."
}
Path parameters
id
string
requiredThe ID of the robot.
stream
string
requiredThe source name of the data stream. Special characters such as /
must be percent encoded
Body parameters
enabled
boolean
requiredWhether the stream should be enabled
hz
number
requiredThe frequency in hz at which the data stream should send data points
curl --request PATCH https://api.airbotics.io/robots/robot0/%2Fturtle1%2Fcmd_vel \
--header 'content-type: application/json' \
--header 'air-api-key: <token>' \
--data '{
"enabled": false,
"hz": 1
}'
{
"message": "You have updated a data collection stream for that robot."
}