v1

latestOpenAPI 3.1.02026-07-24650272.2 KB
API Endpoints

Filter Live Assets

This endpoint lists live assets on the basis of status for the given live_source_id.

get/video/live/assets/list/{live_source_id}

Path parameters

live_source_idstring required

Gumlet live source/collection id.

Query parameters

statusstring

To filter live assets on the basis of their current status. Can be specified as a single status value string or comma-separated status values. The status value can be one of created, active, complete, disconnected, errored, and deleted.

offsetinteger

Offset value for a paginated list of assets.

sizeinteger

Page size for the paginated list.

Response

200

total_live_asset_countinteger
current_offsetinteger

Example response

{
  "all_live_assets": [
    {
      "status": "created",
      "stream_key": "619231610822a81d955d22f4",
      "live_asset_id": "619231610822a81d955d22f3",
      "live_video_source_id": "6165247368d80232d28d4379",
      "input": {
        "resolution": [
          "720p"
        ]
      },
      "stream_url": "rtmp://livestream-ingest.gumlet.io:1935/app/619231610822a81d955d22f4",
      "output": {
        "playback_url": "https://video.gumlet.io/6165247368d80232d28d4379/619231610822a81d955d22f3/master.m3u8"
      },
      "thumbnail": {
        "preparing": "https://stream.gumlet.io/68678418fc386bd77fd5c689/68b671c1373a93b5103e1f9a/thumbnail-preparing.png",
        "disconnected": "https://stream.gumlet.io/68678418fc386bd77fd5c689/68b671c1373a93b5103e1f9a/thumbnail-disconnected.png",
        "end": "https://stream.gumlet.io/68678418fc386bd77fd5c689/68b671c1373a93b5103e1f9a/thumbnail-end.png"
      },
      "created_at": 1636970849188,
      "updated_at": 1636970849188
    }
  ],
  "total_live_asset_count": 5,
  "current_offset": 5
}