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

Extract

List courseComment

List courseComment

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

Returns a paginated list of courseComment events, representing learner comments posted in a course context.

Example request

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

Parameters

NameTypeRequiredLocationDescription
kindstringNoqueryFilters events by a specific subtype or kind of course comment event.
cursorstringNoqueryOpaque cursor string used to fetch the next page of results.
startDateISO 8601 timestampNoqueryReturns only events that occurred at or after this ISO 8601 timestamp.
endDateISO 8601 timestampNoqueryReturns only events that occurred at or before this ISO 8601 timestamp.
notifiableIduuidNoqueryFilters events to those associated with the specified notifiable resource (e.g. a course), identified by UUID.
userIduuidNoqueryFilters events to those generated by the specified user, identified by 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.perPageintegerMaximum number of events returned per page.
pageInfo.cursorstringCursor value to pass in the next request to retrieve the following page of results.
pageInfo.totalintegerTotal number of events matching the query.
pageInfo.hasMorebooleanIndicates whether additional pages of results are available.
eventsobject[]Array of courseComment event objects matching the query.