closes OUT-358
refs PFS-4925
test plan:
- review new API documentation
- create some rubrics in the context of an account
- create some rubrics in the context of a course
- attach the rubrics to some assignments
- for at least one assignment, enable peer reviews
and assign some students
- as a teacher, assess the assignment
- as a student, complete some peer reviews
- go to the following endpoints
api/v1/accounts/{account_id}/rubrics
- should list all rubrics in the given account
api/v1/courses/{course_id}/rubrics
- should list all rubrics in the given course
api/v1/accounts/{account_id}/rubrics/{rubric_id}
- should list the specific account rubric
api/v1/courses/{course_id}/rubrics/{rubric_id}
- should list the specific course rubric
api/v1/courses/{course_id}/rubrics/{rubric_id}?include=assessments
- should include all assessments for the rubric
api/v1/courses/{course_id}/rubrics/{rubric_id}?include=graded_assessments
- should include only the assessment(s) used for grading the rubric
api/v1/courses/{course_id}/rubrics/{rubric_id}?include=peer_assessments
- should include only the peer_assessment(s) for the rubric
- when getting assessments, add the following parameters
&style=full
should return the full data hash associated with returned assessments
&style=comments_only
should only return the comments from an assessment's data hash
- when entering in invalid values for include or style, an error
should be returned that provides you with the valid values for
the respective parameters
Change-Id: Ib46900d4c58e06d6fa2771614ba2efa11d3b5b6c
Reviewed-on: https://gerrit.instructure.com/87702
Tested-by: Jenkins
Reviewed-by: Michael Brewer-Davis <mbd@instructure.com>
QA-Review: Alex Ortiz-Rosado <aortiz@instructure.com>
Product-Review: Josh Simpson <jsimpson@instructure.com>