Hi All,
there was once a ticket → Request over 100 tickets via /api/v1/tickets/ asking for the possibility to query the total amount of tickets in Zammad (mandatory for pagination).
I think this is closed Show count of objects in API response headers · Issue #451 · zammad/zammad · GitHub
Is there any plan to make this available within API?
Thanks a lot for your help,
See here and specifically the Only Total Count
Parameter.
I have tried that queryParam, but it didn’t dished out “total_count” as it documented
{{host}}/api/v1/tickets?only_total_count=true
It again dished out 100 objects in api response but no “total_count” in response.
Am i missing anything, please help.
Thanks
Posting this request to the API gives me just the total number of open tickets:
api/v1/tickets/search?query=state.name:new&only_total_count=true