aboutsummaryrefslogtreecommitdiffhomepage
path: root/support/doc
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2020-08-26 14:45:39 +0200
committerChocobozzz <me@florianbigard.com>2020-08-26 14:45:39 +0200
commit000ca2a898a36214bbf8f787fef4af4cf5ad3c8d (patch)
treec72f068a5497b16729ca1fd5ae64fabd4c7bb65d /support/doc
parentc8bc2a1af698c21ea16ba56f077e507412f6b6ab (diff)
downloadPeerTube-000ca2a898a36214bbf8f787fef4af4cf5ad3c8d.tar.gz
PeerTube-000ca2a898a36214bbf8f787fef4af4cf5ad3c8d.tar.zst
PeerTube-000ca2a898a36214bbf8f787fef4af4cf5ad3c8d.zip
Update openapi documentation
Regarding "files" property of the video object
Diffstat (limited to 'support/doc')
-rw-r--r--support/doc/api/openapi.yaml2
1 files changed, 2 insertions, 0 deletions
diff --git a/support/doc/api/openapi.yaml b/support/doc/api/openapi.yaml
index 9922a3216..756c610c1 100644
--- a/support/doc/api/openapi.yaml
+++ b/support/doc/api/openapi.yaml
@@ -3822,6 +3822,7 @@ components:
3822 format: url 3822 format: url
3823 files: 3823 files:
3824 type: array 3824 type: array
3825 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)'
3825 items: 3826 items:
3826 $ref: '#/components/schemas/VideoFile' 3827 $ref: '#/components/schemas/VideoFile'
3827 redundancies: 3828 redundancies:
@@ -3948,6 +3949,7 @@ components:
3948 example: [flowers, gardening] 3949 example: [flowers, gardening]
3949 files: 3950 files:
3950 type: array 3951 type: array
3952 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'
3951 items: 3953 items:
3952 $ref: '#/components/schemas/VideoFile' 3954 $ref: '#/components/schemas/VideoFile'
3953 commentsEnabled: 3955 commentsEnabled: