X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;ds=sidebyside;f=support%2Fdoc%2Fapi%2Fopenapi.yaml;h=8ba784d4bac69482193123e4f08f87f354404631;hb=42f192343035dd56ecd67cc578a7984393a940e5;hp=e6d2f51d823f9be855c51a892fc9e1fe84dec880;hpb=9ee83eb99e908c6038cbb6501bacfe18d092f0b6;p=github%2FChocobozzz%2FPeerTube.git diff --git a/support/doc/api/openapi.yaml b/support/doc/api/openapi.yaml index e6d2f51d8..8ba784d4b 100644 --- a/support/doc/api/openapi.yaml +++ b/support/doc/api/openapi.yaml @@ -1,7 +1,7 @@ swagger: '2.0' info: - title: peertube - version: 0.0.13-alpha + title: PeerTube + version: 0.0.15-alpha description: Federated (ActivityPub) video streaming platform using P2P (BitTorrent) directly in the web browser with WebTorrent and Angular. paths: '/accounts/{id}': @@ -731,6 +731,10 @@ paths: responses: '200': description: successful operation + schema: + items: + type: array + $ref: '#/definitions/VideoComment' post: tags: - VideoComment @@ -769,6 +773,8 @@ paths: responses: '200': description: successful operation + schema: + $ref: '#/definitions/VideoCommentThreadTree' "/video/{videoId}/comments/{commentId}": post: tags: @@ -963,6 +969,14 @@ definitions: type: number account: $ref: "#/definitions/Account" + VideoCommentThreadTree: + properties: + comment: + $ref: "#/definitions/VideoComment" + children: + type: array + items: + $ref: "#/definitions/VideoCommentThreadTree" Avatar: properties: path: