This GraphQL query fetches All OKS
0
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
query allOKS { oKS (skip: 0, limit: 3) { results { ACL adminCode cityId containingState { id } country createdAt featureCode id location { latitude longitude } name population updatedAt } } }
{ "data": { "oKS": { "results": [ { "ACL": null, "adminCode": "OK", "cityId": 4529143, "containingState": { "id": "dTm11HMVyL" }, "country": "US", "createdAt": "2019-12-11T12:43:29.616Z", "featureCode": "PPL", "id": "YS9uAgGWJ0", "location": { "latitude": 36.69369, "longitude": -94.96302 }, "name": "Afton", "population": 1050, "updatedAt": "2019-12-11T12:43:29.616Z" }, { "ACL": null, "adminCode": "OK", "cityId": 4530801, "containingState": { "id": "dTm11HMVyL" }, "country": "US", "createdAt": "2019-12-11T12:43:29.617Z", "featureCode": "PPL", "id": "e6wePantQT", "location": { "latitude": 35.94204, "longitude": -95.88332 }, "name": "Bixby", "population": 24657, "updatedAt": "2019-12-11T12:43:29.617Z" }, { "ACL": null, "adminCode": "OK", "cityId": 4529448, "containingState": { "id": "dTm11HMVyL" }, "country": "US", "createdAt": "2019-12-11T12:43:29.616Z", "featureCode": "PPLA2", "id": "FLDaHZ5GGZ", "location": { "latitude": 35.57783, "longitude": -98.96453 }, "name": "Arapaho", "population": 826, "updatedAt": "2019-12-11T12:43:29.616Z" } ] } } }