We are custmozing UI and using open Apis in swagger, we found apis for courses, sections and subsections, but stuck at getting videos, can anyone please help , we need api to get the videos we uploaded in the stuido.
Is this the same question you posted at View-transcript-video ? If so, please delete that thread or this thread and take some time to expand your problem and your question in a bit more detail. It’s distracting for everyone if you make multiple posts about the same issue, and it makes it harder for people to find the answers when they look in the future.
It seems like you’re looking for a REST API that will list all of the videos associated with a course, and which can be used in Studio. Is that right?
If so, try this. Not sure if it works in Studio but it should work from the LMS.
GET /api/courses/v1/blocks/?course_id=<course_id> &username=<username here, must be enrolled in the course> &depth=all &requested_fields=student_view_data &student_view_data=video &block_types_filter=video
Yes Barden I am looking for the same
@braden do u know how to see the duration of the video in the UI, do we need to enable somewhere in the studio?