Skip to main content

We are setting up to pass some data to another system that does not have a connector available.

If I use and endpoint and the end of the call (page size = 200) returns the following.

    "count": 200,
"has_more_data": true,
"cursor": null,
"current_page": 1,
"current_page_size": 200,
"total_page_count": 87,
"total_count": 17306

Is that 1 call? Or 200 calls?

If it is one, then 87 calls would get my data, but that seems too good to be true.

On the off chance that someone is looking for the same thing in the future:

 

You can define the page length in your call (like you did) and some of the APIs like course/v1/courses/enrollments will return the total number of pages (87 for you). 87 calls should get all of your data.

 

There’s some documentation about the maximum number of calls to the API in a period of time. In my experience that is more of a recommendation than a limit. 😉


Reply