projects
/
oweals
/
peertube.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8d1fa36
)
remove superfluous privacy field for upload
author
Rigel Kent
<sendmemail@rigelk.eu>
Fri, 16 Nov 2018 10:05:28 +0000
(11:05 +0100)
committer
Rigel Kent
<sendmemail@rigelk.eu>
Fri, 16 Nov 2018 12:31:23 +0000
(13:31 +0100)
support/doc/api/openapi.yaml
patch
|
blob
|
history
diff --git
a/support/doc/api/openapi.yaml
b/support/doc/api/openapi.yaml
index 666e48a417d797f406c3d03f3ed7115525441d1c..9f2997774382c0c8c7d7f3f232f3a52430309ff8 100644
(file)
--- a/
support/doc/api/openapi.yaml
+++ b/
support/doc/api/openapi.yaml
@@
-771,7
+771,6
@@
paths:
- videofile
- channelId
- name
- - privacy
x-code-samples:
- lang: Shell
source: |
@@
-781,7
+780,6
@@
paths:
PASSWORD="<your_password>"
FILE_PATH="<your_file_path>"
CHANNEL_ID="<your_channel_id>"
- PRIVACY="1" # public: 1, unlisted: 2, private: 3
NAME="<video_name>"
API_PATH="https://peertube2.cpy.re/api/v1"
@@
-798,7
+796,6
@@
paths:
videofile@$FILE_PATH \
channelId=$CHANNEL_ID \
name=$NAME \
- privacy=$PRIVACY \
"Authorization:Bearer $token"
/videos/abuse:
get: