Hello wise community,
I am attempting to pull the links to our course using the course API. IT doesn’t return the course link, only the link to the location.
Does anyone know a way to grab all the course links? Thanks!
Hello wise community,
I am attempting to pull the links to our course using the course API. IT doesn’t return the course link, only the link to the location.
Does anyone know a way to grab all the course links? Thanks!
Hi Catherine,
There is not a direct course link, but you can construct it with the data that is returned in GET /learn/v1/courses. If you parse the response, you should be able to build a string like:
https://{domain_or_custom_domain}/learn/courses/{id_course}/{slug_name}
Note that the example above is for the New Course Player, which is opt-in for now but will be required by the end of the year forward.
If you are not using the New Course Player, the URL is slightly different:
https://{domain_or_custom_domain}/learn/course/{id_course}/play -- but this works only for enrolled users. If a user is not enrolled and the course is in a catalog, you will need to construct the catalog view URL: /learn/course/internal/view/elearning/{id_course}/{slug_name}. The New Course Player handles this routing logic implicitly, however.
Enter your email address or username and password below to log in to Docebo Community. No account yet? Create an account
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.