{{sidenavigation.sidenavigationExpandLabel}}
{{getMsg('Help_YouAreHere')}}: {{page.title}} {{page.title}}
{{$root.getMsg("downLoadHelpAsPdf")}} {{helpModel.downloadHelpPdfDataStatus}}

List of Definitions

Backup definitions can be created using the Maintenance web interface. This command returns a list of all available backup definitions.

GET /api/backup/definitions

Requests a list of backup definitions.

RESPONSE Fields Value Type Description
id string The unique ID of definition
name string The name of the definition

Example Request

# Request
# Use user:password for authorization
GET /api/backup/definitions HTTP/1.1
Authorization: Bearer VGhpcyBpcyBqdXN0IGEgZGVtbyBhY2Nlc3MgdG9rZW4u
 
# Response
HTTP/1.1 200 OK
Content-Type: application/json
[
  {
    "uuid": "d7b3a485-b946-4edc-96db-1a41870f2584",
    "name": "Test"
  }
]

Application Example

# Browser access
http://127.0.0.1:9000/api/backup/definitions
 
# Shell access using curl
curl -LsH "Authorization: Bearer <access_token>" "http://127.0.0.1:9000/api/backup/definitions"
 
# Shell access using curl using username and password
curl -Lsu username:password "http://127.0.0.1:9000/api/backup/definitions"
i-net CoWork
This application uses cookies to allow login. By continuing to use this application, you agree to the use of cookies.


Help - /definitions