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": "13", "cityId": 1252490, "country": "Bhutan", "countryCode": "BT", "createdAt": "2019-12-12T19:00:49.929Z", "featureCode": "PPLA", "id": "PEhbXNWowI", "location": { "latitude": 27.4305, "longitude": 89.41334 }, "name": "Paro", "population": 2169, "updatedAt": "2019-12-12T19:00:49.929Z" }, { "ACL": null, "adminCode": "06", "cityId": 1252610, "country": "Bhutan", "countryCode": "BT", "createdAt": "2019-12-12T19:00:49.930Z", "featureCode": "PPLA", "id": "EMHKxYMJyT", "location": { "latitude": 27.0989, "longitude": 89.53604 }, "name": "Tsimasham", "population": 2855, "updatedAt": "2019-12-12T19:00:49.930Z" }, { "ACL": null, "adminCode": "05", "cityId": 1337301, "country": "Bhutan", "countryCode": "BT", "createdAt": "2019-12-12T19:00:49.930Z", "featureCode": "PPLA", "id": "vxfpJHldj5", "location": { "latitude": 27.54918, "longitude": 90.7525 }, "name": "Jakar", "population": 4829, "updatedAt": "2019-12-12T19:00:49.930Z" } ] } } }