optimize-v2

Generate Presigned Url Route

Generate a presigned S3 URL for secure client-side file uploads.

post/api/v1/optimize/v2/generate-presigned-url

Request body

domain_idstring required
asset_type'image' | 'logo' | 'ai_image' | 'video' | 'audio' | 'junk' | 'text_to_image' | 'pdf' | 'font' | 'other' required
file_extensionstring required
isPublishboolean nullable
asset_namestring nullable
asset_categorystring nullable
content_typestring nullable
filenamestring nullable
total_partsinteger nullable

Response

Successful Response

{"stackTrail":"paths:/api/v1/optimize/v2/generate-presigned-url:post:responses:200:content:application/json:schema","oasType":"schema","type":"unknown"}

Changes

No recorded changes to this endpoint across all 1 revision of this API.