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": "040", "cityId": 5881150, "country": "American Samoa", "countryCode": "AS", "createdAt": "2019-12-12T18:48:35.649Z", "featureCode": "PPLA", "id": "zFO0dSWNnj", "location": { "latitude": -11.05528, "longitude": -171.08833 }, "name": "Taulaga", "population": 37, "updatedAt": "2019-12-12T18:48:35.649Z" }, { "ACL": null, "adminCode": "010", "cityId": 5880828, "country": "American Samoa", "countryCode": "AS", "createdAt": "2019-12-12T18:48:35.649Z", "featureCode": "PPL", "id": "xuKF1NmNyg", "location": { "latitude": -14.27611, "longitude": -170.66389 }, "name": "Aūa", "population": 2124, "updatedAt": "2019-12-12T18:48:35.649Z" }, { "ACL": null, "adminCode": "050", "cityId": 5880944, "country": "American Samoa", "countryCode": "AS", "createdAt": "2019-12-12T18:48:35.649Z", "featureCode": "PPL", "id": "sGF8DBsajA", "location": { "latitude": -14.36111, "longitude": -170.78222 }, "name": "Vailoatai", "population": 1144, "updatedAt": "2019-12-12T18:48:35.649Z" } ] } } }