[OPEN] Pagination link headers broken with Conferences API

Canvas

Engineers are currently investigating the issue.

Description

When trying to paginate the Conferences API, it continually returns the first page of results. The link headers always return page=first regardless of which page it’s referencing:

Expected Behavior

If you are requesting a page of results, it should return proper link headers so you can page between the content of the endpoint.

Workaround

If there are 100 or less Conferences for the user then they can use per_page=100

Steps to Reproduce

Prereq: A published course in canvas with a student enrolled.

  1. Create 21 conferences in the course because you’re just so busy.

  2. As the student in the course navigate to /api/v1/conferences in your browser.

  3. Right click and open the network console and refresh the paage.

  4. Check the request to that endpoint and notice the headers tab the “Link” header has incorrect paging for each entry.

Additional Info

VICE-5184


Known issues indicate notable behaviors that have been escalated to the Canvas engineering team. Known issues are not a guarantee for an immediate resolution. This document is for informational purposes only and does not replace the Support process. If you are encountering the behavior outlined in this document, please ensure you have submitted a Support case (per your institution's escalation process) so Canvas Support can adequately gauge the overall customer impact and prioritize appropriately.

Labels (1)
Tags (1)