commercetools-docs-kit icon indicating copy to clipboard operation
commercetools-docs-kit copied to clipboard

Changes to Learn API

Open lukpan opened this issue 1 year ago • 0 comments

Hello team ET,

@nkuehn and I were investigating Moodle recently, and were considering a change to the way we organize categories in Moodle.

Currently our learning modules have a flat category structure, where the learning path course and the module course are all on the same level. With the increase in number of modules coming with self-learning, it would be good to be able to create additional levels in the category tree to better organise them.

This however would lead to changes being required in the Learn API. Here is Nikolaus' note:

To be able to use subcategories inside “Self Learning” the learning API we would have to remove the filter to Self Learning courses only and make certification courses and instructor led learning visible on the API (which is not a bad thing, it’s user specific and we can show that status in the docs, too) -> https://github.com/commercetools/learning-tech/blob/80c55939b6d3e8639a47684cddec834fd0961f91/packages/learning-api/src/moodle/moodle.utils.ts#L674C53-L674C67

Happy to discuss further. @nkuehn please feel free to add any further information here if I've missing something from our discussion.

Many thanks, Luke

lukpan avatar Sep 06 '24 06:09 lukpan