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

[admin-api] download re-encrypted files from the inbox #1346

Open
3 tasks
jbygdell opened this issue Feb 3, 2025 · 0 comments
Open
3 tasks

[admin-api] download re-encrypted files from the inbox #1346

jbygdell opened this issue Feb 3, 2025 · 0 comments

Comments

@jbygdell
Copy link
Collaborator

jbygdell commented Feb 3, 2025

Please describe the feature

As a submission manager, I want to be able to download (metadata) files from the inbox so they can be validated.

Acceptance criteria

  • Re-encrypted files are downloadable
  • Documentation is updated
  • Tests verifying the changes are added

Additional context

Queries like the one below could be used to download a file.

This one uses a custom header but adheres to the semantics by using GET request

curl -H "Authorization: Bearer $token" 
-H "Public-Key: LS0tLS1CRUdJTiBQVUJMSUMgS0VZLS0tLS0KTUlJQklqQU5CZ2txaGtpRzl3MEJBUUVGQUFPQ0FROEFNSUlCQ2dLQ0FRRUE0Ym1ZOFQ1amhsQ0Z0UzRjY3luOApaRGZ0V2syN3lPY1BnS2Jhazk5MS9tMXJzMzQ3NFJLSFlqYzlHd1gwSUNTYVVOMDJmQ2RFRQUIKLS0tLS1FTkQgUFVCTElDIEtFWS0tLS0tCg==" 
-X GET https://HOSTNAME/users/SUBMITTER_NAME/file/FILEID

Estimation of size

small/medium/big

Estimation of priority

low/medium/high

@pahatz pahatz changed the title [admin-api] download re-encrypted files fro the inbox [admin-api] download re-encrypted files from the inbox Feb 6, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant