Get Edge Events (getEdgeEvents)
Returns a page of edge events for the requested edge. You can specify parameters to filter the results. The result is wrapped with PageData object that allows you to iterate over result set using pagination. See response schema for more details.
Request
- Base URLhttps://demo.thingsboard.io
- Authnone declared
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
A string value representing the edge id. For example, '784f394c-42b6-435a-983c-b7beff2784f9'
Query parameters
Maximum amount of entities in a one page
Sequence number of page starting from 0
The case insensitive 'substring' filter based on the edge event type name.
Property of entity to sort by
Sort order. ASC (ASCENDING) or DESC (DESCENDING)
Timestamp. Edge events with creation time before it won't be queried
Timestamp. Edge events with creation time after it won't be queried
Response
OK
Example response
{
"data": [
{
"id": {
"id": "784f394c-42b6-435a-983c-b7beff2784f9"
},
"createdTime": 1746028547220,
"tenantId": {
"id": "784f394c-42b6-435a-983c-b7beff2784f9",
"entityType": "TENANT"
},
"edgeId": {
"id": "784f394c-42b6-435a-983c-b7beff2784f9",
"entityType": "EDGE"
},
"body": {}
}
]
}Changes
No recorded changes to this operation across all 2 revisions of this API.