(GET) /RestoreSessions/{restoreSessionId}/Events/{eventId}
Returns a resource representation of a restore session event with a specified ID.
Request
To get a resource representation of a restore session event with a specified ID, send the GET HTTPS request to the URL of the /RestoreSessions/{restoreSessionId}/Events/{eventId} resource:
HTTPS Request
GET https://<Backup-Office365>:4443/v3/RestoreSessions/{restoreSessionId}/Events/{eventId} |
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/{restoreSessionId}/Events/{eventId} resource.
Example
Request: GET https://support.east.local:4443/v3/RestoreSessions/61954db6-7278-4d26-86f7-888bda5a4ec4/Events/755d207e-ebd6-49da-9943-3b9e5eb31dee
Request Header: Authorization: Bearer <Access-Token>
Response: 200 OK
Response Body: { "itemName": "commonName", "itemType": "Site", "itemSizeBytes": 0, "source": "commonName/sites/commonName", "target": "https://company.sharepoint.com/sites/commonName_restored", "id": "9dc6426b-4630-4645-97a9-d7921daaac65", "type": "Restore", "status": "Success", "startTime": "2019-03-15T19:51:11.6624545Z", "endTime": "2019-03-15T20:00:18.0118225Z", "duration": "00:09:06.3493680", "title": "Site is successfully restored.", "message": "Item commonName was restored successfully (type: Site; source: commonName/sites/commonName; target: https://company.sharepoint.com/sites/commonName_restored)", "order": 17, "_links": { "self": { "href": "https://localhost:4443/v3/restoresessions/e8327633-48d6-41a3-ab11-5588182f8e67/events/9dc6426b-4630-4645-97a9-d7921daaac65" }, "restoreSession": { "href": "https://localhost:4443/v3/restoresessions/e8327633-48d6-41a3-ab11-5588182f8e67" } } } |