From: Chocobozzz Date: Mon, 21 Mar 2022 07:43:15 +0000 (+0100) Subject: Remove invalid info from REST API doc X-Git-Tag: v4.2.0-rc.1~295 X-Git-Url: https://git.immae.eu/?a=commitdiff_plain;h=b4a4bcd20e401a6e7db4345a0a5cc238c6b99200;p=github%2FChocobozzz%2FPeerTube.git Remove invalid info from REST API doc --- diff --git a/support/doc/api/openapi.yaml b/support/doc/api/openapi.yaml index 5ce1f228a..77d55d749 100644 --- a/support/doc/api/openapi.yaml +++ b/support/doc/api/openapi.yaml @@ -2078,7 +2078,7 @@ paths: in: query required: true description: | - Created session id to proceed with. If you didn't send chunks in the last 12 hours, it is + Created session id to proceed with. If you didn't send chunks in the last hour, it is not valid anymore and you need to initialize a new upload. schema: type: string @@ -2102,9 +2102,6 @@ paths: description: | Size of the chunk that the request is sending. - The chunk size __must be a multiple of 256 KB__, and unlike [Google Resumable](https://developers.google.com/youtube/v3/guides/using_resumable_upload_protocol) - doesn't mandate for chunks to have the same size throughout the upload sequence. - Remember that larger chunks are more efficient. PeerTube's web client uses chunks varying from 1048576 bytes (~1MB) and increases or reduces size depending on connection health. requestBody: