Different items in API and Library

Hello,

I am developing a wordpress plugin for searching within my zotero library. I am using API to get all items from my library using PHP script I extract and store some of theme in my website database.

But the problem is here in zotero library show me only 33 items where as API returns more the 100+ item object. But still all items from library are not included in API. So I want to know why this data miss match is here.

Here are my info which will help to understand:

This is my Zotero user id: 783482
Library URL: https://www.zotero.org/groups/783482/rbsn/library
API Endpoint: https://api.zotero.org/groups/783482/items/?start=0 (till start 125)

Basically I want all items from library to appear in API call.

Thanks in advance.
  • edited July 29, 2021
    Notes (and attachements although I don't think you have any) attached to items are individual items for API purposes but appear in the respective tab in the library and thus don't count towards the displayed total number of items

    So
    https://api.zotero.org/groups/783482/items/top?limit=50 which shows only top level items returns 33 items.
Sign In or Register to comment.