hub

Get a pre-signed upload URL for a hub asset

[cloud-only] Returns a pre-signed URL that can be used to upload an asset file directly to storage.

post/api/hub/assets/upload-url

Request body

filenamestring required

Name of the file to upload

content_typestring required

MIME type of the file

sizeinteger

File size in bytes

Response

Upload URL

upload_urlstring uri

Pre-signed upload URL

asset_urlstring uri

Public URL after upload completes

Changes