1

How do I find a course or a class ID?


If you are a portal administrator, you can get the Course ID from your portal interface:

  1. Go to Institution Settings > Courses > View Course.
  2. In the course table, scroll to the right until you reach the Course ID column.

Search Courses endpoint :
https://api.openlearning.com/v2.2/docs#/Courses/search_courses_courses__get

GET /courses/

Example of  JSON output:

 

Courses for Institution endpoint: 
https://api.openlearning.com/v2.2/docs#/Institutions/courses_for_institution_institutions__institution_id__courses__get

GET /institutions/{institution_id}/courses/

Required parameters: institution_id 

Example of  JSON output:

 


A class refers to a cohort of learners who complete a course together. All learner-generated content and artifacts (i.e. comments, likes, shares, posts) are only visible to others within the same class.

As a course administrator, you can find the Class ID directly from your course interface:

  1. Go to Course Setup > Classes.
  2. In the class table, scroll to the right until you reach the Class ID column.

1. https://api.openlearning.com/v2.2/docs#/Courses/classes_for_course_courses__course_id__classes_get

GET /courses/{course_id}/classes/

Required parameters: course_id

Example of  JSON output:

Reply

null

Content aside

  • 1 Likes
  • 2 yrs agoLast active
  • 161Views
  • 2 Following