REST API leaves rubrics ratings in incoherent state (bug?)

Jerre1990
Community Member

Hi,

 

I am trying to use the Canvas REST API to update the rubrics ratings of a submission for an assignment. I am using the "Grade or comment on a submission" endpoint (https://canvas.instructure.com/doc/api/all_resources.html#method.submissions_api.update) for this:

 
Since the call above returns an HTTP 200 OK response, I expected this to work. However, it turns out that only the posted grade got updated correctly. An API call to the "Get a single submission" endpoint (https://canvas.instructure.com/doc/api/all_resources.html#method.submissions_api.show) tells me that all involved rubrics ratings had their id correctly updated, but that their description remains unchanged. This action therefore leaves those rubrics ratings in an incoherent state. Furthermore, the UI seems to be based on the rubrics rating description, so the updates are never visualized for the end user.

Am I correct in assuming that this is a bug in the Canvas REST API?
Is there another way to correctly update the rubrics ratings of a given submission?
 
 
Kind regards,
Jeroen
Labels (1)