WARNING: The index API has been deprecated in favor of the Learner - Learning Items controller.
This API controls learner interaction with courses and live courses.
WARNING: The index API has been deprecated in favor of the Learner - Learning Items controller.
This API controls learner interaction with courses and live courses.
id
Integer
The course id
is_enrolled
Boolean
Enrollment status of learner in this course.
progress
Integer
Current slide number.
slide_total
Integer
Total number of slides.
time_remaining
Integer
Estimated time to finish course in minutes.
location
String
Location of live training. Null for all other types of courses.
sessions_count
Integer
Number of future sessions offered for live training course. Null for other types of courses
next_session_start_at
DateTime
Date and time of next scheduled live training session. Null for other course types.
deleted_at
DateTime
Date and time at which course was deleted. Null if not deleted.
program_title
String
Program through which learner is enrolled in course. Null if learner is not enrolled through a program.
index_of_program
Integer
Position of this course within the program. Null if not enrolled though a program.
program_course_count
Integer
Total number of courses in program. Null if not enrolled through a program.
open_book
Boolean
Indicates if learners can navigate the course during quizzes.
completed_at
DateTime
Date and time when course was completed. Null if not completed.
end_at
DateTime
Date and time by which this course is due. Null if no due date was assigned.
estimated_time
Integer
Estimated length of course in minutes.
passing_threshold
Integer
Required score (out of 100) to pass.
required
Boolean
Indicates if course is required or optional.
score
Integer
Learners score (out of 100) in this course. Null for live trainings.
state
String
State of enrollment in course.
title
String
Course title.
has_certificate
Boolean
Indicates if course issues certificate when successfully completed.
course_type
String
Indicates course type. May be native bridge, SCORM, or live training.
attachments_count
Integer
Indicates the number of attachments the course has.
Lists all courses in which the current learner is enrolled.
200 OK
{ "courses": [ "{API::LearnerCourseResponse}" ], "meta": {} }
Returns course information for previewing
200 OK
id
Integer
Required
Path parameter. Course id.
{ "courses": [ "{API::LearnerCourseResponse}" ], "meta": {} }
200 OK
id
Integer
Required
Path parameter. A course id.
{ "courses": [ "{API::LearnerCourseResponse}" ], "meta": {} }
A POST action for completing current_enrollment’s current attempt.
200 OK
401 Unauthorized
id
Integer
Required
Path parameter. Enrollment id.
{ "linked": {}, "courses": [ "{API::LearnerCourseResponse}" ], "meta": {} }
Learner may only leave optional courses.
204 No Content
id
Integer
Required
Path parameter. Enrollment id.
Used to get the url to launch an external course.
200 OK
id
Integer
Required
Path parameter. Enrollment id.
{ "url": "http://rebellion.bridgeapp.com/api/learner/courses/83/slides/current" }
Used to redirect mobile app directly to scorm course
302 Found
400 Bad Request
id
Integer
Required
Path parameter. Enrollment id.
Returns with all the external information for the course.
400 Bad Request
404 Not Found
id
Integer
Required
Path parameter. Enrollment id.