diff options
Diffstat (limited to 'support/doc/api')
-rw-r--r-- | support/doc/api/openapi.yaml | 24 |
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: |