Get all enrollments with one api call?

fredrik_carenbo
Community Member

Hi,

I work with Canvas API.

I have built a script that creates/updates/delete users and courses in Canvas with our SIS as source.

One component in my script is to get all course (7000) enrollments so I can compare where to do a update.

It takes a long time going thru all courses with API to get this.

Of experience, I know that Canvas hides API-parameters that are not documented officially. Like "recursive=1" when you get all sub-accounts.

Do anyone here know if there is a one-call trick to get all courses enrollments with API?

Regards

Labels (2)