aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--support/doc/api/openapi.yaml5
1 files changed, 1 insertions, 4 deletions
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:
2078 in: query 2078 in: query
2079 required: true 2079 required: true
2080 description: | 2080 description: |
2081 Created session id to proceed with. If you didn't send chunks in the last 12 hours, it is 2081 Created session id to proceed with. If you didn't send chunks in the last hour, it is
2082 not valid anymore and you need to initialize a new upload. 2082 not valid anymore and you need to initialize a new upload.
2083 schema: 2083 schema:
2084 type: string 2084 type: string
@@ -2102,9 +2102,6 @@ paths:
2102 description: | 2102 description: |
2103 Size of the chunk that the request is sending. 2103 Size of the chunk that the request is sending.
2104 2104
2105 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)
2106 doesn't mandate for chunks to have the same size throughout the upload sequence.
2107
2108 Remember that larger chunks are more efficient. PeerTube's web client uses chunks varying from 2105 Remember that larger chunks are more efficient. PeerTube's web client uses chunks varying from
2109 1048576 bytes (~1MB) and increases or reduces size depending on connection health. 2106 1048576 bytes (~1MB) and increases or reduces size depending on connection health.
2110 requestBody: 2107 requestBody: