aboutsummaryrefslogtreecommitdiffhomepage
path: root/support/doc/api/openapi.yaml
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2020-04-21 15:28:17 +0200
committerChocobozzz <me@florianbigard.com>2020-04-21 15:28:17 +0200
commit98639806c0bf15dd97e1a683686cc3789faa33d8 (patch)
tree1f6bd207a4cc7515084e3bee357248bf25fbe7c7 /support/doc/api/openapi.yaml
parent50e16ccf61e4fc9bdd95fc920125b3b3ec7d1dc3 (diff)
downloadPeerTube-98639806c0bf15dd97e1a683686cc3789faa33d8.tar.gz
PeerTube-98639806c0bf15dd97e1a683686cc3789faa33d8.tar.zst
PeerTube-98639806c0bf15dd97e1a683686cc3789faa33d8.zip
Fix comment body api doc
Diffstat (limited to 'support/doc/api/openapi.yaml')
-rw-r--r--support/doc/api/openapi.yaml24
1 files changed, 24 insertions, 0 deletions
diff --git a/support/doc/api/openapi.yaml b/support/doc/api/openapi.yaml
index 6197a431f..9fe98b8df 100644
--- a/support/doc/api/openapi.yaml
+++ b/support/doc/api/openapi.yaml
@@ -1808,6 +1808,18 @@ paths:
1808 application/json: 1808 application/json:
1809 schema: 1809 schema:
1810 $ref: '#/components/schemas/CommentThreadPostResponse' 1810 $ref: '#/components/schemas/CommentThreadPostResponse'
1811 requestBody:
1812 content:
1813 application/json:
1814 schema:
1815 type: object
1816 properties:
1817 text:
1818 type: string
1819 description: 'Text comment'
1820 required:
1821 - text
1822
1811 '/videos/{id}/comment-threads/{threadId}': 1823 '/videos/{id}/comment-threads/{threadId}':
1812 get: 1824 get:
1813 summary: Get a thread 1825 summary: Get a thread
@@ -1840,6 +1852,18 @@ paths:
1840 application/json: 1852 application/json:
1841 schema: 1853 schema:
1842 $ref: '#/components/schemas/CommentThreadPostResponse' 1854 $ref: '#/components/schemas/CommentThreadPostResponse'
1855 requestBody:
1856 content:
1857 application/json:
1858 schema:
1859 type: object
1860 properties:
1861 text:
1862 type: string
1863 description: 'Text comment'
1864 required:
1865 - text
1866
1843 delete: 1867 delete:
1844 summary: Delete a comment or a reply 1868 summary: Delete a comment or a reply
1845 security: 1869 security: