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": 292231, "country": "United Arab Emirates", "countryCode": "AE", "createdAt": "2019-12-12T18:45:30.503Z", "featureCode": "PPL", "id": "yYKwWt2tMG", "location": { "latitude": 25.59246, "longitude": 56.26176 }, "name": "Dibba Al-Fujairah", "population": 30000, "updatedAt": "2019-12-12T18:45:30.503Z" }, { "ACL": null, "adminCode": "07", "cityId": 290594, "country": "United Arab Emirates", "countryCode": "AE", "createdAt": "2019-12-12T18:45:30.503Z", "featureCode": "PPLA", "id": "DXSxAHuthi", "location": { "latitude": 25.56473, "longitude": 55.55517 }, "name": "Umm al Qaywayn", "population": 44411, "updatedAt": "2019-12-12T18:45:30.503Z" }, { "ACL": null, "adminCode": "04", "cityId": 292239, "country": "United Arab Emirates", "countryCode": "AE", "createdAt": "2019-12-12T18:45:30.503Z", "featureCode": "PPL", "id": "MDSOlVfzam", "location": { "latitude": 25.61955, "longitude": 56.27291 }, "name": "Dibba Al-Hisn", "population": 26395, "updatedAt": "2019-12-12T18:45:30.503Z" } ] } } }