AnsweredAssumed Answered

question on applying term filter on canvas course api call

Question asked by R Zhang on Jun 6, 2019
Latest reply on Jun 21, 2019 by James Jones

Does any one know we could retrieve all the course restricted only for the active terms (canvas has this defined in admin screen->Courses ->?) through api call?  While I am be able to get the courses for a specific term by passing in enrollment_term_id using course api like /v1/users/{user_id}/courses. Also noted there's term object that could be included in api search, but when I tried to pass it and with current term filter like: term[sis_term_id]:current, the query didn't filter out any invalid records.  Any one have experience how to if it is possible to pass current term filter on course api here?