Outcomes
API for accessing learning outcome information.
An Outcome object looks like:
An OutcomeAlignment object looks like:
GET /api/v1/outcomes/:id
GET /api/v1/outcomes/:id
Scope: url:GET|/api/v1/outcomes/:id
Returns the details of the outcome with the given id.
Request Parameters:
add_defaults
boolean
If defaults are requested, then color and mastery level defaults will be added to outcome ratings in the result. This will only take effect if the Account Level Mastery Scales FF is DISABLED
Returns an Outcome object.
PUT /api/v1/outcomes/:id
PUT /api/v1/outcomes/:id
Scope: url:PUT|/api/v1/outcomes/:id
Modify an existing outcome. Fields not provided are left as is; unrecognized fields are ignored.
If any new ratings are provided, the combination of all new ratings provided completely replace any existing embedded rubric criterion; it is not possible to tweak the ratings of the embedded rubric criterion.
A new embedded rubric criterion’s mastery_points default to the maximum points in the highest rating if not specified in the mastery_points parameter. Any new ratings lacking a description are given a default of “No description”. Any new ratings lacking a point value are given a default of 0.
Request Parameters:
title
string
The new outcome title.
display_name
string
A friendly name shown in reports for outcomes with cryptic titles, such as common core standards names.
description
string
The new outcome description.
vendor_guid
string
A custom GUID for the learning standard.
mastery_points
integer
The new mastery threshold for the embedded rubric criterion.
ratings[][description]
string
The description of a new rating level for the embedded rubric criterion.
ratings[][points]
integer
The points corresponding to a new rating level for the embedded rubric criterion.
calculation_method
string
The new calculation method. If the Outcomes New Decaying Average Calculation Method FF is ENABLED then “weighted_average” can be used and it is same as previous “decaying_average” and new “decaying_average” will have improved version of calculation.
Allowed values: weighted_average
, decaying_average
, n_mastery
, latest
, highest
, average
calculation_int
integer
The new calculation int. Only applies if the calculation_method is “decaying_average” or “n_mastery”
add_defaults
boolean
If defaults are requested, then color and mastery level defaults will be added to outcome ratings in the result. This will only take effect if the Account Level Mastery Scales FF is DISABLED
Example Request:
Returns an Outcome object.
OutcomesApiController#outcome_alignments
GET /api/v1/courses/:course_id/outcome_alignments
GET /api/v1/courses/:course_id/outcome_alignments
Scope: url:GET|/api/v1/courses/:course_id/outcome_alignments
This documentation is generated directly from the Canvas LMS source code, available on Github.
Last updated