AnsweredAssumed Answered

Am I mistaken or is pagination in the "List user page views" API broken?

Question asked by David Taylor on Oct 4, 2018
Latest reply on Oct 9, 2018 by Peter Love

I have been playing around with the "List user page views" API endpoint and pagination appears to be broken...or I'm an idiot.  Either possibility is equally likely.

 

Normally, when you go and get a page of data you will get a "next" in the header as explained here:
Pagination - Canvas LMS REST API Documentation 

 

I've written lots of API calls and this always works fine.  HOWEVER, when I try to bring back page views it *ALWAYS* shows that there is a "next" page even when there is not.  Obviously this is a problem because my code keeps going back for more data.

 

I would love some feedback.  I'm hoping I'm just missing something, but I'm afraid that this API endpoint just does not work like all of the others I've used. 

Outcomes