(GET) /RestoreSessions/{restoreSessionId}/Organization/Sites/{siteId}/Libraries/{libraryId}
Returns a resource representation of a SharePoint document library with a specified ID.
Request
To get a resource representation of a SharePoint document library for exploring and performing restore operations, send the GET HTTPS request to the URL of the /RestoreSessions/{restoreSessionId}/Organization/Sites/{siteId}/Libraries/{libraryId} resource:
HTTPS Request
GET https://<Backup-Office365>:4443/v3/RestoreSessions/{restoreSessionId}/Organization/Sites/{siteId}/Libraries/{libraryId} |
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}/Libraries/{libraryId} resource.
Example
The following request returns an entity representation of a SharePoint document library with a specified ID for exploring and performing restore operations.
Request: GET https://support.east.local:4443/v3/RestoreSessions/742fe5ac-3ea6-422b-b204-757b15a47e56/Organization/Sites/37ceec3f-565e-4ee0-9913-221c701d574401a462f8-4a26-4360-9296-04f489c34444/Libraries/37ceec3f-565e-4ee0-9913-221c701d574401a462f8-4a26-4360-9296-04f489c344441a867bcb-6a88-4744-adda-26c2c33e7cbb
Request Header: Authorization: Bearer <Access-Token>
Response: 200 OK
Response Body: { "id": "37ceec3f-565e-4ee0-9913-221c701d574401a462f8-4a26-4360-9296-04f489c344441a867bcb-6a88-4744-adda-26c2c33e7cbb", "name": "Style Library", "url": "/sites/inconsiderable/Style Library", "description": "Use the style library to store style sheets, such as CSS or XSL files. The style sheets in this gallery can be used by this site or any of its subsites.", "creationTime": "2017-12-06T14:40:54Z", "_links": { "self": { "href": "https://support.north.local:4443/v3/restoresessions/742fe5ac-3ea6-422b-b204-757b15a47e56/organization/sites/37ceec3f-565e-4ee0-9913-221c701d574401a462f8-4a26-4360-9296-04f489c34444/libraries/37ceec3f-565e-4ee0-9913-221c701d574401a462f8-4a26-4360-9296-04f489c344441a867bcb-6a88-4744-adda-26c2c33e7cbb" }, "parent": { "href": "https://support.north.local:4443/v3/restoresessions/742fe5ac-3ea6-422b-b204-757b15a47e56/organization/sites/37ceec3f-565e-4ee0-9913-221c701d574401a462f8-4a26-4360-9296-04f489c34444" }, "folders": { "href": "https://support.north.local:4443/v3/restoresessions/742fe5ac-3ea6-422b-b204-757b15a47e56/organization/sites/37ceec3f-565e-4ee0-9913-221c701d574401a462f8-4a26-4360-9296-04f489c34444/folders?parentId=37ceec3f-565e-4ee0-9913-221c701d574401a462f8-4a26-4360-9296-04f489c344441a867bcb-6a88-4744-adda-26c2c33e7cbb" }, "documents": { "href": "https://support.north.local:4443/v3/restoresessions/742fe5ac-3ea6-422b-b204-757b15a47e56/organization/sites/37ceec3f-565e-4ee0-9913-221c701d574401a462f8-4a26-4360-9296-04f489c34444/documents?parentId=37ceec3f-565e-4ee0-9913-221c701d574401a462f8-4a26-4360-9296-04f489c344441a867bcb-6a88-4744-adda-26c2c33e7cbb" } } }
|