Teleport public APIs

Continent Resource

The detailed information for a continent

Properties

  • geonames_code string - The GeoNames code for the continent
  • name string - The name of the continent

Relations

Example

{
    "_links": {
        "continent:countries": {
            "href": "https://api.teleport.org/api/continents/geonames:NA/countries/"
        }, 
        "continent:urban_areas": {
            "href": "https://api.teleport.org/api/continents/geonames:NA/urban_areas/"
        }, 
        "curies": [
            {
                "href": "https://developers.teleport.org/api/resources/Location/#!/relations/{rel}/", 
                "name": "location", 
                "templated": true
            }, 
            {
                "href": "https://developers.teleport.org/api/resources/City/#!/relations/{rel}/", 
                "name": "city", 
                "templated": true
            }, 
            {
                "href": "https://developers.teleport.org/api/resources/UrbanArea/#!/relations/{rel}/", 
                "name": "ua", 
                "templated": true
            }, 
            {
                "href": "https://developers.teleport.org/api/resources/Country/#!/relations/{rel}/", 
                "name": "country", 
                "templated": true
            }, 
            {
                "href": "https://developers.teleport.org/api/resources/Admin1Division/#!/relations/{rel}/", 
                "name": "a1", 
                "templated": true
            }, 
            {
                "href": "https://developers.teleport.org/api/resources/Timezone/#!/relations/{rel}/", 
                "name": "tz", 
                "templated": true
            }
        ], 
        "self": {
            "href": "https://api.teleport.org/api/continents/geonames:NA/"
        }
    }, 
    "geonames_code": "NA", 
    "name": "North America"
}