diff options
Diffstat (limited to 'support/doc')
-rw-r--r-- | support/doc/api/openapi.yaml | 20 |
1 files changed, 17 insertions, 3 deletions
diff --git a/support/doc/api/openapi.yaml b/support/doc/api/openapi.yaml index a63694211..959a70438 100644 --- a/support/doc/api/openapi.yaml +++ b/support/doc/api/openapi.yaml | |||
@@ -2446,7 +2446,7 @@ paths: | |||
2446 | /api/v1/videos/privacies: | 2446 | /api/v1/videos/privacies: |
2447 | get: | 2447 | get: |
2448 | summary: List available video privacy policies | 2448 | summary: List available video privacy policies |
2449 | operationId: getPrivacyPolicies | 2449 | operationId: getVideoPrivacyPolicies |
2450 | tags: | 2450 | tags: |
2451 | - Video | 2451 | - Video |
2452 | responses: | 2452 | responses: |
@@ -3087,6 +3087,8 @@ paths: | |||
3087 | type: integer | 3087 | type: integer |
3088 | saveReplay: | 3088 | saveReplay: |
3089 | type: boolean | 3089 | type: boolean |
3090 | replaySettings: | ||
3091 | $ref: '#/components/schemas/LiveVideoReplaySettings' | ||
3090 | permanentLive: | 3092 | permanentLive: |
3091 | description: User can stream multiple times in a permanent live | 3093 | description: User can stream multiple times in a permanent live |
3092 | type: boolean | 3094 | type: boolean |
@@ -6088,7 +6090,7 @@ components: | |||
6088 | - 1 | 6090 | - 1 |
6089 | - 2 | 6091 | - 2 |
6090 | - 3 | 6092 | - 3 |
6091 | description: Video playlist privacy policy (see [/video-playlists/privacies]) | 6093 | description: Video playlist privacy policy (see [/video-playlists/privacies](#operation/getPlaylistPrivacyPolicies)) |
6092 | VideoPlaylistPrivacyConstant: | 6094 | VideoPlaylistPrivacyConstant: |
6093 | properties: | 6095 | properties: |
6094 | id: | 6096 | id: |
@@ -6116,7 +6118,7 @@ components: | |||
6116 | - 2 | 6118 | - 2 |
6117 | - 3 | 6119 | - 3 |
6118 | - 4 | 6120 | - 4 |
6119 | description: privacy id of the video (see [/videos/privacies](#operation/getPrivacyPolicies)) | 6121 | description: privacy id of the video (see [/videos/privacies](#operation/getVideoPrivacyPolicies)) |
6120 | VideoPrivacyConstant: | 6122 | VideoPrivacyConstant: |
6121 | properties: | 6123 | properties: |
6122 | id: | 6124 | id: |
@@ -6177,6 +6179,14 @@ components: | |||
6177 | - 2 | 6179 | - 2 |
6178 | - 3 | 6180 | - 3 |
6179 | description: 'The live latency mode (Default = `1`, High latency = `2`, Small Latency = `3`)' | 6181 | description: 'The live latency mode (Default = `1`, High latency = `2`, Small Latency = `3`)' |
6182 | |||
6183 | LiveVideoReplaySettings: | ||
6184 | type: object | ||
6185 | properties: | ||
6186 | privacy: | ||
6187 | # description: Video playlist privacy policy (see [../video-playlists/privacies]) | ||
6188 | $ref: '#/components/schemas/VideoPrivacySet' | ||
6189 | |||
6180 | 6190 | ||
6181 | VideoStateConstant: | 6191 | VideoStateConstant: |
6182 | properties: | 6192 | properties: |
@@ -8693,6 +8703,8 @@ components: | |||
8693 | properties: | 8703 | properties: |
8694 | saveReplay: | 8704 | saveReplay: |
8695 | type: boolean | 8705 | type: boolean |
8706 | replaySettings: | ||
8707 | $ref: '#/components/schemas/LiveVideoReplaySettings' | ||
8696 | permanentLive: | 8708 | permanentLive: |
8697 | description: User can stream multiple times in a permanent live | 8709 | description: User can stream multiple times in a permanent live |
8698 | type: boolean | 8710 | type: boolean |
@@ -8713,6 +8725,8 @@ components: | |||
8713 | description: RTMP stream key to use to stream into this live video. Included in the response if an appropriate token is provided | 8725 | description: RTMP stream key to use to stream into this live video. Included in the response if an appropriate token is provided |
8714 | saveReplay: | 8726 | saveReplay: |
8715 | type: boolean | 8727 | type: boolean |
8728 | replaySettings: | ||
8729 | $ref: '#/components/schemas/LiveVideoReplaySettings' | ||
8716 | permanentLive: | 8730 | permanentLive: |
8717 | description: User can stream multiple times in a permanent live | 8731 | description: User can stream multiple times in a permanent live |
8718 | type: boolean | 8732 | type: boolean |