Activity Feed
- Got a Kudo for Group Assignments and Submissions API. 03-01-2016 03:31 PM
- Got a Kudo for Group Assignments and Submissions API. 10-27-2015 06:22 AM
- Kudoed Add Multiple Rubrics to One Assignment for anthonem. 10-07-2015 02:51 PM
- Kudoed Handling Pagination for tyler_clair. 10-06-2015 04:02 PM
- Got a Kudo for Re: Handling Pagination. 10-06-2015 12:41 PM
- Got a Kudo for Re: Handling Pagination. 10-06-2015 11:57 AM
- Got a Kudo for Re: Handling Pagination. 10-06-2015 11:15 AM
- Posted Re: Handling Pagination on Canvas Developers Group. 10-06-2015 11:14 AM
- Posted Group Assignments and Submissions API on Canvas Developers Group. 10-06-2015 09:38 AM
- Tagged Group Assignments and Submissions API on Canvas Developers Group. 10-06-2015 09:38 AM
- Tagged Group Assignments and Submissions API on Canvas Developers Group. 10-06-2015 09:38 AM
- Tagged Group Assignments and Submissions API on Canvas Developers Group. 10-06-2015 09:38 AM
- Tagged Group Assignments and Submissions API on Canvas Developers Group. 10-06-2015 09:38 AM
- Tagged Group Assignments and Submissions API on Canvas Developers Group. 10-06-2015 09:38 AM
- Kudoed Make Group Assignments Respect Sections for johnpj. 09-25-2015 03:15 PM
My Posts
Post Details | Date Published | Views | Kudos |
---|---|---|---|
Group Assignments and Submissions API The submissions API (Canvas LMS REST API Documentation) is badly documented as it pertains to group assignments. Moreover the Support Agents do not have accurate information on how it works.&n... |
10-06-2015 |
1239 |
2 |
10-06-2015
11:14 AM
3 Kudos
Thanks for posting this. One comment: If you add: "if 'current' in r.links:" before your final code block, then it works even for requests that are not paginated.
... View more
10-06-2015
09:38 AM
2 Kudos
The submissions API (Canvas LMS REST API Documentation) is badly documented as it pertains to group assignments. Moreover the Support Agents do not have accurate information on how it works. Here are some facts about the current implementation: 1. When one students in a group submit a group assignment each member of the group get a unique Submission object with a unique submission_id. 2. Each submission corresponding to the group members has an Attachment object, these are the same for all members in the group. 3. The API call GET /api/v1/courses/:course_id/assignments/:assignment_id/submissions returns all current submissions. Contrary to what Support Agents might say, old submissions of a student or group that are resubmitted are not included here, only the current submission is in this list. Moreover, for students in a group, there is a separate submission corresponding to each student. There is a lot of machinery that keeps these consistent if you interact with Canvas via the web interface. I am unsure of whether the API keeps these things consistent. In particular I have no idea about the following: 1. when you assign a grade to a submission using the API PUT /api/v1/courses/:course_id/assignments/:assignment_id/submissions/:user_id does this automatically assign the same grade to the other students in the group. Those other students have different submission_ids. This propegation of grades does happen in Speedgrader (so I hear), but the API functionality is undocumented. 2. when you assign peer reviews using the API POST /api/v1/courses/:course_id/assignments/:assignment_id/submissions/:submission_id/peer_reviews And the student does the peer review, do all group members see the peer review? Note peer reviews are assigned to submission_ids, and different group members have distinct submission_ids. It would be great if the details of submissions, peer review, and grading in the API got properly documented. Until then, if anyone has experience with this, I'd love to hear about it. I don't trust the Canvas Support Agents to know what is going on. Addendum: One of the reasons I'm looking at the API with respect to group projects in the first place is that the Web Interface for 'automatically assigning peer reviews' is badly implemented (you might say broken). As it can assign students their own assignment to peer review. I assume that this 'bad implementation' is a consequence the way group submissions are stored in Canvas, the same thing that causes the API calls above to be highly non straightforward. Addendum by Jason Hartline.
... View more
Labels
- Labels:
-
Open API