Skip to main content

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

    deviceId stringrequired

Responses

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.

Schema

    oneOf

    event string

    Possible values: [Discovery, Push, DeliveryStart, DeliveryStop, DeliveryCancel, DeliveryDelete, DeployStart, MetadataRequest]

    data

    object

    catalogId string

    Catalog id the action applies to (push/delivery/deploy).

    correlationId string

    Optional correlation id echoed back on device acks (D6).

Loading...