Outcome Results
API for accessing learning outcome results
An OutcomeResult object looks like:
An OutcomeRollupScoreLinks object looks like:
An OutcomeRollupScore object looks like:
An OutcomeRollupLinks object looks like:
An OutcomeRollup object looks like:
An OutcomeAlignment object looks like:
An OutcomePath object looks like:
An OutcomePathPart object looks like:
OutcomeResultsController#index
GET /api/v1/courses/:course_id/outcome_results
GET /api/v1/courses/:course_id/outcome_results
Scope: url:GET|/api/v1/courses/:course_id/outcome_results
Gets the outcome results for users and outcomes in the specified context.
used in sLMGB
Request Parameters:
Parameter | Type | Description |
---|---|---|
|
| If specified, only the users whose ids are given will be included in the results. SIS ids can be used, prefixed by “sis_user_id:”. It is an error to specify an id for a user who is not a student in the context. |
|
| If specified, only the outcomes whose ids are given will be included in the results. it is an error to specify an id for an outcome which is not linked to the context. |
|
|
|
|
| If true, results that are hidden from the learning mastery gradebook and student rollup scores will be included |
Example Response:
OutcomeResultsController#outcome_order
POST /api/v1/courses/:course_id/assign_outcome_order
POST /api/v1/courses/:course_id/assign_outcome_order
Scope: url:POST|/api/v1/courses/:course_id/assign_outcome_order
Saves the ordering of outcomes in LMGB for a user
OutcomeResultsController#rollups
GET /api/v1/courses/:course_id/outcome_rollups
GET /api/v1/courses/:course_id/outcome_rollups
Scope: url:GET|/api/v1/courses/:course_id/outcome_rollups
Gets the outcome rollups for the users and outcomes in the specified context.
Request Parameters:
Parameter | Type | Description |
---|---|---|
|
| If specified, instead of returning one rollup for each user, all the user rollups will be combined into one rollup for the course that will contain the average (or median, see below) rollup score for each outcome. Allowed values: |
|
| If aggregate rollups requested, then this value determines what statistic is used for the aggregate. Defaults to “mean” if this value is not specified. Allowed values: |
|
| If specified, only the users whose ids are given will be included in the results or used in an aggregate result. it is an error to specify an id for a user who is not a student in the context |
|
| If specified, only the outcomes whose ids are given will be included in the results. it is an error to specify an id for an outcome which is not linked to the context. |
|
|
|
|
| Specify additional values to exclude. “missing_user_rollups” excludes rollups for users without results. Allowed values: |
|
| If specified, sorts outcome result rollups. “student” sorting will sort by a user’s sortable name. “outcome” sorting will sort by the given outcome’s rollup score. The latter requires specifying the “sort_outcome_id” parameter. By default, the sort order is ascending. Allowed values: |
|
| If outcome sorting requested, then this determines which outcome to use for rollup score sorting. |
|
| If sorting requested, then this allows changing the default sort order of ascending to descending. Allowed values: |
|
| If defaults are requested, then color and mastery level defaults will be added to outcome ratings in the rollup. This will only take effect if the Account Level Mastery Scales FF is DISABLED |
|
| If contributing scores are requested, then each individual outcome score will also include all graded artifacts that contributed to the outcome score |
Example Response:
© Instructure, Inc. Generated on Wed Nov 6 14:20:08 2024 This documentation is generated directly from the Canvas LMS source code, available on Github.
Last updated