Flights:
/flights accepts [GET, POST]. POST for creation, GET for listing & filtering according to request query string
/flights/:flightNo accepts [PATCH, GET, DELETE] PATCH for update, GET for seeing a specific instance flight, DELETE for deleting a specific flight. Extract flightNo using req.param.flightNo
Will update this issue with other API endpoints as we cover them in sprints later on.
Flights:
/flightsaccepts[GET, POST]. POST for creation, GET for listing & filtering according to request query string/flights/:flightNoaccepts[PATCH, GET, DELETE]PATCH for update, GET for seeing a specific instance flight, DELETE for deleting a specific flight. ExtractflightNousingreq.param.flightNoWill update this issue with other API endpoints as we cover them in sprints later on.