LectureVideoResponse
Defined in: v1/schemas.ts:712
Wrapper for the /courses/:id/lectures/:id/videos/:id endpoint response.
Remarks
Section titled “Remarks”The stream URL returned in video.video_asset.url is time-limited and
signed. Always fetch a fresh response when you need a playable URL —
do not store or reuse previously fetched stream URLs.
Extends
Section titled “Extends”output<typeofLectureVideoResponseSchema>
Properties
Section titled “Properties”video: {
id:number;media_duration?:number|null;media_type?:string;status?:string;url_thumbnail?:string|null;video_asset?: {content_type?:string|null;url?:string|null; }; } =LectureVideoSchema
Defined in: v1/schemas.ts:701
id:
number
media_duration?
Section titled “media_duration?”
optionalmedia_duration?:number|null
media_type?
Section titled “media_type?”
optionalmedia_type?:string
status?
Section titled “status?”
optionalstatus?:string
url_thumbnail?
Section titled “url_thumbnail?”
optionalurl_thumbnail?:string|null
video_asset?
Section titled “video_asset?”
optionalvideo_asset?: {content_type?:string|null;url?:string|null; }
video_asset.content_type?
Section titled “video_asset.content_type?”
optionalcontent_type?:string|null
video_asset.url?
Section titled “video_asset.url?”
optionalurl?:string|null
Inherited from
Section titled “Inherited from”z.infer.video