Add peertube version info in openapi doc
This commit is contained in:
parent
53fdb2e83e
commit
757ffb2a69
|
@ -374,6 +374,7 @@ paths:
|
||||||
tags:
|
tags:
|
||||||
- Static Video Files
|
- Static Video Files
|
||||||
summary: Get public Web Video file
|
summary: Get public Web Video file
|
||||||
|
description: "**PeerTube >= 6.0**"
|
||||||
parameters:
|
parameters:
|
||||||
- $ref: '#/components/parameters/staticFilename'
|
- $ref: '#/components/parameters/staticFilename'
|
||||||
responses:
|
responses:
|
||||||
|
@ -386,6 +387,7 @@ paths:
|
||||||
tags:
|
tags:
|
||||||
- Static Video Files
|
- Static Video Files
|
||||||
summary: Get private Web Video file
|
summary: Get private Web Video file
|
||||||
|
description: "**PeerTube >= 6.0**"
|
||||||
parameters:
|
parameters:
|
||||||
- $ref: '#/components/parameters/staticFilename'
|
- $ref: '#/components/parameters/staticFilename'
|
||||||
- $ref: '#/components/parameters/videoFileToken'
|
- $ref: '#/components/parameters/videoFileToken'
|
||||||
|
@ -4934,6 +4936,7 @@ paths:
|
||||||
'/api/v1/videos/{id}/web-videos':
|
'/api/v1/videos/{id}/web-videos':
|
||||||
delete:
|
delete:
|
||||||
summary: Delete video Web Video files
|
summary: Delete video Web Video files
|
||||||
|
description: "**PeerTube >= 6.0**"
|
||||||
security:
|
security:
|
||||||
- OAuth2:
|
- OAuth2:
|
||||||
- admin
|
- admin
|
||||||
|
@ -6630,7 +6633,7 @@ components:
|
||||||
required: false
|
required: false
|
||||||
schema:
|
schema:
|
||||||
type: boolean
|
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:
|
privacyOneOf:
|
||||||
name: privacyOneOf
|
name: privacyOneOf
|
||||||
in: query
|
in: query
|
||||||
|
|
Loading…
Reference in New Issue