Skip to main content
https://.thoughtindustries.com

Extract

List learningPathEnrollment

List learningPathEnrollment

GEThttps://example.thoughtindustries.com/incoming/v2/events/learningPathEnrollment

Example request

curl "https://example.thoughtindustries.com/incoming/v2/events/learningPathEnrollment" \
  -H 'Authorization: Bearer YOUR_API_KEY'

Parameters

NameTypeRequiredLocationDescription
kindstringNoqueryFilters events by kind classification.
cursorstringNoqueryOpaque cursor string used to fetch the next page of results.
startDateISO 8601 timestampNoqueryReturns only events occurring at or after this ISO 8601 timestamp.
endDateISO 8601 timestampNoqueryReturns only events occurring at or before this ISO 8601 timestamp.
notifiableIduuidNoqueryFilters events to those associated with the specified learning path UUID.
userIduuidNoqueryFilters events to those associated with the specified user UUID.

Example response

{
  "data": {
    "APIEvents": {
      "pageInfo": {
        "perPage": 0,
        "cursor": "string",
        "total": 0,
        "hasMore": true
      },
      "events": [
        {}
      ]
    }
  }
}

Response fields

FieldTypeDescription
pageInfoCursorPageInfoPagination metadata for the current result set.
pageInfo.perPageintegerNumber of events returned per page.
pageInfo.cursorstringOpaque cursor value to pass in the next request to retrieve the following page.
pageInfo.totalintegerTotal number of matching events across all pages.
pageInfo.hasMorebooleanIndicates whether additional pages of results are available.
eventsobject[]Array of learning path enrollment event objects matching the query.