Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Events pagination #52

Closed
luxifer opened this issue Mar 7, 2016 · 1 comment
Closed

Events pagination #52

luxifer opened this issue Mar 7, 2016 · 1 comment

Comments

@luxifer
Copy link

luxifer commented Mar 7, 2016

I'm implementing a dashboard for mailgun (https://github.com/Xotelia/mailgun-dashboard). I have a question regarding the event pagination. There is a next and previous link in event API response. But with the implementation of the API I have to request the first page and then, if we are on page ten I will have to call GetNext() 10 times. Is it possible to pass an offset to GetEventsOptions? And also, how the pagination works ? based on timestamp? Offset? whatever?

@mbanzon
Copy link
Collaborator

mbanzon commented Jul 10, 2016

Sorry for the response time.

Please refer to the events part of the API documentation - as far as I can see there is no way to specify an offset. The docs will also contain the relevant information about sorting eg.

@mbanzon mbanzon closed this as completed Jul 10, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants