8000 feat(api): Download file using UploadID by soham4abc · Pull Request #2309 · fossology/fossology · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

feat(api): Download file using UploadID #2309

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

Merged
merged 1 commit into from
Sep 5, 2022
Merged

Conversation

soham4abc
Copy link
Contributor
@soham4abc soham4abc commented Sep 2, 2022

Description

API endpoint for downloading file using Upload ID

Changes

Created a new function in the UploadController.php named uploadDownload()

How to test

use the endpoint localhost/repo/api/v1/uploads/<UploadID>/download to get the file as an API response

Screenshot

image

PTAL @GMishx @shaheemazmalmmd

8000

Copy link
Member
@GMishx GMishx left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Changes looks good. Tested, working as expected.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants
0