Getting Backup Job Sessions
This section explains how to get a resource representation of а collection of all sessions created for backup jobs.
Request
GET https://<hostname>:4443/v4/JobSessions |
Request Headers
The request header must contain an authorization token of the current session.
Request Body
None.
Response
The server returns the following response to the client.
Response Codes
A successfully completed operation returns a response code 200 (OK).
Response Headers
The response to this request contains the following headers. The response may also include additional standard HTTPS headers.
Header | Description |
---|---|
Content-length | The length of the response body. |
Content-type | The media type and syntax of the response body message: application/json; charset=utf-8 |
Response Body
In the response body, the server returns a representation of the /JobSessions collection resource.
Example
The following request returns an entity representation of all job sessions in Veeam Backup for Microsoft Office 365.
Request: GET https://abc.tech.local:4443/v4/JobSessions
Request Header: Authorization: Bearer <Access-Token>
Response: 200 OK
Response Body: [ { "id": "a8cf9a63-64c3-4748-9c95-b1fbac0cce1d", "creationTime": "2019-02-04T16:49:22.8529769Z", "endTime": "2019-02-04T16:50:21.3024288Z", "progress": 1, "status": "Success", "statistics": { "processingRateBytesPS": 1683256, "processingRateItemsPS": 20, "readRateBytesPS": 5383429, "writeRateBytesPS": 26015396, "transferredDataBytes": 98142970, "processedObjects": 1193, "bottleneck": "Source" }, "_links": { "self": { "href": "https://abc.tech.local:4443/v4/jobsessions/a8cf9a63-64c3-4748-9c95-b1fbac0cce1d" }, "log": { "href": "https://abc.tech.local:4443/v4/jobsessions/a8cf9a63-64c3-4748-9c95-b1fbac0cce1d/log" }, "job": { "href": "https://abc.tech.local:4443/v4/jobs/b20cedd4-66b2-49b1-86de-a575dc67e83b" } } }, ..] |