Skip to main content
PATCH
Update Entry

Path Parameters

entry_id
string
required
day_number
integer
required
Required range: x >= 1
trip_id
string<uuid>
required

Body

application/json

Fields to change on an existing entry. Omit one to leave it alone.

Both are nullable because null is a real value here — it clears. So the value can't tell "leave alone" from "set to null"; model_fields_set is what distinguishes them, which is why the handler reads that rather than checking for None.

note
string | null
time
string<time> | null
content
string | null

Response

Successful Response

entry_id
string
required
plan_version
integer
required