GET /system/backup/targets
FROM API REVISION 4.0
This resource list the available platform where the Ecybackup file can be created or stored.
There is two possibilities: Device (device) or External USB storage (usbKey)
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 $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.
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.
Object Name: Targets
Property Name | Type | Description | Method |
---|---|---|---|
Targets | Array <Target> |
This is the list of available target. | GET |
URL Example: https://0.0.0.0/api/rest/v1/system/backup/targets
[
{
"href": "/api/rest/v1/system/backup/targets/device",
"name": "device"
},
{
"href": "/api/rest/v1/system/backup/targets/usbkey",
"name": "usbkey"
}
]
URL Example: https://0.0.0.0/api/rest/v1/system/backup/targets
<?xml version="1.0" encoding="utf-8"?>
<Targets>
<Target>
<Href>/api/rest/v1/system/backup/targets/device</Href>
<Name>device</Name>
</Target>
<Target>
<Href>/api/rest/v1/system/backup/targets/usbkey</Href>
<Name>usbkey</Name>
</Target>
</Targets>