Veeam Backup & Replication REST API is backward-compatible. This means that, in general, client requests that use an earlier version or revision of the REST API are compatible with further REST API updates. You can find the current Veeam Backup & Replication REST API version and revision in the REST API specification. It is specified in the version field of the info object. For example:
The table below lists versions and revisions of the REST API and the Veeam Backup & Replication build numbers when the version and revision were released.
REST API Version and Revision
Veeam Backup & Replication Build
You must specify the Veeam Backup & Replication REST API version and revision in each request. The requirement lets you minimize changes in your client application with every REST API update.
Veeam Backup & Replication REST API implements a combined approach of versioning:
- Major version is specified in the request path in the following format: v<major_version>.
The current major version is v1.
- Version and revision are specified in the request header in the following format: <version>-<revision>.
The current version and revision is 1.1-rev1.
For example, to obtain current date and time on the backup server, send the HTTP GET request to the api/<major_version>/serverTime path. In the x-api-version header, specify a version and revision in the following format: <version>-<revision>.