diff options
author | Chocobozzz <me@florianbigard.com> | 2022-12-02 14:47:21 +0100 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2022-12-02 15:25:20 +0100 |
commit | 71e3e879c0616882ee82a0e44f8c2e5ee9698a3e (patch) | |
tree | 14452d26d240eb6d44178b76fc2dabda4cfc9428 /support | |
parent | 04509c43254dc232c61681ac4bb98e09fd126115 (diff) | |
download | PeerTube-71e3e879c0616882ee82a0e44f8c2e5ee9698a3e.tar.gz PeerTube-71e3e879c0616882ee82a0e44f8c2e5ee9698a3e.tar.zst PeerTube-71e3e879c0616882ee82a0e44f8c2e5ee9698a3e.zip |
Support reinjecting token in private m3u8 playlist
Diffstat (limited to 'support')
-rw-r--r-- | support/doc/api/openapi.yaml | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/support/doc/api/openapi.yaml b/support/doc/api/openapi.yaml index 2062f2e3a..c2f9d424e 100644 --- a/support/doc/api/openapi.yaml +++ b/support/doc/api/openapi.yaml | |||
@@ -408,6 +408,7 @@ paths: | |||
408 | parameters: | 408 | parameters: |
409 | - $ref: '#/components/parameters/staticFilename' | 409 | - $ref: '#/components/parameters/staticFilename' |
410 | - $ref: '#/components/parameters/videoFileToken' | 410 | - $ref: '#/components/parameters/videoFileToken' |
411 | - $ref: '#/components/parameters/reinjectVideoFileToken' | ||
411 | security: | 412 | security: |
412 | - OAuth2: [] | 413 | - OAuth2: [] |
413 | responses: | 414 | responses: |
@@ -5711,7 +5712,13 @@ components: | |||
5711 | description: Video file token [generated](#operation/requestVideoToken) by PeerTube so you don't need to provide an OAuth token in the request header. | 5712 | description: Video file token [generated](#operation/requestVideoToken) by PeerTube so you don't need to provide an OAuth token in the request header. |
5712 | schema: | 5713 | schema: |
5713 | type: string | 5714 | type: string |
5714 | 5715 | reinjectVideoFileToken: | |
5716 | name: reinjectVideoFileToken | ||
5717 | in: query | ||
5718 | required: false | ||
5719 | description: Ask the server to reinject videoFileToken in URLs in m3u8 playlist | ||
5720 | schema: | ||
5721 | type: boolean | ||
5715 | 5722 | ||
5716 | securitySchemes: | 5723 | securitySchemes: |
5717 | OAuth2: | 5724 | OAuth2: |