Components

Get upload URL for component

Changed on

Returns a presigned URL for uploading the component image directly to storage. Use this after creating an empty component (POST without image).

get/api/v0/components/{component_id}/upload-url

Request

Path parameters

component_idstring required

Response

Successful Response

urlstring required

The presigned upload URL

content_typestring required

The Content-Type header the PUT must carry. On S3 and GCS the URL is signed for this value, and storage refuses a PUT that sends another.

Changes