aboutsummaryrefslogtreecommitdiffhomepage
path: root/support
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2021-11-12 14:19:56 +0100
committerChocobozzz <me@florianbigard.com>2021-11-12 14:23:22 +0100
commit527a52ac4295a072927ff46761766a8b181a7603 (patch)
tree632f66b1691d8d72f04630671af8bdf1655d6b00 /support
parent8f2608e9a9d54c87ace636f99cdb9d2a7730990f (diff)
downloadPeerTube-527a52ac4295a072927ff46761766a8b181a7603.tar.gz
PeerTube-527a52ac4295a072927ff46761766a8b181a7603.tar.zst
PeerTube-527a52ac4295a072927ff46761766a8b181a7603.zip
Add ability to filter out public videos from admin
Diffstat (limited to 'support')
-rw-r--r--support/doc/api/openapi.yaml20
1 files changed, 17 insertions, 3 deletions
diff --git a/support/doc/api/openapi.yaml b/support/doc/api/openapi.yaml
index 13757152c..88a089fc7 100644
--- a/support/doc/api/openapi.yaml
+++ b/support/doc/api/openapi.yaml
@@ -369,6 +369,7 @@ 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/privacyOneOf'
372 - $ref: '#/components/parameters/hasHLSFiles' 373 - $ref: '#/components/parameters/hasHLSFiles'
373 - $ref: '#/components/parameters/hasWebtorrentFiles' 374 - $ref: '#/components/parameters/hasWebtorrentFiles'
374 - $ref: '#/components/parameters/skipCount' 375 - $ref: '#/components/parameters/skipCount'
@@ -1305,6 +1306,7 @@ paths:
1305 - $ref: '#/components/parameters/nsfw' 1306 - $ref: '#/components/parameters/nsfw'
1306 - $ref: '#/components/parameters/isLocal' 1307 - $ref: '#/components/parameters/isLocal'
1307 - $ref: '#/components/parameters/include' 1308 - $ref: '#/components/parameters/include'
1309 - $ref: '#/components/parameters/privacyOneOf'
1308 - $ref: '#/components/parameters/hasHLSFiles' 1310 - $ref: '#/components/parameters/hasHLSFiles'
1309 - $ref: '#/components/parameters/hasWebtorrentFiles' 1311 - $ref: '#/components/parameters/hasWebtorrentFiles'
1310 - $ref: '#/components/parameters/skipCount' 1312 - $ref: '#/components/parameters/skipCount'
@@ -1628,6 +1630,7 @@ paths:
1628 - $ref: '#/components/parameters/nsfw' 1630 - $ref: '#/components/parameters/nsfw'
1629 - $ref: '#/components/parameters/isLocal' 1631 - $ref: '#/components/parameters/isLocal'
1630 - $ref: '#/components/parameters/include' 1632 - $ref: '#/components/parameters/include'
1633 - $ref: '#/components/parameters/privacyOneOf'
1631 - $ref: '#/components/parameters/hasHLSFiles' 1634 - $ref: '#/components/parameters/hasHLSFiles'
1632 - $ref: '#/components/parameters/hasWebtorrentFiles' 1635 - $ref: '#/components/parameters/hasWebtorrentFiles'
1633 - $ref: '#/components/parameters/skipCount' 1636 - $ref: '#/components/parameters/skipCount'
@@ -2867,6 +2870,7 @@ paths:
2867 - $ref: '#/components/parameters/nsfw' 2870 - $ref: '#/components/parameters/nsfw'
2868 - $ref: '#/components/parameters/isLocal' 2871 - $ref: '#/components/parameters/isLocal'
2869 - $ref: '#/components/parameters/include' 2872 - $ref: '#/components/parameters/include'
2873 - $ref: '#/components/parameters/privacyOneOf'
2870 - $ref: '#/components/parameters/hasHLSFiles' 2874 - $ref: '#/components/parameters/hasHLSFiles'
2871 - $ref: '#/components/parameters/hasWebtorrentFiles' 2875 - $ref: '#/components/parameters/hasWebtorrentFiles'
2872 - $ref: '#/components/parameters/skipCount' 2876 - $ref: '#/components/parameters/skipCount'
@@ -3590,6 +3594,7 @@ paths:
3590 - $ref: '#/components/parameters/nsfw' 3594 - $ref: '#/components/parameters/nsfw'
3591 - $ref: '#/components/parameters/isLocal' 3595 - $ref: '#/components/parameters/isLocal'
3592 - $ref: '#/components/parameters/include' 3596 - $ref: '#/components/parameters/include'
3597 - $ref: '#/components/parameters/privacyOneOf'
3593 - $ref: '#/components/parameters/hasHLSFiles' 3598 - $ref: '#/components/parameters/hasHLSFiles'
3594 - $ref: '#/components/parameters/hasWebtorrentFiles' 3599 - $ref: '#/components/parameters/hasWebtorrentFiles'
3595 - $ref: '#/components/parameters/skipCount' 3600 - $ref: '#/components/parameters/skipCount'
@@ -4095,6 +4100,7 @@ paths:
4095 - $ref: '#/components/parameters/nsfw' 4100 - $ref: '#/components/parameters/nsfw'
4096 - $ref: '#/components/parameters/isLocal' 4101 - $ref: '#/components/parameters/isLocal'
4097 - $ref: '#/components/parameters/include' 4102 - $ref: '#/components/parameters/include'
4103 - $ref: '#/components/parameters/privacyOneOf'
4098 - $ref: '#/components/parameters/hasHLSFiles' 4104 - $ref: '#/components/parameters/hasHLSFiles'
4099 - $ref: '#/components/parameters/hasWebtorrentFiles' 4105 - $ref: '#/components/parameters/hasWebtorrentFiles'
4100 responses: 4106 responses:
@@ -4179,6 +4185,7 @@ paths:
4179 - $ref: '#/components/parameters/nsfw' 4185 - $ref: '#/components/parameters/nsfw'
4180 - $ref: '#/components/parameters/isLocal' 4186 - $ref: '#/components/parameters/isLocal'
4181 - $ref: '#/components/parameters/include' 4187 - $ref: '#/components/parameters/include'
4188 - $ref: '#/components/parameters/privacyOneOf'
4182 - $ref: '#/components/parameters/hasHLSFiles' 4189 - $ref: '#/components/parameters/hasHLSFiles'
4183 - $ref: '#/components/parameters/hasWebtorrentFiles' 4190 - $ref: '#/components/parameters/hasWebtorrentFiles'
4184 responses: 4191 responses:
@@ -4834,6 +4841,13 @@ components:
4834 schema: 4841 schema:
4835 type: boolean 4842 type: boolean
4836 description: '**PeerTube >= 4.0** Display only videos that have WebTorrent files' 4843 description: '**PeerTube >= 4.0** Display only videos that have WebTorrent files'
4844 privacyOneOf:
4845 name: privacyOneOf
4846 in: query
4847 required: false
4848 schema:
4849 $ref: '#/components/schemas/VideoPrivacySet'
4850 description: '**PeerTube >= 4.0** Display only videos in this specific privacy/privacies'
4837 include: 4851 include:
4838 name: include 4852 name: include
4839 in: query 4853 in: query
@@ -4853,11 +4867,11 @@ components:
4853 4867
4854 - `1` NOT_PUBLISHED_STATE 4868 - `1` NOT_PUBLISHED_STATE
4855 4869
4856 - `2` HIDDEN_PRIVACY 4870 - `2` BLACKLISTED
4857 4871
4858 - `4` BLACKLISTED 4872 - `4` BLOCKED_OWNER
4859 4873
4860 - `8` BLOCKED 4874 - `8` FILES
4861 subscriptionsUris: 4875 subscriptionsUris:
4862 name: uris 4876 name: uris
4863 in: query 4877 in: query