1
0
Fork 0

Remove invalid info from REST API doc

This commit is contained in:
Chocobozzz 2022-03-21 08:43:15 +01:00
parent 88f1692781
commit b4a4bcd20e
No known key found for this signature in database
GPG key ID: 583A612D890159BE

View file

@ -2078,7 +2078,7 @@ paths:
in: query in: query
required: true required: true
description: | 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. not valid anymore and you need to initialize a new upload.
schema: schema:
type: string type: string
@ -2102,9 +2102,6 @@ paths:
description: | description: |
Size of the chunk that the request is sending. 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 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. 1048576 bytes (~1MB) and increases or reduces size depending on connection health.
requestBody: requestBody: