Skip to content

What we want the API to do #1

@ajkiessl

Description

@ajkiessl

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)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions