接口名称 获取点播清晰度ForApp     签名
地址 https://api.cnlive.com/open/api2/vod_epg/getRates
method post
返回数据 json

/* Title: 1.02 获取点播清晰度信息接口 */

接口描述

接口地址

http://api.cnlive.com/open/api2/vod_epg/getRates

接口协议

HTTP GET

接口请求参数

参数名 参数类型 必选 参数说明
appId string true 应用ID
vId string true 点播节目标识(直播回放的vId就是创建直播活动时的activityId)
timestamp int true 精确到秒,当前Unix时间戳,请保证请求服务器时间正确
sign String true 签名规则见 签名详情

返回值

参数名 参数类型 必选 参数说明
errorCode int true 错误类型号
errorMessage string true 错误类型
spid int false 所属sp
rates string ture 清晰度标识,多个用逗号隔开: 流畅版=1,清晰版=2,高清版=3,超高清=4
vId string true 点播节目标识(直播回放的vId就是创建直播活动时的activityId)

返回JSON格式的节目元数据信息,json示例如下:

{
 "data": {
 "rates": "1,2,3",
 "spid": 60
 "vId": "60_fda46dea60674916b8fe82e5cbbfe7fa"
 },
 "errorCode": 0,
 "errorMessage": "success"
}