(GET) /RestoreSessions/{restoreSessionId}/Organization/Sites/{siteId}
Returns a resource representation of a SharePoint site with a specified ID.
Request
To get a resource representation of a SharePoint site for exploring and performing restore operations, send the GET HTTPS request to the URL of the /RestoreSessions/{restoreSessionId}/Organization/Sites/{siteId} resource:
HTTPS Request
GET https://<Backup-Office365>:4443/v3/RestoreSessions/{restoreSessionId}/Organization/Sites/{siteId} |
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}/Organization/Sites/{siteId} resource.
Example
The following request returns an entity representation of a SharePoint site with a specified ID for exploring and performing restore operations.
Request: GET https://support.east.local:4443/v3/RestoreSessions/6a50c1ce-07e1-4ee9-9158-9150acb5c2eb/Organization/Sites/b3184e77-b95b-45f7-96cc-180a20b61cbd8507931c-4561-4ddf-bc90-411aba44bb39
Request Header: Authorization: Bearer <Access-Token>
Response: 200 OK
Response Body: { "id": "b3184e77-b95b-45f7-96cc-180a20b61cbd8507931c-4561-4ddf-bc90-411aba44bb39", "name": "MySite", "url": "http://server/sites/mySite", "_links": { "self": { "href": "https://support.north.local:4443/v3/restoresessions/6a50c1ce-07e1-4ee9-9158-9150acb5c2eb/organization/sites/b3184e77-b95b-45f7-96cc-180a20b61cbd8507931c-4561-4ddf-bc90-411aba44bb39" }, "sites": { "href": "https://support.north.local:4443/v3/restoresessions/6a50c1ce-07e1-4ee9-9158-9150acb5c2eb/organization/sites?parentId=b3184e77-b95b-45f7-96cc-180a20b61cbd8507931c-4561-4ddf-bc90-411aba44bb39" }, "libraries": { "href": "https://support.north.local:4443/v3/restoresessions/6a50c1ce-07e1-4ee9-9158-9150acb5c2eb/organization/sites/b3184e77-b95b-45f7-96cc-180a20b61cbd8507931c-4561-4ddf-bc90-411aba44bb39/libraries" }, "lists": { "href": "https://support.north.local:4443/v3/restoresessions/6a50c1ce-07e1-4ee9-9158-9150acb5c2eb/organization/sites/b3184e77-b95b-45f7-96cc-180a20b61cbd8507931c-4561-4ddf-bc90-411aba44bb39/lists" }, "documents": { "href": "https://support.north.local:4443/v3/restoresessions/6a50c1ce-07e1-4ee9-9158-9150acb5c2eb/organization/sites/b3184e77-b95b-45f7-96cc-180a20b61cbd8507931c-4561-4ddf-bc90-411aba44bb39/documents" }, "items": { "href": "https://support.north.local:4443/v3/restoresessions/6a50c1ce-07e1-4ee9-9158-9150acb5c2eb/organization/sites/b3184e77-b95b-45f7-96cc-180a20b61cbd8507931c-4561-4ddf-bc90-411aba44bb39/items" }, "folders": { "href": "https://support.north.local:4443/v3/restoresessions/6a50c1ce-07e1-4ee9-9158-9150acb5c2eb/organization/sites/b3184e77-b95b-45f7-96cc-180a20b61cbd8507931c-4561-4ddf-bc90-411aba44bb39/folders" } } }
|