04-06-2022 11:08 PM
Query from Markus Schulze in #webex4devs space
My understanding is that I don't get pagination links if there is no more data. Why does this not happen with the API endpoint GET /v1/broadworks/subscribers. Do I also need to check if the returned list is empty, since the links come overall?
04-06-2022 11:13 PM
Hi Markus,
Are you seeing the pagination link always, even if there is not more than 100 rows.
In that case, could you share us your Request payload and the JSON response as well.
If you could share the details in a text file here than the raw text, would be helpful for us to check further.
Thank you!
04-06-2022 11:51 PM
Hi sandiban,
the link is always there, when it can not be processed in one query.
The Response is an empty list
{ "items": [] }
But the pagination links for more pages are still there:
{ 'prev': {'url': 'https://webexapis.com/v1/broadworks/subscribers?after=1648591200000&max=100&offset=3600', 'rel': 'prev'}, 'next': {'url': 'https://webexapis.com/v1/broadworks/subscribers?after=1648591200000&max=100&offset=3800', 'rel': 'next'} }
Cheers,
Markus
04-07-2022 01:23 AM
Hi Markus,
Thanks for the details.
Looks like a Bug, thanks for sharing the response!
We're going to check with our API Engg. team and to track the issue, kindly share the details to - devsupport@webex.com
It'd directly create a Support ticket and we can track the progress of the Bug as well.
Thanks!
04-07-2022 02:36 AM
already done via TAC Case: 693361055
04-07-2022 08:06 AM
Hi Markus I think you would be better served by reaching out to us through devsupport@webex.com, we're the team that deals with this API. Emailing us will create a ticket and we can then follow up on this issue, please include trackingIDs for your requests too (you can get them in the response headers). The TAC team wouldn't be the right team for this, it looks like they have redirected you to us in any case.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide