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": "VS", "cityId": 2657928, "country": "Switzerland", "countryCode": "CH", "createdAt": "2019-12-12T19:05:24.781Z", "featureCode": "PPL", "id": "aGPnGFSegS", "location": { "latitude": 46.01998, "longitude": 7.74863 }, "muni": "6300", "name": "Zermatt", "population": 6629, "updatedAt": "2019-12-12T19:05:24.781Z" }, { "ACL": null, "adminCode": "BE", "cityId": 2657887, "country": "Switzerland", "countryCode": "CH", "createdAt": "2019-12-12T19:05:24.781Z", "featureCode": "PPL", "id": "EMesJDuwl0", "location": { "latitude": 46.55539, "longitude": 7.37302 }, "muni": "794", "name": "Zweisimmen", "population": 2813, "updatedAt": "2019-12-12T19:05:24.781Z" }, { "ACL": null, "adminCode": "SG", "cityId": 2657889, "country": "Switzerland", "countryCode": "CH", "createdAt": "2019-12-12T19:05:24.781Z", "featureCode": "PPL", "id": "eFam5jZUJa", "location": { "latitude": 47.47452, "longitude": 9.11196 }, "muni": "3426", "name": "Zuzwil", "population": 4226, "updatedAt": "2019-12-12T19:05:24.781Z" } ] } } }