The API allows you to list and delete protected entities.
Returns list of protected entities.
media type | data type | description |
---|---|---|
application/json | array of ProtectedEntityDTO (JSON) | list of protected entities |
GET /protected-entities
Content-Type: */*
Accept: application/json
...
HTTP/1.1 200 OK
Content-Type: application/json
[ {
"name" : "...",
"type" : "OS_AGENT",
"backupUpToDate" : true,
"restorable" : true,
"lastSuccessfulBackupSize" : 12345,
"lastSuccessfulFullBackupSize" : 12345,
"warningsPresent" : true,
"lastSuccessfulFullBackup" : {
"guid" : "f8f73bf9-2445-4bce-a7dd-753be3b40a67",
"name" : "Entity name"
},
"lastSuccessfulIncBackup" : {
"guid" : "f8f73bf9-2445-4bce-a7dd-753be3b40a67",
"name" : "Entity name"
},
"averageProgress" : 12345.0,
"lastChainMarkedForDeletion" : true,
"guid" : "f8f73bf9-2445-4bce-a7dd-753be3b40a67",
"lastBackup" : 1451649601000
} ]
Change credentials for specified list of protected entities.
media type | data type | description |
---|---|---|
application/json | ProtectedEntityOsCredentialsAssignmentRequest (JSON) | specify credential and guids of protected entities. |
media type | data type | description |
---|---|---|
application/json | BatchResponse (JSON) | list of successful and unsuccessful updates of protected entities. |
PUT /protected-entities/credential
Content-Type: application/json
Accept: application/json
{
"value" : "...",
"entities" : [ {
"guid" : "f8f73bf9-2445-4bce-a7dd-753be3b40a67",
"name" : "Entity name"
}, {
"guid" : "...",
"name" : "..."
} ]
}
HTTP/1.1 204 No Content
Content-Type: application/json
{
"successful" : [ {
"guid" : "f8f73bf9-2445-4bce-a7dd-753be3b40a67",
"name" : "Entity name"
}, {
"guid" : "...",
"name" : "..."
} ],
"unsuccessful" : [ {
"guid" : "f8f73bf9-2445-4bce-a7dd-753be3b40a67",
"name" : "Entity name"
}, {
"guid" : "...",
"name" : "..."
} ]
}
Acknowledge warnings for snapshot in protected entities.
media type | data type | description |
---|---|---|
application/json | WarningAcknowledgementRequest (JSON) | batch request to ak |
PUT /protected-entities/warnings-acknowledged
Content-Type: application/json
{
"protectedEntities" : [ {
"guid" : "f8f73bf9-2445-4bce-a7dd-753be3b40a67",
"name" : "Entity name"
}, {
"guid" : "...",
"name" : "..."
} ],
"backups" : [ {
"guid" : "f8f73bf9-2445-4bce-a7dd-753be3b40a67",
"name" : "Entity name"
}, {
"guid" : "...",
"name" : "..."
} ],
"snapshots" : [ {
"guid" : "f8f73bf9-2445-4bce-a7dd-753be3b40a67",
"name" : "Entity name"
}, {
"guid" : "...",
"name" : "..."
} ],
"restoreJobs" : [ {
"guid" : "f8f73bf9-2445-4bce-a7dd-753be3b40a67",
"name" : "Entity name"
}, {
"guid" : "...",
"name" : "..."
} ],
"backupDestinations" : [ {
"guid" : "f8f73bf9-2445-4bce-a7dd-753be3b40a67",
"name" : "Entity name"
}, {
"guid" : "...",
"name" : "..."
} ]
}
HTTP/1.1 204 No Content
Remove protected entity and backups.
name | type | description |
---|---|---|
guid | path | specify local unique identifier for protected entity (use by vProtect) |
backup-destination | query | specify local unique identifier for backup destination (use by vProtect) |
DELETE /protected-entities/{guid}
Content-Type: */*
...
HTTP/1.1 204 No Content
Acknowledge warnings for snapshot in protected entity. Left to conform to backwards compatibility
name | type | description |
---|---|---|
guid | path | specify local unique identifier for protected entity (use by vProtect) |
PUT /protected-entities/{guid}/backup-warnings-ack
Content-Type: */*
...
HTTP/1.1 204 No Content
Acknowledge warnings for snapshot in protected entity.
name | type | description |
---|---|---|
guid | path | specify local unique identifier for protected entity (use by vProtect) |
PUT /protected-entities/{guid}/warnings-acknowledged
Content-Type: */*
...
HTTP/1.1 204 No Content