quotations

Save a quotation (returns existing if duplicate)

Changed on
post/api/books/{slug}/quotations

Request

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

Path parameters

slugstring required

Book slug

Request body

sentence_endinteger nullable
sentence_kind'body' | 'footnote' | 'figure' required

Stored as the Postgres enum sentence_kind.

sentence_startinteger required

Response

Quotation saved

createdboolean required

Changes

    • breaking

      request property was restricted to a list of enum values

    • warning

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

    • warning

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

    • warning

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

    • info

      added the new body enum value to the request property

    • info

      added the new figure enum value to the request property

    • info

      added the new footnote enum value to the request property

    • info

      added the non-success response with the status