Outcome Groups
An OutcomeGroup object looks like:
{
// the ID of the outcome group
"id": 1,
// the URL for fetching/updating the outcome group. should be treated as opaque
"url": "/api/v1/accounts/1/outcome_groups/1",
// an abbreviated OutcomeGroup object representing the parent group of this
// outcome group, if any. omitted in the abbreviated form.
"parent_outcome_group": null,
// the context owning the outcome group. may be null for global outcome groups.
// omitted in the abbreviated form.
"context_id": 1,
"context_type": "Account",
// title of the outcome group
"title": "Outcome group title",
// description of the outcome group. omitted in the abbreviated form.
"description": "Outcome group description",
// A custom GUID for the learning standard.
"vendor_guid": "customid9000",
// the URL for listing/creating subgroups under the outcome group. should be
// treated as opaque
"subgroups_url": "/api/v1/accounts/1/outcome_groups/1/subgroups",
// the URL for listing/creating outcome links under the outcome group. should be
// treated as opaque
"outcomes_url": "/api/v1/accounts/1/outcome_groups/1/outcomes",
// the URL for importing another group into this outcome group. should be
// treated as opaque. omitted in the abbreviated form.
"import_url": "/api/v1/accounts/1/outcome_groups/1/import",
// whether the current user can update the outcome group
"can_edit": true
}An OutcomeLink object looks like:
Redirect to root outcome group for context
GET /api/v1/global/root_outcome_group
GET /api/v1/accounts/:account_id/root_outcome_group
GET /api/v1/courses/:course_id/root_outcome_group
Get all outcome groups for context
GET /api/v1/accounts/:account_id/outcome_groups
GET /api/v1/courses/:course_id/outcome_groups
Get all outcome links for context
GET /api/v1/accounts/:account_id/outcome_group_links
GET /api/v1/courses/:course_id/outcome_group_links
Request Parameters:
Parameter
Type
Description
Show an outcome group
GET /api/v1/global/outcome_groups/:id
GET /api/v1/accounts/:account_id/outcome_groups/:id
GET /api/v1/courses/:course_id/outcome_groups/:id
Update an outcome group
PUT /api/v1/global/outcome_groups/:id
PUT /api/v1/accounts/:account_id/outcome_groups/:id
PUT /api/v1/courses/:course_id/outcome_groups/:id
Request Parameters:
Parameter
Type
Description
Example Request:
Delete an outcome group
DELETE /api/v1/global/outcome_groups/:id
DELETE /api/v1/accounts/:account_id/outcome_groups/:id
DELETE /api/v1/courses/:course_id/outcome_groups/:id
Example Request:
List linked outcomes
GET /api/v1/global/outcome_groups/:id/outcomes
GET /api/v1/accounts/:account_id/outcome_groups/:id/outcomes
GET /api/v1/courses/:course_id/outcome_groups/:id/outcomes
Request Parameters:
Parameter
Type
Description
Create/link an outcome
POST /api/v1/global/outcome_groups/:id/outcomes
PUT /api/v1/global/outcome_groups/:id/outcomes/:outcome_id
POST /api/v1/accounts/:account_id/outcome_groups/:id/outcomes
PUT /api/v1/accounts/:account_id/outcome_groups/:id/outcomes/:outcome_id
POST /api/v1/courses/:course_id/outcome_groups/:id/outcomes
PUT /api/v1/courses/:course_id/outcome_groups/:id/outcomes/:outcome_id
Request Parameters:
Parameter
Type
Description
Example Request:
Unlink an outcome
DELETE /api/v1/global/outcome_groups/:id/outcomes/:outcome_id
DELETE /api/v1/accounts/:account_id/outcome_groups/:id/outcomes/:outcome_id
DELETE /api/v1/courses/:course_id/outcome_groups/:id/outcomes/:outcome_id
Example Request:
List subgroups
GET /api/v1/global/outcome_groups/:id/subgroups
GET /api/v1/accounts/:account_id/outcome_groups/:id/subgroups
GET /api/v1/courses/:course_id/outcome_groups/:id/subgroups
Create a subgroup
POST /api/v1/global/outcome_groups/:id/subgroups
POST /api/v1/accounts/:account_id/outcome_groups/:id/subgroups
POST /api/v1/courses/:course_id/outcome_groups/:id/subgroups
Request Parameters:
Parameter
Type
Description
Example Request:
Import an outcome group
POST /api/v1/global/outcome_groups/:id/import
POST /api/v1/accounts/:account_id/outcome_groups/:id/import
POST /api/v1/courses/:course_id/outcome_groups/:id/import
Request Parameters:
Parameter
Type
Description
Example Request:
Last updated
Was this helpful?