直播云

  • 云导播列表

    最近更新时间:2018-07-09 10:21:10

    请求包

    GET /v1/casters?name=<name>&marker=<marker>&limit=<limit>
    Host: pili-caster.qiniuapi.com
    Authorization: <QiniuToken>
    

    请求参数

    参数名称 必填 字段类型 取值范围 说明
    name string - 云导播名称前缀匹配
    marker string - 如果上一次返回的结果超过了单次查询限制,则会返回marker表示上一次读取到哪条记录;这一次请求带上marker后,继续从该marker后开始读取
    limit int - 返回的最大数量,默认为50

    返回包

    200 OK
    {
      "count": 1,
      "marker": "<marker>",
      "items": [
        {
          "id": "<id>",
          "uid": <uid>,
          "name": "<name>",
          "staticKey": "<staticKey>",
          "monitors": {
            "0": {
              "url": "<url>",
              "vol": 100,
              "muted": false
            },
            "1": {
              "url": "<url>",
              "vol": 100,
              "muted": true
            },
            "2": {
              "url": "<url>",
              "vol": 100,
              "muted": true
            },
            "3": {
              "url": "<url>",
              "vol": 100,
              "muted": true
            },
            "4": {
              "url": "<url>",
              "vol": 100,
              "muted": true
            },
            "5": {
              "url": "<url>",
              "vol": 100,
              "muted": true
            },
            "6": {
              "url": "<url>",
              "vol": 100,
              "muted": true
            },
            "7": {
              "url": "<url>",
              "vol": 100,
              "muted": true
            }
          },
          "canvas": {
            "resolution": "<resolution>",
            "height": <height>,
            "width": <width>
          },
          "timeSwitch": {
            "start": <start>,
            "stop": <stop>
          },
          "pvwOutput": {
            "play": "<url>",
            "channel": 0,
            "layout": 0
          },
          "pgmOutput": {
            "closed": false,
            "publish": "<url>",
            "ab": 64,
            "vb": 1000,
            "channel": 0,
            "overlay": {},
            "text": {},
            "emergencyMode": false,
            "emergencyChannel": 0,
            "delay": 0
          },
          "layouts": {
            "0": {
              "title": "<title>",
              "overlay": {},
              "text": {},
              "updateAt": <timestamp>
            }
          },
          "stage": 1,
          "status": "pending",
          "createAt": <timestamp>,
          "updateAt": <timestamp>
        }
      ]
    }
    

    返回参数

    相关接口

    以上内容是否对您有帮助?
  • Close