v3

latestOpenAPI 3.1.02026-08-0712650111.6 KB

Refresh Upload Url

Recover an upload whose Mux URL expired, or cancel its Mux session.

Before minting anything the server asks Mux about the OLD upload: if it actually completed (the client's final-chunk ack was lost), the existing asset is ADOPTED onto this row instead of being orphaned — a fresh URL here would strand a live, billed Mux asset whose webhook no longer matches any mapping (upload-sdk spec §6.3/§8.3).

The guard accepts "errored" rows with no asset in addition to "waiting_for_upload": the status-sync poller flips timed-out uploads to errored, and that is exactly the state a client returning after a long gap finds.

post/v1/content/{content_id}/upload-url

Path parameters

content_idstring uuid required

Request body

cancelboolean

Response

Successful Response

{"stackTrail":"paths:/v1/content/{content_id}/upload-url:post:responses:200:content:application/json:schema","oasType":"schema","type":"unknown"}