sources

Create a new source

Changed on
post/api/sources

Request

  • The document declares no server URL.
  • Auth: none declared

Request body

doistring nullable
editionstring nullable
isbnstring[] nullable
journal_namestring nullable
original_yearinteger nullable
original_year_circaboolean
page_endinteger nullable
page_startinteger nullable
parent_source_idstring nullable
publication_placestring nullable
publication_yearinteger nullable
publisherstring nullable
source_type'book' | 'article' | 'chapter' | 'journal' | 'web' required

Stored as the Postgres enum source_type.

titlestring required
title_displaystring nullable
translation_of_idstring nullable
urlstring nullable
volumestring nullable

Response

Source created

created_bystring required
doistring nullable
editionstring nullable
idstring required
isbnstring[] nullable
journal_namestring nullable
original_yearinteger 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_circaboolean

original_year is a scholarly estimate rather than an imprint date, as for ancient works. Cites with Chicago's "ca." prefix.

page_endinteger nullable
page_startinteger nullable
protectedboolean required
publication_placestring nullable
publication_yearinteger nullable
publisherstring nullable
source_type'book' | 'article' | 'chapter' | 'journal' | 'web' required

Stored as the Postgres enum source_type.

titlestring required
title_displaystring nullable
translation_of_idstring nullable
urlstring nullable
volumestring nullable

Changes

    • info

      added the new optional request property

    • info

      added the optional property to the response with the status

    • breaking

      request property was restricted to a list of enum values

    • warning

      added the new article enum value to the ///// response property for the response status

    • warning

      added the new article enum value to the response property for the response status

    • warning

      added the new author enum value to the /////// response property for the response status

    • warning

      added the new author enum value to the // response property for the response status

    • warning

      added the new book enum value to the ///// response property for the response status

    • warning

      added the new book enum value to the response property for the response status

    • warning

      added the new chapter enum value to the ///// response property for the response status

    • warning

      added the new chapter enum value to the response property for the response status

    • warning

      added the new contributor enum value to the /////// response property for the response status

    • warning

      added the new contributor enum value to the // response property for the response status

    • warning

      added the new editor enum value to the /////// response property for the response status

    • warning

      added the new editor enum value to the // response property for the response status

    • warning

      added the new journal enum value to the ///// response property for the response status

    • warning

      added the new journal enum value to the response property for the response status

    • warning

      added the new translator enum value to the /////// response property for the response status

    • warning

      added the new translator enum value to the // response property for the response status

    • warning

      added the new web enum value to the ///// response property for the response status

    • warning

      added the new web enum value to the response property for the response status

    • info

      added the new article enum value to the request property

    • info

      added the new book enum value to the request property

    • info

      added the new chapter enum value to the request property

    • info

      added the new journal enum value to the request property

    • info

      added the new web enum value to the request property