Uploading a File
An uploaded file must be related to an object by its ID. Uploading a file is a 3-step process.
Step 1. Get the upload URL
Section titled “Step 1. Get the upload URL”Request a signed upload URL for each file via the file upload URL endpoint.
The response contains:
fileName— a hash used to store the file (required in the next steps)uploadUrl— a signed URL with a time constraint
Step 2. Upload the file
Section titled “Step 2. Upload the file”Upload the file using the uploadUrl from the previous step. Files are uploaded directly to AWS S3. Refer to the AWS S3 documentation on how to compose the upload request.
Step 3. Create the file object
Section titled “Step 3. Create the file object”Register the uploaded file via the file create endpoint.