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/011/?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/011/?format=api",
    "code": "011",
    "name": "Western Africa",
    "super_territories": [
        "https://www.alphabet-type.com/tools/api/v1.0/localisation/territory/002/?format=api"
    ],
    "sub_territories": [
        "https://www.alphabet-type.com/tools/api/v1.0/localisation/territory/TG/?format=api",
        "https://www.alphabet-type.com/tools/api/v1.0/localisation/territory/SN/?format=api",
        "https://www.alphabet-type.com/tools/api/v1.0/localisation/territory/SL/?format=api",
        "https://www.alphabet-type.com/tools/api/v1.0/localisation/territory/SH/?format=api",
        "https://www.alphabet-type.com/tools/api/v1.0/localisation/territory/NG/?format=api",
        "https://www.alphabet-type.com/tools/api/v1.0/localisation/territory/NE/?format=api",
        "https://www.alphabet-type.com/tools/api/v1.0/localisation/territory/MR/?format=api",
        "https://www.alphabet-type.com/tools/api/v1.0/localisation/territory/ML/?format=api",
        "https://www.alphabet-type.com/tools/api/v1.0/localisation/territory/LR/?format=api",
        "https://www.alphabet-type.com/tools/api/v1.0/localisation/territory/GW/?format=api",
        "https://www.alphabet-type.com/tools/api/v1.0/localisation/territory/GN/?format=api",
        "https://www.alphabet-type.com/tools/api/v1.0/localisation/territory/GM/?format=api",
        "https://www.alphabet-type.com/tools/api/v1.0/localisation/territory/GH/?format=api",
        "https://www.alphabet-type.com/tools/api/v1.0/localisation/territory/CV/?format=api",
        "https://www.alphabet-type.com/tools/api/v1.0/localisation/territory/CI/?format=api",
        "https://www.alphabet-type.com/tools/api/v1.0/localisation/territory/BJ/?format=api",
        "https://www.alphabet-type.com/tools/api/v1.0/localisation/territory/BF/?format=api"
    ],
    "territorywritingsystem_set": [],
    "territory_type": "Sub-Continent",
    "gdp": 0,
    "population": 0,
    "literacyPercent": 0.0
}