Paginating over the events API is broken:
- I’m using the “list events” API.
- My first request is to https://api2.frontapp.com/events
- The response contains some events + _pagination.next = https://relayapp.api.frontapp.com/events?page_token=Token_1
- When I use the next page URL, I get the following response:
- The exact same events as in my first request (I was expecting the next batch of events)
- As _pagination.next, I receive the exact same URL I’ve just requested (with page_token=Token_1)
This makes this API unusable, since I don’t have a way to paginate and iterate over events.
Note:
- This happens both with and without a query. So it can’t be a query issue on my side.
- Also this only happens in /events, but pagination works as expected for any other API (e.g. conversations). However, only /events is jumping from the api2.frontapp.com domain to my app-specific domain in pagination, so might be related to that?
Is there a known bug on your side?
Thanks!
Luis.