What's the definition of an active course?

Jump to solution
s525138
Community Novice

We are trying to pull the canvas ID of all the course sites for one term.

Using API : GET /v1/accounts/{account_id}/courses

Does anyone has any suggestions?

1 Solution
cmoore2
Community Participant

I don't like that section description in the API docs ("List active courses in an account").  I think it should just be "List courses in an account."  However, I think they say "active" because the default results will return all courses except deleted courses.  You can override the default setting using the "state[]" parameter.

So, to answer you question, I believe "active" means "not deleted."

View solution in original post