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