Skip to content

Conversation

vinismarques
Copy link
Member

@vinismarques vinismarques commented Apr 26, 2024

Adds an endpoint to delete specific files in the upload server. It is useful to manage files only through the API instead of doing it on disk directly and when deleting all files is not desirable, like in /clean.

Added it as GET to /delete-file/{filename} to not break consistency with the other endpoints, even though using DELETE on /file/{filename} would likely be cleaner.

@vinismarques vinismarques merged commit a54473e into main May 3, 2024
@vinismarques vinismarques deleted the add-delete-file branch May 3, 2024 15:39
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.

2 participants