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": "04", "cityId": 3373790, "country": "Barbados", "countryCode": "BB", "createdAt": "2019-12-12T18:53:11.567Z", "featureCode": "PPLA", "id": "BJQuNMNX80", "location": { "latitude": 13.18672, "longitude": -59.63808 }, "name": "Holetown", "population": 1350, "updatedAt": "2019-12-12T18:53:11.567Z" }, { "ACL": null, "adminCode": "08", "cityId": 3374036, "country": "Barbados", "countryCode": "BB", "createdAt": "2019-12-12T18:53:11.567Z", "featureCode": "PPLC", "id": "Cc5BDZiBzr", "location": { "latitude": 13.10732, "longitude": -59.62021 }, "name": "Bridgetown", "population": 98511, "updatedAt": "2019-12-12T18:53:11.567Z" }, { "ACL": null, "adminCode": "07", "cityId": 3373993, "country": "Barbados", "countryCode": "BB", "createdAt": "2019-12-12T18:53:11.567Z", "featureCode": "PPLA", "id": "Zl4KLlYEQK", "location": { "latitude": 13.28445, "longitude": -59.64223 }, "name": "Checker Hall", "population": 0, "updatedAt": "2019-12-12T18:53:11.567Z" } ] } } }