Help Center
Choose product document...
Veeam Availability Console 2.0
RESTful API Reference

Get Computers

You can get a representation of a collection of computers discovered in Veeam Availability Console.

Request

To get a representation of all discovered computers, send the GET HTTPS request to the URL of the /Computers collection.

HTTPS Request

GET https://<Availability-Console>:1281/v2/Computers

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, Veeam Availability Console returns a representation of the /Computers collection resource.

Example Get Computers

The following request returns a list of all managed computers in Veeam Availability Console.

Request:

GET https://localhost:1281/v2/Computers

 

Request Header:

Authorization: Bearer <Access-Token>

 

Response Code:

200 Success

 

Response Body:

[

 {

   "id": "1c201142-c8db-2861-a128-818cfccb2aee",

   "hostName": "windows03",

   "type": "Server",

   "platformType": "Vmware",

   "guestOs": "Microsoft Windows Server 2012 R2 Standard",

   "applicationInstalled": "Microsoft SQL Server",

   "connectionStatus": "Online",

   "connectionAccount": "Delta",

   "lastHeartbeat": "2017-10-17T10:39:42.9197789Z",

   "progress": 0,

   "ipAddress": "172.17.53.30",

   "macAddress": "00:50:56:91:7E:5F",

   "discoveryTime": "2017-10-16T09:47:29.9469644Z",

   "backupAgentInstalled": true,

   "vacAgentStatus": "Installed",

   "vacAgentVersion": "Up-to-date (2.0.1.1266)",

   "vacAgentRole": "Master",

   "vawAgentStatus": "Healthy",

   "vawAgentVersion": "Up-to-date (2.0.0.700)",

   "backupSize": 491.09,

   "backupSizeUnits": "MB",

   "activationDate": "2017-10-12T08:18:59.6803059Z",

   "licenceType": "Activated",

   "nextRun": "2017-10-18T00:30:00+03:00",

   "scheduleType": "Daily",

   "lastModified": "2017-10-13T05:15:48.1829432+03:00",

   "isEnabled": true,

   "modifiedBy": "VAC\\administrator",

   "duration": 350,

   "durationUnits": "s",

   "destinationType": "C:\\VeeamBackup\\",

   "avgDuration": 10,

   "avgDurationUnits": "s",

   "restorePointsCount": 14,

   "lastRun": "2017-10-17T07:30:00.75Z",

   "destinationFreeSpace": 99.38,

   "destinationFreeSpaceUnits": "GB",

   "status": "Success",

   "uiMode": "Full",

   "_links": {

     "self": {

       "href": "https://vac.tech.local:1281/v2/computers/1c201142-c8db-2861-a128-818cfccb2aee"

     },

     "backupPolicies": {

       "href": "https://vac.tech.local:1281/v2/backupPolicies/0"

     }

   }

 },

 {

   "id": "82191142-132d-2ad0-c8bf-19647aab6b8c",

   "hostName": "backup01",

   "type": "Server",

   "platformType": "Vmware",

   "guestOs": "Microsoft Windows Server 2012 R2 Standard",

   "applicationInstalled": "Microsoft SQL Server",

   "connectionStatus": "Online",

   "connectionAccount": "Alpha",

   "lastHeartbeat": "2017-10-17T10:38:56.9765992Z",

   "progress": 0,

   "ipAddress": "172.17.53.12",

   "macAddress": "00:50:56:91:11:52",

   "discoveryTime": "2017-10-16T12:38:43.8906215Z",

   "backupAgentInstalled": false,

   "vacAgentStatus": "Installed",

   "vacAgentVersion": "Up-to-date (2.0.1.1266)",

   "vacAgentRole": "Master",

   "_links": {

     "self": {

       "href": "https://vac.tech.local:1281/v2/computers/82191142-132d-2ad0-c8bf-19647aab6b8c"

     }

   }

 }

]

Veeam Large Logo

Deployment Guide

Migration Guide

Administrator Guide for Service Providers

User Guide for Service Providers

Evaluator's Guide for Service Providers

Administrator Guide for Enterprises

User Guide for Enterprises

Evaluator's Guide for Enterprises

RESTful API Reference