List All Course Curriculum
Returns the published curriculum of one subject in a course listing (sections with their materials, exercises, assignments and quizzes), as a visitor previewing the course would see it. Use it on a public course page to show the syllabus.
/public/tutor/class/curriculum/{courseId}curl --request GET \
--url 'https://<your-api-host>/nuSource/api/v1/public/tutor/class/curriculum/{courseId}?institution_bundle_id=<institutionBundleId>'{
"code": 200,
"message": "Success",
"course_curriculum": {
"course_id": "48",
"sequential_viewing": 0,
"published_count": 0,
"total_time": 0,
"resources": [
{
"section_id": 76,
"section_name": "Scalars and Vectors",
"description": "",
"status": "published",
"in_curriculum": 1,
"display_index": 162,
"course_id": 48,
"resource_type": 1,
"freepreview": 0,
"resources": [
{
"material_id": 17,
"file_name": "small.mp4",
"material_name": "Introduction to Scalars & Vectors",
"description": "",
"material_source": "file",
"external_url": null,
"type": "video/mp4",
"is_active": 1,
"display_index": 236,
"view_count": null,
"is_downloadable": 1,
"resource_type": 4,
"external_video_play": 0,
"vimeo_transcoding_status": null,
"freepreview": 0,
"vimeo_url": null,
"is_prerequisite": 0,
"parent_id": 76,
"duration_seconds": 0,
"created_at_timestamp": 1499084387
},
{
"material_id": 18,
"file_name": "small.mp4",
"material_name": "Representation of Scalars & Vectors",
"description": "",
"material_source": "file",
"external_url": null,
"type": "video/mp4",
"is_active": 1,
"display_index": 237,
"view_count": null,
"is_downloadable": 1,
"resource_type": 4,
"external_video_play": 0,
"vimeo_transcoding_status": null,
"freepreview": 0,
"vimeo_url": null,
"is_prerequisite": 0,
"parent_id": 76,
"duration_seconds": 0,
"created_at_timestamp": 1499084438
},
{
"material_id": 19,
"file_name": "External link",
"material_name": "Advance Concepts",
"description": "",
"material_source": "external_url",
"external_url": "https://www.youtube.com/watch?v=ihNZlp7iUHE",
"type": "youtube",
"is_active": 1,
"display_index": 238,
"view_count": null,
"is_downloadable": 0,
"resource_type": 4,
"external_video_play": 0,
"vimeo_transcoding_status": null,
"freepreview": 0,
"vimeo_url": null,
"is_prerequisite": 0,
"parent_id": 76,
"duration_seconds": 0,
"created_at_timestamp": 1499084471
},
{
"exercise_id": 56,
"exercise_name": "Practice Exercise 1",
"test_time": 0,
"attempts": -1,
"instructions": null,
"section_id": 76,
"question_list_id": null,
"num_of_questions": 13,
"display_index": 239,
"times_taken": 0,
"passed": null,
"perfect": null,
"status": "published",
"activate_at": 0,
"deactivate_at": 0,
"availability": 1,
"resource_type": 5,
"results_declared": 1,
"exam_type": 1,
"freepreview": 0,
"is_prerequisite": 0,
"is_assignment": 0
},
{
"material_id": 9218,
"file_name": "ALPClass5-02102100.mp3",
"material_name": "s",
"description": "<p><br></p>",
"material_source": "file",
"external_url": null,
"type": "application/octet-stream",
"is_active": 1,
"display_index": 14454,
"view_count": null,
"is_downloadable": 1,
"resource_type": 4,
"external_video_play": 0,
"vimeo_transcoding_status": null,
"freepreview": 0,
"vimeo_url": 0,
"is_prerequisite": 0,
"parent_id": 76,
"duration_seconds": 0,
"created_at_timestamp": 1605258136
},
{
"material_id": 9219,
"file_name": "ALPClass5-02102100.mp3",
"material_name": "mp3",
"description": "<p><br></p>",
"material_source": "file",
"external_url": null,
"type": "application/octet-stream",
"is_active": 1,
"display_index": 14455,
"view_count": null,
"is_downloadable": 1,
"resource_type": 4,
"external_video_play": 0,
"vimeo_transcoding_status": null,
"freepreview": 0,
"vimeo_url": 0,
"is_prerequisite": 0,
"parent_id": 76,
"duration_seconds": 0,
"created_at_timestamp": 1605258183
},
{
"material_id": 12013,
"file_name": "WA.mp4",
"material_name": "72",
"description": "<p><br></p>",
"material_source": "file",
"external_url": null,
"type": "video/mp4",
"is_active": 1,
"display_index": 18367,
"view_count": null,
"is_downloadable": 1,
"resource_type": 4,
"external_video_play": 0,
"vimeo_transcoding_status": null,
"freepreview": 0,
"vimeo_url": 498100442,
"is_prerequisite": 0,
"parent_id": 76,
"duration_seconds": 0,
"created_at_timestamp": 1610049361
},
{
"exercise_id": 623,
"exercise_name": "test",
"test_time": 0,
"attempts": 1,
"instructions": null,
"section_id": 76,
"question_list_id": null,
"num_of_questions": null,
"display_index": 18375,
"times_taken": 0,
"passed": null,
"perfect": null,
"status": "published",
"activate_at": 0,
"deactivate_at": 0,
"availability": 1,
"resource_type": 5,
"results_declared": 1,
"exam_type": 2,
"freepreview": 0,
"is_prerequisite": 1,
"is_assignment": 1
},
{
"material_id": 12018,
"file_name": "101375-DS.mp4",
"material_name": "Android Only",
"description": "<p><br></p>",
"material_source": "file",
"external_url": null,
"type": "video/mp4",
"is_active": 1,
"display_index": 18378,
"view_count": null,
"is_downloadable": 1,
"resource_type": 4,
"external_video_play": 0,
"vimeo_transcoding_status": null,
"freepreview": 0,
"vimeo_url": 340720231,
"is_prerequisite": 0,
"parent_id": 76,
"duration_seconds": 0,
"created_at_timestamp": 1612890235
}
]
},
{
"section_id": 75,
"section_name": "Units & Mesurements",
"description": "",
"status": "published",
"in_curriculum": 1,
"display_index": 163,
"course_id": 48,
"resource_type": 1,
"freepreview": 0,
"resources": [
{
"material_id": 16,
"file_name": "small.mp4",
"material_name": "Advance Concepts",
"description": "",
"material_source": "file",
"external_url": null,
"type": "video/mp4",
"is_active": 1,
"display_index": 233,
"view_count": null,
"is_downloadable": 1,
"resource_type": 4,
"external_video_play": 0,
"vimeo_transcoding_status": null,
"freepreview": 0,
"vimeo_url": null,
"is_prerequisite": 0,
"parent_id": 75,
"duration_seconds": 0,
"created_at_timestamp": 1499084278
},
{
"material_id": 15,
"file_name": "small.mp4",
"material_name": "Introduction",
"description": "",
"material_source": "file",
"external_url": null,
"type": "video/mp4",
"is_active": 1,
"display_index": 234,
"view_count": null,
"is_downloadable": 0,
"resource_type": 4,
"external_video_play": 0,
"vimeo_transcoding_status": null,
"freepreview": 0,
"vimeo_url": null,
"is_prerequisite": 0,
"parent_id": 75,
"duration_seconds": 0,
"created_at_timestamp": 1499083793
},
{
"material_id": 97,
"file_name": "External link",
"material_name": "VideoDemo1",
"description": "",
"material_source": "external_url",
"external_url": "https://www.youtube.com/watch?v=uOujGFN8wMA",
"type": "youtube",
"is_active": 1,
"display_index": 235,
"view_count": null,
"is_downloadable": 0,
"resource_type": 4,
"external_video_play": 0,
"vimeo_transcoding_status": null,
"freepreview": 0,
"vimeo_url": null,
"is_prerequisite": 0,
"parent_id": 75,
"duration_seconds": 0,
"created_at_timestamp": 1525962666
},
{
"exercise_id": 55,
"exercise_name": "Chapter Test 1",
"test_time": 10800,
"attempts": -1,
"instructions": null,
"section_id": 75,
"question_list_id": null,
"num_of_questions": 8,
"display_index": 236,
"times_taken": 0,
"passed": null,
"perfect": null,
"status": "published",
"activate_at": 0,
"deactivate_at": 0,
"availability": 1,
"resource_type": 5,
"results_declared": 1,
"exam_type": 1,
"freepreview": 0,
"is_prerequisite": 0,
"is_assignment": 0
},
{
"exercise_id": 499,
"exercise_name": "Test1",
"test_time": 0,
"attempts": 10,
"instructions": null,
"section_id": 75,
"question_list_id": null,
"num_of_questions": 2,
"display_index": 1089,
"times_taken": 0,
"passed": null,
"perfect": null,
"status": "published",
"activate_at": 0,
"deactivate_at": 0,
"availability": 1,
"resource_type": 5,
"results_declared": 1,
"exam_type": 1,
"freepreview": 0,
"is_prerequisite": 0,
"is_assignment": 0
},
{
"material_id": 2341,
"file_name": "n-logo-c03eb2e7ea9910953bf5f787d07a6b21.png",
"material_name": "TM",
"description": "<p><br></p>",
"material_source": "file",
"external_url": null,
"type": "image/png",
"is_active": 1,
"display_index": 5068,
"view_count": null,
"is_downloadable": 1,
"resource_type": 4,
"external_video_play": 0,
"vimeo_transcoding_status": null,
"freepreview": 0,
"vimeo_url": 0,
"is_prerequisite": 0,
"parent_id": 75,
"duration_seconds": 0,
"created_at_timestamp": 1599744623
},
{
"exercise_id": 613,
"exercise_name": "exer 1",
"test_time": 0,
"attempts": -1,
"instructions": null,
"section_id": 75,
"question_list_id": null,
"num_of_questions": 13,
"display_index": 5074,
"times_taken": 0,
"passed": null,
"perfect": null,
"status": "published",
"activate_at": 0,
"deactivate_at": 0,
"availability": 1,
"resource_type": 5,
"results_declared": 1,
"exam_type": 1,
"freepreview": 0,
"is_prerequisite": 0,
"is_assignment": 0
}
]
},
{
"section_id": 77,
"section_name": "Kinematics & Projectile Motion",
"description": "",
"status": "published",
"in_curriculum": 1,
"display_index": 164,
"course_id": 48,
"resource_type": 1,
"freepreview": 0,
"resources": [
{
"material_id": 20,
"file_name": "small.mp4",
"material_name": "Kinamatics - 1",
"description": "",
"material_source": "file",
"external_url": null,
"type": "video/mp4",
"is_active": 1,
"display_index": 240,
"view_count": null,
"is_downloadable": 1,
"resource_type": 4,
"external_video_play": 0,
"vimeo_transcoding_status": null,
"freepreview": 0,
"vimeo_url": null,
"is_prerequisite": 0,
"parent_id": 77,
"duration_seconds": 0,
"created_at_timestamp": 1499084517
},
{
"material_id": 21,
"file_name": "small.mp4",
"material_name": "Kinematics - 2",
"description": "",
"material_source": "file",
"external_url": null,
"type": "video/mp4",
"is_active": 1,
"display_index": 241,
"view_count": null,
"is_downloadable": 1,
"resource_type": 4,
"external_video_play": 0,
"vimeo_transcoding_status": null,
"freepreview": 0,
"vimeo_url": null,
"is_prerequisite": 0,
"parent_id": 77,
"duration_seconds": 0,
"created_at_timestamp": 1499084532
},
{
"exercise_id": 57,
"exercise_name": "Practice - Kinematics",
"test_time": 0,
"attempts": -1,
"instructions": null,
"section_id": 77,
"question_list_id": null,
Access: Public, no API key.
Response: course_curriculum with course_id, sequential_viewing, published_count, total_time and resources sorted by display_index: sections (section_id, section_name, description, status, display_index, resource_type 1, freepreview) with nested resources (materials with material_id, material_name, file_name, material_source, type, freepreview, duration_seconds, resource_type 4; exercises with exercise_id, exercise_name, num_of_questions, resource_type 5), plus assignments and quizzes. Only items visible in the batch are listed. institution_DrmLibraryId is included when the institute uses DRM video. If no matching batch class is found, the response has no course_curriculum.