---
title: "POST /add-topic"
method: POST
path: "/add-topic"
tags: ["github.com/casbin/casnode/controllersApiController"]
---

# POST /add-topic

`POST /add-topic`

add one topic

## Request body

- ControllersNewTopicForm
  - `body` string
  - `editorType` string
  - `nodeId` string
  - `tags` string[]
  - `title` string

## Response `200`

The Response object

## Changes

- **2021-06-17** `023a7e383f67` — 2 info
  - api tag `github.com/casbin/casnode/controllersApiController` added
  - api tag `Topic API` removed

[Change history](https://skmtc.dev/casdoor/apis/swagger/changes/add-topic/post.md)

---

[API](https://skmtc.dev/casdoor/apis/swagger.md) · [All operations](https://skmtc.dev/casdoor/apis/swagger/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/casdoor/swagger/revisions/01c4df3a5cd2/schema)
