跳到主要内容

修改直播服務

描述

修改直播服務

請求引數

引數名引數型別是否必填引數說明
ActionString操作方法:ModifyLiveService,此引數為公共引數,不必放body裡面
LiveServicesString直播服務資料物件 "LiveServices":{"Region":"xxxxx,"LiveServiceId":"xxxxx","LiveName":"xxx"}]

返回引數

成功無返回

請求示例

post https://api.yunpanel.com/v2/?Action=ModifyLiveService
{
{
"LiveService": [{
"Id": "xxx",
"LiveName": "xxxx",
"LiveApp": "xxx",
"LiveStatus": "ENABLE",
"StreamStatus": "PUSHING",
"LiveDeviceCnt": 0,
"LiveAuthCodeCnt": 0,
"CreateTime": 1612777844875,
"UpdateTime": 1612777844875
}]
}
}

返回示例

{
"code": 10000,
"message": "",
"data": {
}
}