Get List of Backup Server Zones

To get the list of backup server zones, use the following request:

GET /settings/backup_server_zones.xml
GET /settings/backup_server_zones.json

XML Request Example

curl -i -X GET -H 'Accept: application/xml' -H 'Content-type: application/xml' -u user:userpass --url http://onapp.test/settings/backup_server_zones.json 

JSON Request Example

curl -i -X GET -H 'Accept: application/json' -H 'Content-type: application/json' -u user:userpass --url http://onapp.test/settings/backup_server_zones.json 

XML Output Example

<backup_server_groups type="array">
<backup_server_group>
<label>bsz</label>
<location_group_id type="integer">1</location_group_id>
<created_at type="datetime">2012-01-04T11:50:40Z</created_at>
<updated_at type="datetime">2012-01-04T11:50:40Z</updated_at>
<id type="integer">28</id>
</backup_server_group>
</backup_server_groups>

Where:

label – backup server zone title

location_group_id  ID of a location group the backup server zone is assigned to

id – backup server zone ID


Page History

v. 3.1

  • added the location_group_id parameter