List All Events
Returns a list of all occurred events, in sorted order where the most recently created event shows up first.
/v1/events
GET
https://api.uiza.sh/v1/events
Query Parameters
Name | Type | Description |
---|---|---|
page_size | string | The maximum number of objects to be returned, between 1 and 20. |
page_token | string | The pagination cursor of the result page to be retrieved. |
{
"object": "list",
"data": [
{
"id": "ba3ddb93-e9af-44ac-bbc1-be99c1c2cfd2",
"object": "event",
"api_version": "v1",
"created_at": "2020-03-23T09:56:51.306Z",
"data": {
"object": {
"live_entity": {
"id": "6b420f9e-0b95-4fa9-a1e2-31adde94fc9a",
"user_id": "5a452009-6b76-464d-b71e-e819af452f34",
"app_id": "c1ffbff4db954ddcb050c6af0b43ba56",
"name": "Demo live event",
"description": "AFF CUP",
"ingest": {
"url": "rtmp://6b420ffc9a-in.streamwiz.dev/live",
"key": "live_XUapuHLGhm"
},
"playback": {
"hls": "https://6b420ffc9a.streamwiz.dev/live/6b420f9e-0b95-4fa9-a1e2-31adde94fc9a/master.m3u8"
},
"relay": [],
"region": "in-bangalore-1",
"status": "ready",
"dvr": false,
"encode": false,
"deleted": false,
"preset": null,
"created_at": "2020-03-19T07:12:25.000Z",
"updated_at": "2020-03-23T08:13:55.000Z"
},
"live_session": {
"id": "bb85d4c0-a208-41b3-8771-11e76a9c5ef5",
"entity_id": "",
"ingest_key": "live_XUapuHLGhm",
"server": "6b420ffc9a-in.streamwiz.dev",
"extra_info": "",
"duration": 0,
"preset": null,
"created_at": "2020-03-23T09:56:51.000Z",
"updated_at": "2020-03-23T09:56:51.000Z"
},
"video_entity": null,
"retry_count": 0
}
},
"type": "live_entities.publish",
"request_id": "e300d6bc-450d-477d-9f7d-23c717c2f78e"
}
],
"next_page_token": "eyJjcmVhdGVkQXQiOjE1ODQ5NTc0NjI2NzksImlzTmV4dFBhZ2VUb2tlbiI6dHJ1ZSwiaXRlbUNyZWF0ZWRBdCI6MTU4NDk1MTIzNTM3MywiaXRlbUlkIjoiZjlkMTlkM2EtMzEzMC00OWFiLTllNDYtMjFjYjhmZDU4NDY0In0=",
"prev_page_token": ""
}
{
"message": "You are unauthorized to access the requested resource. Please verify and resubmit.",
"error_type": "invalid_request_error"
}
{
"message": "An unexpected error occurred on Uiza's end.",
"error_type": "api_error"
}
Sample Request
curl -X GET https://api.uiza.sh/v1/events
-H 'Authorization: uap-c1ffbff4db954ddcb050c6af0b43ba56-41193b64x'
Last updated