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

Resource storage older than X days deletion #392

Merged

Conversation

anikaweinmann
Copy link
Member

@anikaweinmann anikaweinmann commented Oct 31, 2022

Add parameter for the resource_storage endpoint to delete only resource files older than x days, e.g.:

curl -X DELETE -u XXX:XXX http://127.0.0.1:8088/api/v3/resource_storage?olderthan=5

The API is adjusted in actinia-org/actinia-api#10.

Copy link
Member

@mmacata mmacata left a comment

Choose a reason for hiding this comment

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

Thanks!

@neteler neteler added this to the next_minor milestone Nov 8, 2022
@anikaweinmann anikaweinmann merged commit 38e5eb9 into actinia-org:main Nov 22, 2022
@mmacata mmacata modified the milestones: next_minor, 4.4.0 Nov 22, 2022
@anikaweinmann anikaweinmann deleted the resource_storage_delete_olderthan branch January 17, 2023 07:47
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.

3 participants