aboutsummaryrefslogtreecommitdiffhomepage
path: root/support/doc/api
diff options
context:
space:
mode:
authorRigel Kent <sendmemail@rigelk.eu>2018-11-16 11:05:28 +0100
committerRigel Kent <sendmemail@rigelk.eu>2018-11-16 13:31:23 +0100
commitcfd140abd6b748b4307d64fc33ea5aac73f94262 (patch)
treec66dd93932acad49fd2cb75d3d92d3dcb925e100 /support/doc/api
parent8d1fa36ad22a21a9b0fb6bf51a27d09954220013 (diff)
downloadPeerTube-cfd140abd6b748b4307d64fc33ea5aac73f94262.tar.gz
PeerTube-cfd140abd6b748b4307d64fc33ea5aac73f94262.tar.zst
PeerTube-cfd140abd6b748b4307d64fc33ea5aac73f94262.zip
remove superfluous privacy field for upload
Diffstat (limited to 'support/doc/api')
-rw-r--r--support/doc/api/openapi.yaml3
1 files changed, 0 insertions, 3 deletions
diff --git a/support/doc/api/openapi.yaml b/support/doc/api/openapi.yaml
index 666e48a41..9f2997774 100644
--- a/support/doc/api/openapi.yaml
+++ b/support/doc/api/openapi.yaml
@@ -771,7 +771,6 @@ paths:
771 - videofile 771 - videofile
772 - channelId 772 - channelId
773 - name 773 - name
774 - privacy
775 x-code-samples: 774 x-code-samples:
776 - lang: Shell 775 - lang: Shell
777 source: | 776 source: |
@@ -781,7 +780,6 @@ paths:
781 PASSWORD="<your_password>" 780 PASSWORD="<your_password>"
782 FILE_PATH="<your_file_path>" 781 FILE_PATH="<your_file_path>"
783 CHANNEL_ID="<your_channel_id>" 782 CHANNEL_ID="<your_channel_id>"
784 PRIVACY="1" # public: 1, unlisted: 2, private: 3
785 NAME="<video_name>" 783 NAME="<video_name>"
786 784
787 API_PATH="https://peertube2.cpy.re/api/v1" 785 API_PATH="https://peertube2.cpy.re/api/v1"
@@ -798,7 +796,6 @@ paths:
798 videofile@$FILE_PATH \ 796 videofile@$FILE_PATH \
799 channelId=$CHANNEL_ID \ 797 channelId=$CHANNEL_ID \
800 name=$NAME \ 798 name=$NAME \
801 privacy=$PRIVACY \
802 "Authorization:Bearer $token" 799 "Authorization:Bearer $token"
803 /videos/abuse: 800 /videos/abuse:
804 get: 801 get: