The API allows you to list, view, edit and create tape managers.
Returns list of tape managers filtered by specified query parameters.
name | type | description |
---|---|---|
direction | query | |
filter | query | |
nameLike | query | |
orderBy | query | |
page | query | |
size | query |
media type | data type | description |
---|---|---|
application/json | array of TapeManagerDetails (JSON) | list of tape managers filtered by specified query parameters |
GET /tape-managers
Content-Type: */*
Accept: application/json
...
HTTP/1.1 200 OK
Content-Type: application/json
[ {
"guid" : "...",
"url" : "...",
"name" : "...",
"state" : "QUEUED_STOP",
"nodeConfig" : {
"guid" : "f8f73bf9-2445-4bce-a7dd-753be3b40a67",
"name" : "Entity name"
},
"lastInventorySyncDate" : 12345,
"lastSuccessfulInventorySyncDate" : 12345
} ]
Creates tape manager.
media type | data type | description |
---|---|---|
application/json | TapeManagerRequest (JSON) | specify details for new tape manager |
media type | data type | description |
---|---|---|
application/json | TapeManagerDetails (JSON) | details of newly created tape manager |
POST /tape-managers
Content-Type: application/json
Accept: application/json
{
"secretKey" : "...",
"url" : "...",
"name" : "...",
"nodeConfig" : {
"guid" : "f8f73bf9-2445-4bce-a7dd-753be3b40a67",
"name" : "Entity name"
}
}
HTTP/1.1 201 Created
Content-Type: application/json
{
"guid" : "...",
"url" : "...",
"name" : "...",
"state" : "UNKNOWN",
"nodeConfig" : {
"guid" : "f8f73bf9-2445-4bce-a7dd-753be3b40a67",
"name" : "Entity name"
},
"lastInventorySyncDate" : 12345,
"lastSuccessfulInventorySyncDate" : 12345
}
Remove tape manager.
name | type | description |
---|---|---|
guid | path | specify local unique identifier for tape manager (use by vProtect) |
DELETE /tape-managers/{guid}
Content-Type: */*
...
HTTP/1.1 204 No Content
Get a single tape manager.
name | type | description |
---|---|---|
guid | path | specify local unique identifier for tape key (use by vProtect) |
media type | data type | description |
---|---|---|
application/json | TapeManagerDetails (JSON) | access key details |
GET /tape-managers/{guid}
Content-Type: */*
Accept: application/json
...
HTTP/1.1 200 OK
Content-Type: application/json
{
"guid" : "...",
"url" : "...",
"name" : "...",
"state" : "QUEUED_STOP",
"nodeConfig" : {
"guid" : "f8f73bf9-2445-4bce-a7dd-753be3b40a67",
"name" : "Entity name"
},
"lastInventorySyncDate" : 12345,
"lastSuccessfulInventorySyncDate" : 12345
}
Change tape manager details.
name | type | description |
---|---|---|
guid | path | specify local unique identifier for tape manager (use by vProtect) |
media type | data type | description |
---|---|---|
application/json | TapeManagerUpdateRequest (JSON) | specify tape manager details to update |
media type | data type | description |
---|---|---|
application/json | TapeManagerDetails (JSON) | updated details of tape manager |
PUT /tape-managers/{guid}
Content-Type: application/json
Accept: application/json
{
"url" : "...",
"name" : "...",
"nodeConfig" : {
"guid" : "f8f73bf9-2445-4bce-a7dd-753be3b40a67",
"name" : "Entity name"
}
}
HTTP/1.1 204 No Content
Content-Type: application/json
{
"guid" : "...",
"url" : "...",
"name" : "...",
"state" : "STOPPED",
"nodeConfig" : {
"guid" : "f8f73bf9-2445-4bce-a7dd-753be3b40a67",
"name" : "Entity name"
},
"lastInventorySyncDate" : 12345,
"lastSuccessfulInventorySyncDate" : 12345
}
Returns secret key from tape manager.
name | type | description |
---|---|---|
guid | path | specify local unique identifier for tape manager (use by vProtect) |
media type | data type | description |
---|---|---|
application/json | string (JSON) | secret key from tape manager |
GET /tape-managers/{guid}/secret-key
Content-Type: application/json
Accept: application/json
...
HTTP/1.1 200 OK
Content-Type: application/json
...
Change secret key for specified tape manager.
name | type | description |
---|---|---|
guid | path | specify local unique identifier for tape manager (use by vProtect) |
media type | data type | description |
---|---|---|
application/json | StringDTO (JSON) | specify new secret key |
PUT /tape-managers/{guid}/secret-key
Content-Type: application/json
{
"value" : "..."
}
HTTP/1.1 204 No Content