poll_for_upload
Poll S3 bucket waiting for photo upload to complete. Returns a presigned download URL when the file is ready. The same session_id can be used to poll for new uploads multiple times, allowing the capture URL to be reused.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| timeout | No | Max seconds to wait for upload | |
| not_etag | No | Only detect files with different ETag than this value, used to poll for new uploads | |
| session_id | Yes | Session ID to poll for, in UUID format | |
| modified_since | No | Only detect files modified after this date in ISO 8601 or HTTP date format |
Output Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| etag | Yes | ETag of the uploaded file, can be used with not_etag parameter for subsequent polls | |
| download_url | Yes | Presigned GET URL to download the uploaded photo, valid for 7 days | |
| last_modified | No | Last modified timestamp of the uploaded file from S3 |