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

Implement some kind of "delete asset" functionality #31

Open
printer83mph opened this issue Apr 10, 2024 · 0 comments
Open

Implement some kind of "delete asset" functionality #31

printer83mph opened this issue Apr 10, 2024 · 0 comments
Labels
enhancement New feature or request good first issue Good for newcomers

Comments

@printer83mph
Copy link
Member

printer83mph commented Apr 10, 2024

A really basic implementation could be something like DELETE /assets/{uuid}
(theoretically deletes asset + all associated versions)

BUT a more robust implementation could be PUT /assets/{uuid}/archive with body { archived: true } to "archive" an asset
with archive kind of working like trash where it doesn't actually delete anything yet
and then maybe some route to clear archive like DELETE /assets/archive

@printer83mph printer83mph added enhancement New feature or request good first issue Good for newcomers labels Apr 10, 2024
@printer83mph printer83mph changed the title Delete asset functionality Request: some kind of "delete asset" functionality Apr 10, 2024
@printer83mph printer83mph changed the title Request: some kind of "delete asset" functionality Implement some kind of "delete asset" functionality Apr 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

1 participant