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

feat: Add delete file from source endpoint #1893

Merged
merged 1 commit into from
Oct 15, 2024

Conversation

mattzh72
Copy link
Collaborator

Description:

Add delete file from source endpoint. We introduce an endpoint that, given:

  • source_id
  • file_id

Can delete the file with file_id from the source with source_id. This endpoint returns a 204 code upon successful deletion.

Testing:

Wrote a simple unit test covering adding a file and then deleting it.

Copy link
Collaborator

@sarahwooders sarahwooders left a comment

Choose a reason for hiding this comment

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

lgtm!

@sarahwooders sarahwooders merged commit cd51bca into main Oct 15, 2024
15 checks passed
@cpacker cpacker deleted the matt-add-delete-file-route branch October 16, 2024 03:55
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