Headless LMS

List an enrolled course's module/activity tree

GET
/api/learn/courses/{courseId}/modules

Path Parameters

courseId*string

Response Body

application/json

application/json

curl -X GET "https://example.com/api/learn/courses/string/modules"
[  {    "id": "string",    "courseId": "string",    "title": "string",    "seq": -9007199254740991,    "activities": [      {        "id": "string",        "moduleId": "string",        "seq": -9007199254740991,        "settings": null,        "assetIds": [          "string"        ]      }    ]  }]
{  "error": "string",  "message": "string"}