Getting SharePoint Data by Repository ID
This section explains how to get a collection of backed-up Microsoft SharePoint sites data which is stored in a backup repository with the specified ID.
Request
GET https://<hostname>:4443/v5/BackupRepositories/{repositoryId}/SiteData |
Request Headers
The request header must contain an authorization token of the current session.
Request Parameters
The following parameters must be posted as URL.
Parameter | Type | Description |
---|---|---|
repositoryId | string | An identification number of the backup repository. |
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 representation of the /BackupRepositories/{repositoryId}/SiteData resource.
Example
The example below returns an entity representation of the backed-up site data which is stored on a Veeam Backup for Microsoft Office 365 repository having a specified ID.
Request: GET https://abc.tech.local:4443/v5/BackupRepositories/459684e0-cb24e-4364-8b3c-e3aaeab4fb41/SiteData
Request Header: Authorization: Bearer <Access-Token>
Response: 200 OK
Response Body: [ { "id": "0eb9b4fb-a595-4ae0-80bf-b95f2f8f3bd4c48a44a2-2e06-4854-b3f2-b55c81636d19", "title": "..", "url": "https://organization-my.sharepoint.com/personal/.._organization_onmicrosoft_com", "organizationId": "organization.onmicrosoft.com:00000000-0000-0000-0000-000000000000:00000000-0000-0000-0000-000000000000", "_links": { "self": { "href": "https://127.0.0.1:4443/v5/backuprepositories/459684e0-cb24e-4364-8b3c-e3aaeab4fb41/sitedata/0eb9b4fb-a595-4ae0-80bf-b95f2f8f3bd4c48a44a2-2e06-4854-b3f2-b55c81636d19" }, "organization": { "href": "https://127.0.0.1:4443/v5/backuprepositories/459684e0-cb24e-4364-8b3c-e3aaeab4fb41/organizationdata/organization.onmicrosoft.com:00000000-0000-0000-0000-000000000000:00000000-0000-0000-0000-000000000000" }, "backupRepository": { "href": "https://127.0.0.1:4443/v5/backuprepositories/459684e0-cb24e-4364-8b3c-e3aaeab4fb41" } } }, { "id": "06a59248-64a3-48ea-a3c6-c0b70653dc2fb96a9e43-46e1-4569-9573-15fcae353287", "title": "..", "url": "https://organization-my.sharepoint.com/personal/.._organization_onmicrosoft_com", "organizationId": "organization.onmicrosoft.com:00000000-0000-0000-0000-000000000000:00000000-0000-0000-0000-000000000000", "_links": { "self": { "href": "https://127.0.0.1:4443/v5/backuprepositories/459684e0-cb24e-4364-8b3c-e3aaeab4fb41/sitedata/06a59248-64a3-48ea-a3c6-c0b70653dc2fb96a9e43-46e1-4569-9573-15fcae353287" }, "organization": { "href": "https://127.0.0.1:4443/v5/backuprepositories/459684e0-cb24e-4364-8b3c-e3aaeab4fb41/organizationdata/organization.onmicrosoft.com:00000000-0000-0000-0000-000000000000:00000000-0000-0000-0000-000000000000" }, "backupRepository": { "href": "https://127.0.0.1:4443/v5/backuprepositories/459684e0-cb24e-4364-8b3c-e3aaeab4fb41" } } } ] |