Skip to main content
POST
Error

Authorizations

Authorization
string
header
required

A staff session token, uk_st_…. Minted by sign-up, sign-in or the two-factor exchange. Only a 401 means it is spent; not_a_member (403) is about the organization named in X-Organization-Id and leaves the token good for the others.

Headers

X-Organization-Id
string

The organization the caller is acting on — the org_… code that appears in the panel URL. It identifies; the membership JOIN is what authorizes, so a forged code reads nothing: the answer is not_a_member (403), which does not mean the session is over. Absent, the session's default organization answers, or — if that membership was revoked while the session was open — any other one the caller still holds.

Path Parameters

id
string<uuid>
required

Body

application/json
title
string
required
body_markdown
string

Response

The version, with its body.

One saved state of an article, append-only: a version is never edited, the next one is created. In the article read's versions list the body is omitted; the version read carries it.

id
string<uuid>
version
integer

1, 2, 3… per article.

title
string
body_markdown
string

The words, as written. Omitted in the history list.

created_by_user_id
string<uuid> | null

Which staff member saved it; null when they have since left.

created_at
string<date-time>