Register for InstructureCon25 • Passes include access to all sessions, the expo hall, entertainment and networking events, meals, and extraterrestrial encounters.
Found this content helpful? Log in or sign up to leave a like!
Is it possible to do when using the /discussion_topic API? If so, is the params 'assignment[assignment_override][course_section_id]':value or 'assignment_override[course_section_id]':value that is used in the post? We're trying to generate discussion topics with each one only being available to one of the x sections in the course.
Solved! Go to Solution.
I don't think you can make it available to only one section. However, I believe that it is possible to make it available to a specific group. To do that you would need to first add all of the students in a section to the same group. Then you should be able to create the discussion and target a specific group using the group_category_id
from the discussion topics API.
You can assign different due dates for each section using assignment_override[course_section_id]
in the assignments overrides API but I don't think you can completely eliminate it from the other sections.
I don't think you can make it available to only one section. However, I believe that it is possible to make it available to a specific group. To do that you would need to first add all of the students in a section to the same group. Then you should be able to create the discussion and target a specific group using the group_category_id
from the discussion topics API.
You can assign different due dates for each section using assignment_override[course_section_id]
in the assignments overrides API but I don't think you can completely eliminate it from the other sections.
Kenneth,
Thanks for the feedback. I was able to complete my task using the assignment and assignment_override APIs. In the current version of my code, I create the new discussion topic using the discussion API and set the parameters to make it a graded assignment. From the response, I retrieve the newly created Assignment ID and use the assignment_override API to set it up for a section. I then modify the Assignment object for each discussion topic so assignment[only_visible_to_overrides] is True. This removed the Everyone Else entry and now my discussion topic is only available to the section I set it for.
@gladysie , I am glad that you got it to work. I had never noticed the assignment[only_visible_to_overrides] setting. Thanks for pointing that out.
To interact with Panda Bot in the Instructure Community, you need to sign up or log in:
Sign In