diff options
author | Chocobozzz <me@florianbigard.com> | 2021-05-03 11:06:19 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2021-05-03 16:42:15 +0200 |
commit | 1fd61899eaea245a5844e33e21f04b2562f16e5e (patch) | |
tree | 2a1d51b37b12219cade35e189d62686cd0fec105 /support | |
parent | dfcb6f50a607b6b402b4f8fa3d43792d61c912a5 (diff) | |
download | PeerTube-1fd61899eaea245a5844e33e21f04b2562f16e5e.tar.gz PeerTube-1fd61899eaea245a5844e33e21f04b2562f16e5e.tar.zst PeerTube-1fd61899eaea245a5844e33e21f04b2562f16e5e.zip |
Add ability to filter my videos by live
Diffstat (limited to 'support')
-rw-r--r-- | support/doc/api/openapi.yaml | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/support/doc/api/openapi.yaml b/support/doc/api/openapi.yaml index 1fffe7ddf..da51732ad 100644 --- a/support/doc/api/openapi.yaml +++ b/support/doc/api/openapi.yaml | |||
@@ -210,6 +210,7 @@ paths: | |||
210 | parameters: | 210 | parameters: |
211 | - $ref: '#/components/parameters/name' | 211 | - $ref: '#/components/parameters/name' |
212 | - $ref: '#/components/parameters/categoryOneOf' | 212 | - $ref: '#/components/parameters/categoryOneOf' |
213 | - $ref: '#/components/parameters/isLive' | ||
213 | - $ref: '#/components/parameters/tagsOneOf' | 214 | - $ref: '#/components/parameters/tagsOneOf' |
214 | - $ref: '#/components/parameters/tagsAllOf' | 215 | - $ref: '#/components/parameters/tagsAllOf' |
215 | - $ref: '#/components/parameters/licenceOneOf' | 216 | - $ref: '#/components/parameters/licenceOneOf' |
@@ -781,6 +782,7 @@ paths: | |||
781 | - Videos | 782 | - Videos |
782 | parameters: | 783 | parameters: |
783 | - $ref: '#/components/parameters/categoryOneOf' | 784 | - $ref: '#/components/parameters/categoryOneOf' |
785 | - $ref: '#/components/parameters/isLive' | ||
784 | - $ref: '#/components/parameters/tagsOneOf' | 786 | - $ref: '#/components/parameters/tagsOneOf' |
785 | - $ref: '#/components/parameters/tagsAllOf' | 787 | - $ref: '#/components/parameters/tagsAllOf' |
786 | - $ref: '#/components/parameters/licenceOneOf' | 788 | - $ref: '#/components/parameters/licenceOneOf' |
@@ -1086,6 +1088,7 @@ paths: | |||
1086 | - Video | 1088 | - Video |
1087 | parameters: | 1089 | parameters: |
1088 | - $ref: '#/components/parameters/categoryOneOf' | 1090 | - $ref: '#/components/parameters/categoryOneOf' |
1091 | - $ref: '#/components/parameters/isLive' | ||
1089 | - $ref: '#/components/parameters/tagsOneOf' | 1092 | - $ref: '#/components/parameters/tagsOneOf' |
1090 | - $ref: '#/components/parameters/tagsAllOf' | 1093 | - $ref: '#/components/parameters/tagsAllOf' |
1091 | - $ref: '#/components/parameters/licenceOneOf' | 1094 | - $ref: '#/components/parameters/licenceOneOf' |
@@ -2194,6 +2197,7 @@ paths: | |||
2194 | parameters: | 2197 | parameters: |
2195 | - $ref: '#/components/parameters/channelHandle' | 2198 | - $ref: '#/components/parameters/channelHandle' |
2196 | - $ref: '#/components/parameters/categoryOneOf' | 2199 | - $ref: '#/components/parameters/categoryOneOf' |
2200 | - $ref: '#/components/parameters/isLive' | ||
2197 | - $ref: '#/components/parameters/tagsOneOf' | 2201 | - $ref: '#/components/parameters/tagsOneOf' |
2198 | - $ref: '#/components/parameters/tagsAllOf' | 2202 | - $ref: '#/components/parameters/tagsAllOf' |
2199 | - $ref: '#/components/parameters/licenceOneOf' | 2203 | - $ref: '#/components/parameters/licenceOneOf' |
@@ -2841,6 +2845,7 @@ paths: | |||
2841 | schema: | 2845 | schema: |
2842 | type: string | 2846 | type: string |
2843 | - $ref: '#/components/parameters/categoryOneOf' | 2847 | - $ref: '#/components/parameters/categoryOneOf' |
2848 | - $ref: '#/components/parameters/isLive' | ||
2844 | - $ref: '#/components/parameters/tagsOneOf' | 2849 | - $ref: '#/components/parameters/tagsOneOf' |
2845 | - $ref: '#/components/parameters/tagsAllOf' | 2850 | - $ref: '#/components/parameters/tagsAllOf' |
2846 | - $ref: '#/components/parameters/licenceOneOf' | 2851 | - $ref: '#/components/parameters/licenceOneOf' |
@@ -3809,6 +3814,13 @@ components: | |||
3809 | description: The comment id | 3814 | description: The comment id |
3810 | schema: | 3815 | schema: |
3811 | type: integer | 3816 | type: integer |
3817 | isLive: | ||
3818 | name: isLive | ||
3819 | in: query | ||
3820 | required: false | ||
3821 | description: whether or not the video is a live | ||
3822 | schema: | ||
3823 | type: boolean | ||
3812 | categoryOneOf: | 3824 | categoryOneOf: |
3813 | name: categoryOneOf | 3825 | name: categoryOneOf |
3814 | in: query | 3826 | in: query |