Service

The Service section defines paths and operations for retrieving information about the backup server where the REST API service is running.

Get Backup Server Time

The HTTP GET request to the /api/v1/serverTime path allows you to get current date and time on the backup server.

Request
header Parameters
x-api-version
required
string
Default: 1.1-rev0

Version and revision of the client REST API. Must be in the following format: <version>-<revision>.

Responses
200

OK

401

Unauthorized. The authorization header has been expected but not found (or found but is expired).

403

Forbidden. The user sending the request does not have adequate privileges to access one or more objects specified in the request.

500

Internal server error. The request has been received but could not be completed because of an internal error at the server side.

get/api/v1/serverTime
Request samples
Response samples
application/json
{
  • "serverTime": "2022-01-25T18:31:50.7300443+01:00",
  • "timeZone": "(UTC+01:00) Belgrade, Bratislava, Budapest, Ljubljana, Prague"
}

Get Backup Server Certificate

The HTTP GET request to the /api/v1/serverCertificate path allows you to get a certificate of the backup server.

Request
header Parameters
x-api-version
required
string
Default: 1.1-rev0

Version and revision of the client REST API. Must be in the following format: <version>-<revision>.

Responses
200

OK

401

Unauthorized. The authorization header has been expected but not found (or found but is expired).

403

Forbidden. The user sending the request does not have adequate privileges to access one or more objects specified in the request.

500

Internal server error. The request has been received but could not be completed because of an internal error at the server side.

get/api/v1/serverCertificate
Request samples
Response samples
application/json
{
  • "thumbprint": "4E916B201930CD9AE44C20019F87F2A4EF227303",
  • "serialNumber": "65FFC0E36A66B2BA40EF93AF47C2EF7D",
  • "keyAlgorithm": "RSA-PKCS1-KeyEx",
  • "keySize": "2048",
  • "subject": "CN=Veeam Backup Server Certificate",
  • "issuedTo": "Veeam Backup Server Certificate",
  • "issuedBy": "Veeam Backup Server Certificate",
  • "validFrom": "2021-03-17T19:53:54+01:00",
  • "validBy": "2031-03-17T19:53:54+01:00"
}

Get Backup Server Information

The HTTP GET request to the /api/v1/serverInfo path allows you to get Veeam Backup & Replication installation ID, backup server name (or IP address), build number and cumulative patches installed on the backup server.

SecurityBearer
Request
header Parameters
x-api-version
required
string
Default: 1.1-rev0

Version and revision of the client REST API. Must be in the following format: <version>-<revision>.

Responses
200

OK

401

Unauthorized. The authorization header has been expected but not found (or found but is expired).

403

Forbidden. The user sending the request does not have adequate privileges to access one or more objects specified in the request.

500

Internal server error. The request has been received but could not be completed because of an internal error at the server side.

get/api/v1/serverInfo
Request samples
Response samples
application/json
{
  • "vbrId": "string",
  • "name": "string",
  • "buildVersion": "string",
  • "patches": [
    ],
  • "databaseVendor": "string",
  • "sqlServerEdition": "string",
  • "sqlServerVersion": "string",
  • "databaseSchemaVersion": "string",
  • "databaseContentVersion": "string"
}