Continents

A list of continents

XML Schema:

Fields

Name

Type

Description

id read-only

String

href read-only

Field

name required

String

date_created

Datetime

The time when the resource was created, in the standard Dates & Times.

date_last_modified

Datetime

The time when the resource was last modified, in the standard Dates & Times.

place read-only

Reference Object

Get an Continent

GET /continents/(continent_id)

Request

curl -H "X-Application-Key: YOUR_APPLICATION_KEY" 
https://rest.gadventures.com/continents/AF

Response

{
  "id": "AF",
  "href": "https://rest.gadventures.com/continents/AF",
  "name": "Africa",
  "date_created": "2014-05-13T17:14:39Z",
  "date_last_modified": "2014-05-13T17:14:39Z",
  "place": {
    "id": 5003,
    "href": "https://rest.gadventures.com/places/5003",
    "name": "Africa"
  }
}

List Continents

GET /continents

Request

curl -H "X-Application-Key: YOUR_APPLICATION_KEY" 
https://rest.gadventures.com/continents/

Response

{
  "count": 7,
  "max_per_page": 50,
  "current_page": 1,
  "links": [],
  "results": [
    {
      "id": "AF",
      "href": "https://rest.gadventures.com/continents/AF",
      "name": "Africa"
    },
    {
      "id": "AN",
      "href": "https://rest.gadventures.com/continents/AN",
      "name": "Antarctica"
    },
    {
      "id": "AS",
      "href": "https://rest.gadventures.com/continents/AS",
      "name": "Asia"
    },
    {
      "id": "EU",
      "href": "https://rest.gadventures.com/continents/EU",
      "name": "Europe"
    },
    {
      "id": "NA",
      "href": "https://rest.gadventures.com/continents/NA",
      "name": "North America"
    },
    {
      "id": "OC",
      "href": "https://rest.gadventures.com/continents/OC",
      "name": "Oceania"
    },
    {
      "id": "SA",
      "href": "https://rest.gadventures.com/continents/SA",
      "name": "South America"
    }
  ]
}