Outcome group missing id until course is "active"?

Jump to solution
gtaylor
Community Contributor

Making this API call:

Outcome Groups - Canvas LMS REST API Documentation 

GET /api/v1/courses/:course_id/outcome_groups

On a newly imported (via SIS) course returns successful but empty.

After manually clicking on the outcome tab(menu) in the course. 

Running the call again gives the expected result.

Here is a video example of it.

http://www.kaltura.com/tiny/i6gga

I'm guessing that Canvas is not building out all the course metadata, until it's active? Maybe?

I tried using general course info calls to see if the that would work, it did not.

Labels (1)
0 Likes
1 Solution
gtaylor
Community Contributor
Author

I worked with Jeff from Canvas L2 Support and he gave this this API call to use which worked.

GET /api/v1/courses/:course_id/root_outcome_group

View solution in original post