diff options
author | Rigel Kent <sendmemail@rigelk.eu> | 2021-05-04 10:25:05 +0200 |
---|---|---|
committer | Rigel Kent <sendmemail@rigelk.eu> | 2021-05-04 10:25:09 +0200 |
commit | 4ca669e36172af36fad26dc4596c309e7deb08a5 (patch) | |
tree | 2a9ce8d4b2602fe16a1a170468a0b26fe3dfeba4 /support/doc/api | |
parent | c540d8654f4d15f3f008407cee74efbd1b14b96f (diff) | |
download | PeerTube-4ca669e36172af36fad26dc4596c309e7deb08a5.tar.gz PeerTube-4ca669e36172af36fad26dc4596c309e7deb08a5.tar.zst PeerTube-4ca669e36172af36fad26dc4596c309e7deb08a5.zip |
make streaming playlists pivotable objects in openapi spec
Diffstat (limited to 'support/doc/api')
-rw-r--r-- | support/doc/api/openapi.yaml | 21 |
1 files changed, 14 insertions, 7 deletions
diff --git a/support/doc/api/openapi.yaml b/support/doc/api/openapi.yaml index 4283e61d2..701988478 100644 --- a/support/doc/api/openapi.yaml +++ b/support/doc/api/openapi.yaml | |||
@@ -4208,14 +4208,21 @@ components: | |||
4208 | type: string | 4208 | type: string |
4209 | format: url | 4209 | format: url |
4210 | VideoStreamingPlaylists: | 4210 | VideoStreamingPlaylists: |
4211 | allOf: | ||
4212 | - type: object | ||
4213 | properties: | ||
4214 | id: | ||
4215 | type: integer | ||
4216 | type: | ||
4217 | type: integer | ||
4218 | enum: | ||
4219 | - 1 | ||
4220 | description: | | ||
4221 | Playlist type: | ||
4222 | - `1`: HLS | ||
4223 | - $ref: '#/components/schemas/VideoStreamingPlaylists-HLS' | ||
4224 | VideoStreamingPlaylists-HLS: | ||
4211 | properties: | 4225 | properties: |
4212 | id: | ||
4213 | type: integer | ||
4214 | type: | ||
4215 | type: integer | ||
4216 | enum: | ||
4217 | - 1 | ||
4218 | description: 'Playlist type (HLS = `1`)' | ||
4219 | playlistUrl: | 4226 | playlistUrl: |
4220 | type: string | 4227 | type: string |
4221 | format: url | 4228 | format: url |