Hi everyone,
is it possible to set the course thumbnail via API? I have been searching for a while now but I can only find different ways to get information about it.
Hi everyone,
is it possible to set the course thumbnail via API? I have been searching for a while now but I can only find different ways to get information about it.
Best answer by Bfarkas
I believe it is that update course api, but there is a thumbnail_id field that I use for this:
yoururl/api-browser/#!/learn/Course/Course_learn_v1_courses_id_0
Its a PUT /learn/v1/courses/{id}
Body:
{
"thumbnail_id": 395
}
The tricky part is finding the thumbnail id, what I typically did was just look up a course that was using it using the View Course API and have a little database of the id’s:
GET /learn/v1/courses/{id}
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.