Can I get subitems with the item through the API?

Is it possible to get subitems through a single API call?

I can get all the items in a collection, but each item has a link attached (usually an Amazon link). I do not see that link (or any subitems) in the returned XML under the "entry" element.

I know I can get everything with a /children call, but do I need a make a separate call for that? I'd love to get everything in one call.
  • You can get child items in your library with a single call (i.e., without using /top), but not child items in a collection, since those aren't considered to be in the collection the way the Zotero client and API work now. So you'd need to make additional /children calls for items where numChildren is non-zero.

    (For future reference, it's better to post API questions to zotero-dev.)

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.

Sign In or Register to comment.