跳到主要内容

建立直播服務

描述​

建立直播服務

請求引數​

引數名引數型別是否必填引數說明
ActionString是操作方法:CreateLiveService,此引數為公共引數,不必放body裡面
RegionString是機房標識,取值參見地域列表
LiveNameString是直播名稱

返回引數​

名稱型別說明
LiveServiceIdString直播服務id
LiveNameString直播服務名稱

請求示例​

post https://api.yunpanel.com/v2/?Action=CreateLiveService&其他公共引數

{
"Region":"xxxxxx",
"LiveName":"xxxxxxxx"
}

返回示例​

{
"code": 10000,
"message": "",
"data": {
"LiveServiceId":"xxxx",
"LiveName":"xxxx"
}
}