Get List of CDN Edge Groups

To view CDN edge groups available in the cloud:

GET /edge_groups.xml
GET /edge_groups.json

XML Request Example

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

JSON Request Example

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

XML Output Example

<edge_groups type="array">
<edge_group>
<label>tredty</label>
<created_at type="datetime">2011-10-11T12:58:40Z</created_at>
<updated_at type="datetime">2011-10-11T12:58:40Z</updated_at>
<id type="integer">1</id>
</edge_group>
...
<edge_group></edge_group>
...
</edge_groups> 

Where:

label – the edge group label

id – the group id in the database