I want to get only the fields “id” and “last_update” from this endpoint: /course/v1/courses (full link: https://<our_domain>.docebosaas.com/api-browser/#!/course/Courses/Courses_course_v1_courses), and specific fields from this endpoint: /course/v1/courses/{id} I searched in the documentation of these endpoints but didn’t find how to do it.
That URL didn’t bring me to a specific entry in the api browser, I see Batch Course Delete and Batch Course Update both have similar URL logic, but I imagine you are doing a GET not an Update or Delete, Which one of the entries were you trying for? I don’t see the /course/v1/courses/{id} directly unless I am missing something.
More generally, if the data is returnable, you need to filter somehow for the specific fields you want, not a way to have the endpoint only return a subset of the requests answers fields.
Can you use the look at all courses in the platform, /course/v1/courses
And then refine the id you are looking for with the extra filters, and then in the returned result is both last updated and the ID of the course as well as other info.
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.