API Documentation

API endpoint that allows details of a Territory to be viewed.

Test the API

Make a GET request (json)

Make a GET request (api)

Request

GET /tools/api/v1.0/localisation/territory/QO/?format=api

Response

HTTP 200 OK
      Allow: GET, HEAD, OPTIONS
      Content-Type: application/json
      Vary: Accept
      {
    "url": "https://www.alphabet-type.com/tools/api/v1.0/localisation/territory/QO/?format=api",
    "code": "QO",
    "name": "Outlying Oceania",
    "super_territories": [
        "https://www.alphabet-type.com/tools/api/v1.0/localisation/territory/009/?format=api"
    ],
    "sub_territories": [
        "https://www.alphabet-type.com/tools/api/v1.0/localisation/territory/TA/?format=api",
        "https://www.alphabet-type.com/tools/api/v1.0/localisation/territory/DG/?format=api",
        "https://www.alphabet-type.com/tools/api/v1.0/localisation/territory/CP/?format=api",
        "https://www.alphabet-type.com/tools/api/v1.0/localisation/territory/AC/?format=api",
        "https://www.alphabet-type.com/tools/api/v1.0/localisation/territory/UM/?format=api",
        "https://www.alphabet-type.com/tools/api/v1.0/localisation/territory/TF/?format=api",
        "https://www.alphabet-type.com/tools/api/v1.0/localisation/territory/IO/?format=api",
        "https://www.alphabet-type.com/tools/api/v1.0/localisation/territory/HM/?format=api",
        "https://www.alphabet-type.com/tools/api/v1.0/localisation/territory/GS/?format=api",
        "https://www.alphabet-type.com/tools/api/v1.0/localisation/territory/CX/?format=api",
        "https://www.alphabet-type.com/tools/api/v1.0/localisation/territory/CC/?format=api",
        "https://www.alphabet-type.com/tools/api/v1.0/localisation/territory/BV/?format=api",
        "https://www.alphabet-type.com/tools/api/v1.0/localisation/territory/AQ/?format=api"
    ],
    "territorywritingsystem_set": [],
    "territory_type": "Sub-Continent",
    "gdp": 0,
    "population": 0,
    "literacyPercent": 0.0
}