article-quotations
Save a quotation from an article (returns existing if duplicate)
Changed onpost/api/article-quotations
Request
- The document declares no server URL.
- Authnone declared
Request body
Create Article Quotation Request 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
Create Article Quotation Response required
article_quotation, Article Quotation Response required
created, boolean required
Changes
- info
added the new optional request property
figure_src - info
the request property
htmlbecame nullable - info
the request property
textbecame nullable
4 more changes in this revision
- info