This API controls learner interactions with program items.
Learner - Program Items API
Interfaces
Object Synopses
LearnerProgramItemResponse
-
id
String
The unique ID of the program item.
-
index
String
The index of the program item.
-
learnable_id
String
The ID of the course template associated with the program item.
-
course_type
String
The type of Bridge course.
-
description
String
The description of the program item.
-
estimated_time
Integer
Estimated time to finish the program item.
-
has_certificate
Boolean
Does this program item have a certificate?
-
passing_threshold
Integer
The passing score for the program item
-
slide_total
Integer
The number of published slides for the program item
-
third_party_course_id
String
The external ID of a course.
-
title
String
The title of the program item.
-
completed_at
DateTime or null
DateTime that the item was completed.
-
deleted_at
DateTime or null
DateTime that the item was deleted.
-
end_at
DateTime or null
DateTime that the item was due.
-
expires_at
DateTime or null
DateTime that the item completion expires.
-
is_enrolled
Boolean
Is the learner enrolled in this item?
-
progress
Float
Progress of item finished.
-
renew_by
DateTime or null
DateTime by which the item must be re-enrolled.
-
score
Integer or null
Learners score (out of 100) in this item. Null for live trainings.
-
state
String or null
The state of the learner’s enrollment in the program item.
-
time_remaining
Integer
Estimated time to finish the item in minutes.
List program items
GET
/api/learner/programs/:program_id/items
Response Codes
200 OK
Parameters
-
program_id
Integer
Required
Path parameter. A program id.
Example Response
{
"program_items": [
"{API::LearnerProgramItemResponse}"
]
}
Interfaces
Object Synopses
LearnerProgramItemResponse
-
id
StringThe unique ID of the program item.
-
index
StringThe index of the program item.
-
learnable_id
StringThe ID of the course template associated with the program item.
-
course_type
StringThe type of Bridge course.
-
description
StringThe description of the program item.
-
estimated_time
IntegerEstimated time to finish the program item.
-
has_certificate
BooleanDoes this program item have a certificate?
-
passing_threshold
IntegerThe passing score for the program item
-
slide_total
IntegerThe number of published slides for the program item
-
third_party_course_id
StringThe external ID of a course.
-
title
StringThe title of the program item.
-
completed_at
DateTime or nullDateTime that the item was completed.
-
deleted_at
DateTime or nullDateTime that the item was deleted.
-
end_at
DateTime or nullDateTime that the item was due.
-
expires_at
DateTime or nullDateTime that the item completion expires.
-
is_enrolled
BooleanIs the learner enrolled in this item?
-
progress
FloatProgress of item finished.
-
renew_by
DateTime or nullDateTime by which the item must be re-enrolled.
-
score
Integer or nullLearners score (out of 100) in this item. Null for live trainings.
-
state
String or nullThe state of the learner’s enrollment in the program item.
-
time_remaining
IntegerEstimated time to finish the item in minutes.
List program items
Response Codes
200 OK
Parameters
-
program_id
Integer RequiredPath parameter. A program id.
Example Response
{ "program_items": [ "{API::LearnerProgramItemResponse}" ] }