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/039/?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/039/?format=api",
    "code": "039",
    "name": "Southern Europe",
    "super_territories": [
        "https://www.alphabet-type.com/tools/api/v1.0/localisation/territory/150/?format=api"
    ],
    "sub_territories": [
        "https://www.alphabet-type.com/tools/api/v1.0/localisation/territory/XK/?format=api",
        "https://www.alphabet-type.com/tools/api/v1.0/localisation/territory/VA/?format=api",
        "https://www.alphabet-type.com/tools/api/v1.0/localisation/territory/SM/?format=api",
        "https://www.alphabet-type.com/tools/api/v1.0/localisation/territory/SI/?format=api",
        "https://www.alphabet-type.com/tools/api/v1.0/localisation/territory/PT/?format=api",
        "https://www.alphabet-type.com/tools/api/v1.0/localisation/territory/RS/?format=api",
        "https://www.alphabet-type.com/tools/api/v1.0/localisation/territory/MT/?format=api",
        "https://www.alphabet-type.com/tools/api/v1.0/localisation/territory/MK/?format=api",
        "https://www.alphabet-type.com/tools/api/v1.0/localisation/territory/ME/?format=api",
        "https://www.alphabet-type.com/tools/api/v1.0/localisation/territory/IT/?format=api",
        "https://www.alphabet-type.com/tools/api/v1.0/localisation/territory/HR/?format=api",
        "https://www.alphabet-type.com/tools/api/v1.0/localisation/territory/GR/?format=api",
        "https://www.alphabet-type.com/tools/api/v1.0/localisation/territory/GI/?format=api",
        "https://www.alphabet-type.com/tools/api/v1.0/localisation/territory/ES/?format=api",
        "https://www.alphabet-type.com/tools/api/v1.0/localisation/territory/BA/?format=api",
        "https://www.alphabet-type.com/tools/api/v1.0/localisation/territory/AL/?format=api",
        "https://www.alphabet-type.com/tools/api/v1.0/localisation/territory/AD/?format=api"
    ],
    "territorywritingsystem_set": [],
    "territory_type": "Sub-Continent",
    "gdp": 0,
    "population": 0,
    "literacyPercent": 0.0
}