附加備份儲存庫
產品版本: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": "BackupManagement",
"method": "attach",
"data": [3],
"type": "rpc",
"tid": 1}'
請求欄位
|
領域
|
類型
|
值(們)
|
|---|---|---|
action
|
字串 | BackupManagement |
method
|
字串 | attach |
data
|
陣列 | 包含一個元素的陣列:備份儲存庫的 ID(long 型) |
type
|
字串 | rpc
|
tid
|
整數 | 1 |
回應範例
複製
{
"action": "BackupManagement",
"method": "attach",
"tid": "1",
"type": "rpc",
"message": null,
"where": null,
"cause": null,
"data": null
}
回應欄位
|
領域
|
價值
|
Description
|
|---|---|---|
message
|
字串 | 若請求失敗,請顯示此訊息 |
where
|
字串 | 關於發生問題的方法的說明 |
cause
|
字串 | 故障原因 |