Get Device Timeline Log
Use this endpoint to get events, that has been triggered by device.
Get Device Timeline
GET
https://{server_address}/api/v1/organization/device/timeline
Query Parameters
Name
Type
Description
page
0
Page number starting from 0. First page by default.
size
20
Page size. Should be from 1 to 100. 20 by default.
deviceId*
1
Device identifier. Should be a valid integer.
eventType
INFORMATION
Event type name to filter timeline by. All event types will be included, if not specified.
Headers
Name
Type
Description
Authorization*
Bearer {access_token}
{
"content": [
{
"id": 1,
"eventId": 1,
"orgId": 577,
"eventType": "INFORMATION",
"description": "A simple information event",
"ts": 879,
"isResolved": false,
"resolvedAt": 1702480430139,
"resolvedComment": null
}
],
"totalElements": 1
}
Request examples:
# curl command example:
$ curl -H "Authorization: Bearer {accessToken}" https://fra1.blynk.cloud/api/v1/organization/device/timeline?deviceId=1
$ curl -H "Authorization: Bearer eIdWHQqRfFmvP5LDDh-IGxPUzi7I27HthzCPAVmS" https://fra1.blynk.cloud/api/v1/organization/device/timeline?deviceId=1
Last updated
Was this helpful?