Get Backup Resource Zone Details
To get the backup resource zone details, use the following request:
GET /settings/backups/resource_zones/:resource_zone_id.xml
GET /settings/backups/resource_zones/:resource_zone_id.json
XML Request Example
curl -i -X GET -H 'Accept: application/xml' -H 'Content-type: application/xml' -u account_email:API_key --url http://onapp.test/settings/backups/resource_zones/1.xml
JSON Request Example
curl -i -X GET -H 'Accept: application/json' -H 'Content-type: application/json' -u account_email:API_key --url http://onapp.test/settings/backups/resource_zones/1.json
XML Output Example
<resource_zones type="array"> resource_zone> <created_at type="dateTime">2018-03-27T18:12:40+03:00</created_at> <id type="integer">1</id> <label>backup_resource_zone</label> <location_group_id>2</location_group_id> <updated_at type="dateTime">2018-03-28T14:58:33+03:00</updated_at> </resource_zone> </resource_zones>
Where:
resource_zone - the array of parameters for the backup resource zone
created_at - the date when the backup resource zone was created in the [YYYY][MM][DD]T[hh][mm][ss] format
id - the ID of the backup resource zone
label - the label of the backup resource zone
location_group_id - the ID of the location group to which the backup resource zone is added
updated_at - the date when the backup resource zone was updated in the [YYYY][MM][DD]T[hh][mm][ss] format