Open
Description
openedon Jan 5, 2023
The current implementation of Canvas_API_call
function relies on the ref="last"
value returned from the Canvas Pagination link header
However, the last value may be missing if the API call is expensive for all pages:
These will only be included if they are relevant. For example, the first page of results will not contain a rel="prev" link. rel="last" may also be excluded if the total count is too expensive to compute on each request.
As a result, the sis_set_url.rb now only works on the first page (100 courses) returned from Canvas course API call, and did not update all course site urls.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Metadata
Assignees
Labels
No labels