
Get Collection of VAO Sites
You can get a list of all registered VAO sites.
Request
To retrieve a representation of a collection of VAO sites, send the GET HTTPS request to the URL of the /Sites collection.
HTTPS Request
GET https://<hostname>:<port>/v1/Sites |
Request Headers
The request header must contain the authorization token for the current logon session.
Response
The server returns the following response to the client.
Response Code
A successfully completed operation returns response code 200 Success.
Response Headers
The response to this request contains the following headers. The response may also include additional standard HTTP 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, VAO returns a representation of the /Sites collection.
Example
The following request returns a full list of VAO sites.
Request: GET https://uwin2012r2.n.local:9899/v1/Sites
Request Header: Authorization: Bearer <Access-Token>
Response: 200 Success
Response Body: [ { "name": "Columbus", "id": "395f865b-c111-4729-8813-913304d0cb94", "serverName": "UWIN2012R2", "contactName": "John Smith", "contactEmail": "john.smith@veeam.com", "contactTel": "18002223344", "description": "Placed on the uwin2012r2", "type": "Dr", "_links": { "self": { "href": "/v1/Sites/395f865b-c111-4729-8813-913304d0cb94" }, "failoverPlans": "/v1/sites/395f865b-c111-4729-8813-913304d0cb94/failoverPlans" } }, { "name": "Ontario", "id": "76da0d75-75b0-4675-8296-0142ad0d52a7", "serverName": "uwin2012r2LT", "contactName": "Wendy May", "contactEmail": "wendy.may@veeam.com", "contactTel": "18003334455", "description": "Placed on the uwin2012r2lt", "type": "Production", "_links": { "self": { "href": "/v1/Sites/76da0d75-75b0-4675-8296-0142ad0d52a7" }, "failoverPlans": "/v1/sites/76da0d75-75b0-4675-8296-0142ad0d52a7/failoverPlans" } } ] |