Hello everyone,
I’m encountering an issue with the `Total-Results` header when trying to retrieve the total number of used tags in a group library.
When I request
`https://api.zotero.org/groups/<group-id>/items/tags`
the response header reports `Total-Results: 399`. However, I’m certain that the library contains more than 399 tags. In fact, when iterating through the results, I can successfully retrieve additional tags — for example, this query still returns results:
`https://api.zotero.org/groups/<group-id>/items/tags?start=700&limit=100`
I am using version 3 of the Zotero API.
I rely on `Total-Results` for pagination, but at the moment it appears to provide only a partial count. I could adjust my application to continue requesting pages until an empty array is returned, but that would make the Total-Results header somewhat meaningless.
If helpful, I can provide a link to my library for debugging.
Any assistance or clarification would be greatly appreciated.
Thank you!
Julian
Fai crescere le giovani ricercatrici e i giovani ricercatori
con il 5 per mille alla Sapienza
Scrivi il codice fiscale dell'Università 80209930587
Cinque per mille