ジョブを停止する
製品バージョン:10.11
最終更新日:2024年7月31日
ジョブを停止します。
エンドポイント
https://<Director_IP_address>:4443/c/router
リクエスト例
curl --request POST \
--url https://<Director_IP_address>:4443/c/router \
--header "content-type: application/json" \
--cookie cookies.txt \
--data '{
"action": "JobManagement",
"method": "stop",
"data": [{"jobIds":[1]}],
"type": "rpc",
"tid": 1}'
リクエストフィールド
|
フィールド
|
種類
|
値(複数可)
|
|---|---|---|
|
|
文字列 |
|
|
|
文字列 |
|
|
|
配列 | 1つのオブジェクトを含む配列で、そのオブジェクトには jobIds および、必要に応じて stopType および sourceVids |
|
|
long型の配列 |
停止するジョブのID |
|
|
文字列 |
任意です。 |
|
|
文字列の配列 |
任意です。停止すべきソースVID。 「 |
|
|
文字列 | rpc
|
|
|
整数 | 1
|
回答例
{
"action": "JobManagement",
"method": "stop",
"tid": "1",
"type": "rpc",
"message": null,
"where": null,
"cause": null,
"data": null
}
応答フィールド
|
フィールド
|
値
|
説明
|
|---|---|---|
message
|
文字列 | リクエストが失敗した場合はメッセージを表示する |
where
|
文字列 | 問題が発生した手法に関する言及 |
cause
|
文字列 | 故障の原因 |