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

A new endpoint that restores a 'soft-deleted object' or 'makes a specific version current' #42

Open
TimCsaky opened this issue Jun 22, 2022 · 0 comments
Labels
enhancement New feature or request good first issue Good for newcomers

Comments

@TimCsaky
Copy link
Contributor

TimCsaky commented Jun 22, 2022

Currently, to restore a a soft-deleted object using COMS you call:
DELETE /object/<object ID>/?versionId={version ID of Delete marker}
You are deleting the delete-marker version. This is the S3 way

But you need to know the delete-marker version ID.
And maybe you want to restore a different version, not just the last active version.

Maybe COMS could have an API endpoint that makes it easier
something like:
/object/<object ID>/restore?versionId={version ID}

Give a thumbs up if you agree.

@jujaga jujaga added enhancement New feature or request good first issue Good for newcomers labels Jun 23, 2022
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

2 participants