List Lesson Completions

List of enrollment-completion records showing which lessons have been completed by which enrollments. You can filter on one or more enrollment_id or lesson_id records (see filter params).

Log in to see full request history
Path Params
integer
required
Query Params
string

ID of item after which the collection should be returned. More examples and info about pagination in our guides.

string

Sort order of a list response. Use 'desc' to reverse the default 'asc' (ascending) sort order. Examples in our guides.

string

Sort property of a list response. The default is id and thus the created_at order.
If you sort by other properties, we additionally sort by id implicitly as a secondary sort property, so that you can rely on the sort order to be deterministic even if the main sort property ends up with the same values.

filter
object

Filter by available properties in query params, like this: api/v2/resources?filter[id]=value&filter[another_property]=value1,value2. Check our Filtering guide for examples and all about filtering here.

Responses

Response body
array of objects
object
integer
required

ID

string | null

Public ID

integer
required

The ID of the Courses::Enrollment record that completed the lesson

integer
required

The ID of the Courses::Lesson record that was completed

date-time
required

The time when the record was completed; It is set automatically to the current time when the record is created

Headers
object
string

ID of the last item in the current response after which more records exist. You can use it in an after query parameter for cursor-based pagination to get to the next page.

string

Language
Credentials
URL