You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

36 lines
842 B
YAML

put:
tags:
- posts
summary: move a post
description: This operation moves a post to a different topic.
parameters:
- in: path
name: pid
schema:
type: number
required: true
description: a valid post id
example: 5
requestBody:
content:
application/json:
schema:
type: object
properties:
tid:
type: number
description: a valid topic id
example: 4
responses:
'200':
description: Post successfully moved
content:
application/json:
schema:
type: object
properties:
status:
$ref: ../../../components/schemas/Status.yaml#/Status
response:
type: object
properties: {}