-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Labels
Description
Summary
Build an API that allows clients to upload a file, store it in our S3 input bucket, process it via PDF_Accessibility (https://github.com/psu-libraries/PDF_Accessibility), and provide a presigned URL for downloading the processed file from our output bucket.
Acceptance Criteria
- The API accepts a presigned URL, generates a unique job_id, and returns the job_id to the client
- The API asynchronously fetches the file from the presigned URL
- The API uploads the file to our S3 input bucket
- The service monitors the status of the pdf remediation process
- The client can poll the API for job_id status: processing, completed, failed
- When status is completed, the client can request a presigned URL to download the processed file
- Presigned download URLs expire after a configurable time (default: 1 hour)