Teleport public APIs

ContinentList Resource

List of continents

Properties

  • count integer, int32 - Number of continents

Relations

  • continent:items resource: Continent - The detailed information for the continents

Example

{
    "_links": {
        "continent:items": [
            {
                "href": "https://api.teleport.org/api/continents/geonames:AF/", 
                "name": "Africa"
            }, 
            {
                "href": "https://api.teleport.org/api/continents/geonames:AN/", 
                "name": "Antarctica"
            }, 
            {
                "href": "https://api.teleport.org/api/continents/geonames:AS/", 
                "name": "Asia"
            }, 
            {
                "href": "https://api.teleport.org/api/continents/geonames:EU/", 
                "name": "Europe"
            }, 
            {
                "href": "https://api.teleport.org/api/continents/geonames:NA/", 
                "name": "North America"
            }, 
            {
                "href": "https://api.teleport.org/api/continents/geonames:OC/", 
                "name": "Oceania"
            }, 
            {
                "href": "https://api.teleport.org/api/continents/geonames:SA/", 
                "name": "South America"
            }
        ], 
        "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/"
        }
    }, 
    "count": 7
}