修改導播台節目配置,節目類型不允許修改。
介面說明
調用本介面修改導播台節目配置,節目類型不允許修改。
QPS 限制
本介面的單使用者 QPS 限制為 4 次/秒。超過限制,API 呼叫會被限流,這可能會影響您的業務,請合理調用。
調試
您可以在OpenAPI Explorer中直接運行該介面,免去您計算簽名的困擾。運行成功後,OpenAPI Explorer可以自動產生SDK程式碼範例。
調試
授權資訊
|
操作 |
存取層級 |
資源類型 |
條件關鍵字 |
關聯操作 |
|
live:ModifyCasterEpisode |
update |
*Domain
|
無 | 無 |
請求參數
|
名稱 |
類型 |
必填 |
描述 |
樣本值 |
| RegionId |
string |
否 |
地區 ID。 |
cn-shanghai |
| ComponentId |
array |
否 |
組件列表。 按照元素順序由下而上排列,組件將與視頻源同步切換。
說明
N 表示第幾個組件 ID。例如:ComponentId.1 表示傳入第一個組件 ID;ComponentId.2 表示傳入第 2 個組件 ID。 |
["16A96B9A-F203-4EC5-8E43-CB92E68F****"] |
|
string |
否 |
組件列表。 |
["16A96B9A-F203-4EC5-8E43-CB92E68F****"] |
|
| CasterId |
string |
是 |
導播台 ID。
說明
直播控制台雲導播台頁面導播台列表中的導播台名稱即導播台 ID。 |
LIVEPRODUCER_POST-cn-0pp1czt**** |
| EpisodeId |
string |
是 |
節目 ID。 |
a2b8e671-2fe5-4642-a2ec-bf938623**** |
| EpisodeName |
string |
否 |
節目名稱。 |
episode_name_1 |
| ResourceId |
string |
否 |
視頻源 ID。
|
16A96B9A-F203-4EC5-8E43-CB92E683**** |
| StartTime |
string |
否 |
起始時間。格式為:yyyy-MM-ddTHH:mm:ssZ(UTC 時間)。 |
2016-06-29T09:00:00Z |
| EndTime |
string |
否 |
結束時間。格式為:yyyy-MM-ddTHH:mm:ssZ(UTC 時間)。 |
2016-06-29T10:20:00Z |
| SwitchType |
string |
否 |
切換策略。 當 EpisodeType 取值為 Resource 視頻源時有效。
|
TimeFirst |
返回參數
|
名稱 |
類型 |
描述 |
樣本值 |
|
object |
|||
| CasterId |
string |
導播台 ID。可作為複製導播台情境配置、更新導播情境配置、查詢導播台情境列表、查詢導播台情境音頻配置、啟動導播台情境和停止導播台情境的請求參數。 |
LIVEPRODUCER_POST-cn-0pp1czt**** |
| EpisodeId |
string |
節目 ID。可作為刪除導播台節目列表,建立或添加節目單項,刪除節目單項,查詢節目單項,編輯節目單,刪除節目單,查詢節目單,啟動節目單,停止節目單的請求參數。 |
a2b8e671-2fe5-4642-a2ec-bf938623**** |
| RequestId |
string |
請求 ID。 |
16A96B9A-F203-4EC5-8E43-CB92E68F4CD8 |
樣本
正常返回樣本
JSON格式
{
"CasterId": "LIVEPRODUCER_POST-cn-0pp1czt****",
"EpisodeId": "a2b8e671-2fe5-4642-a2ec-bf938623****",
"RequestId": "16A96B9A-F203-4EC5-8E43-CB92E68F4CD8"
}
錯誤碼
|
HTTP status code |
錯誤碼 |
錯誤資訊 |
描述 |
|---|---|---|---|
| 400 | MissingParameter | %s. | 參數缺失 |
| 400 | InvalidParameter.Malformed | There are invalid parameters: %s. | 存在無效參數:%s。 |
| 400 | SwitchTypeInvalid.Malformed | %s, please check and try again later. | 參數SwitchType無效,請檢查後重試。 |
| 400 | IncorrectStartTime | %s, please check and try again later. | 參數StartTime無效,請檢查後重試。 |
| 400 | IncorrectEndTime | %s, please check and try again later. | 參數EndTime無效,請檢查後重試。 |
| 400 | IncorrectEpisodeStatus | %s, please check and try again later. | 節目目前狀態不可操作,請檢查後重試。 |
| 400 | EpisodeConflict.Malformed | %s, please check and try again later. | 節目時間存在衝突,請檢查後重試。 |
| 400 | InvalidCasterId.Malformed | %s, please check and try again later. | 參數CasterId無效,請檢查後重試。 |
| 401 | IllegalOperation | %s, please check and try again later. | 不允許的操作,請檢查後重試。 |
| 500 | InternalError | %s, please try again later. | 內部錯誤,請稍後重試。 |
| 404 | InvalidCaster.NotFound | %s, please check and try again later. | 導播台不存在,請檢查後重試。 |
| 404 | InvalidResource.NotFound | %s, please check and try again later. | 資源不存在,請檢查後重試。 |
| 404 | InvalidEpisode.NotFound | %s, please check and try again later. | 節目不存在,請檢查後重試。 |
| 404 | InvalidComponent.NotFound | %s, please check and try again later. | 待操作的組件不存在,請檢查後重試。 |
訪問錯誤中心查看更多錯誤碼。
變更歷史
更多資訊,參考變更詳情。