Retrieve items from a search
Hello all.
I got a small problem. I am using the Zotero API to retrieve publications and display them on my webpage. I have now created a 'smart collection' by defining and saving a search. I can get a list of all searches in my library by sending a get request to
https://api.zotero.org/users/<userId>/searches?key=<apiKey>
However, there seems to be no way to retrieve all items matched by the search. For a collection I would do this:
https://api.zotero.org/users/<userId>/collections/<collectionId>/items?key=<apiKey>
The analog request for a search would be
https://api.zotero.org/users/<userId>/searches/<searchId>/items?key=<apiKey>
But this doesn't work. Does anyone know how to do this?
Thanks a lot...
I got a small problem. I am using the Zotero API to retrieve publications and display them on my webpage. I have now created a 'smart collection' by defining and saving a search. I can get a list of all searches in my library by sending a get request to
https://api.zotero.org/users/<userId>/searches?key=<apiKey>
However, there seems to be no way to retrieve all items matched by the search. For a collection I would do this:
https://api.zotero.org/users/<userId>/collections/<collectionId>/items?key=<apiKey>
The analog request for a search would be
https://api.zotero.org/users/<userId>/searches/<searchId>/items?key=<apiKey>
But this doesn't work. Does anyone know how to do this?
Thanks a lot...
This is an old discussion that has not been active in a long time. Before commenting here, you should strongly consider starting a new discussion instead. If you think the content of this discussion is still relevant, you can link to it from your new discussion.
This discussion has been closed.
https://groups.google.com/forum/#!forum/zotero-dev