Get Courses by Course
Lists the course modules that make up a course's curriculum, with how many sections and how much video each contains. Use it to show what is inside a course.
GET
/bundle/{bundleId}/coursesGet Courses by Course
curl --request GET \
--url 'https://<your-api-host>/nuSource/api/v1/bundle/{bundleId}/courses' \
--header 'APIKEY: <your-api-key>' \
--header 'ORGID: <your-org-id>'{
"code": 200,
"message": "Success",
"bundle": [
{
"course_id": 33,
"course_name": "Physics XI + IIT JEE Mains"
},
{
"course_id": 175,
"course_name": "Chemistry IIT JEE Mains"
},
{
"course_id": 174,
"course_name": "Maths IIT JEE Mains"
}
]
}Access: Institute admins, admins and tutors, plus custom roles that can view courses or course curriculum.
Path parameters
ID of the course, e.g.
bundle/1369/courses.Response
codeinteger
Example:
200messagestring
Example:
Successbundleobject[]
Show child attributesHide child attributes
bundle.course_idinteger
Example:
33bundle.course_namestring
Example:
Physics XI + IIT JEE MainsNotes: Returns "Invalid Bundle ID" if the course does not exist, and "Invalid organization id." if it belongs to another institute. Rate limit: 100 requests per minute; going over locks you out for 30 minutes.