Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add an endpoint for getting an attachment with a download URL #26

Open
3 tasks
joelvdavies opened this issue Oct 2, 2024 · 0 comments
Open
3 tasks
Labels
enhancement New feature or request

Comments

@joelvdavies
Copy link
Collaborator

joelvdavies commented Oct 2, 2024

Implement a GET endpoint /attachments/<attachment_id> that:

  • Generates a pre-signed download URL for the attachment file
    • Should use the original file_name for the download
  • Returns the attachment metadata
    • Excluding object_key
    • Including the download url
  • Must gracefully deal with a situation when the file object with the given object_key doesn't exist
@joelvdavies joelvdavies added the enhancement New feature or request label Oct 2, 2024
@joelvdavies joelvdavies moved this from Backlog to Up Next in Inventory Management System Dec 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Status: Up Next
Development

No branches or pull requests

1 participant