Limit for xAPI Statement retreival via a single call


Submitted Question:

Is the GET request to an enpoint limited to 100 statements?  Is there anyway to bump it up in the query string itself?


The LRS limits the # of statements returned on any particular call as a load limiting mechanism.

You should find something like this at the end of the list of statements, if the result set was limited:

"more": "/statements/?continueToken=8c389c01-3bd0-4a09-91fa-822a397261cb"

Then you would use that relative URL on the TCAPI to fetch the next "page" of results.

To be sure, if access is needed to massive piles of statements, they should be saved in faster storage closer to the client, or at least the reporting information from them should be stored and updated incrementally. Regularly pulling thousands of statements on demand as part of a user's experience is definitely not recommended.

Was this article helpful?
0 out of 0 found this helpful
Have more questions? Submit a request
Powered by Zendesk