EdgeEventController
EdgeEventController exposes REST endpoints for querying edge events: the downlink queue that the ThingsBoard server keeps for each Edge, like entity assignments, rule chain pushes, and RPC calls. Call it on the server: it backs the Downlinks tab of the Edge. On an Edge node, this log stays empty.
Endpoints
Section titled “Endpoints”Base path: /api/edge/{edgeId}/events
| Method | Path | Description |
|---|---|---|
| GET | /api/edge/{edgeId}/events |
Returns a paginated list of edge events. Supports pageSize, page, textSearch, sortProperty, sortOrder, startTime, and endTime. Requires TENANT_ADMIN or CUSTOMER_USER authority. |
Cloud events vs. edge events
Section titled “Cloud events vs. edge events”Two event logs help diagnose synchronization:
- Cloud events at
/api/edge/events: Outbound messages queued on Edge waiting to be sent upstream to the server, like telemetry, alarms, and entity changes. Accessible viaEdgeController. - Edge events at
/api/edge/{edgeId}/eventson the server: downlink messages the server sends to the Edge, like entity assignments, rule chain pushes, and RPC calls. Accessible viaEdgeEventController.
Both queues use the same pagination interface and are useful for diagnosing synchronization issues. If the cloud events queue grows without draining, check the gRPC connection status via Edge status & events and message statistics.
Was this helpful?