diff options
author | Chocobozzz <me@florianbigard.com> | 2022-03-21 08:43:15 +0100 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2022-03-21 08:43:15 +0100 |
commit | b4a4bcd20e401a6e7db4345a0a5cc238c6b99200 (patch) | |
tree | d28d2a8f20f8730370763073ed9fed0de3bc40e5 | |
parent | 88f169278179a415937cd64d9404c618bcf4b54e (diff) | |
download | PeerTube-b4a4bcd20e401a6e7db4345a0a5cc238c6b99200.tar.gz PeerTube-b4a4bcd20e401a6e7db4345a0a5cc238c6b99200.tar.zst PeerTube-b4a4bcd20e401a6e7db4345a0a5cc238c6b99200.zip |
Remove invalid info from REST API doc
-rw-r--r-- | support/doc/api/openapi.yaml | 5 |
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: |