articles

Get a published article by slug

Changed on
get/api/articles/{slug}

Request

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

Path parameters

slug, string required

Article slug

Response

Published article

ArticleDetailResponse required
author_display_name, string required
author_handle, string nullable
author_public_roles, string[] required
author_user_id, string required
created_at, string required
description, string nullable
html, string required
id, string required
labels, EditorialLabelResponse[] required
latest_review_request_id, string nullable

Most recent review request of any status (owner only) — the author's entry point to the review page and its history.

markdown, string required
pending_review_request_id, string nullable

Pending review request on this article, if any. Populated for the owner (get_user_article) only; absent on public endpoints.

published_at, string nullable
quoting_disabled, boolean required

Admin-set: suppress the reader's sentence-selection layer, for articles that read as blog posts rather than quotable scholarship.

revoked_labels, EditorialLabelResponse[]

Labels whose revokes_on_edit flag is true and which were stripped by the most recent author edit. Empty unless this response is the result of a markdown update that revoked chips. Frontend uses this to toast the author.

series, ArticleSeriesContext[]

Series this article belongs to, with published prev/next neighbors — drives the article-page series strip. Empty for articles in no series (and on owner-facing endpoints).

slug, string required
status, 'draft' | 'published' | 'archived' required

An article's lifecycle state. Stored as the Postgres enum article_status.

title, string required
topics, TopicResponse[] required
updated_at, string required

Changes

    • info

      added the required property quoting_disabled to the response with the status

    • warning

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

    • warning

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

    1 more change in this revision