Page_view looping the first 100 results
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello All,
I'm hoping someone can help me understand something that I can seem to get my head around. I'm trying to see a list of a users page views past the last 100 entries. I have the following query entered through the URL
/api/v1/users/xxx/page_views?per_page=100&page=y
So my thought was I'll just view it through my browser just to better understand the structure, the first page looks correct, so added 1 to the page number to see the next page, exactly the same results returned. Seemed unusual so I upped the page number to a ridiculously large number to ensure it would return an empty array. But it didn't, it returned the same 100 results again and continues to regardless of the page number I enter.
I've used this query structure before to return data and it would correctly return back the next page as needed. I've been pointed towards the rel value in terms of first, next and last, but that's not making sense to me. The rel values seem to relate more to a page count rather then data repeating.
Has anyone come across this before, any idea whats happening and what I'm not understanding?
Thanks