Start presigned document upload
POST/projects/:projectPid/documents/upload-init
Returns a presigned PUT uploadUrl and s3Key for uploading the original bytes directly to object storage. Caller must PUT the file to uploadUrl, then call upload-complete with the same s3Key. Requires project access; returns 404 when projectPid is unknown or not visible.
Request
Responses
- 200
- 401
- 403
- 404
- 422
- 503
Success
air/UnauthorizedError
air/ForbiddenError
NotFound
air/SchemaValidationError
air/AuthUnavailableError