admin
Create a topic; the slug is generated from the name and immutable
Changed onpost/api/admin/topics
Request
- The document declares no server URL.
- Authnone declared
Request body
Create Topic Request required
slug is generated from the name at creation and immutable after — it appears in shareable URLs (/articles?topic_slug=…).
name, string required
Response
Topic created
Topic Admin Response required
Topic row for the admin panel: public fields plus how many articles currently carry the topic (delete is refused while non-zero).
article_count, integer required
id, string required
name, string required
slug, string required
Changes
- info
endpoint added
- info