Skip to content

API schema #3

Description

@lothemar

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions