Help Center
Choose product document...
Veeam Backup for Microsoft Office 365
RESTful API Reference

(GET) /BackupRepositories

Returns a resource representation of a collection of repositories managed by Veeam Backup for Microsoft Office 365.

Request

To get a list of backup repositories managed by Veeam Backup for Microsoft Office 365, send GET HTTPS request to the URL of the /BackupRepositories resource.

HTTPS Request

GET https://<Backup-Office365>:<Port>/v1/BackupRepositories

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 /BackupRepositories collection resource.

Example

The following request returns an entity representation of all repositories manged by Veeam Backup for Microsoft Office 365.

Request:

GET https://support.east.local:4443/v1/BackupRepositories

 

Request Header:

Authorization: Bearer <Access-Token>

 

Response:

200 OK

 

Response Body:

[

 {

  "id": "5729d9cf-abfa-4077-9dd5-f5a888b98147",

  "name": "ABC Support",

  "proxyId": "5a905bb5-9071-433c-9d2f-f805d4da2cf4",

  "retentionPeriodType": "Daily",

  "dailyRetentionPeriod": 14,

  "retentionFrequencyType": "Daily",

  "dailyTime": "08:00:00",

  "description": "Daily",

  "dailyType": "Weekends",

  "path": "C:\\ABC_support",

  "capacity": 128479916032,

  "freeSpace": 111512092672,

 "_links": {

  "self": {

    "href": "https://support.east.local:4443/v1/BackupRepositories/5729d9cf-abfa-4077-9dd5-f5a888b98147"

   },

  "proxy": {

    "href": "https://support.east.local:4443/v1/Proxies/5a905bb5-9071-433c-9d2f-f805d4da2cf4"

     }

    }

   },

...]

Related Topics

Configuring Repositories

Veeam Large Logo

User Guide

RESTful API Reference

PowerShell Reference