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
query allCities { cities (skip: 0, limit: 3) { results { ACL adminCode cityId country countryCode createdAt featureCode id location { latitude longitude } name population updatedAt } } }
{ "data": { "cities": { "results": [ { "ACL": null, "adminCode": "06", "cityId": 3573061, "country": "Bermuda", "countryCode": "BM", "createdAt": "2019-12-12T18:56:09.478Z", "featureCode": "PPL", "id": "vDRbLGTuVY", "location": { "latitude": 32.38167, "longitude": -64.67806 }, "name": "Saint George", "population": 1896, "updatedAt": "2019-12-12T18:56:09.478Z" }, { "ACL": null, "adminCode": "03", "cityId": 3573197, "country": "Bermuda", "countryCode": "BM", "createdAt": "2019-12-12T18:56:09.478Z", "featureCode": "PPLC", "id": "XOxdFBabxu", "location": { "latitude": 32.2949, "longitude": -64.78303 }, "name": "Hamilton", "population": 902, "updatedAt": "2019-12-12T18:56:09.478Z" } ] } } }