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

FEATURE: add an API endpoint to touch a dataset, thereby updating its content updated date to the current time #3840

Open
brrttwrks opened this issue Aug 5, 2024 · 1 comment
Assignees
Labels
feature-request Requests for new features or enhancements of existing features release-notes
Milestone

Comments

@brrttwrks
Copy link

Is your feature request related to a problem? Please describe.
We update datasets using FTM_STORE and reindex. This doesn't change the last content updated date. Currently the only way to touch a dataset is by running an aleph container based on the aleph image loaded with the production secrets to talk to prod Aleph to run aleph touch dataset. This is not ideal, as we are trying to decouple our workflows/data processing from production Aleph as much as is possible. I don't like having to have all the prod secrets to do this.

Describe the solution you'd like
A new Aleph API endpoint would help solve this problem:

https://aleph.occrp.org/api/2/collections/{collection_id}/touch

Describe alternatives you've considered
Running aleph in a container with all production secrets loaded :/

Additional context
Add any other context or screenshots about the feature request here.
Nope

@brrttwrks brrttwrks added feature-request Requests for new features or enhancements of existing features triage These issues need to be reviewed by the Aleph team labels Aug 5, 2024
@tillprochaska
Copy link
Contributor

Small additional requirement from yesterday’s conversation: This should probably be an admin only endpoint

@catileptic catileptic self-assigned this Aug 8, 2024
@stchris stchris added release-notes and removed triage These issues need to be reviewed by the Aleph team labels Sep 24, 2024
@stchris stchris added this to the 4.0.0 milestone Sep 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature-request Requests for new features or enhancements of existing features release-notes
Projects
None yet
Development

No branches or pull requests

4 participants