Getting Backed-Up Organizations
This section explains how to get a collection of organizations the data of which is stored in a backup repository with the specified ID.
Request
GET https://<hostname>:4443/v4/BackupRepositories/{repositoryId}/BackedUpOrganizations |
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
Property | Type | Description |
---|---|---|
Name | string | Specifies the name of the backed-up organization. |
Id | string | Specifies the ID of a backed-up organization. |
UsedSpaceBytes | ulong | Specifies the amount of space the organization is using on the repository. |
Example
The following request returns an entity representation of all organizations whose data is stored on the Veeam Backup for Microsoft Office 365 repositories.
Request: GET https://abc.tech.local:4443/v4/BackupRepositories/5a905bb5-9071-433c-9d2f-f805d4da2cf4/BackedUpOrganizations
Request Header: Authorization: Bearer <Access-Token>
Response: 200 OK
Response Body: [ { "name": "Office365.onmicrosoft.com", "id": "Office365.onmicrosoft.com:00000000-0000-0000-0000-000000000000:00000000-0000-0000-0000-000000000000", "usedSpaceBytes": 0, "localCacheUsedSpace": 1507328, "objectStorageUsedSpace": 241733840 }, { "name": "abc.tech.local", "id": ":03d6260c-2779-4914-8d65-782a66c10f70:00000000-0000-0000-0000-000000000000", "usedSpaceBytes": 0, "localCacheUsedSpace": 22609920, "objectStorageUsedSpace": 6880768100 } ]
|