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": "23", "cityId": 1121045, "country": "Afghanistan", "countryCode": "AF", "createdAt": "2019-12-12T18:46:00.497Z", "featureCode": "PPLA2", "id": "0D4KOv5hih", "location": { "latitude": 32.3726, "longitude": 66.17708 }, "name": "ZamtΕ KΓͺlay", "population": 0, "updatedAt": "2019-12-12T18:46:00.497Z" }, { "ACL": null, "adminCode": "37", "cityId": 1120471, "country": "Afghanistan", "countryCode": "AF", "createdAt": "2019-12-12T18:46:00.497Z", "featureCode": "PPLA2", "id": "VdHtFgEXCK", "location": { "latitude": 33.54149, "longitude": 69.73446 }, "name": "Zorkot", "population": 0, "updatedAt": "2019-12-12T18:46:00.497Z" }, { "ACL": null, "adminCode": "36", "cityId": 1120543, "country": "Afghanistan", "countryCode": "AF", "createdAt": "2019-12-12T18:46:00.497Z", "featureCode": "PPLA2", "id": "GrTa0VpdOr", "location": { "latitude": 33.43778, "longitude": 69.02774 }, "name": "Zurmat", "population": 0, "updatedAt": "2019-12-12T18:46:00.497Z" } ] } } }