The API allows you to list and view Tape Locations.
Returns list of tape locations 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 TapeLocationDetails (JSON) | list of tape locations filtered by specified query parameters |
GET /tape-locations
Content-Type: */*
Accept: application/json
...
HTTP/1.1 200 OK
Content-Type: application/json
[ {
"guid" : "...",
"name" : "...",
"description" : "..."
} ]
Create tape location
media type | data type | description |
---|---|---|
application/json | TapeLocationRequest (JSON) | specify details for new tape location |
media type | data type | description |
---|---|---|
application/json | TapeLocationDetails (JSON) | details for newly created tape location |
POST /tape-locations
Content-Type: application/json
Accept: application/json
{
"name" : "...",
"description" : "..."
}
HTTP/1.1 201 Created
Content-Type: application/json
{
"guid" : "...",
"name" : "...",
"description" : "..."
}
Remove tape location.
name | type | description |
---|---|---|
guid | path | specify local unique identifier for tape location (use by vProtect) |
DELETE /tape-locations/{guid}
Content-Type: */*
...
HTTP/1.1 204 No Content
Get a single tape location.
name | type | description |
---|---|---|
guid | path | specify local unique identifier for tape location (use by vProtect) |
media type | data type | description |
---|---|---|
application/json | TapeLocationDetails (JSON) | tape location details |
GET /tape-locations/{guid}
Content-Type: */*
Accept: application/json
...
HTTP/1.1 200 OK
Content-Type: application/json
{
"guid" : "...",
"name" : "...",
"description" : "..."
}
Change tape location details.
name | type | description |
---|---|---|
guid | path | specify local unique identifier for tape location (use by vProtect) |
media type | data type | description |
---|---|---|
application/json | TapeLocationRequest (JSON) | specify tape location details to update |
media type | data type | description |
---|---|---|
application/json | TapeLocationDetails (JSON) | updated details for tape location |
PUT /tape-locations/{guid}
Content-Type: application/json
Accept: application/json
{
"name" : "...",
"description" : "..."
}
HTTP/1.1 204 No Content
Content-Type: application/json
{
"guid" : "...",
"name" : "...",
"description" : "..."
}