Returns a resource representation of а collection of all restore sessions created under the current logon credentials.
Request
To get a list of all restore sessions, send the GET HTTPS request to the URL of the /RestoreSessions resource.
HTTPS Request
GET https://<Backup-Office365>:<Port>/v1/RestoreSessions |
Request Headers
The request header must contain the authorization token for the current logon session.
Request Body
None.
Response
The server returns the following response to the client.
Response Codes
A successfully completed operation returns 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 request body message: application/json; charset=utf-8 |
Response Body
In the response body the server returns a representation of the /RestoreSessions collection resource.
Example
The following request returns an entity representation of all restore sessions that were created under the current logon credentials.
Request: GET https://support.east.local:4443/v1/RestoreSessions
Request Header: Authorization: Bearer <Access-Token>
Response: 200 OK
Response Body: [ { "id": "0800471b-d0e2-422b-9d7c-35d15661c3fb", "type": "Vex", "pointInTime": "2017-06-26T22:07:39-07:00", "creationTime": "2017-06-29T07:42:21.191694Z", "endTime": "2017-06-29T08:14:58.3532833Z", "state": "Stopped", "result": "Success", "_links": { "self": { "href": "https://support.east.local:4443/v1/restoresessions/0800471b-d0e2-422b-9d7c-35d15661c3fb" }, "organization": { "href": "https://support.east.local:4443/v1/restoresessions/0800471b-d0e2-422b-9d7c-35d15661c3fb/organization" } } }, { "id": "9f786f0f-de9a-4a90-8118-093b6cb2c4fc", "type": "Vex", "pointInTime": "2017-06-26T22:07:39-07:00", "creationTime": "2017-06-29T08:30:05.0983973Z", "state": "Working", "result": "Success", "_links": { "self": { "href": "https://support.east.local:4443/v1/restoresessions/9f786f0f-de9a-4a90-8118-093b6cb2c4fc" }, "organization": { "href": "https://support.east.local:4443/v1/restoresessions/9f786f0f-de9a-4a90-8118-093b6cb2c4fc/organization" } } } ...] |