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

api: GET /files includes dirs, GET metadata #18

Merged
merged 9 commits into from
Apr 30, 2024
Merged

Conversation

ada-phillips
Copy link
Contributor

Modify GET single file endpoint to use :file_path instead of :file_name
Modify /print/start to use :file_path instead of :file_name Modify GET /files response to also return directory vec, allowing the UI to hit one endpoint for filescreen population and eventual sorting/filtering
Add GET /files/:location/:file_path/metadata endpoint for getting metadata for a single file

Modify GET single file endpoint to use :file_path instead
of :file_name
Modify /print/start to use :file_path instead of :file_name
Modify GET /files response to also return directory vec,
allowing the UI to hit one endpoint for filescreen population
and eventual sorting/filtering
Add GET /files/:location/:file_path/metadata endpoint for getting
metadata for a single file
@ada-phillips ada-phillips requested a review from PaulGD03 April 27, 2024 17:04
Revert config version to 0.13.4 until the case bug is resolved
rust-cli/config-rs#531
Move /files/:location/:file_path to /file with query params
to support file_path parameter with slashes
Move metadata endpoint to /file/metadata, with same query params
Rename location category param to location
@ada-phillips ada-phillips merged commit ef107a2 into main Apr 30, 2024
2 checks passed
@ada-phillips ada-phillips deleted the files_api_revamp branch April 30, 2024 00:21
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

Successfully merging this pull request may close these issues.

1 participant