Refresh All Tape Devices
Refreshes all tape devices.
Endpoint
https://<Director_IP_address>:4443/c/router
Tenant Endpoint
For tenants of the multi-tenant product the endpoint must be:https://<Director_IP_address>:4443/t/<tenant_UUID>/c/router
Request Example
curl
Copy
curl --request POST \
--url https://192.168.77.64:4443/c/router \
--header "content-type: application/json" \
--cookie @cookies.txt \
--data "{
"action": "TapeDeviceManagement",
"method": "refreshAllDevices",
"data": [FALSE],
"type": "rpc",
"tid": 1
}"
Request Fields
Field
|
Type
|
Value(s)
|
---|---|---|
action
|
string |
|
method
|
string |
|
data
|
array | FALSE - quick refresh/TRUE - full refresh
|
type
|
string | rpc
|
tid
|
int | 1
|
Response Sample
curl
Copy
{
"action": "TapeDeviceManagement",
"method": "refreshAllDevices",
"tid": "1",
"type": "rpc",
"message": null,
"where": null,
"cause": null,
"data": null
}
Response Fields
Field
|
Value
|
Description
|
---|---|---|
message
|
string | Message if the request failed |
where
|
string | Reference to the method where the problem occurred |
cause
|
string | Cause of failure |