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

  1. Back4App
  2. 🇨🇴 Colombia
Public

12
13
12
13
  • DatabaseDatabase
  • GraphQL API PlaygroundAPI Playground
  • Get Started GuideGet Started
  • IssuesIssues
  • ContributorsContributors
  • Database
    Database
    Get Started Guide
    Get Started
    Issues
    Issues
    Contributors
    Contributors

All Cities

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
21
query allCities {
      cities (skip: 0, limit: 3) {
        results {
          ACL
          adminCode
          cityId
          country
          countryCode
          createdAt
          featureCode
          id
          location {
            latitude
            longitude
          }
          muni
          name
          population
          updatedAt
        }
      }
    }
{
  "data": {
    "cities": {
      "results": [
        {
          "ACL": null,
          "adminCode": "33",
          "cityId": 3665813,
          "country": "Colombia",
          "countryCode": "CO",
          "createdAt": "2019-12-12T19:16:08.113Z",
          "featureCode": "PPL",
          "id": "wA9cP5HQsm",
          "location": {
            "latitude": 5.45948,
            "longitude": -74.33823
          },
          "muni": null,
          "name": "Yacopí",
          "population": 3202,
          "updatedAt": "2019-12-12T19:16:08.113Z"
        },
        {
          "ACL": null,
          "adminCode": "02",
          "cityId": 3665741,
          "country": "Colombia",
          "countryCode": "CO",
          "createdAt": "2019-12-12T19:16:08.113Z",
          "featureCode": "PPL",
          "id": "IY49rqAIJk",
          "location": {
            "latitude": 6.96321,
            "longitude": -75.41738
          },
          "muni": null,
          "name": "Yarumal",
          "population": 22368,
          "updatedAt": "2019-12-12T19:16:08.113Z"
        },
        {
          "ACL": null,
          "adminCode": "37",
          "cityId": 3665851,
          "country": "Colombia",
          "countryCode": "CO",
          "createdAt": "2019-12-12T19:16:08.113Z",
          "featureCode": "PPL",
          "id": "ksALLe7UkX",
          "location": {
            "latitude": 5.06242,
            "longitude": -75.87159
          },
          "muni": null,
          "name": "Viterbo",
          "population": 15216,
          "updatedAt": "2019-12-12T19:16:08.113Z"
        }
      ]
    }
  }
}