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/154/?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/154/?format=api",
    "code": "154",
    "name": "Northern 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/SJ/?format=api",
        "https://www.alphabet-type.com/tools/api/v1.0/localisation/territory/SE/?format=api",
        "https://www.alphabet-type.com/tools/api/v1.0/localisation/territory/NO/?format=api",
        "https://www.alphabet-type.com/tools/api/v1.0/localisation/territory/LV/?format=api",
        "https://www.alphabet-type.com/tools/api/v1.0/localisation/territory/LT/?format=api",
        "https://www.alphabet-type.com/tools/api/v1.0/localisation/territory/IS/?format=api",
        "https://www.alphabet-type.com/tools/api/v1.0/localisation/territory/IE/?format=api",
        "https://www.alphabet-type.com/tools/api/v1.0/localisation/territory/GB/?format=api",
        "https://www.alphabet-type.com/tools/api/v1.0/localisation/territory/FO/?format=api",
        "https://www.alphabet-type.com/tools/api/v1.0/localisation/territory/FI/?format=api",
        "https://www.alphabet-type.com/tools/api/v1.0/localisation/territory/EE/?format=api",
        "https://www.alphabet-type.com/tools/api/v1.0/localisation/territory/DK/?format=api",
        "https://www.alphabet-type.com/tools/api/v1.0/localisation/territory/AX/?format=api",
        "https://www.alphabet-type.com/tools/api/v1.0/localisation/territory/JE/?format=api",
        "https://www.alphabet-type.com/tools/api/v1.0/localisation/territory/IM/?format=api",
        "https://www.alphabet-type.com/tools/api/v1.0/localisation/territory/GG/?format=api"
    ],
    "territorywritingsystem_set": [],
    "territory_type": "Sub-Continent",
    "gdp": 0,
    "population": 0,
    "literacyPercent": 0.0
}