Returns a resource representation of a SharePoint folder with a specified ID.
Request
To get a resource representation of a SharePoint folder for exploring and performing restore operations, send the GET HTTPS request to the URL of the /RestoreSessions/{ID}/Organization/Sites/{ID}/Folders/{ID} resource:
HTTPS Request
GET https://<Backup-Office365>:4443/v2/RestoreSessions/{ID}/Organization/Sites/{ID}/Folders/{ID} |
Request Headers
The request contains the following headers:
Header | Required | Description |
---|---|---|
Content-Type: application/json | true | Specifies the type of the content for your request. |
Authorization: Bearer <Access-Token> | true | 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/{ID}/Organization/Sites/{ID}/Folders/{ID} resource.
Example
The following request returns a resource representation of a SharePoint folder for exploring and performing restore operations.
Request: GET https://support.north.local:4443/v2/RestoreSessions/9de1aad8-b932-4083-b58a-edac38c35533/Organization/Sites/1cfe4469-0a31-414b-9fd0-e84a087dcb739f242172-6d3f-47a2-816a-4989d45e88dd/Folders/1cfe4469-0a31-414b-9fd0-e84a087dcb739f242172-6d3f-47a2-816a-4989d45e88ddbf94c035-744a-4ecb-85de-b0e55380bdc378b8bb47-34aa-4e8e-9c95-9dff94f35898
Request Header: Content-Type: application/json Authorization: Bearer <Access-Token>
Response: 200 OK
Response Body: { "type": "ListFolder", "id": "1cfe4469-0a31-414b-9fd0-e84a087dcb739f242172-6d3f-47a2-816a-4989d45e88ddbf94c035-744a-4ecb-85de-b0e55380bdc378b8bb47-34aa-4e8e-9c95-9dff94f35898", "name": "AB922B82-8406-4E49-B17B-9057BDF09503", "createdBy": "System Account", "creationTime": "2017-04-16T08:06:36", "modifiedBy": "System Account", "modificationTime": "2017-04-16T08:06:36", "_links": { "self": { "href": "https://support.north.local:4443/v2/restoresessions/9de1aad8-b932-4083-b58a-edac38c35533/organization/sites/1cfe4469-0a31-414b-9fd0-e84a087dcb739f242172-6d3f-47a2-816a-4989d45e88dd/folders/1cfe4469-0a31-414b-9fd0-e84a087dcb739f242172-6d3f-47a2-816a-4989d45e88ddbf94c035-744a-4ecb-85de-b0e55380bdc378b8bb47-34aa-4e8e-9c95-9dff94f35898" }, "folders": { "href": "https://support.north.local:4443/v2/restoresessions/9de1aad8-b932-4083-b58a-edac38c35533/organization/sites/1cfe4469-0a31-414b-9fd0-e84a087dcb739f242172-6d3f-47a2-816a-4989d45e88dd/folders?parentId=1cfe4469-0a31-414b-9fd0-e84a087dcb739f242172-6d3f-47a2-816a-4989d45e88ddbf94c035-744a-4ecb-85de-b0e55380bdc378b8bb47-34aa-4e8e-9c95-9dff94f35898" }, "list": { "href": "https://support.north.local:4443/v2/restoresessions/9de1aad8-b932-4083-b58a-edac38c35533/organization/sites/1cfe4469-0a31-414b-9fd0-e84a087dcb739f242172-6d3f-47a2-816a-4989d45e88dd/lists/1cfe4469-0a31-414b-9fd0-e84a087dcb739f242172-6d3f-47a2-816a-4989d45e88ddbf94c035-744a-4ecb-85de-b0e55380bdc3" }, "items": { "href": "https://support.north.local:4443/v2/restoresessions/9de1aad8-b932-4083-b58a-edac38c35533/organization/sites/1cfe4469-0a31-414b-9fd0-e84a087dcb739f242172-6d3f-47a2-816a-4989d45e88dd/items?parentId=1cfe4469-0a31-414b-9fd0-e84a087dcb739f242172-6d3f-47a2-816a-4989d45e88ddbf94c035-744a-4ecb-85de-b0e55380bdc378b8bb47-34aa-4e8e-9c95-9dff94f35898" } } }
|