Getting Restore Points
This section explains how to get restore points that reside in backup repositories and as snapshots in Azure.
Request
GET https://<hostname>/api/v1/restorePoints |
Request Headers
The request header must contain an authorization token of the current session.
Request Parameters
None.
Request Body
None.
Response
The server returns the following response to the client.
Response Codes
A successfully completed operation returns a response code 200 (OK).
Response Headers
The response to this request contains the following headers. The response may also include additional standard HTTPS headers.
Header | Description |
Content-length | The length of the response body. |
Content-type | The media type and syntax of the response body message: application/json; charset=utf-8 |
Response Body
Property | Type | Description |
|---|---|---|
offset | integer | Shows the offset value. |
limit | integer | Shows the offset limit. |
totalCount | integer | Shows the number of records in the results array. |
results | Contains the result object. | |
_links | Dictionary of string [key] and Object [value] | Links to related resources (navigation property). |
Property | Type | Description |
|---|---|---|
id | string | Shows the identification number of the restore point. |
pointInTime | string | Shows the time when the restore point was created. |
backupSizeBytes | string | Shows the size of the restore point in bytes. |
backupDestination | string | Shows the type of the snapshot. Possible values:
|
_embeddedResources | RestorePointEmbeddedResources Object | Might contain the RestorePointEmbeddedResources object. |
_links | Dictionary of string [key] and Object [value] | Links to related resources (navigation property). |
Example
Request: GET https://abc.ukwest.cloudapp.azure.com/api/v1/restorePoints
Request Header: Authorization: Bearer <Access-Token>
Response: 200 OK
Response Body: { "offset": 0, "limit": 30, "totalCount": 5, "results": [ { "id": "15ed5dd3-c759-4726-9682-be9f9d72a7d5", "pointInTime": "2020-02-03T13:02:39.35773Z", "backupSizeBytes": 136367309312, "backupDestination": "ManualSnapshot", "_embeddedResources": {}, "_links": { "self": {"href": "https://abc.ukwest.cloudapp.azure.com/api/v1/restorePoints/15ed5dd3-c759-4726-9682-be9f9d72a7d5"}, "BackupJob": {"href": "https://abc.ukwest.cloudapp.azure.com/api/v1/jobSessions/7"} } }, { "id": "1e1782e9-9921-4e11-980a-77203e9c691a", "pointInTime": "2020-02-05T10:48:38.853005Z", "backupSizeBytes": 136367309312, "backupDestination": "AzureBlob", "_embeddedResources": {}, "_links": { "self": {"href": "https://abc.ukwest.cloudapp.azure.com/api/v1/restorePoints/1e1782e9-9921-4e11-980a-77203e9c691a"}, "BackupJob": {"href": "https://abc.ukwest.cloudapp.azure.com/api/v1/jobSessions/38"} } }, { "id": "cd88a27f-afb0-4bd2-b9e7-bc1bd47252a0", "pointInTime": "2020-02-05T10:45:14.482326Z", "backupSizeBytes": 136367309312, "backupDestination": "Snapshot", "_embeddedResources": {}, "_links": { "self": {"href": "https://abc.ukwest.cloudapp.azure.com/api/v1/restorePoints/cd88a27f-afb0-4bd2-b9e7-bc1bd47252a0"}, "BackupJob": {"href": "https://abc.ukwest.cloudapp.azure.com/api/v1/jobSessions/37"} } }, { "id": "df483336-91b8-4e6b-87cf-7bd95f43c3de", "pointInTime": "2020-02-04T11:15:29.990303Z", "backupSizeBytes": 136367309312, "backupDestination": "AzureBlob", "_embeddedResources": {}, "_links": { "self": {"href": "https://abc.ukwest.cloudapp.azure.com/api/v1/restorePoints/df483336-91b8-4e6b-87cf-7bd95f43c3de"}, "BackupJob": {"href": "https://abc.ukwest.cloudapp.azure.com/api/v1/jobSessions/27"} } }, { "id": "f5661843-f425-4081-9d77-de440b4106e1", "pointInTime": "2020-02-04T19:02:30.328869Z", "backupSizeBytes": 136367309312, "backupDestination": "AzureBlob", "_embeddedResources": {}, "_links": { "self": {"href": "https://abc.ukwest.cloudapp.azure.com/api/v1/restorePoints/f5661843-f425-4081-9d77-de440b4106e1"}, "BackupJob": {"href": "https://abc.ukwest.cloudapp.azure.com/api/v1/jobSessions/31"} } } ], "_links": {"self": {"href": "https://abc.ukwest.cloudapp.azure.com:443/api/v1/restorePoints?onlyLatest=False&offset=0&limit=30"}} } |