remove superfluous privacy field for upload

This commit is contained in:
Rigel Kent 2018-11-16 11:05:28 +01:00
parent 8d1fa36ad2
commit cfd140abd6
No known key found for this signature in database
GPG Key ID: EA12971B0E438F36
1 changed files with 0 additions and 3 deletions

View File

@ -771,7 +771,6 @@ paths:
- videofile - videofile
- channelId - channelId
- name - name
- privacy
x-code-samples: x-code-samples:
- lang: Shell - lang: Shell
source: | source: |
@ -781,7 +780,6 @@ paths:
PASSWORD="<your_password>" PASSWORD="<your_password>"
FILE_PATH="<your_file_path>" FILE_PATH="<your_file_path>"
CHANNEL_ID="<your_channel_id>" CHANNEL_ID="<your_channel_id>"
PRIVACY="1" # public: 1, unlisted: 2, private: 3
NAME="<video_name>" NAME="<video_name>"
API_PATH="https://peertube2.cpy.re/api/v1" API_PATH="https://peertube2.cpy.re/api/v1"
@ -798,7 +796,6 @@ paths:
videofile@$FILE_PATH \ videofile@$FILE_PATH \
channelId=$CHANNEL_ID \ channelId=$CHANNEL_ID \
name=$NAME \ name=$NAME \
privacy=$PRIVACY \
"Authorization:Bearer $token" "Authorization:Bearer $token"
/videos/abuse: /videos/abuse:
get: get: