air_upload_document_init
Obtain a presigned upload URL and S3 key for uploading a document to a project. PUT file bytes to the URL, then call the completion step.
Instructions
Start presigned upload: returns uploadUrl and s3Key. PUT file bytes to uploadUrl, then call air_upload_document_complete. Requires projects:write.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| filename | Yes | Original filename including extension | |
| projectPid | Yes | ||
| contentType | Yes | MIME type, e.g. application/pdf |