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/005/?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/005/?format=api",
    "code": "005",
    "name": "South America",
    "super_territories": [
        "https://www.alphabet-type.com/tools/api/v1.0/localisation/territory/419/?format=api",
        "https://www.alphabet-type.com/tools/api/v1.0/localisation/territory/019/?format=api"
    ],
    "sub_territories": [
        "https://www.alphabet-type.com/tools/api/v1.0/localisation/territory/VE/?format=api",
        "https://www.alphabet-type.com/tools/api/v1.0/localisation/territory/UY/?format=api",
        "https://www.alphabet-type.com/tools/api/v1.0/localisation/territory/SR/?format=api",
        "https://www.alphabet-type.com/tools/api/v1.0/localisation/territory/PY/?format=api",
        "https://www.alphabet-type.com/tools/api/v1.0/localisation/territory/PE/?format=api",
        "https://www.alphabet-type.com/tools/api/v1.0/localisation/territory/GY/?format=api",
        "https://www.alphabet-type.com/tools/api/v1.0/localisation/territory/GF/?format=api",
        "https://www.alphabet-type.com/tools/api/v1.0/localisation/territory/FK/?format=api",
        "https://www.alphabet-type.com/tools/api/v1.0/localisation/territory/EC/?format=api",
        "https://www.alphabet-type.com/tools/api/v1.0/localisation/territory/CO/?format=api",
        "https://www.alphabet-type.com/tools/api/v1.0/localisation/territory/CL/?format=api",
        "https://www.alphabet-type.com/tools/api/v1.0/localisation/territory/BR/?format=api",
        "https://www.alphabet-type.com/tools/api/v1.0/localisation/territory/BO/?format=api",
        "https://www.alphabet-type.com/tools/api/v1.0/localisation/territory/AR/?format=api"
    ],
    "territorywritingsystem_set": [],
    "territory_type": "Sub-Continent",
    "gdp": 0,
    "population": 0,
    "literacyPercent": 0.0
}