Flights
Mark a flight completed and its active people as Flown
Changed onMatches people by flight name (flight.id) using _design/basic/_view/all_by_flight_and_name. Each changed person gets a flight.history status line and updated metadata.updated_at and metadata.updated_by, the same as an individual status edit. The flight is marked completed only after every person save succeeds.
post/flights/{id}/complete
Request
- Base URL: https://sshf-api-330507742215.us-central1.run.app
- URL: https://sshf-api-330507742215.us-central1.run.app/flights/{id}/complete
- Auth: OAuth 2 (implicit, authorization URL https://accounts.google.com/o/oauth2/v2/auth)
Path parameters
idstring required
Flight document ID
Response
Every qualifying person and the flight were saved, including when nobody needed changing
Changes
- info
endpoint added
- info