-
Notifications
You must be signed in to change notification settings - Fork 399
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
feat(api): get the contents of the file #2456
Conversation
7ea66b9
to
7df86aa
Compare
0c30588
to
07253b2
Compare
07253b2
to
ca95841
Compare
92365bd
to
2a56b10
Compare
There was a problem hiding this 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.
Hey @dushimsam , please use this patch file to fix the test cases. |
This pull request has conflicts, please rebase with master to resolve those before we can evaluate the pull request. |
2a56b10
to
67fc402
Compare
Thank you so much, dear @GMishx, it worked 👍. |
Signed-off-by: dushimsam <dushsam@gmail.com>
67fc402
to
55b06cc
Compare
Description
Added the API to retrieve the contents of a specific file.
Changes
UploadController
to handle the logic.index.php
) by adding a new routeGET
/uploads/{id}/item/{itemId}/view
.openapi.yaml
file to introduce a new API.How to test
Make a GET request on the endpoint:
/uploads/{id}/item/{itemId}/view
Screenshots
Related Issue:
Fixes #2454
cc: @shaheemazmalmmd @GMishx