admin

Create a topic; the slug is generated from the name and immutable

Changed on
post/api/admin/topics

Request

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

Request body

CreateTopicRequest 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

TopicAdminResponse 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