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

Allow to get all items when looking for sourceId and sourceItemId #479

Open
KlausIllmayer opened this issue Oct 23, 2024 · 0 comments
Open

Comments

@KlausIllmayer
Copy link
Contributor

Currently, the API endpoint /api/sources/{sourceId}/item/{sourceItemId} queries against Solr. This means, we are not able to get results if the items are in the state INGESTED or SUGGESTED. But for the DACE ingestion we would need this feature. So when a user with the role system-contributor calls the endpoint, it should also deliver back the items that were ingested by this user (which is the ingestion pipeline).

Either the full API endpoint is changed so that it runs against the database and applies the authentication parameters, or a flag is introduced which allows to switch between a Solr call or a database + authentication call.

@tparkola Can you estimate which approach could be easier implemented.

If there are questions regarding the requirements by DACE please contact @ptylczynski

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

No branches or pull requests

1 participant