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

Make a DELETE route for Tags #120

Open
Trobbi opened this issue Jan 21, 2025 · 0 comments
Open

Make a DELETE route for Tags #120

Trobbi opened this issue Jan 21, 2025 · 0 comments
Labels
good first issue Good for newcomers

Comments

@Trobbi
Copy link
Contributor

Trobbi commented Jan 21, 2025

We want to be able to delete tags in the database, so we need a DELETE route for this.

What needs to be done?

  1. Create a route called delete_tag
  2. Create/find an appropriate schema for the output (This might be found in api_schemas/tag_schema.py).
  3. Do a query to find the tag associated with the specified tag_id. If the tag object doesnt exist, raise an exception (404 Not found).
  4. Remove the tag and update the database.
  5. Add appropriate Permissions (The appropriate permissions might not be decided yet, see Decide how the Tag permissions should work. #119 ).
@Trobbi Trobbi added the good first issue Good for newcomers label Jan 21, 2025
@Trobbi Trobbi changed the title Make a delete route for Tags Make a DELETE route for Tags Jan 21, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

1 participant