mirror of
https://github.com/Chocobozzz/PeerTube.git
synced 2026-09-03 20:53:09 -05:00
prevent multiple post-process triggering of upload-resumable (#4175)
* prevent multiple post-process triggering of upload-resumable * switch from 409 to 503 for upload being processed * Improve resumable upload check Co-authored-by: Chocobozzz <me@florianbigard.com>
This commit is contained in:
@@ -2081,6 +2081,13 @@ paths:
|
||||
description: video unreadable
|
||||
'429':
|
||||
description: too many concurrent requests
|
||||
'503':
|
||||
description: upload is already being processed
|
||||
headers:
|
||||
'Retry-After':
|
||||
schema:
|
||||
type: number
|
||||
example: 300
|
||||
delete:
|
||||
summary: Cancel the resumable upload of a video, deleting any data uploaded so far
|
||||
description: Uses [a resumable protocol](https://github.com/kukhariev/node-uploadx/blob/master/proto.md) to cancel the upload of a video
|
||||
|
||||
Reference in New Issue
Block a user