This GraphQL query fetches All Cities
0
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
query allCities { cities (skip: 0, limit: 3) { results { ACL adminCode cityId country countryCode createdAt featureCode id location { latitude longitude } muni name population updatedAt } } }
{ "data": { "cities": { "results": [ { "ACL": null, "adminCode": "11", "cityId": 942206, "country": "South Africa", "countryCode": "ZA", "createdAt": "2019-12-14T19:23:44.786Z", "featureCode": "PPL", "id": "QehYBRYJSY", "location": { "latitude": -34.66739, "longitude": 20.23086 }, "muni": "WC033", "name": "Arniston", "population": 1267, "updatedAt": "2019-12-14T19:23:44.786Z" }, { "ACL": null, "adminCode": "03", "cityId": 937246, "country": "South Africa", "countryCode": "ZA", "createdAt": "2019-12-14T19:23:44.785Z", "featureCode": "PPLA3", "id": "OGmPr4J1er", "location": { "latitude": -30.30225, "longitude": 27.08395 }, "muni": "FS163", "name": "Zastron", "population": 12449, "updatedAt": "2019-12-14T19:23:44.785Z" }, { "ACL": null, "adminCode": "07", "cityId": 938694, "country": "South Africa", "countryCode": "ZA", "createdAt": "2019-12-14T19:23:44.785Z", "featureCode": "PPL", "id": "ZCuOI6j1CA", "location": { "latitude": -25.33177, "longitude": 31.01166 }, "muni": "MP322", "name": "White River", "population": 15954, "updatedAt": "2019-12-14T19:23:44.785Z" } ] } } }