Uiza Documentation
2020-05-07
2020-05-07
  • Hola! 👋
  • Getting Started
    • Introduction
    • Authentication
    • Errors
    • Quick Starts
      • Live Streaming
      • Video Streaming
    • Pagination
    • Recommended Specifications
    • Postman Collections
    • Sample Streaming Apps
      • NodeJS Live Streaming App
      • Java Live Streaming App
      • Python Live Streaming App
      • How to integrate live streaming into an Android App using Uiza’s Live API
    • Versioning
  • API Reference
    • Live Entities
      • Create A Live Entity
      • Retrieve A Live Entity
      • Update A Live Entity
      • [Deprecated] Update A Live Entity
      • Delete A Live Entity
      • List All Live Entities
      • [Deprecated] Enable Live Entity DVR
      • [Deprecated] Disable Live Entity DVR
      • Reset Ingest Key
    • Live Sessions
      • Retrieve A Live Session
      • List All Live Sessions
    • Video Entities
      • Retrieve A Video Entity
      • Update A Video Entity
      • Publish A Video Entity
      • Delete A Video Entity
      • List All Video Entities
    • Video Presets
      • Create a Video Preset
      • Retrieve a Video Preset
      • Update a Video Preset
      • Delete a Video Preset
      • List all Video Presets
      • Add Profile(s) to Video Preset
      • Remove Profile(s) from Video Preset
    • Video Profiles
      • List All Video Profiles
    • Events
      • Retrieve An Event
      • List All Events
      • Event Types
    • Webhook Endpoints
      • Create Webhook Endpoint
      • Retrieve Webhook Endpoint
      • Update Webhook Endpoint
      • [Deprecated] Update Webhook Endpoint
      • Delete Webhook Endpoint
      • List All Webhook Endpoints
      • [Deprecated] Enable A Webhook Endpoint
      • [Deprecated] Disable A Webhook Endpoint
  • SDK REFERENCE
    • Introduction
    • Android SDK
      • Android Player SDK
      • Android Broadcast SDK
    • iOS SDK
      • iOS Player SDK
      • iOS Broadcast SDK
    • Web Player SDK
  • API UPGRADES
    • Release Notes
    • API Changelog
Powered by GitBook
On this page

Was this helpful?

  1. API Reference
  2. Events

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'
PreviousRetrieve An EventNextEvent Types

Last updated 5 years ago

Was this helpful?