_meta and _links pagination info not properly updated

8 views
Skip to first unread message

cr...@cadetech.cl

unread,
Jan 24, 2019, 7:52:36 AM1/24/19
to Eve REST Framework

Hello there!,


I have an endpoint with Eve Framework which I'm constantly posting data. When retrieving data, I got the _meta and _links information not updated properly. For example:

retrieving http://domain/endpoint returns:


	_items  […]
_links
parent {…}
self {…}
next {…}
last
title "last page"
href "endpoint?page=20971"
_meta
page 1
max_results 60
total 1258231

Ok, if I calculate the total pages: ceil(1258231/60) is 20971 pages. But I found that in reality, it has more data than is informed, I can visit the page 21001 and I still getting data in the _items member.

Any idea what is happening? Could be something in my mongodb database?

Best regards

Reply all
Reply to author
Forward
0 new messages