Skip to main content
GET
/
lessons
/
{lessonId}
/
activities
Activities in a lesson
curl --request GET \
  --url https://api.learningcommons.org/knowledge-graph/v0/lessons/{lessonId}/activities \
  --header 'x-api-key: <api-key>'
{
  "data": [
    {
      "identifier": "im:98928b4e-0183-5e0e-955d-230653db7332",
      "name": "Devices",
      "ordinalName": "Activity 1",
      "position": 0,
      "academicSubject": "Mathematics",
      "gradeLevel": [
        "high_school",
        "9",
        "10",
        "11",
        "12"
      ],
      "author": "Illustrative Mathematics",
      "provider": "Learning Commons",
      "inLanguage": "English",
      "educationalUse": "instruction",
      "audience": [
        "Teacher",
        "Student",
        "Family"
      ],
      "license": "https://creativecommons.org/licenses/by-nc/4.0/",
      "curriculumLabel": "Warm-up",
      "lmsLoadingGuidance": "unspecified",
      "isOptional": false,
      "courseCode": "im360:Alg1",
      "timeRequired": "PT5M",
      "studentGroupingType": "pair",
      "dateCreated": "2020-06-25"
    }
  ],
  "pagination": {
    "limit": 100,
    "nextCursor": null,
    "hasMore": false
  }
}

Authorizations

x-api-key
string
header
required

API key for authentication. Include your API key in the x-api-key header for all requests.

Path Parameters

lessonId
string
required

The unique identifier of the lesson

Query Parameters

limit
integer
default:100

Maximum number of results to return. Default is 100. Maximum allowed is 1000.

Required range: 1 <= x <= 1000
cursor
string

Cursor for pagination. Obtain this value from the 'nextCursor' field in the previous response. Omit for the first page.

Response

Successfully retrieved list of activities

Generic cursor-based paginated response wrapper

data
object[]
required

Array of result items

pagination
object
required

Cursor-based pagination metadata