ActivityPub-federated video streaming platform using P2P directly in your web browser
make hls/webtorrent fields closely documented in the openapi spec
Rigel Kentc540d8654f4d
diff --git a/support/doc/api/openapi.yaml b/support/doc/api/openapi.yamlindex da51732ade..4283e61d29 100644--- a/support/doc/api/openapi.yaml+++ b/support/doc/api/openapi.yaml@@ -4224,7 +4224,10 @@ components:format: urlfiles: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)'+ 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:$ref: '#/components/schemas/VideoFile'redundancies:@@ -4346,6 +4349,8 @@ components:type: stringdescription: A text tell the audience how to support the video creatorexample: Please support my work on <insert crowdfunding plateform>! <3+ minLength: 3+ maxLength: 1000channel:$ref: '#/components/schemas/VideoChannel'account:@@ -4359,11 +4364,6 @@ components:type: stringminLength: 2maxLength: 30- files:- 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:- $ref: '#/components/schemas/VideoFile'commentsEnabled:type: booleandownloadEnabled:@@ -4373,10 +4373,24 @@ components:items:type: stringformat: url+ files:+ type: array+ items:+ $ref: '#/components/schemas/VideoFile'+ description: |+ WebTorrent/raw video files. If WebTorrent is disabled on the server:++ - field will be empty+ - video files will be found in `streamingPlaylists[].files` fieldstreamingPlaylists:type: arrayitems:$ref: '#/components/schemas/VideoStreamingPlaylists'+ description: |+ HLS playlists/manifest files. If HLS is disabled on the server:++ - field will be empty+ - video files will be found in `files` fieldFileRedundancyInformation:properties:id: