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": 1820071, "country": "Brunei", "countryCode": "BN", "createdAt": "2019-12-12T18:56:24.092Z", "featureCode": "PPLA", "id": "7ox6q4gRpV", "location": { "latitude": 4.8, "longitude": 114.65 }, "name": "Tutong", "population": 19151, "updatedAt": "2019-12-12T18:56:24.092Z" }, { "ACL": null, "adminCode": "02", "cityId": 1820676, "country": "Brunei", "countryCode": "BN", "createdAt": "2019-12-12T18:56:24.092Z", "featureCode": "PPL", "id": "PtZuQEkKLh", "location": { "latitude": 5.02447, "longitude": 115.04664 }, "name": "Kapok", "population": 4337, "updatedAt": "2019-12-12T18:56:24.092Z" }, { "ACL": null, "adminCode": "01", "cityId": 1820491, "country": "Brunei", "countryCode": "BN", "createdAt": "2019-12-12T18:56:24.092Z", "featureCode": "PPLA", "id": "z82tXs8Kk2", "location": { "latitude": 4.58361, "longitude": 114.2312 }, "name": "Kuala Belait", "population": 31178, "updatedAt": "2019-12-12T18:56:24.092Z" } ] } } }