To Our Amazing Educators Everywhere,
Happy Teacher Appreciation Week!
Found this content helpful? Log in or sign up to leave a like!
When using the API to List Assignments (https://canvas.instructure.com/doc/api/assignments.html#method.assignments_api.index), the bucket parameter can take several different values, including upcoming and future. What is the difference between upcoming and future? There doesn't appear to be a description of either on the documentation page.
Thanks for your help!
Solved! Go to Solution.
From testing on my instance:
Hi @AndrewMerrill,
I did not know the answer to this question, so I turned to ChatGPT and used the following prompt.
When using the Canvas API for listing assignments, there is a parameter named bucket that has the following allowed values: past, overdue, undated, ungraded, unsubmitted, upcoming, future. May I please get a description and example for each of the allowed values.
Below is the response that I received:
When using the Canvas API to list assignments, the bucket parameter allows you to filter assignments based on their status or date relative to the current time. Below are the descriptions of the allowed values for bucket, along with examples of how they work:
Maybe you could use beta or a sandbox course to try and duplicate the possiblities
Since I used ChatGPT for help, I cannot vouch for the accuracy of the response but I hope that you find it helpful.
-Doug
From testing on my instance:
Hi @AndrewMerrill,
I did not know the answer to this question, so I turned to ChatGPT and used the following prompt.
When using the Canvas API for listing assignments, there is a parameter named bucket that has the following allowed values: past, overdue, undated, ungraded, unsubmitted, upcoming, future. May I please get a description and example for each of the allowed values.
Below is the response that I received:
When using the Canvas API to list assignments, the bucket parameter allows you to filter assignments based on their status or date relative to the current time. Below are the descriptions of the allowed values for bucket, along with examples of how they work:
Maybe you could use beta or a sandbox course to try and duplicate the possiblities
Since I used ChatGPT for help, I cannot vouch for the accuracy of the response but I hope that you find it helpful.
-Doug
To participate in the Instructure Community, you need to sign up or log in:
Sign In