(GET) /RestoreSessions/{restoreSessionId}/Organization/Sites/{siteId}/Lists/{listId}
Returns a resource representation of a SharePoint list with a specified ID.
Request
To get a resource representation of a SharePoint list for exploring and performing restore operations, send the GET HTTPS request to the URL of the /RestoreSessions/{restoreSessionId}/Organization/Sites/{siteId}/Lists/{listId} resource:
HTTPS Request
GET https://<Backup-Office365>:4443/v3/RestoreSessions/{restoreSessionId}/Organization/Sites/{siteId}/Lists/{listId} |
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}/Lists/{listId} resource.
Example
The following request returns an entity representation of a SharePoint list 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/Lists/37ceec3f-565e-4ee0-9913-221c701d574401a462f8-4a26-4360-9296-04f489c34444d0bf1b2f-be66-4982-ba88-a31a49f61a3a
Request Header: Authorization: Bearer <Access-Token>
Response: 200 OK
Response Body: { "id": "37ceec3f-565e-4ee0-9913-221c701d574401a462f8-4a26-4360-9296-04f489c34444d0bf1b2f-be66-4982-ba88-a31a49f61a3a", "name": "locallocallookup", "url": "/sites/inconsiderable/Lists/locallocallookup", "description": "", "creationTime": "0001-01-01T00:00:00Z", "_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/lists/37ceec3f-565e-4ee0-9913-221c701d574401a462f8-4a26-4360-9296-04f489c34444d0bf1b2f-be66-4982-ba88-a31a49f61a3a" }, "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-04f489c34444d0bf1b2f-be66-4982-ba88-a31a49f61a3a" }, "items": { "href": "https://support.north.local:4443/v3/restoresessions/742fe5ac-3ea6-422b-b204-757b15a47e56/organization/sites/37ceec3f-565e-4ee0-9913-221c701d574401a462f8-4a26-4360-9296-04f489c34444/items?parentId=37ceec3f-565e-4ee0-9913-221c701d574401a462f8-4a26-4360-9296-04f489c34444d0bf1b2f-be66-4982-ba88-a31a49f61a3a" } } }
|