diff options
author | Chocobozzz <me@florianbigard.com> | 2021-11-03 11:32:41 +0100 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2021-11-03 11:32:41 +0100 |
commit | d324756edb836672f12284cd18e642a658b273d8 (patch) | |
tree | 3b323682bd7380491ad904daaeaea10be606e0f9 /support/doc/api | |
parent | d5d9c5b79edf613e97a752a3d59062fb42045275 (diff) | |
download | PeerTube-d324756edb836672f12284cd18e642a658b273d8.tar.gz PeerTube-d324756edb836672f12284cd18e642a658b273d8.tar.zst PeerTube-d324756edb836672f12284cd18e642a658b273d8.zip |
Add ability to filter by file type
Diffstat (limited to 'support/doc/api')
-rw-r--r-- | support/doc/api/openapi.yaml | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/support/doc/api/openapi.yaml b/support/doc/api/openapi.yaml index e9e7e1757..ec246bca0 100644 --- a/support/doc/api/openapi.yaml +++ b/support/doc/api/openapi.yaml | |||
@@ -369,6 +369,8 @@ paths: | |||
369 | - $ref: '#/components/parameters/nsfw' | 369 | - $ref: '#/components/parameters/nsfw' |
370 | - $ref: '#/components/parameters/isLocal' | 370 | - $ref: '#/components/parameters/isLocal' |
371 | - $ref: '#/components/parameters/include' | 371 | - $ref: '#/components/parameters/include' |
372 | - $ref: '#/components/parameters/hasHLSFiles' | ||
373 | - $ref: '#/components/parameters/hasWebtorrentFiles' | ||
372 | - $ref: '#/components/parameters/skipCount' | 374 | - $ref: '#/components/parameters/skipCount' |
373 | - $ref: '#/components/parameters/start' | 375 | - $ref: '#/components/parameters/start' |
374 | - $ref: '#/components/parameters/count' | 376 | - $ref: '#/components/parameters/count' |
@@ -1303,6 +1305,8 @@ paths: | |||
1303 | - $ref: '#/components/parameters/nsfw' | 1305 | - $ref: '#/components/parameters/nsfw' |
1304 | - $ref: '#/components/parameters/isLocal' | 1306 | - $ref: '#/components/parameters/isLocal' |
1305 | - $ref: '#/components/parameters/include' | 1307 | - $ref: '#/components/parameters/include' |
1308 | - $ref: '#/components/parameters/hasHLSFiles' | ||
1309 | - $ref: '#/components/parameters/hasWebtorrentFiles' | ||
1306 | - $ref: '#/components/parameters/skipCount' | 1310 | - $ref: '#/components/parameters/skipCount' |
1307 | - $ref: '#/components/parameters/start' | 1311 | - $ref: '#/components/parameters/start' |
1308 | - $ref: '#/components/parameters/count' | 1312 | - $ref: '#/components/parameters/count' |
@@ -1624,6 +1628,8 @@ paths: | |||
1624 | - $ref: '#/components/parameters/nsfw' | 1628 | - $ref: '#/components/parameters/nsfw' |
1625 | - $ref: '#/components/parameters/isLocal' | 1629 | - $ref: '#/components/parameters/isLocal' |
1626 | - $ref: '#/components/parameters/include' | 1630 | - $ref: '#/components/parameters/include' |
1631 | - $ref: '#/components/parameters/hasHLSFiles' | ||
1632 | - $ref: '#/components/parameters/hasWebtorrentFiles' | ||
1627 | - $ref: '#/components/parameters/skipCount' | 1633 | - $ref: '#/components/parameters/skipCount' |
1628 | - $ref: '#/components/parameters/start' | 1634 | - $ref: '#/components/parameters/start' |
1629 | - $ref: '#/components/parameters/count' | 1635 | - $ref: '#/components/parameters/count' |
@@ -2861,6 +2867,8 @@ paths: | |||
2861 | - $ref: '#/components/parameters/nsfw' | 2867 | - $ref: '#/components/parameters/nsfw' |
2862 | - $ref: '#/components/parameters/isLocal' | 2868 | - $ref: '#/components/parameters/isLocal' |
2863 | - $ref: '#/components/parameters/include' | 2869 | - $ref: '#/components/parameters/include' |
2870 | - $ref: '#/components/parameters/hasHLSFiles' | ||
2871 | - $ref: '#/components/parameters/hasWebtorrentFiles' | ||
2864 | - $ref: '#/components/parameters/skipCount' | 2872 | - $ref: '#/components/parameters/skipCount' |
2865 | - $ref: '#/components/parameters/start' | 2873 | - $ref: '#/components/parameters/start' |
2866 | - $ref: '#/components/parameters/count' | 2874 | - $ref: '#/components/parameters/count' |
@@ -3582,6 +3590,8 @@ paths: | |||
3582 | - $ref: '#/components/parameters/nsfw' | 3590 | - $ref: '#/components/parameters/nsfw' |
3583 | - $ref: '#/components/parameters/isLocal' | 3591 | - $ref: '#/components/parameters/isLocal' |
3584 | - $ref: '#/components/parameters/include' | 3592 | - $ref: '#/components/parameters/include' |
3593 | - $ref: '#/components/parameters/hasHLSFiles' | ||
3594 | - $ref: '#/components/parameters/hasWebtorrentFiles' | ||
3585 | - $ref: '#/components/parameters/skipCount' | 3595 | - $ref: '#/components/parameters/skipCount' |
3586 | - $ref: '#/components/parameters/start' | 3596 | - $ref: '#/components/parameters/start' |
3587 | - $ref: '#/components/parameters/count' | 3597 | - $ref: '#/components/parameters/count' |
@@ -4085,6 +4095,8 @@ paths: | |||
4085 | - $ref: '#/components/parameters/nsfw' | 4095 | - $ref: '#/components/parameters/nsfw' |
4086 | - $ref: '#/components/parameters/isLocal' | 4096 | - $ref: '#/components/parameters/isLocal' |
4087 | - $ref: '#/components/parameters/include' | 4097 | - $ref: '#/components/parameters/include' |
4098 | - $ref: '#/components/parameters/hasHLSFiles' | ||
4099 | - $ref: '#/components/parameters/hasWebtorrentFiles' | ||
4088 | responses: | 4100 | responses: |
4089 | '204': | 4101 | '204': |
4090 | description: successful operation | 4102 | description: successful operation |
@@ -4167,6 +4179,8 @@ paths: | |||
4167 | - $ref: '#/components/parameters/nsfw' | 4179 | - $ref: '#/components/parameters/nsfw' |
4168 | - $ref: '#/components/parameters/isLocal' | 4180 | - $ref: '#/components/parameters/isLocal' |
4169 | - $ref: '#/components/parameters/include' | 4181 | - $ref: '#/components/parameters/include' |
4182 | - $ref: '#/components/parameters/hasHLSFiles' | ||
4183 | - $ref: '#/components/parameters/hasWebtorrentFiles' | ||
4170 | responses: | 4184 | responses: |
4171 | '204': | 4185 | '204': |
4172 | description: successful operation | 4186 | description: successful operation |
@@ -4806,6 +4820,20 @@ components: | |||
4806 | schema: | 4820 | schema: |
4807 | type: boolean | 4821 | type: boolean |
4808 | description: '**PeerTube >= 4.0** Display only local or remote videos' | 4822 | description: '**PeerTube >= 4.0** Display only local or remote videos' |
4823 | hasHLSFiles: | ||
4824 | name: hasHLSFiles | ||
4825 | in: query | ||
4826 | required: false | ||
4827 | schema: | ||
4828 | type: boolean | ||
4829 | description: '**PeerTube >= 4.0** Display only videos that have HLS files' | ||
4830 | hasWebtorrentFiles: | ||
4831 | name: hasWebtorrentFiles | ||
4832 | in: query | ||
4833 | required: false | ||
4834 | schema: | ||
4835 | type: boolean | ||
4836 | description: '**PeerTube >= 4.0** Display only videos that have WebTorrent files' | ||
4809 | include: | 4837 | include: |
4810 | name: include | 4838 | name: include |
4811 | in: query | 4839 | in: query |