Replace Video File
POST/v1/videos/:id/replace/
Starts uploading a new file in place of the video's source, in parts as Create
Video's upload: sign them with Sign Upload Parts, PUT each, then Complete Upload,
which puts it in and encodes every format again from it. It plays as
it was meanwhile (source_state is replacing); its ID, links, settings, chapters and
caption tracks stay. 409 until its file is in, or while it's encoding, making captions
or cut into a clip; 402 once the plan's storage, encoding or delivery is used up, as
for a new video. A file longer than the plan's longest video fails its formats, and the
old file plays on.
Request
Responses
- 200
- 401
- 403
- 404
- 422
Successful Response
No token, or it's expired or revoked
The token's role is too low
It doesn't exist, or isn't in the token's project
Validation Error