The Instructure Community will enter a read-only state on November 22, 2025 as we prepare to migrate to our new Community platform in early December.
Read our blog post for more info about this change.
Found this content helpful? Log in or sign up to leave a like!
Hi all,
I'm new to Canvas and just finding my way around so hoping I'm missing something and there is a more straight forward solution to my issue.
We have a dashboard in our schools website showing things like todays timetable and upcoming assignments. A problem we have is that some teachers use sections for different classes and their assignments have different due dates. A search through the API using 'courses/course_id/assignments' returns the assignment due date which isn't the same as the due date set in some of the sections for this course. I have found I can get to this information but it requires the following seperate requests from the API which add considerably to the page load time :
That provides all the data required to find a students actual due date. I'm hoping there is a more direct path to this that I'm missing.
Digging deeper into this with @sadenniston we found an odd thing with the 'courses/course_id/assignments' endpoints. When you set alternative delivery dates for sections or individual users the api sets the use date for the assignment to the last of these overrides. Therefore setting a longer due date for one student means the api will return that longer date as the due_date for the assignment for everyone (if it was the last added). Which seems to be exactly what you aren't trying to achieve by giving a student an extension. Has anyone else encountered this?
This little factoid is quite helpful and 7 years later appears to still be the case - I'm just curious to know if there are any plans to change this behaviour to reflect multiple due_date data more accurately.
Community helpTo interact with Panda Bot, our automated chatbot, you need to sign up or log in:
Sign inTo interact with Panda Bot, our automated chatbot, you need to sign up or log in:
Sign in