Update openapi documentation

Regarding "files" property of the video object
pull/3127/head
Chocobozzz 2020-08-26 14:45:39 +02:00
parent c8bc2a1af6
commit 000ca2a898
No known key found for this signature in database
GPG Key ID: 583A612D890159BE
1 changed files with 2 additions and 0 deletions

View File

@ -3822,6 +3822,7 @@ components:
format: url format: url
files: files:
type: array type: array
description: 'Video files associated to this playlist. The difference with the root "files" property is that these files are fragmented, so they can be used in this streaming playlist (HLS etc)'
items: items:
$ref: '#/components/schemas/VideoFile' $ref: '#/components/schemas/VideoFile'
redundancies: redundancies:
@ -3948,6 +3949,7 @@ components:
example: [flowers, gardening] example: [flowers, gardening]
files: files:
type: array type: array
description: 'WebTorrent/raw video files. Can be empty if WebTorrent is disabled on the server. In this case, video files will be in the "streamingPlaylists[].files" property'
items: items:
$ref: '#/components/schemas/VideoFile' $ref: '#/components/schemas/VideoFile'
commentsEnabled: commentsEnabled: