cURL
curl --request GET \ --url https://api.autocaption.io/v1/signedUrl \ --header 'x-api-key: <api-key>'
{ "file": "<string>", "url": "<string>", "fields": { "key": "<string>", "bucket": "<string>", "X-Amz-Algorithm": "<string>", "X-Amz-Credential": "<string>", "X-Amz-Date": "<string>", "Policy": "<string>", "X-Amz-Signature": "<string>" } }
Returns a unique file identifier, a URL, and fields required for uploading a file to S3.
The name of the file to be uploaded.
A map of fields needed to upload the file, including the pre-signed URL.
The unique identifier for the file, used as the file name in S3.
The URL of the S3 bucket to which the file should be uploaded.
A map containing all the fields required for the upload server.
Show child attributes