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

CreateArticleQuotationRequest required
article_id, string required
figure_src, string 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.

html, string nullable

Required for text quotations; ignored for figure quotations.

text, string nullable

Required for text quotations; ignored for figure quotations.

Response

Article quotation saved

CreateArticleQuotationResponse required
article_quotation, ArticleQuotationResponse required
created, boolean required

Changes

    • info

      added the new optional request property figure_src

    • info

      the request property html became nullable

    • info

      the request property text became nullable

    4 more changes in this revision