The list of backup results that van be accessed. The API point can be accessed using two different URLs:
/api/backup/results
and /api/backup/definitions/<ID>/results
- the first one returning all results in the backup directory and the second one only definition specific backups.
Requests a list of backup results.
RESPONSE Fields | Value Type | Description |
---|---|---|
id | string | The unique ID of definition |
name | string | The name of the definition |
Note: Only one of the GET lines can be used at the same time. They represent alternatives.
# Request # Use user:password for authorization GET /api/backup/results HTTP/1.1 GET /api/backup/definitions/d7b3a485-b946-4edc-96db-1a41870f2584/results HTTP/1.1 Authorization: Bearer VGhpcyBpcyBqdXN0IGEgZGVtbyBhY2Nlc3MgdG9rZW4u # Response HTTP/1.1 200 OK Content-Type: application/json [ { "uuid": "49872894-104a-4c45-8c0a-c94a5d0df54b", "name": "Test" } ]
# Browser access http://127.0.0.1:9000/api/backup/results http://127.0.0.1:9000/api/backup/definitions/d7b3a485-b946-4edc-96db-1a41870f2584/results # Shell access using curl curl -LsH "Authorization: Bearer <access_token>" "http://127.0.0.1:9000/api/backup/results" # Shell access using curl using username and password curl -Lsu username:password "http://127.0.0.1:9000/api/backup/results" curl -Lsu username:password "http://127.0.0.1:9000/api/backup/definitions/d7b3a485-b946-4edc-96db-1a41870f2584/results"