Finding nested sections with webservice api

Finding nested sections with webservice api

by Jacob Peters -
Number of replies: 0

Hi everyone,

I'm using core_course_get_contents to get the course sections and modules but realized, that nested sections are not recognizable in the return. Instead the parent section, in which the other sections are nested, appears to be empty. Meanwhile the nested sections are just on the same level as the rest.

Nested sections on moodle website:

Sections in REST response of moodle API, no nesting visible:



I can't find a way to get information on this, any help would be greatly appreciated!

Average of ratings: -