- About Veeam Backup & Replication REST API
- Overview
- How To
- Changelog
- Login
- Service
- Services
- Credentials
- getGet All Credentials
- postAdd Credentials Record
- getGet Credentials Record
- putEdit Credentials Record
- delRemove Credentials Record
- postChange Password
- postChange Linux Private Key
- postChange Linux Root Password
- getGet All Cloud Credentials
- postAdd Cloud Credentials Record
- postGet Verification Code
- postRegister Azure AD Application
- getGet Cloud Credentials Record
- putEdit Cloud Credentials Record
- delRemove Cloud Credentials Record
- postChange Secret Key
- postChange Certificate
- getGet All Helper Appliances
- postAdd or Edit Helper Appliance
- getGet Helper Appliance
- delRemove Helper Appliance
- Encryption
- Connection
- Cloud Browser
- Inventory Browser
- Traffic Rules
- General Options
- Configuration Backup
- Managed Servers
- Repositories
- getGet All Repositories
- postAdd Repository
- getGet All Repository States
- getGet Repository
- putEdit Repository
- delRemove Repository
- getGet All Scale-Out Backup Repositories
- postAdd Scale-Out Backup Repository
- getGet Scale-Out Backup Repository
- putEdit Scale-Out Backup Repository
- delRemove Scale-Out Backup Repository
- postEnable Sealed Mode
- postDisable Sealed Mode
- postEnable Maintenance Mode
- postDisable Maintenance Mode
- Proxies
- Jobs
- Backups
- Backup Objects
- Object Restore Points
- Restore
- Sessions
- Agents
- Automation
- postImport Jobs
- postExport Jobs
- postImport Credentials
- postExport Credentials
- postImport Cloud Credentials
- postExport Cloud Credentials
- postImport Proxies
- postExport Proxies
- postImport Servers
- postExport Servers
- postImport Repositories
- postExport Repositories
- postImport Encryption Passwords
- postExport Encryption Passwords
- getGet All Automation Sessions
- getGet Automation Session
- getGet Automation Session Logs
- postStop Automation Session
The Backup Objects section defines paths and operations for managing backup objects — virtual infrastructure objects (VMs and VM containers) that are included in backups created by the backup server.
Get All Backup Objects
The HTTP GET request to the /api/v1/backupObjects
path allows you to get an array of virtual infrastructure objects (VMs and VM containers) that are included in backups created by the backup server.
query Parameters
skip | integer <int32> Number of backup objects to skip. |
limit | integer <int32> Maximum number of backup objects to return. |
orderColumn | string (EBackupObjectsFiltersOrderColumn) Sorts backup objects by one of the backup object parameters. |
orderAsc | boolean Sorts backup objects in the ascending order by the |
nameFilter | string Filters backup objects by the |
platformNameFilter | string (EPlatformType) Filters backup objects by platform ID. |
platformIdFilter | string <uuid> Filters backup objects by platform ID. |
typeFilter | string Filters backup objects by object type. |
viTypeFilter | string Filters backup objects by the type of VMware vSphere server. |
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: |
OK
Unauthorized. The authorization header has been expected but not found (or found but is expired).
Forbidden. The user sending the request does not have adequate privileges to access one or more objects specified in the request.
Not found. No object was found with the path parameter specified in the request.
Internal server error. The request has been received but could not be completed because of an internal error at the server side.
- curl
- Python
- JavaScript
- C#
- Go
- 200
- 401
- 403
- 404
- 500
{- "data": [
- {
- "platformName": "CustomPlatform",
- "id": "47335ff1-a4f0-41ae-91f6-21a129fe4500",
- "name": null,
- "type": "Directory",
- "platformId": "c8098b32-9700-459b-b27c-4dceaf4ea932",
- "restorePointsCount": 11
}, - {
- "viType": "VirtualMachine",
- "objectId": "503",
- "path": "172.17.42.92\\DLDC",
- "platformName": "VMware",
- "id": "2a192b21-4d32-4b94-829e-231e8f0c0355",
- "name": "DLDC",
- "type": "VM",
- "platformId": "00000000-0000-0000-0000-000000000000",
- "restorePointsCount": 3
}
], - "pagination": {
- "total": 2,
- "count": 2,
- "skip": 0,
- "limit": 200
}
}
Get Backup Object
The HTTP GET request to the /api/v1/backupObjects/{id}
path allows you to get a backup object that has the specified id
.
path Parameters
id required | string <uuid> ID of the backup object. |
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: |
OK
Unauthorized. The authorization header has been expected but not found (or found but is expired).
Forbidden. The user sending the request does not have adequate privileges to access one or more objects specified in the request.
Not found. No object was found with the path parameter specified in the request.
Internal server error. The request has been received but could not be completed because of an internal error at the server side.
- curl
- Python
- JavaScript
- C#
- Go
- 200
- 401
- 403
- 404
- 500
{- "viType": "VirtualMachine",
- "objectId": "vm-69191",
- "path": "vcenter01.tech.local\\Atlanta\\esx04.tech.local\\Enterprise\\winsrv88",
- "platformName": "VmWare",
- "id": "fcea73fa-aa48-45e1-89e4-6e33411e8de2",
- "name": "winsrv88",
- "type": "VM",
- "platformId": "00000000-0000-0000-0000-000000000000",
- "restorePointsCount": 13
}
Get Restore Points
The HTTP GET request to the /api/v1/backupObjects/{id}/restorePoints
path allows you to get an array of restore points of a backup object that has the specified id
.
path Parameters
id required | string <uuid> ID of the backup object. |
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: |
OK
Unauthorized. The authorization header has been expected but not found (or found but is expired).
Forbidden. The user sending the request does not have adequate privileges to access one or more objects specified in the request.
Not found. No object was found with the path parameter specified in the request.
Internal server error. The request has been received but could not be completed because of an internal error at the server side.
- curl
- Python
- JavaScript
- C#
- Go
- 200
- 401
- 403
- 404
- 500
{- "data": [
- {
- "platformName": "VmWare",
- "id": "cb9b2475-46d9-40ae-8d27-0f2f1dfa97cd",
- "name": "winsrv88",
- "platformId": "00000000-0000-0000-0000-000000000000",
- "creationTime": "2022-02-02T22:01:18.163+01:00",
- "backupId": "3c3d7ebd-3b06-4a99-899c-fa7d5320582a",
- "allowedOperations": [ ]
}, - {
- "platformName": "VmWare",
- "id": "a97c72ed-adaf-4b27-a31e-c1ff5af9ba8f",
- "name": "winsrv88",
- "platformId": "00000000-0000-0000-0000-000000000000",
- "creationTime": "2022-02-01T22:00:39.997+01:00",
- "backupId": "3c3d7ebd-3b06-4a99-899c-fa7d5320582a",
- "allowedOperations": [ ]
}
], - "pagination": {
- "total": 2,
- "count": 2,
- "skip": 0,
- "limit": 2
}
}