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

  1. Back4App
  2. 🇽🇰 Kosovo
Public

11
11
11
11
  • 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
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": "10097361",
          "cityId": 785238,
          "country": "Kosovo",
          "countryCode": "XK",
          "createdAt": "2019-12-14T19:07:45.910Z",
          "featureCode": "PPLA2",
          "id": "QeuNmZtN0M",
          "location": {
            "latitude": 42.35861,
            "longitude": 20.825
          },
          "name": "Suva Reka",
          "population": 72229,
          "updatedAt": "2019-12-14T19:07:45.910Z"
        },
        {
          "ACL": null,
          "adminCode": "10097358",
          "cityId": 785642,
          "country": "Kosovo",
          "countryCode": "XK",
          "createdAt": "2019-12-14T19:07:45.910Z",
          "featureCode": "PPLA2",
          "id": "qPzbO7DSZE",
          "location": {
            "latitude": 42.74667,
            "longitude": 20.78861
          },
          "name": "Srbica",
          "population": 5089,
          "updatedAt": "2019-12-14T19:07:45.910Z"
        },
        {
          "ACL": null,
          "adminCode": "10097358",
          "cityId": 783802,
          "country": "Kosovo",
          "countryCode": "XK",
          "createdAt": "2019-12-14T19:07:45.910Z",
          "featureCode": "PPLA2",
          "id": "HHbkLTEKaP",
          "location": {
            "latitude": 42.91444,
            "longitude": 20.68972
          },
          "name": "Zubin Potok",
          "population": 14900,
          "updatedAt": "2019-12-14T19:07:45.910Z"
        }
      ]
    }
  }
}