Uiza Documentation
2020-04-21
2020-04-21
  • 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
      • Delete A Live Entity
      • List All Live Entities
      • Enable Live Entity DVR
      • 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
      • Delete Webhook Endpoint
      • List All Webhook Endpoints
      • Enable A Webhook Endpoint
      • 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. Getting Started

Pagination

PreviousVideo StreamingNextRecommended Specifications

Last updated 5 years ago

Was this helpful?

Uiza's List method is . The cursors, next_page_token and prev_page_token, are strings generated by Uiza to indicate where the set of results returned to you locates in the total list. They help you to navigate through the entire set of results and extract the slice you need.

You can replace page_token in your request with next_page_token to retrieve the objects fall after the list of results you received from the previous response. Similarly, prev_page_token returns you the objects fall before this cursor. An empty next_page_token will be returned if there is no object after this cursor, and an empty prev_page_token means there is no object before it. Leaving page_token blank in your request will return you the first portion of the entire list.

Arguments

page_size number

The maximum number of objects to be returned per call, between 1 and 20. The default page_size is 10.

page_token string

The pagination cursor of the result page to be retrieved. Use the next_page_token returned in the previous response to retrieve the objects fall after the list of results you received. Use the prev_page_token to retrieve the objects fall before.

Sample Response
{
 "data": [
  {
   "id": "22013d8a-d5fa-48f0-9a63-1f471ca9e81d",
   "name": "Demo application 1",
   "description": "AFF CUP",
   "ingest": {
     "url": "rtmp://f45dd07a0e-in.uizadev.io/transcode",
     "key": "live_TB62vHgxSY"
   },
   "playback": {
     "hls": "https://f45dd07a0e.uizadev.io/fmp4/22013d8a-d5fa-48f0-9a63-1f471ca9e81d/master.m3u8"
   },
   "region": "in-bangalore-1",
   "status": "ready",
   "broadcast": "offline",
   "created_at": "2019-12-11T02:47:04Z",
   "updated_at": "2019-12-16T02:53:30Z"
  }
 ],
 "next_page_token": "eyJjcmVhdGVkX2F0IjoxNTc2MDA4NjkxMDAwLCJpZCI6IjAwNzVmZjcyLWE0ODYtNDg0Ni05Y2NjLWY1ZWU4YTA0MmQ0NSJ9"
}
cursor-based paginated