Files
NodeBB/public/openapi/write/topics/tid/move.yaml
2024-08-15 13:28:57 -04:00

29 lines
815 B
YAML

put:
tags:
- topics
summary: move topic to another category
description: |
This operation moved a topic from one category to another.
**Note**: This is a privileged call and can only be executed by administrators, global moderators, or the moderator for the category of the passed-in topic.
parameters:
- in: path
name: tid
schema:
type: string
required: true
description: a valid topic id
example: 1
responses:
'200':
description: Topic successfully moved
content:
application/json:
schema:
type: object
properties:
status:
$ref: ../../../components/schemas/Status.yaml#/Status
response:
type: object
properties: {}