v8
OpenAPI 3.1.02026-08-033623795.0 MBCourse lessons
Retrieve course lesson
Retrieves the details of an existing course lesson.
Required permissions:
- courses:read
get/course_lessons/{id}
Path parameters
idstring required
Example:lesn_xxxxxxxxxxxxx
The unique identifier of the lesson to retrieve.
Response
A successful response
Example response
{
"assessment_questions": [
{
"created_at": "2023-12-01T05:00:00.401Z",
"id": "crsaq_xxxxxxxxxxxx",
"image": {
"content_type": "image/jpeg",
"filename": "document.pdf",
"url": "https://media.whop.com/abc123/optimized.jpg"
},
"options": [
{
"id": "crsaqo_xxxxxxxxxxx",
"order": 42
}
],
"order": 42
}
],
"attachments": [
{
"content_type": "image/jpeg",
"filename": "document.pdf",
"url": "https://media.whop.com/abc123/optimized.jpg"
}
],
"content": "In this lesson, we will cover the basics of technical analysis...",
"created_at": "2023-12-01T05:00:00.401Z",
"days_from_course_start_until_unlock": 42,
"embed_id": "dQw4w9WgXcQ",
"id": "lesn_xxxxxxxxxxxxx",
"main_pdf": {
"content_type": "image/jpeg",
"filename": "document.pdf",
"url": "https://media.whop.com/abc123/optimized.jpg"
},
"order": 42,
"thumbnail": {
"url": "https://media.whop.com/abc123/optimized.jpg"
},
"title": "Understanding Candlestick Patterns",
"video_asset": {
"created_at": "2023-12-01T05:00:00.401Z",
"duration_seconds": 42,
"finished_uploading_at": "2023-12-01T05:00:00.401Z",
"id": "mux_xxxxxxxxxxxxxx",
"updated_at": "2023-12-01T05:00:00.401Z"
}
}