This GraphQL query fetches All FeatureCodes
0
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
query allFeatureCodes { featureCodes (skip: 0, limit: 3) { results { ACL createdAt featureClass { id } featureCode id longDescription places (skip: 0, limit: 3) { results { id } } shortDescription updatedAt } } }
{ "data": { "featureCodes": { "results": [ { "ACL": null, "createdAt": "2020-06-03T16:55:36.038Z", "featureClass": { "id": "3CaoQUikvn" }, "featureCode": "ADM1", "id": "NcKqAAdvGB", "longDescription": "a primary administrative division of a country, such as a state in the United States", "places": { "results": [ { "id": "qjKPr3MHiA" } ] }, "shortDescription": "first-order administrative division", "updatedAt": "2020-06-04T17:30:32.683Z" }, { "ACL": null, "createdAt": "2020-06-03T16:55:36.733Z", "featureClass": { "id": "3CaoQUikvn" }, "featureCode": "ADM1H", "id": "6xQE5Tc5Rn", "longDescription": "a former first-order administrative division", "places": { "results": [] }, "shortDescription": "historical first-order administrative division", "updatedAt": "2020-06-03T16:55:36.733Z" }, { "ACL": null, "createdAt": "2020-06-03T16:55:37.372Z", "featureClass": { "id": "3CaoQUikvn" }, "featureCode": "ADM2", "id": "LPXehGT21h", "longDescription": "a subdivision of a first-order administrative division", "places": { "results": [ { "id": "00mjgKmchE" }, { "id": "0z4OnXjgF1" }, { "id": "6C1Xp51RwV" } ] }, "shortDescription": "second-order administrative division", "updatedAt": "2020-06-04T19:16:38.972Z" } ] } } }