Getting Restore Points for Sites
You can get a list of Microsoft SharePoint sites contained in a restore point with the specified ID.
Request
GET https://<hostname>:4443/v6/RestorePoints/{restorePointId}/webs |
Request Headers
The request header must contain an authorization token of the current session.
Request Parameters
The following parameter must be specified in the URL of the request:
Parameter | Type | Description |
---|---|---|
restorePointId | string | Specifies the identification number of the restore point. For more information on how to get this parameter, see Getting Restore Points. |
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
In the response body, the server returns a resource representation of the /RestorePoints/{restorePointId}/webs resource. The response body contains the following properties:
Property | Type | Description |
---|---|---|
siteId | string | Specifies the SharePoint site ID. |
name | string | Specifies the SharePoint site name. |
url | string | Specifies the SharePoint site URL. |
_links | Dictionary of string [key] and Object [value] | Links to related resources (navigation property). |
Example
The example returns a resource representation of SharePoint sites in the restore point with the ID 5f7c94d0-c339-46f1-9b0f-2b9763ba83de31e4e204-7ce3-48f6-8c87-4a17f5da7e07.
Request: GET https://abc.tech.local:4443/v6/RestorePoints/5f7c94d0-c339-46f1-9b0f-2b9763ba83de31e4e204-7ce3-48f6-8c87-4a17f5da7e07/webs
Request Header: Authorization: Bearer <Access-Token>
Response: 200 OK
Response Body: [ { "siteId": "5359c4b5-5e3f-4fbb-a97f-a916bcba00a1", "name": "org_site", "url": "https://abc.sharepoint.com/sites/org_site", "_links": { "restorePoint": { "href": "/v6/restorePoints/5f7c94d0-c339-46f1-9b0f-2b9763ba83de31e4e204-7ce3-48f6-8c87-4a17f5da7e07" } } }, { "siteId": "5359c4b5-5e3f-4fbb-a97f-a916bcba00a1", "name": "org_subsite", "url": "https://abc.sharepoint.com/sites/org_site/org_subsite", "_links": { "restorePoint": { "href": "/v6/restorePoints/5f7c94d0-c339-46f1-9b0f-2b9763ba83de31e4e204-7ce3-48f6-8c87-4a17f5da7e07" } } } ] |