marketplace

Upload Media File

Proxied upload: the browser POSTs the file to the backend, which streams it to S3 server-side. Use this instead of the presigned PUT + /complete pair when the bucket has no browser CORS configured. Create the asset first via /media/upload-session, then POST the file here (no /complete call needed).

post/v1/marketplace/media/{asset_id}/upload

Request

  • Base URL: https://api.kodik.ru (the document declares no server; this is the origin it was published from)
  • URL: https://api.kodik.ru/v1/marketplace/media/{asset_id}/upload
  • Auth: HTTP bearer

Path parameters

asset_idstring required

Response

Successful Response

assetIdstring required
status'pending' | 'uploading' | 'processing' | 'ready' | 'failed' required
durationSecondsinteger nullable
playbackUrlstring nullable
thumbnailUrlstring nullable

Changes

No recorded changes to this operation across all 26 revisions of this API.