获取指定活动观看券配置

接口

GET /api/v3/activity/:id/watchcode/config

授权

请求 header

Authorization: Bearer <accessToken>
Content-Type: application/json

注:请将上方的 <accessToken> 替换为分配给您的秘钥串。关于如何获取 accessToken ,请咨询杨经理(18968187008)。

参数

请求样例

GET /api/v3/activity/8728620/watchcode/config

curl 请求示例

curl 'shangzhibo.tv/api/v3/activity/8728620/watchcode/config' \
  -H 'User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.61 Safari/537.36' \
  -H 'Authorization: Bearer <access_token>' \
  -H 'Content-Type: application/json'

响应

响应样例

{
  "isWatchcodeEnabled": true,
  "watchcodeTimeout": 1036800
}

最后更新于