-
Notifications
You must be signed in to change notification settings - Fork 43
Description
Hello!
I'm very new to interacting with APIs in general.
I'm trying to create_course_assignment with the 'assignment_overrides' parameter populated. I see it asks to supply a 'list', but I don't know what the list format should be. Does anyone have an example?
My parameter input resembles the following:
assignment_overrides = list('course_section_id'='710724')
...where I get error:
Error in curl::handle_setform(handle, .list = req$fields) :
Unsupported value type for form field 'assignment[assignment_overrides]'.
A different attempt is:
assignment_overrides = list('course_section_id':710724)
... where I get error:
Error in "course_section_id":710724 : NA/NaN argument
I've tried:
= vs :
'' in different places or absent
c() vs list()
Contextual info: my other arguments are fine (without the assignment_overrides parameter, I can create the assignment.) My code with the overrides aims to create a brand new assignment (not update a pre-existing one. Although, that would be fine, too; anything that works!)
Thank you.