Query Backup File List
Query the backup file list.
Request URL
GET {base_url}/{api_path}/backup/list?access_token={access_token}
Request parameters
| Parameter | Required | Type | Description |
|---|---|---|---|
| page | No | Integer | Define which page is displayed. |
| page_size | No | Integer | Define how many records per page. |
| sort_by | No | String | Define the sorting field. Valid value:
|
| order_by | No | String | Define the display order. Valid value:
|
Response parameters
| Parameter | Type | Description |
|---|---|---|
| errcode | Integer | Returned error code.
Note: You can check the error code and
error message in Error Code and Error Message.
|
| errmsg | String | Returned message.
|
| total_number | Integer | The total number of backup files. |
| backup_list | Array<Backup_Info> | The information of backup files. |
- Backup_Info
-
Parameter Type Description file_name String The name of the backup file. backup_time String The time when the backup is created. memo String The remark of the backup file. backup_status String The backup status of the backup file. successfailedprocessing
Examples
Request example
GET /openapi/v1.0/backup/list?access_token=sTxrM4A46DKnXvmC7MgudkEgPEJABBQ6&page=1&page_size=2&sort_by=file_name&order_by=asc HTTP/1.1
Host: 192.168.5.150:8088
Response example
HTTP/1.1 200 OK { "errcode": 0, "errmsg": "SUCCESS", "total_number": 2, "backup_list": [ { "file_name": "Backup-X.18.0.89-20250313132238-local.bak", "backup_time": "2025/03/13 13:24:15", "memo": "", "backup_status": "success" }, { "file_name": "Backup-X.18.0.45-20250208112520-local.bak", "backup_time": "2025/02/08 11:27:15", "memo": "", "backup_status": "success" } ] }