What is "assignment_override[title]" in "Create an assignment override" API?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-26-2020
10:03 PM
Hello,
I want to change the lock_at date of quizzes/exams for individual students via API.
In Canvas LMS - REST API and Extensions Documentation → Create an assignment override
One of the required parameters is "assignment_override[title]". I don't know what it is.
I run List assignments, the returned result does not have "title" of the assignment. I don't know where to get it.
Is it the "name" of the assignment? If so, it seems unnecessary, because the method already requires the "id" of the assignment. As shown below (example taken from the API document), "2" is the assignment unique id. I don't know what "assignment_override[title]" is.
curl 'https://<canvas>/api/v1/courses/1/assignments/2/overrides.json' \ -X POST \ -F 'assignment_override[student_ids][]=8' \ -F 'assignment_override[title]=Fred Flinstone' \ -F 'assignment_override[due_at]=2012-10-08T21:00:00Z' \ -H "Authorization: Bearer <token>"
Help appreciated!
Thanks!