Child pages
  • Get List of Location Groups

Versions Compared


  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migration of unmigrated content due to installation of a new plugin

To get an array of location groups set up within your cloud, use the following request:

GET /settings/location_groups.xml
GET /settings/location_groups.json

XML Output example

Code Block
<location_groups type="array">




    <created_at type="datetime">2013-06-10T15:35:33+03:00</created_at>

    <id type="integer">1</id>

    <is_deleted type="boolean">false</is_deleted>

    <updated_at type="datetime">2013-06-10T15:35:33+03:00</updated_at>

    <cdn_reference type="integer">495</cdn_reference>





    <created_at type="datetime">2013-06-10T15:35:34+03:00</created_at>

    <id type="integer">2</id>

    <is_deleted type="boolean">false</is_deleted>

    <updated_at type="datetime">2013-06-10T15:35:34+03:00</updated_at>

    <cdn_reference type="integer">30</cdn_reference>





city - the location group city

country - the location group country

created_at - the date in the [YYYY][MM][DD]T[hh][mm][ss]Z format

id - the location group ID

updated_at - the date when the location group was updated in the [YYYY][MM][DD]T[hh][mm][ss]Z format

cdn_reference - the location ID in OnApp Dashboard