Hello, I was wondering if any has found a way to get a list of everything in the Central Repository via the API? I can’t seem to find anything relevant in the Docebo API Explorer. Thanks.
You might be able to build a database of the LOs from that, but it would be course by course…
Hello, I was wondering if any has found a way to get a list of everything in the Central Repository via the API? I can’t seem to find anything relevant in the Docebo API Explorer. Thanks.
Sometimes there are apis that are “public” but not exposed in the API browser. I think if you inspect the network tab of your inspect tool while loading the central repository you might find the api you’re looking for.
This API will return Training Material results.
https://>yoururl.com]/tmrepo/v1/folders/1/materials?page=1&page_size=17&sort_attr=created_on&sort_dir=desc&folder_filter_type=with_descendants
Also, you need to use something like Postman to make the get request.
Thanks for your responses. It sounds like work needs to be done to offer APIs to support CLOR management. It would be great to not only get the list but also manage settings of the content, apply to courses, etc. I will submit as an idea. What I’m seeing here is not going to work for me.
Hello, I was wondering if any has found a way to get a list of everything in the Central Repository via the API? I can’t seem to find anything relevant in the Docebo API Explorer. Thanks.
Sometimes there are apis that are “public” but not exposed in the API browser. I think if you inspect the network tab of your inspect tool while loading the central repository you might find the api you’re looking for.
This API will return Training Material results.
https://pyoururl.com]/tmrepo/v1/folders/1/materials?page=1&page_size=17&sort_attr=created_on&sort_dir=desc&folder_filter_type=with_descendants
What authorization method is appropriate for this type of API access?
The page size is adjustable and appears within the URL parameters in the sample endpoint provided by
GET https://[yoururl.com]/tmrepo/v1/folders/1/materials?page=1&page_size=17&sort_attr=created_on&sort_dir=desc&folder_filter_type=with_descendants
Change that to page_size=200
(I think that’s the effective maximum) to get many more results with a single call.
And if you still need more, just go to page=2
(and so on).
The authentication method should be the same as for any other API call,
Reply
Log in to Docebo Community
Enter your email address or username and password below to log in to Docebo Community. No account yet? Create an account
Docebo Employee Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.