Flights
Retrieve a list of all flights
Changed onRetrieves all flights from the database using the CouchDB "Flights" view. Returns an array of flight objects containing name, flight_date, capacity, and completed fields.
get/flights
Request
- Base URL: https://sshf-api-330507742215.us-central1.run.app
- URL: https://sshf-api-330507742215.us-central1.run.app/flights
- Auth: OAuth 2 (implicit, authorization URL https://accounts.google.com/o/oauth2/v2/auth)
Response
List of flights retrieved successfully
Changes
- info
added the non-success response with the status
- info
added the non-success response with the status
- info
- info
endpoint added
- info