{{getMsg('Help_YouAreHere')}}:
/
{{page.title}}
{{page.title}}
{{$root.getMsg("downLoadHelpAsPdf")}}
{{helpModel.downloadHelpPdfDataStatus}}
Definition Details
Display details about a backup definition.
GET /api/backup/definitions/<ID>
Requests the details of the given backup definition.
RESPONSE Fields | Value Type | Description |
---|---|---|
id | string | The unique ID of original backup definition |
name | string | The name of the original definition |
items | array | A list of keys of tasks that are included in this backup |
numberOfVersions | number | The amount of currently stored backup results |
Example Request
# Request # Use user:password for authorization GET /api/backup/definitions/d7b3a485-b946-4edc-96db-1a41870f2584 HTTP/1.1 Authorization: Bearer VGhpcyBpcyBqdXN0IGEgZGVtbyBhY2Nlc3MgdG9rZW4u # Response HTTP/1.1 200 OK Content-Type: application/json { "name": "DS", "id": "d7b3a485-b946-4edc-96db-1a41870f2584", "items": [], "numberOfVersions": 2 }
Application Example
# Browser access http://127.0.0.1:9000/api/backup/definitions/d7b3a485-b946-4edc-96db-1a41870f2584 # Shell access using curl curl -LsH "Authorization: Bearer <access_token>" "http://127.0.0.1:9000/api/backup/definitions/d7b3a485-b946-4edc-96db-1a41870f2584" # Shell access using curl using username and password curl -Lsu username:password "http://127.0.0.1:9000/api/backup/definitions/d7b3a485-b946-4edc-96db-1a41870f2584"