-
Notifications
You must be signed in to change notification settings - Fork 33
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
Files list end point refactor #1529
Conversation
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.
Good job, just minor comments
Thank you so much @korgan00 , as soon as I return from vacations I will take a look 🙏 |
Apart from the comment from enum I think I addressed all your comments, @korgan00 . Thank you so much for the review, definitely it got quite better the PR. |
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.
Looks very good, some minor extra comments
I closed the conversation around the enum assuming is fine for you, @korgan00 👍 |
Summary
This PR is part of an effort to stabilize
files
API end-points in #1509This PR focuses on
files/
andfiles/provider/
end-points to be able to list the files in the working directories for the user and for the provider.Details and comments
files/
end-point was separated in two:files/
now contains the paths:username/
andusername/provider/function
with the purpose to separated files from functions from the user's root folderfiles/provider/
to manage the pathprovider/function
so now each function will have its own folder in the provider directory.FileStorage
was created to manage the logic of access to this storage for providers and users with the purpose to simplify the view.