sources
Create a new source
Changed onpost/api/sources
Request
- The document declares no server URL.
- Authnone declared
Request body
Create Source Request required
doi, string nullable
edition, string nullable
isbn, string[] nullable
journal_name, string nullable
original_year, integer nullable
original_year_circa, boolean
page_end, integer nullable
page_start, integer nullable
parent_source_id, string nullable
publication_place, string nullable
publication_year, integer nullable
publisher, string nullable
source_type, 'book' | 'article' | 'chapter' | 'journal' | 'web' required
Stored as the Postgres enum source_type.
title, string required
title_display, string nullable
translation_of_id, string nullable
url, string nullable
volume, string nullable
Response
Source created
Source Response required
created_by, string required
doi, string nullable
edition, string nullable
id, string required
isbn, string[] nullable
journal_name, string nullable
original_year, integer nullable
Year of the edition this text presents, when it differs from the printing transcribed (CSL "original-date"). NULL = same as publication_year.
original_year_circa, boolean
original_year is a scholarly estimate rather than an imprint date, as for ancient works. Cites with Chicago's "ca." prefix.
page_end, integer nullable
page_start, integer nullable
parent, Parent Source Response nullable
persons, Source Person Response[] required
protected, boolean required
publication_place, string nullable
publication_year, integer nullable
publisher, string nullable
source_type, 'book' | 'article' | 'chapter' | 'journal' | 'web' required
Stored as the Postgres enum source_type.
title, string required
title_display, string nullable
translation_of_id, string nullable
url, string nullable
volume, string nullable
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
request property
source_typewas restricted to a list of enum values
23 more changes in this revision
- breaking