From: Rigel Kent Date: Fri, 16 Nov 2018 10:05:28 +0000 (+0100) Subject: remove superfluous privacy field for upload X-Git-Tag: v1.1.0-rc.1~31 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=cfd140abd6b748b4307d64fc33ea5aac73f94262;p=oweals%2Fpeertube.git remove superfluous privacy field for upload --- 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: - videofile - channelId - name - - privacy x-code-samples: - lang: Shell source: | @@ -781,7 +780,6 @@ paths: PASSWORD="" FILE_PATH="" CHANNEL_ID="" - PRIVACY="1" # public: 1, unlisted: 2, private: 3 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: