中止工作

產品版本:10.11

最後修改日期:2024年7月31日

停止該工作。

終點

https://<Director_IP_address>:4443/c/router

租戶端點

對於多租戶產品的租戶而言,終點必須為:
https://<Director_IP_address>:4443/t/<tenant_UUID>/c/router

請求範例

請求欄位

領域
類型
值(們)

action

字串

JobManagement

method

字串

stop

data

陣列 包含一個物件的陣列,該物件是容器 jobIds 以及(可選) stopType 以及 sourceVids

jobIds

long 型陣列

要停止的工作的 ID

stopType

字串

可選。 ALL 或 SPECIFIC

sourceVids

字串陣列

可選。需停止的來源 VID。對於 SPECIFIC 停止類型,預期僅有一個工作

type

字串 rpc

tid

整數 1

回應範例

回應欄位

領域
價值
Description
message 字串 若請求失敗,請顯示此訊息
where 字串 提及發生問題的方法
cause 字串 故障原因