Comprehensive documentation for AirToronto Backend REST API.
Conduct a full text search on the airlines collection which will match the provided query on the following properties: country, iata, icao, name
{
"limit": Int, // number of search results to return (default 10)
}
{
"query": String, // the query string
"include": [String] // fields to include in response (default ALL)
"exclude": [String] // fields to exlucde in response (default NONE)
}
200 - Query successfully performed
400 - Incorrect payload, tried to exclude score field which is not allowed
{
"data": [Object]
}
Conduct a full text search on the airports collection which will match the provided query on the following properties: city, country, iata, name
{
"limit": Int, // number of search results to return (default 10)
}