- Home
- Resources
- Storage Backup Rule Controller
The API allows you to list, view, create and edit storage backup rule.
GET /rules/storage-backup
Returns list of storage backup rules filtered by specified query parameters.
Request Parameters
| name |
type |
description |
| direction |
query |
|
| filter |
query |
|
| nameLike |
query |
|
| orderBy |
query |
|
| page |
query |
|
| policy |
query |
|
| size |
query |
|
Response Body
| media type |
data type |
description |
| application/json |
array of StorageBackupRuleDetails
(JSON) |
list of storage backup rules filtered by specified query parameters |
Example
Request
GET /rules/storage-backup
Content-Type: */*
Accept: application/json
...
Response
HTTP/1.1 200 OK
Content-Type: application/json
[ { } ]
POST /rules/storage-backup
Create storage backup rule.
Request Body
| media type |
data type |
description |
| application/json |
StorageBackupRuleRequest
(JSON) |
specify details for new storage backup rule |
Response Body
| media type |
data type |
description |
| application/json |
StorageBackupRuleDetails
(JSON) |
details of newly created storage backup rule |
Example
Request
POST /rules/storage-backup
Content-Type: application/json
Accept: application/json
{ }
Response
HTTP/1.1 201 Created
Content-Type: application/json
{ }
DELETE /rules/storage-backup/{guid}
Remove storage backup rule.
Request Parameters
| name |
type |
description |
| guid |
path |
specify local unique identifier for storage backup rule (use by vProtect) |
Example
Request
DELETE /rules/storage-backup/{guid}
Content-Type: */*
...
Response
HTTP/1.1 204 No Content
GET /rules/storage-backup/{guid}
Get a single storage backup rule.
Request Parameters
| name |
type |
description |
| guid |
path |
specify local unique identifier for storage backup rule (use by vProtect) |
Response Body
| media type |
data type |
description |
| application/json |
StorageBackupRuleDetails
(JSON) |
a single storage backup rule details |
Example
Request
GET /rules/storage-backup/{guid}
Content-Type: */*
Accept: application/json
...
Response
HTTP/1.1 200 OK
Content-Type: application/json
{ }
PUT /rules/storage-backup/{guid}
Change storage backup rule details.
Request Parameters
| name |
type |
description |
| guid |
path |
specify local unique identifier for storage backup rule (use by vProtect) |
Request Body
| media type |
data type |
description |
| application/json |
StorageBackupRuleRequest
(JSON) |
specify storage backup rule details to update |
Response Body
| media type |
data type |
description |
| application/json |
StorageBackupRuleDetails
(JSON) |
updated details of storage backup rule |
Example
Request
PUT /rules/storage-backup/{guid}
Content-Type: application/json
Accept: application/json
{ }
Response
HTTP/1.1 204 No Content
Content-Type: application/json
{ }