The Database Hub | Back4App
The Database Hub | Back4App
How it works
  • Log In
  • Sign Up

  1. Back4App
  2. USA Cities by State
Public

88
250
88
250
  • DatabaseDatabase
  • GraphQL API PlaygroundAPI Playground
  • Get Started GuideGet Started
  • IssuesIssues
  • ContributorsContributors
  • Database
    Database
    Get Started Guide
    Get Started
    Issues
    Issues
    Contributors
    Contributors

All COS

This GraphQL query fetches All COS


0
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
query allCOS {
      cOS (skip: 0, limit: 3) {
        results {
          ACL
          adminCode
          cityId
          containingState {
            id
          }
          country
          createdAt
          featureCode
          id
          location {
            latitude
            longitude
          }
          muni
          name
          population
          updatedAt
        }
      }
    }
{
  "data": {
    "cOS": {
      "results": [
        {
          "ACL": null,
          "adminCode": "CO",
          "cityId": 5415306,
          "containingState": {
            "id": "XemvdXRj0L"
          },
          "country": "US",
          "createdAt": "2019-12-11T12:39:08.210Z",
          "featureCode": "PPL",
          "id": "YGqWe3I6dr",
          "location": {
            "latitude": 38.84222,
            "longitude": -106.13113
          },
          "muni": null,
          "name": "Buena Vista",
          "population": 2760,
          "updatedAt": "2019-12-11T12:39:08.210Z"
        },
        {
          "ACL": null,
          "adminCode": "CO",
          "cityId": 5412887,
          "containingState": {
            "id": "XemvdXRj0L"
          },
          "country": "US",
          "createdAt": "2019-12-11T12:39:08.210Z",
          "featureCode": "PPL",
          "id": "7EdCDV2AyU",
          "location": {
            "latitude": 39.44137,
            "longitude": -108.02507
          },
          "muni": null,
          "name": "Battlement Mesa",
          "population": 4471,
          "updatedAt": "2019-12-11T12:39:08.210Z"
        },
        {
          "ACL": null,
          "adminCode": "CO",
          "cityId": 5412030,
          "containingState": {
            "id": "XemvdXRj0L"
          },
          "country": "US",
          "createdAt": "2019-12-11T12:39:08.210Z",
          "featureCode": "PPL",
          "id": "z5O4dahHQG",
          "location": {
            "latitude": 39.75778,
            "longitude": -105.1625
          },
          "muni": null,
          "name": "Applewood",
          "population": 7160,
          "updatedAt": "2019-12-11T12:39:08.210Z"
        }
      ]
    }
  }
}