List player session events
GET
/analytics/sessions/{sessionId}/events
Analytics
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request GET 'https://ws.api.video/analytics/sessions/psEmFwGQUAXR2lFHj5nDOpy/events'
Response Response Example
200 - response
{
"data": [
{
"at": 0,
"emittedAt": "2020-09-15T09:47:42.000Z",
"type": "ready"
},
{
"at": 0,
"emittedAt": "2020-09-15T21:35:57.000Z",
"type": "play"
},
{
"at": 7,
"emittedAt": "2020-09-15T21:36:05.000Z",
"type": "pause"
},
{
"at": 21,
"emittedAt": "2020-09-15T21:36:19.000Z",
"type": "resume"
},
{
"emittedAt": "2020-09-15T21:36:19.000Z",
"from": 7,
"to": 21,
"type": "seek.forward"
},
{
"at": 30,
"emittedAt": "2020-09-15T21:36:28.000Z",
"type": "end"
},
{
"at": 0,
"emittedAt": "2020-09-15T21:36:29.000Z",
"type": "play"
},
{
"emittedAt": "2020-09-15T21:36:29.000Z",
"from": 30,
"to": 0,
"type": "seek.backward"
},
{
"at": 21,
"emittedAt": "2020-09-15T21:36:29.000Z",
"type": "pause"
},
{
"at": 21,
"emittedAt": "2020-09-15T21:36:30.000Z",
"type": "resume"
},
{
"emittedAt": "2020-09-15T21:36:30.000Z",
"from": 0,
"to": 21,
"type": "seek.forward"
},
{
"at": 20,
"emittedAt": "2020-09-15T21:36:33.000Z",
"type": "pause"
},
{
"at": 20,
"emittedAt": "2020-09-15T21:36:33.000Z",
"type": "resume"
},
{
"emittedAt": "2020-09-15T21:36:33.000Z",
"from": 24,
"to": 20,
"type": "seek.backward"
},
{
"at": 17,
"emittedAt": "2020-09-15T21:36:39.000Z",
"type": "pause"
},
{
"at": 17,
"emittedAt": "2020-09-15T21:36:39.000Z",
"type": "resume"
},
{
"emittedAt": "2020-09-15T21:36:39.000Z",
"from": 17,
"to": 17,
"type": "seek.forward"
},
{
"at": 19,
"emittedAt": "2020-09-15T21:36:41.000Z",
"type": "pause"
},
{
"at": 0,
"emittedAt": "2020-09-17T09:20:47.000Z",
"type": "ready"
},
{
"at": 0,
"emittedAt": "2020-09-17T09:41:01.000Z",
"type": "ready"
},
{
"at": 0,
"emittedAt": "2020-09-17T09:41:08.000Z",
"type": "ready"
},
{
"at": 0,
"emittedAt": "2020-09-17T09:41:10.000Z",
"type": "play"
},
{
"at": 1,
"emittedAt": "2020-09-17T09:41:12.000Z",
"type": "pause"
},
{
"at": 1,
"emittedAt": "2020-09-17T09:41:13.000Z",
"type": "resume"
},
{
"at": 3,
"emittedAt": "2020-09-17T09:41:15.000Z",
"type": "pause"
}
],
"pagination": {
"currentPage": 1,
"currentPageItems": 25,
"itemsTotal": 30,
"links": [
{
"rel": "self",
"uri": "/analytics/sessions/ps5ltuhfsTOeh6bP03Tq5OWc/events?currentPage=1&pageSize=25"
},
{
"rel": "first",
"uri": "/analytics/sessions/ps5ltuhfsTOeh6bP03Tq5OWc/events?currentPage=1&pageSize=25"
},
{
"rel": "next",
"uri": "/analytics/sessions/ps5ltuhfsTOeh6bP03Tq5OWc/events?currentPage=2&pageSize=25"
},
{
"rel": "last",
"uri": "/analytics/sessions/ps5ltuhfsTOeh6bP03Tq5OWc/events?currentPage=2&pageSize=25"
}
],
"pageSize": 25,
"pagesTotal": 2
}
}
Request
Path Params
sessionId
string
required
Example:
psEmFwGQUAXR2lFHj5nDOpy
Query Params
currentPage
integer
optional
Example:
2
pageSize
integer
optional
Example:
30
Responses
Modified at 2023-08-15 05:52:15