Paginated endpoint list
답변함Hi there, is there an up-to-date list of endpoints supporting pagination? This (https://support.zendesk.com/hc/en-us/articles/4408846180634-Introducing-Pagination-Changes-Zendesk-API) dates back to October 16th.
Thanks
-
Hi Alberto! I sent a message to the team that handles that to see if we have an updated list. I'll let you know when I hear back from them and then ask them to update that if any additional endpoints have been added.
-
Hi Alberto, unfortunately the Zendesk API consists of hundreds of endpoints owned by different dev teams in the company, so it's almost impossible to keep an up-to-date, running list of endpoints that support cursor-based pagination.
If the doc for an endpoint doesn't specify that cursor-based pagination is supported, then the endpoint only supports offset pagination.The convention is described in the Pagination section in the API introduction at https://developer.zendesk.com/api-reference/ticketing/introduction/#pagination:
See the API documentation for an endpoint to determine which pagination methods it supports. If no pagination method is specified, the endpoint only supports offset pagination.
Thanks.
-
OK, thank you for the support.
It seems like, though, Ticket Metrics Events is paged in a slightly different (probably additional) way: in order to get different pages with different data I had to change the value of the start_time parameter (which is in Unix format).
It seems also like this is not documented; am I right?
댓글을 남기려면 로그인하세요.
3 댓글