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!
Hi - not sure if this forum deals with bug reports, if not please let me know where to file this (or, maybe it's not a bug?)
When I retrieve Courses from an Account, I would assume that the response would only contain Courses with the same Account Id, but I'm seeing requests to:
https://[my site].instructure.com/api/v1/accounts/[account-id-1234]/courses
Response:
...
{
"id": [course id],
"name": "[course name]",
"account_id": [account-id-6789],
...
},
Is this by design? Is it pulling the courses by the root_account_id?
Solved! Go to Solution.
@nbpenn That call should return courses that belong to that account and any associated subaccounts. The call result should match the UI Courses page when you access an account. Hope that helps!
@nbpenn That call should return courses that belong to that account and any associated subaccounts. The call result should match the UI Courses page when you access an account. Hope that helps!
Ah that makes sense - thanks @melodyc_lam
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