@lap v0.3
# Machine-readable API spec. Each @endpoint block is one API call.
@api Flight Most Traveled Destinations
@base https://test.api.amadeus.com/v1
@version 1.1.1
@endpoints 1
@toc travel(1)

@endpoint GET /travel/analytics/air-traffic/traveled
@desc Returns a list of air traffic reports.
@required {originCityCode: any # Code for the origin city following IATA standard ([IATA table codes](http://www.iata.org/publications/Pages/code-search.aspx)). - e.g. BOS for Boston, period: any # period when consumers are traveling. * It can be a month only.  * [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format must be used - e.g. 2015-05.  * Period ranges are not supported.  * Only periods from 2011-01 up to previous month are valid.  * Future dates are not supported.}
@optional {max: any # maximum number of destinations in the response. Default value is **10** and maximum value is 50., fields: any # list of attributes desired in the response or list of attributes to remove from the response (with "-" before fields)  * The attributes names must contain the whole path (except resource name) e.g. travelers, page[limit]: any # maximum items in one page, page[offset]: any # start index of the requested page, sort: any # defines on which attribute the sorting will be done: * **analytics.flights.score** - sort destination by flights score (decreasing) * **analytics.travelers.score** - sort destination by traveler's score (decreasing)}
@returns(200) Successful Operation
@errors {400: code    | title                                  ------- | -------------------------------------  477     | INVALID FORMAT 572     | INVALID OPTION 2781    | INVALID LENGTH 4926    | INVALID DATA RECEIVED                                32171   | MANDATORY DATA MISSING}

@end
