Does a self-enrollment account report exist

Jump to solution
mmitchell
Community Contributor

How do you do, fellow admins?

Has anyone found a report to see which courses are set to self-enrollment in an account?

I can get a course via API that reflects its "open enrollment" and "self-enrollment" status but not for an account. Canvas data doesn't list it either, only if the course is public.

Thanks for any ideas you have!

Mike

1 Solution
llawson
Community Contributor

I was going to suggest this. It doesn't seem that the API call for listing all courses inside an account (see below) supports returning the self enrollment attribute.

GET /api/v1/accounts/:account_id/courses

Instead loop through all the course ids with the following API call:

GET https://school.instructure.com/api/v1/accounts/:account_id/courses/:course_id?include[]=self_enrollm...

View solution in original post