Device managed-command SSE channel
GET/api/v2/device/:deviceId/events/managed
Long-lived Server-Sent Events stream the device opens after a confirmed handshake. Emits : ping keepalives and command events (Discovery, Push, DeliveryStart, …). Registering the stream marks the device online; closing it marks it offline immediately.
Request
Path Parameters
Responses
- 200
SSE stream (text/event-stream). Each frame is an event: name (one of: Discovery, Push, DeliveryStart, DeliveryStop, DeliveryCancel, DeliveryDelete, DeployStart, MetadataRequest) plus a data: ReactiveCommandEventDto body. : ping keepalive comments carry no event.
- text/event-stream
- Schema
- Example (from schema)
Schema
- ReactiveCommandEventDtoFrame
- Keepalive comment
oneOf
Possible values: [Discovery, Push, DeliveryStart, DeliveryStop, DeliveryCancel, DeliveryDelete, DeployStart, MetadataRequest]
data
object
Catalog id the action applies to (push/delivery/deploy).
Optional correlation id echoed back on device acks (D6).
string
{}