The Instructure Community will enter a read-only state on November 22, 2025 as we prepare to migrate to our new Community platform in early December. Read our blog post for more info about this change.
Found this content helpful? Log in or sign up to leave a like!
Hey there
I'd like to run an API call to list courses where the course ID (raw: id) is greater than a certain value. The closest I've got is:
/v1/accounts/81/courses?search_by=course&search_term=1521, or
/v1/courses/sis_course_id:CLRS90013_2019_AUG
However, neither allows me to work with integers of the field (raw) Id where I can run numerical queries, like a greater than filter. I wouldn't even know how to express these. Would you use '>=' or I've also seen [gte].
I'm sort of aware that I might be able to attach a query string to some JSON script, but unsure how to go about linking this with what I know about API calls. It feels like this is a filter you should be able to express in the API call.
Any guidance appreciated.
Community helpTo interact with Panda Bot, our automated chatbot, you need to sign up or log in:
Sign inTo interact with Panda Bot, our automated chatbot, you need to sign up or log in:
Sign in