Go to file
Matthew Berns 88805f4b1e add new Rubric API endpoint
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>
2016-08-26 18:53:43 +00:00
Gemfile.d fix bundle install :'( 2016-08-25 16:20:58 +00:00
app add new Rubric API endpoint 2016-08-26 18:53:43 +00:00
bin avoid port conflicts for remote debugging 2016-06-02 15:37:32 +00:00
client_apps move "old_unsupported_react" to client_apps 2016-08-05 19:26:33 +00:00
config add new Rubric API endpoint 2016-08-26 18:53:43 +00:00
db/migrate don't allow nil rubric titles 2016-08-24 14:34:23 +00:00
doc document course_format sis import column 2016-08-24 17:08:18 +00:00
docker-compose update phantomjs-tests dockerfile to node 6 2016-08-12 16:42:44 +00:00
frontend_build upgrade to node 6 2016-08-09 23:37:07 +00:00
gems preload attachments for gradebook history 2016-08-26 16:27:46 +00:00
guard
lib add new Rubric API endpoint 2016-08-26 18:53:43 +00:00
public prevent tinymce from messing with inserted urls 2016-08-25 19:09:28 +00:00
script Add helpful gergich suggestion about ERB warning 2016-08-22 20:47:31 +00:00
spec add new Rubric API endpoint 2016-08-26 18:53:43 +00:00
.babelrc Bump Babel to version 6 2016-07-15 21:55:10 +00:00
.bowerrc
.dockerignore
.fontcustom-manifest.json Fix gray icon color in publish/unpublish button 2016-08-09 23:39:14 +00:00
.gitignore upgrade to node 6 2016-08-09 23:37:07 +00:00
.i18nignore
.i18nrc upgrade to node 6 2016-08-09 23:37:07 +00:00
.jshintrc
.npmrc
.nvmrc upgrade to node 6 2016-08-09 23:37:07 +00:00
.rubocop.yml
.selinimumignore spec: selinimize more things, fixes SD-1260 2016-06-20 19:43:14 +00:00
.travis.yml
CONTRIBUTING.md
COPYRIGHT
Gemfile fix plugin loading from outside rails root directory 2016-07-22 15:18:59 +00:00
Guardfile
LICENSE
README.md
Rakefile
bower.json Bump version of react-tray to 2.0.1 2016-08-08 21:16:43 +00:00
code_of_conduct.md
config.ru
docker-compose.yml fix local docker selenium configuration 2016-06-21 21:21:45 +00:00
gulpfile.js upgrade to node 6 2016-08-09 23:37:07 +00:00
issue_template.md
karma.conf.js Make JS_SPEC_MATCHER work again 2016-08-12 21:11:04 +00:00
package.json upgrade to node 6 2016-08-09 23:37:07 +00:00
webpack.config.babel.js Bump Babel to version 6 2016-07-15 21:55:10 +00:00
webpack.production.config.babel.js Bump Babel to version 6 2016-07-15 21:55:10 +00:00
webpack.test.config.babel.js Bump Babel to version 6 2016-07-15 21:55:10 +00:00

README.md

Canvas LMS

Canvas is a new, open-source LMS by Instructure Inc. It is released under the AGPLv3 license for use by anyone interested in learning more about or using learning management systems.

Please see our main wiki page for more information

Installation

Detailed instructions for installation and configuration of Canvas are provided on our wiki.