在API级别禁用eve mongodb上的分页

在API级别禁用eve mongodb上的分页,mongodb,eve,Mongodb,Eve,所以我有一个类似这样的API http:exmaple.com/people 当我使用它检索数据时,响应限制为每页25个条目。我希望一次接收所有数据,即绕过分页。我没有访问服务器的权限。如何做到这一点。我试着把?page=全部和更多的东西放进去。但似乎什么都不起作用。我试过max、skip,但也没有效果 有许多(服务器)设置允许API维护人员打开和关闭分页功能。引述: 如果您无权访问服务器,则无法全局或在端点级别禁用分页 谢谢你的回复。如果有一种方法可以一次访问所有数据,那就太酷了。可能是设置?

所以我有一个类似这样的API
http:exmaple.com/people
当我使用它检索数据时,响应限制为每页25个条目。我希望一次接收所有数据,即绕过分页。我没有访问服务器的权限。如何做到这一点。我试着把?page=全部和更多的东西放进去。但似乎什么都不起作用。我试过max、skip,但也没有效果

有许多(服务器)设置允许API维护人员打开和关闭分页功能。引述:


如果您无权访问服务器,则无法全局或在端点级别禁用分页

谢谢你的回复。如果有一种方法可以一次访问所有数据,那就太酷了。可能是设置?第=-1页可能触发了这个。对于那些和我处境相似的人。有一种叫做“最大结果”的东西。这将增加页面返回的条目数。您是否尝试使用一些代码与mongodb协同工作?我没有访问或控制mongodb的权限。我只能访问eve rest api。
PAGINATION. True if pagination is enabled for GET requests, otherwise False. Can be overridden by resource settings. Defaults to True.

PAGINATION_LIMIT. Maximum value allowed for QUERY_MAX_RESULTS query parameter. Values exceeding the limit will be silently replaced with this value. You want to aim for a reasonable compromise between performance and transfer size. Defaults to 50.

PAGINATION_DEFAULT. Default value for QUERY_MAX_RESULTS. Defaults to 25.

OPTIMIZE_PAGINATION_FOR_SPEED. Set this to True to improve pagination performance. When optimization is active no count operation, which can be slow on large collections, is performed on the database. This does have a few consequences. Firstly, no document count is returned. Secondly, HATEOAS is less accurate: no last page link is available, and next page link is always included, even on last page. On big collections, switching this feature on can greatly improve performance. Defaults to False (slower performance; document count included; accurate HATEOAS).