Update an existing source
Changed onRequest
- The document declares no server URL.
- Authnone declared
Path parameters
Source ID
Request body
Patch for a source. Nullable columns use Option<Option<T>> (via double_option) so an omitted field is left unchanged while an explicit null clears the column. title (NOT NULL) and source_type (immutable) stay plain Option<T>.
NOT NULL in the schema, so a plain Option: present means set it.
Stored as the Postgres enum source_type.
Response
Source updated
Year of the edition this text presents, when it differs from the printing transcribed (CSL "original-date"). NULL = same as publication_year.
original_year is a scholarly estimate rather than an imprint date, as for ancient works. Cites with Chicago's "ca." prefix.
Stored as the Postgres enum source_type.
Changes
- info
added the new optional request property
original_year_circa - info
added the optional property
original_year_circato the response with the status
- info
- breaking
the request property
source_typebecame not nullable
20 more changes in this revision
- breaking