mirror of https://github.com/Chocobozzz/PeerTube
Fix comment body api doc
parent
50e16ccf61
commit
98639806c0
|
@ -1808,6 +1808,18 @@ paths:
|
|||
application/json:
|
||||
schema:
|
||||
$ref: '#/components/schemas/CommentThreadPostResponse'
|
||||
requestBody:
|
||||
content:
|
||||
application/json:
|
||||
schema:
|
||||
type: object
|
||||
properties:
|
||||
text:
|
||||
type: string
|
||||
description: 'Text comment'
|
||||
required:
|
||||
- text
|
||||
|
||||
'/videos/{id}/comment-threads/{threadId}':
|
||||
get:
|
||||
summary: Get a thread
|
||||
|
@ -1840,6 +1852,18 @@ paths:
|
|||
application/json:
|
||||
schema:
|
||||
$ref: '#/components/schemas/CommentThreadPostResponse'
|
||||
requestBody:
|
||||
content:
|
||||
application/json:
|
||||
schema:
|
||||
type: object
|
||||
properties:
|
||||
text:
|
||||
type: string
|
||||
description: 'Text comment'
|
||||
required:
|
||||
- text
|
||||
|
||||
delete:
|
||||
summary: Delete a comment or a reply
|
||||
security:
|
||||
|
|
Loading…
Reference in New Issue