Mounted File Systems Controller Resource

The API allows you to list, view, edit and create mounted file systems.

GET /mounted-file-systems

Returns list of mounted file systems filtered by specified query parameters.

Request Parameters
name type description
mounted-backup query
Response Body
media type data type description
application/json array of MountedFileSystemListRecord (JSON) list of mounted file systems filtered by specified query parameters

Example

Request
GET /mounted-file-systems
Content-Type: */*
Accept: application/json

                
...
                
              
Response
HTTP/1.1 200 OK
Content-Type: application/json

                
[ {
  "mountPath" : "...",
  "rootPath" : "...",
  "guid" : "f8f73bf9-2445-4bce-a7dd-753be3b40a67"
} ]
                
              

GET /mounted-file-systems/detailed

Returns detailed list of mounted file systems filtered by specified query parameters.

Request Parameters
name type description
mounted-backup query
Response Body
media type data type description
application/json array of MountedFileSystemDetails (JSON) detailed list of mounted file systems filtered by specified query parameters

Example

Request
GET /mounted-file-systems/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"
  },
  "mountedFile" : {
    "guid" : "f8f73bf9-2445-4bce-a7dd-753be3b40a67",
    "name" : "Entity name"
  },
  "fileSystem" : {
    "volume" : "...",
    "label" : "...",
    "size" : 12345,
    "type" : "...",
    "backup" : {
      "guid" : "f8f73bf9-2445-4bce-a7dd-753be3b40a67",
      "name" : "Entity name"
    },
    "backupFile" : {
      "guid" : "f8f73bf9-2445-4bce-a7dd-753be3b40a67",
      "name" : "Entity name"
    },
    "guid" : "f8f73bf9-2445-4bce-a7dd-753be3b40a67"
  },
  "mountPath" : "...",
  "rootPath" : "...",
  "guid" : "f8f73bf9-2445-4bce-a7dd-753be3b40a67"
} ]
                
              

GET /mounted-file-systems/{guid}

Get a single mounted file system details.

Request Parameters
name type description
guid path specify local unique identifier for mounted file system (use by vProtect)
Response Body
media type data type description
application/json MountedFileSystemDetails (JSON) mounted file system details

Example

Request
GET /mounted-file-systems/{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"
  },
  "mountedFile" : {
    "guid" : "f8f73bf9-2445-4bce-a7dd-753be3b40a67",
    "name" : "Entity name"
  },
  "fileSystem" : {
    "volume" : "...",
    "label" : "...",
    "size" : 12345,
    "type" : "...",
    "backup" : {
      "guid" : "f8f73bf9-2445-4bce-a7dd-753be3b40a67",
      "name" : "Entity name"
    },
    "backupFile" : {
      "guid" : "f8f73bf9-2445-4bce-a7dd-753be3b40a67",
      "name" : "Entity name"
    },
    "guid" : "f8f73bf9-2445-4bce-a7dd-753be3b40a67"
  },
  "mountPath" : "...",
  "rootPath" : "...",
  "guid" : "f8f73bf9-2445-4bce-a7dd-753be3b40a67"
}
                
              

POST /mounted-file-systems/{guid}/download

Download specified files.

Request Parameters
name type description
guid path specify local unique identifier for mounted file system (use by vProtect)
Request Body
media type data type description
application/json FileDownloadRequest (JSON) specify paths to download files

Example

Request
POST /mounted-file-systems/{guid}/download
Content-Type: application/json

                
{
  "paths" : [ "...", "..." ]
}
                
              
Response
HTTP/1.1 201 Created

              

POST /mounted-file-systems/{guid}/listing

Returns list of files specified by path.

Request Parameters
name type description
guid path specify local unique identifier for mounted file system (use by vProtect)
Request Body
media type data type description
application/json FileDetailsRequest (JSON) specify path from which files will be listed
Response Body
media type data type description
application/json array of FileDetailsListRecord (JSON) list of files specified by path

Example

Request
POST /mounted-file-systems/{guid}/listing
Content-Type: application/json
Accept: application/json

                
{
  "path" : "..."
}
                
              
Response
HTTP/1.1 201 Created
Content-Type: application/json

                
[ {
  "modified" : 12345,
  "size" : 12345,
  "owner" : "...",
  "group" : "...",
  "permissions" : "...",
  "fileType" : "DIRECTORY",
  "name" : {
    "name" : "ENUM_NAME",
    "description" : "Enum description"
  }
} ]