mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-09 07:25:46 +01:00
36 lines
910 B
YAML
36 lines
910 B
YAML
|
|
put:
|
||
|
|
tags:
|
||
|
|
- posts
|
||
|
|
summary: restore a post
|
||
|
|
description: This operation restores a post.
|
||
|
|
responses:
|
||
|
|
'200':
|
||
|
|
description: Topic successfully restored
|
||
|
|
content:
|
||
|
|
application/json:
|
||
|
|
schema:
|
||
|
|
type: object
|
||
|
|
properties:
|
||
|
|
status:
|
||
|
|
$ref: ../../../components/schemas/Status.yaml#/Status
|
||
|
|
response:
|
||
|
|
type: object
|
||
|
|
properties: {}
|
||
|
|
delete:
|
||
|
|
tags:
|
||
|
|
- posts
|
||
|
|
summary: deletes a post
|
||
|
|
description: This operation soft deletes a post.
|
||
|
|
responses:
|
||
|
|
'200':
|
||
|
|
description: Post successfully deleted
|
||
|
|
content:
|
||
|
|
application/json:
|
||
|
|
schema:
|
||
|
|
type: object
|
||
|
|
properties:
|
||
|
|
status:
|
||
|
|
$ref: ../../../components/schemas/Status.yaml#/Status
|
||
|
|
response:
|
||
|
|
type: object
|
||
|
|
properties: {}
|