- Home
- Resources
- Mounted Files Controller
The API allows you to list, view, edit and create mounted files.
GET /mounted-files
Returns list of mounted files filtered by specified query parameters.
Request Parameters
name |
type |
description |
mounted-backup |
query |
|
Response Body
media type |
data type |
description |
application/json |
array of MountedFileListRecord
(JSON) |
list of mounted files filtered by specified query parameters |
Example
Request
GET /mounted-files
Content-Type: */*
Accept: application/json
...
Response
HTTP/1.1 200 OK
Content-Type: application/json
[ {
"path" : "...",
"randomAccess" : true,
"guid" : "f8f73bf9-2445-4bce-a7dd-753be3b40a67"
} ]
GET /mounted-files/detailed
Returns detailed list of mounted files filtered by specified query parameters.
Request Parameters
name |
type |
description |
mounted-backup |
query |
|
Response Body
media type |
data type |
description |
application/json |
array of MountedFileDetails
(JSON) |
detailed list of mounted files filtered by specified query parameters |
Example
Request
GET /mounted-files/detailed
Content-Type: */*
Accept: application/json
...
Response
HTTP/1.1 200 OK
Content-Type: application/json
[ {
"mountedBackup" : {
"guid" : "f8f73bf9-2445-4bce-a7dd-753be3b40a67",
"name" : "Entity name"
},
"randomAccess" : true,
"path" : "...",
"nbdDevice" : "...",
"backupFile" : {
"guid" : "f8f73bf9-2445-4bce-a7dd-753be3b40a67",
"name" : "Entity name"
},
"guid" : "f8f73bf9-2445-4bce-a7dd-753be3b40a67"
} ]
POST /mounted-files/guids
Get a list of mounted files by guids
Request Body
media type |
data type |
description |
application/json |
array of string
(JSON) |
specify local unique identifiers for mounted files (use by vProtect) |
Response Body
media type |
data type |
description |
application/json |
array of MountedFileDetails
(JSON) |
mounted file details list |
Example
Request
POST /mounted-files/guids
Content-Type: application/json
Accept: application/json
...
Response
HTTP/1.1 201 Created
Content-Type: application/json
[ {
"mountedBackup" : {
"guid" : "f8f73bf9-2445-4bce-a7dd-753be3b40a67",
"name" : "Entity name"
},
"randomAccess" : true,
"path" : "...",
"nbdDevice" : "...",
"backupFile" : {
"guid" : "f8f73bf9-2445-4bce-a7dd-753be3b40a67",
"name" : "Entity name"
},
"guid" : "f8f73bf9-2445-4bce-a7dd-753be3b40a67"
} ]
GET /mounted-files/{guid}
Get a single mounted file.
Request Parameters
name |
type |
description |
guid |
path |
specify local unique identifier for mounted file (use by vProtect) |
Response Body
media type |
data type |
description |
application/json |
MountedFileDetails
(JSON) |
mounted file details |
Example
Request
GET /mounted-files/{guid}
Content-Type: */*
Accept: application/json
...
Response
HTTP/1.1 200 OK
Content-Type: application/json
{
"mountedBackup" : {
"guid" : "f8f73bf9-2445-4bce-a7dd-753be3b40a67",
"name" : "Entity name"
},
"randomAccess" : true,
"path" : "...",
"nbdDevice" : "...",
"backupFile" : {
"guid" : "f8f73bf9-2445-4bce-a7dd-753be3b40a67",
"name" : "Entity name"
},
"guid" : "f8f73bf9-2445-4bce-a7dd-753be3b40a67"
}