ReferenceREST API

Events

REST API: Touch, fall, watchdog, safety and control events. Generated from the OpenAPI document.

Stream events

GET /v1/events/stream

Server-Sent Events for touch, fall, watchdog, safety and control changes. Opens with the current control and safety state.

Token: required · Lease: not needed

StatusMeaningBody
200Server-Sent Events; each data is a StreamEventtext/event-stream
401Missing or wrong tokenErrorBody
503Too many streams openErrorBody
curl -N -H "Authorization: Bearer $TOKEN" http://$ROBOT:7702/v1/events/stream

On this page