In an effort to reduce the number of calls I need to make the the Canvas API, I'm trying to get "sections" to show up when calling:
with the following query attributes
In the return, I see everything I expect, except the sections area.
If I then query https://<our_school_name>.instructure.com/api/v1/accounts/<account_number>/courses/<specific_course_id> with the same parameters, the sections element shows up, but it is an empty array
If I then query the course sections directly like so
It shows two sections in the course, with their details.
I'm not sure if I'm missing a query parameter, or possibly have one set wrong. But, from the api documentation, the first query should be returning the courses sections. The second query should also return the sections and not an empty array.