跳到主要内容

创建授权码

描述​

创建授权码

请求参数​

参数名参数类型是否必填参数说明
ActionString是CreateLiveServiceAuthCode
RegionString是机房标识,取值参见地域列表
LiveServiceIdString是直播服务ID
AuthDescString是授权码说明
RemarkString是备注

返回参数​

名称类型说明
IdStringID
AuthCodeString授权码

请求示例​

post https://api.chinac.com/v2/?Action=CreateLiveServiceAuthCode

{
"Region":"xxxxxx",
"LiveServiceId":"xxxxxxxx",
"AuthDesc":"xxxxxx",
"remark":"xxxxx"
}

返回示例​

{
"code": 10000,
"message": "",
"data": {
"Id": "xxxxx",
"AuthCode": "xxxxxx"
}
}