Returns a resource representation of а collection of sessions created for the backup job with the specified ID.
Request
To get a list of job sessions created for the backup job with the specified ID, send the GET HTTPS request to the URL of the /Jobs/{ID}/JobSessions resource.
HTTPS Request
GET https://<Backup-Office365>:<Port>/v1/Jobs/{ID}/JobSessions |
Request Headers
The request header must contain the authorization token for the current logon session.
Request Body
None.
Response
The server returns the following response to the client.
Response Codes
A successfully completed operation returns 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 request body message: application/json; charset=utf-8 |
Response Body
In the response body, the server returns a representation of the /Jobs/{ID}/JobSessions collection resource.
Example
The following request returns an entity representation of all job sessions created for a backup job with ID 00b96531-1a68-4c90-a398-91141ffedb3b.
Request: GET https://support.east.local:4443/v1/JobSessions
Request Header: Authorization: Bearer <Access-Token>
Response: 200 OK
Response Body: [ { "id": "be376069-2865-4156-a9bc-825cef7d687e", "creationTime": "2017-04-04T00:07:21.3994255-07:00", "endTime": "2017-04-04T00:11:36.9857918-07:00", "progress": 3, "status": "Success", "statistics": { "processingRate": "99.1 KB/s (6 items/s)", "readRate": "1.0 MB/s", "writeRate": "20.8 MB/s", "transferredData": "0 B", "processedObjects": 1655, "bottleneck": "Source" }, "_links": { "self": { "href": "https://support.east.local:4443/v1/JobSessions/be376069-2865-4156-a9bc-825cef7d687e" }, "log": { "href": "https://support.east.local:4443/v1/JobSessions/be376069-2865-4156-a9bc-825cef7d687e/log" }, "job": { "href": "https://support.east.local:4443/v1/Jobs/00b96531-1a68-4c90-a398-91141ffedb3b" } } }, ...] |
Related Topics