Skip to content

ActivityPub-federated video streaming platform using P2P directly in your web browser

Fix comment body api doc

Chocobozzz98639806c0bf
diff --git a/support/doc/api/openapi.yaml b/support/doc/api/openapi.yaml
index 6197a431fa..9fe98b8dfd 100644
--- a/support/doc/api/openapi.yaml
+++ b/support/doc/api/openapi.yaml
@@ -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: