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

Filter by multiple set support #22

Open
anotheredward opened this issue Mar 20, 2019 · 0 comments
Open

Filter by multiple set support #22

anotheredward opened this issue Mar 20, 2019 · 0 comments

Comments

@anotheredward
Copy link

Hi @metaodi ,

We're looking at adding support to the Config object to support an array of sets, in addition to the current string value.

eg:

{
"metadata_prefix": "oai_dc",
"set": ["portal_12", "item_type_3"]
}

Would generate a url like this: https://api.figshare.com/v2/oai?verb=ListRecords&metadataPrefix=oai_dc&set=portal_12&set=item_type_3

This change won't break any existing harvests, but will allow more specific queries.

Any thoughts on this? And would you be happy to merge this change back in once we're done?

Thanks,
Edward

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