GET /system/backup/targets/{target}/files
FROM API REVISION 4.0
This will list all the backup file name present on the selected target.
Used when you are operating a browser without access to the header parameter. This allows you to choose which encoding you want to use for the response:
All these resources can be used according what the resource allows.
The $select system query option allows clients to request a limited set of properties for each entity.
The value pass in the parameter can be:
If there is no value after the select query option, the parameter will be ignored. All the values that are not specified will not be printed in the response.
The $expand system query option specifies the related resources to be included in line with retrieved resources.
The value passed in the parameter can be:
The $expand system query option can be used with the $levels query option, to expand recursively.
The $orderby system query option allows clients to request collections in a particular order.
The value passed in the parameter can be "asc" for ascending order and or "desc" for descending order. If you prefer, it is possible to order the elements according to a specific value (see the example).
If this parameter is not in the request, the Application/Json will be chosen by default.
There are multiple possible values (according the resource):
The first two are the most often used.
This is where that backup file is located.
Object Name: Files
Property Name | Type | Description | Method |
---|---|---|---|
Files | Array<File> |
This is a list of backup file. | GET |
URL Example: https://0.0.0.0/api/rest/v1/system/backup/targets/device/files
[
{
"href": "/api/rest/v1/system/backup/targets/device/files/tutu-20180719_175506",
"name": "GYM24-20180719_175506"
},
{
"href": "/api/rest/v1/system/backup/targets/device/files/20180628_145101",
"name": "20180628_145101"
}
]
URL Example: https://0.0.0.0/api/rest/v1/system/backup/targets/device/files
<?xml version="1.0" encoding="utf-8"?>
<Files>
<File>
<Href>/api/rest/v1/system/backup/targets/device/files/tutu-20180719_175506</Href>
<Name>GYM24-20180719_175506</Name>
</File>
<File>
<Href>/api/rest/v1/system/backup/targets/device/files/20180628_145101</Href>
<Name>20180628_145101</Name>
</File>
</Files>