Skip to main content

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​

Successful Response