action mon_voyage_pas_cher_get_countries {
label: "Search all countries or one specific country"
description: "This webservice is providing you the ability to retrieve a list of countries matching your search criterias.
The 2 mains ways to search use this API are
- by countrycode, it will only returns you one country
- without the countrycode parameter which will return the full list of countries"
provider: mon_voyage_pas_cher
method: GET
path: "/countries"
encoding: json
input: {
type: "object"
properties: {
countrycode: {
type: "string"
}
language: {
type: "string"
}
}
required: ["language"]
additionalProperties: false
}
output: {
type: "object"
additionalProperties: true
}
}