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!
With the removal of 'Muted' from assignments back in June/July how would you now create an assignment with the api with the grades hidden by default. Then at a later date make them visible.
Thanks,
Solved! Go to Solution.
This needs to be set in the Gradebook (https://community.canvaslms.com/t5/Instructor-Guide/How-do-I-select-a-grade-posting-policy-for-an-as...) and assignments created afterward will automatically be hidden until the instructor posts grades for the specific assignment. Unfortunately, there doesn't seem to be anything in the API docs for setting it.
From https://community.canvaslms.com/t5/Change-Log/2020-API-Change-Log-Archive/ta-p/262734
Assignments API | Assignment Object
Deprecated muted parameter [Update 2020-02-27: a new parameter will be added in a future deploy]
You should be able to hide the grades by including "post_manually": true to your creation post.
This should set the posting policy for the assignment to manual meaning they will not be published until this is done manually.
See https://canvas.instructure.com/doc/api/assignments.html --> An Assignment object looks like --> third from bottom
// Whether the assignment has manual posting enabled. Only relevant for courses // using New Gradebook. "post_manually": true,
I have tried setting that and it looks to be read only, the api documentation does not list it for create/edit
This needs to be set in the Gradebook (https://community.canvaslms.com/t5/Instructor-Guide/How-do-I-select-a-grade-posting-policy-for-an-as...) and assignments created afterward will automatically be hidden until the instructor posts grades for the specific assignment. Unfortunately, there doesn't seem to be anything in the API docs for setting it.
From https://community.canvaslms.com/t5/Change-Log/2020-API-Change-Log-Archive/ta-p/262734
Assignments API | Assignment Object
Deprecated muted parameter [Update 2020-02-27: a new parameter will be added in a future deploy]
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