action mon_voyage_pas_cher_get_elevation {
label: "Search elevation informations from lat/long"
description: "This webservice is providing you the ability to retrieve the elevation in meters or feet of ONE or MULTIPLE given latitude/longitude point(s).
If you use MULTIPLE lat/long point, the maximum number of point you can send in one request is 256. Be aware that if MULTIPLE mode, the results are de-deplicated if you are sending the same latitude/longitude point multiple times.
If your workload is a batch of millions of lat/long point, You will also get better throughput if you send around 100 lat/long points in one request than the maximum. This maximum is mostly allowed for people trying to graph altitudes."
provider: mon_voyage_pas_cher
method: GET
path: "/elevation"
encoding: json
input: {
type: "object"
properties: {
locations: {
type: "string"
}
unit: {
type: "string"
}
}
required: ["locations"]
additionalProperties: false
}
output: {
type: "object"
additionalProperties: true
}
}