Search flights by subfleet #484 (#506)

* API level search of flights #484

* Add Subfleet to flights page for search
This commit is contained in:
Nabeel S
2020-01-16 17:36:03 -05:00
committed by GitHub
parent d03a77bd4b
commit 2415caab54
11 changed files with 185 additions and 94 deletions

View File

@@ -23,6 +23,11 @@ paths:
type: string
required: false
description: ID of the airline
- name: subfleet_id
in: query
type: string
required: false
description: 'The subfleet to search on. Flights would be returned, but if the subfleets are empty, that means the pilot doesn\'t have permissions for that flight'
- name: flight_number
in: query
type: string
@@ -48,11 +53,11 @@ paths:
type: integer
required: false
description: Flights with a distance greater than
- name: dgt
- name: dlt
in: query
type: integer
required: false
description: Flights with a distance greater than
description: Flights with a distance less than
produces:
- application/json
responses: