cancel
Showing results for 
Search instead for 
Did you mean: 
santi-a
Surveyor

REST API Is it posible to get section data for an account's courses

My team wants to get section data for the courses under an account, we are using the account api ('account/self/courses') to get those courses . We noticed that the include[] parameter for that endpoint doesn't support the section option.  The course api seems to have this option available but we need the courses on an account level, and getting the sections for each course doesn't seem like an optimal solution. We looked into using GraphQL and it seems like it could be done with that.  But is there a way to get this data with the REST API or will the section option on the account api be available in the future?

Labels (3)
0 Kudos
1 Reply
bbennett2
Navigator II

The only way I know of doing that is looping each course ID and requesting the section data. I don't think there's a way to get section information at the account level.