At Rubrics - Create and Rubrics - Update, the rubric[criteria] description says An indexed Hash of RubricCriteria objects where the keys are integer ids and the values are the RubricCriteria objects, but the actual object is RubricCriterion.
Expected behavior:
An indexed Hash of RubricCriterion objects where the keys are integer ids and the values are the RubricCriterion objects
At Rubrics - Create and Rubrics - Update, the
rubric[criteria]
description saysAn indexed Hash of RubricCriteria objects where the keys are integer ids and the values are the RubricCriteria objects
, but the actual object isRubricCriterion
.Expected behavior:
An indexed Hash of RubricCriterion objects where the keys are integer ids and the values are the RubricCriterion objects
API Documentation
https://github.com/instructure/canvas-lms/blob/6ad516e4253273b6482b3fbc3aeb16550ae2a598/app/controllers/rubrics_controller.rb#L117
https://github.com/instructure/canvas-lms/blob/6ad516e4253273b6482b3fbc3aeb16550ae2a598/app/controllers/rubrics_controller.rb#L163
Rubric Controller Definition
https://github.com/instructure/canvas-lms/blob/6ad516e4253273b6482b3fbc3aeb16550ae2a598/app/controllers/rubrics_api_controller.rb#L88-L118