aboutsummaryrefslogtreecommitdiffhomepage
path: root/support/doc/api
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2022-03-21 08:43:15 +0100
committerChocobozzz <me@florianbigard.com>2022-03-21 08:43:15 +0100
commitb4a4bcd20e401a6e7db4345a0a5cc238c6b99200 (patch)
treed28d2a8f20f8730370763073ed9fed0de3bc40e5 /support/doc/api
parent88f169278179a415937cd64d9404c618bcf4b54e (diff)
downloadPeerTube-b4a4bcd20e401a6e7db4345a0a5cc238c6b99200.tar.gz
PeerTube-b4a4bcd20e401a6e7db4345a0a5cc238c6b99200.tar.zst
PeerTube-b4a4bcd20e401a6e7db4345a0a5cc238c6b99200.zip
Remove invalid info from REST API doc
Diffstat (limited to 'support/doc/api')
-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: