- About Veeam Plug-in for Nutanix AHV REST API
- Overview
- Changelog
- Authorization
- Backup Appliance Settings
- Backup Server
- Prism Centrals
- Clusters
- getGet Collection of Clusters
- getGet Cluster Data
- getGet Collection of Virtual Machines
- postInfrastructure Rescan for Virtual Machines
- getGet Virtual Machine Data
- getGet Collection of Protection Domains
- postInfrastructure Rescan for Protection Domains
- getGet Collection of Networks
- getGet Collection of Storage Containers
- getGet Collection of Cluster Hosts
- getGet Collection of Volume Groups in Cluster
- getGet Volume Group Data
- postInfrastructure Rescan for Volume Groups
- postCluster Rescan for Snapshots
- Dashboard
- getGet Resource Usage Statistics
- getGet Session Status Statistics for Last 24 Hours
- getGet Job Type Statistics
- getGet Number of Protected VMs
- getGet Collection of Unprotected VMs
- getGet Collection of Protected VMs
- getGet Collection of Recent Job Sessions Duration
- getGet Collection of Available Backup Repositories
- Jobs
- Monitoring
- Protected VMs
- Restore Points
- getGet VM Restore Points
- getGet Restore Point Data
- delDelete Restore Point
- getGet Protection Domain Snapshot Data
- getGet Backup Snapshot Data
- getGet User Snapshot Data
- getGet Backup Data
- postPerform VM Restore
- postPerform Disk Restore
- getGet Collection of Disks From Restore Point
- getGet Collection of Network Adapters From Restore Point
- Sessions
- SMTP Account
- Time Zones
- User Accounts
- Workers
- Virtual Machines
The /sessions
resource collection represents statistics for every session performed by Veeam Backup for Nutanix AHV.
Get Collection of Sessions
For each performed operation (VM backup, restore, snapshot creation and so on) Veeam Backup for Nutanix AHV starts a new session. The HTTP GET request to the /sessions
endpoint retrieves a list of sessions stored in the Veeam Backup for Nutanix AHV database.
query Parameters
from | string or null <date-time> Returns only sessions run after the specified date and time. |
to | string or null <date-time> Returns only sessions run before the specified date and time. |
offset | integer <int32> >= 0 Default: 0 Excludes from a response the first N items of a resource collection. |
limit | integer <int32> >= -1 Default: 100 Specifies the maximum number of items of a resource collection to return in a response. |
write-only | Array of objects or null (FilterParameter) Specifies the criteria for items to be returned in a response. For more information, see the Veeam Backup for Nutanix AHV REST API Reference Overview, section Filter Parameters. |
write-only | Array of objects or null (SortParameter) Specifies the order of items in the response. For more information, see the Veeam Backup for Nutanix AHV REST API Reference Overview, section Sort Parameters. |
OK
Bad Request. The request body is malformed, incomplete or otherwise invalid.
Unauthorized. The authorization header has been expected but not found (or found but is expired).
Forbidden. The user sending a request does not have adequate privileges to access one or more objects 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
- 400
- 401
- 403
- 500
{- "offset": 0,
- "limit": 0,
- "totalCount": 0,
- "results": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "sessionType": "Unknown",
- "state": "Unknown",
- "result": "Unknown",
- "jobName": "string",
- "objectsCount": 0,
- "startTimeUtc": "2019-08-24T14:15:22Z",
- "finishTimeUtc": "2019-08-24T14:15:22Z",
- "reason": "string"
}
]
}
Get Session Data
The HTTP GET request to the /session/{id}
endpoint retrieves information on a session with the specified ID.
path Parameters
id required | string <uuid> Specifies the system ID of a session in Veeam Backup for Nutanix AHV. |
OK
Bad Request. The request body is malformed, incomplete or otherwise invalid.
Unauthorized. The authorization header has been expected but not found (or found but is expired).
Forbidden. The user sending a request does not have adequate privileges to access one or more objects 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
- 400
- 401
- 403
- 500
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "sessionType": "Unknown",
- "parentSessionId": "b1d7834e-fe2f-4cad-b0e5-ff5c5615f344",
- "state": "Unknown",
- "result": "Unknown",
- "startTimeUtc": "2019-08-24T14:15:22Z",
- "finishTimeUtc": "2019-08-24T14:15:22Z",
- "duration": "string",
- "context": {
- "jobId": "string",
- "jobName": "string",
- "backupMode": "Unknown",
- "objectName": "string",
- "objectId": "string",
- "reason": "string"
}, - "progressState": {
- "events": [
- {
- "severity": "Unknown",
- "startTimeUtc": "2019-08-24T14:15:22Z",
- "endTimeUtc": "2019-08-24T14:15:22Z",
- "message": "string"
}
], - "transferred": {
- "value": 0,
- "percent": 0
}, - "read": {
- "value": 0,
- "percent": 0
}, - "processed": {
- "value": 0,
- "percent": 0
}, - "progressPercents": 0,
- "processingRate": 0,
- "avgProcessingRate": 0,
- "objectsCount": 0,
- "objectsProcessed": 0
}
}
Stop Session Processing
The HTTP POST request to the /sessions/{id}/stop
endpoint stops processing of a session with the specified ID.
path Parameters
id required | string <uuid> Specifies the system ID assigned of a session in Veeam Backup for Nutanix AHV. |
No Content
Bad Request. The request body is malformed, incomplete or otherwise invalid.
Unauthorized. The authorization header has been expected but not found (or found but is expired).
Forbidden. The user sending a request does not have adequate privileges to access one or more objects 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
- 400
- 401
- 403
- 500
{- "type": "string",
- "title": "string",
- "status": 0,
- "detail": "string",
- "instance": "string",
- "extensions": {
- "property1": { },
- "property2": { }
}
}