Update Plan
Changed onSave user-edited plan with optimistic concurrency.
PlanUpdateRequest's model_validator(mode='before') calls sanitize_incoming_plan_payload first, so legacy entry types from stale frontend caches (journey_ref / stay_ref / dangling date_source_id) are quietly stripped before Pydantic validates the inner PlanContent.
Request
- Base URLhttps://stardrift.ai (the document declares no server; this is the origin it was published from)
- URLhttps://stardrift.ai/trips/{trip_id}/plans/{plan_id}
- Authnone declared
Path parameters
Headers
Request body
Response
Successful Response
Changes
- breaking
added to the
////response propertyoneOflist for the response status - breaking
added to the
//response propertyoneOflist for the response status - info
added
ground_refdiscriminator mapping keys to the////request property - info
added
ground_refdiscriminator mapping keys to the//request property - info
added to the
////request propertyoneOflist - info
added to the
//request propertyoneOflist - info
added
ground_refdiscriminator mapping keys to the////response property for the response status - info
added
ground_refdiscriminator mapping keys to the//response property for the response status
- breaking
- info
added the optional property
to the response with the status
- info