From 757ffb2a69589f077181537cc5a253a760535994 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Fri, 20 Oct 2023 16:09:08 +0200 Subject: [PATCH] Add peertube version info in openapi doc --- support/doc/api/openapi.yaml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/support/doc/api/openapi.yaml b/support/doc/api/openapi.yaml index 19c4a4c7a..00e9d44b0 100644 --- a/support/doc/api/openapi.yaml +++ b/support/doc/api/openapi.yaml @@ -374,6 +374,7 @@ paths: tags: - Static Video Files summary: Get public Web Video file + description: "**PeerTube >= 6.0**" parameters: - $ref: '#/components/parameters/staticFilename' responses: @@ -386,6 +387,7 @@ paths: tags: - Static Video Files summary: Get private Web Video file + description: "**PeerTube >= 6.0**" parameters: - $ref: '#/components/parameters/staticFilename' - $ref: '#/components/parameters/videoFileToken' @@ -4934,6 +4936,7 @@ paths: '/api/v1/videos/{id}/web-videos': delete: summary: Delete video Web Video files + description: "**PeerTube >= 6.0**" security: - OAuth2: - admin @@ -6630,7 +6633,7 @@ components: required: false schema: type: boolean - description: '**PeerTube >= 4.0** Display only videos that have Web Video files' + description: '**PeerTube >= 6.0** Display only videos that have Web Video files' privacyOneOf: name: privacyOneOf in: query