article-quotations

Save a quotation from an article (returns existing if duplicate)

Changed on
post/api/article-quotations

Request

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

Request body

article_idstring required
figure_srcstring nullable

Present = save a figure quotation of the uploaded image at this /media/ src. The alt/caption/dimension snapshot is extracted from the article's own rendered HTML, never from the client.

htmlstring nullable

Required for text quotations; ignored for figure quotations.

textstring nullable

Required for text quotations; ignored for figure quotations.

Response

Article quotation saved

createdboolean required

Changes

    • info

      added the new optional request property

    • info

      the request property became nullable

    • info

      the request property became nullable

    • info

      the request property became optional

    • info

      the request property became optional

    • info

      added the optional property / to the response with the status

    • info

      added the required property / to the response with the status

    • info

      added the non-success response with the status