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/053/?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/053/?format=api",
    "code": "053",
    "name": "Australasia",
    "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/NZ/?format=api",
        "https://www.alphabet-type.com/tools/api/v1.0/localisation/territory/NF/?format=api",
        "https://www.alphabet-type.com/tools/api/v1.0/localisation/territory/AU/?format=api"
    ],
    "territorywritingsystem_set": [],
    "territory_type": "Sub-Continent",
    "gdp": 0,
    "population": 0,
    "literacyPercent": 0.0
}