-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
WEB_EVENTS_PER_PAGE does not work using API #3106
Comments
Thanks for opening your first issue here! Just a reminder, this forum is for Bug Reports only. Be sure to follow the issue template! |
The API does not follow WEB_EVENTS_PER_PAGE - that is primarily for the console/UI. |
According to the documentation, API respects WEB_EVENTS_PER_PAGE https://zoneminder.readthedocs.io/en/stable/api.html |
Ok thanks you. |
I actually don't like that we limit our results to 100. When we do, it should be considered an ERROR. Caller should specify a limit. We should deal with the issues around ram limits DOS etc... |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
Describe Your Environment
Zoneminder 1.34.22
Debian Buster
Describe the bug
WEB_EVENTS_PER_PAGE seems to be not used using API /events/index
Steps to reproduce the behavior:
Expected behavior
API returns WEB_EVENTS_PER_PAGE items (default is 25)
The text was updated successfully, but these errors were encountered: