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 filtering item search results by a contributor's actor id and role #486

Open
stefanprobst opened this issue Nov 18, 2024 · 0 comments

Comments

@stefanprobst
Copy link
Contributor

some consumers of the sshoc marketplace api need to filter the /api/item-search response by a specific institutional affiliation, i.e. a specific contributor.

one example is the tools and services catalogue on the dariah.eu website (https://www.dariah.eu/tools-services/tools-and-services/), similar listings are in planning stage.

filtering item search results by a specific contributor's actor.id and role.code is currently rather cumbersome. how difficult would it be to add such filtering capabilities to /api/item-search?


i am aware i can get items associated with an actor via /api/actors/:id?items=true, however this does not provide information about the actor's role, so it would require separate requests for each search result to figure out the role and use it for filtering.

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