Skip to content

ActivityPub-federated video streaming platform using P2P directly in your web browser

make streaming playlists pivotable objects in openapi spec

Rigel Kent4ca669e36172
diff --git a/support/doc/api/openapi.yaml b/support/doc/api/openapi.yaml
index 4283e61d29..7019884782 100644
--- a/support/doc/api/openapi.yaml
+++ b/support/doc/api/openapi.yaml
@@ -4208,14 +4208,21 @@ components:
type: string
format: url
VideoStreamingPlaylists:
+ allOf:
+ - type: object
+ properties:
+ id:
+ type: integer
+ type:
+ type: integer
+ enum:
+ - 1
+ description: |
+ Playlist type:
+ - `1`: HLS
+ - $ref: '#/components/schemas/VideoStreamingPlaylists-HLS'
+ VideoStreamingPlaylists-HLS:
properties:
- id:
- type: integer
- type:
- type: integer
- enum:
- - 1
- description: 'Playlist type (HLS = `1`)'
playlistUrl:
type: string
format: url