Get Full Course Content
Returns the full structure of a course as a flattened object with dot-path keys covering sections, lessons, and topics
Returns the full structure of a course as a flattened object with dot-path keys covering sections, lessons, and topics.
GET
https://example.thoughtindustries.com/incoming/v2/fullContent/courses/:idExample request
curl "https://example.thoughtindustries.com/incoming/v2/fullContent/courses/:id" \
-H 'Authorization: Bearer YOUR_API_KEY'Parameters
| Name | Type | Required | Location | Description |
|---|---|---|---|---|
id | uuid | Yes | path | Course UUID. |
Example response
{
"id": "123e4567-e89b-12d3-a456-426614174000",
"title": "Workplace Safety Fundamentals",
"description": "<p>An introduction to staying safe on the job.</p>",
"section.0.id": "1a2b3c4d-0000-0000-0000-000000000001",
"section.0.title": "Getting Started",
"section.0.lesson.0.id": "1a2b3c4d-0000-0000-0000-000000000002",
"section.0.lesson.0.title": "Welcome",
"section.0.lesson.0.topic.0.id": "1a2b3c4d-0000-0000-0000-000000000003",
"section.0.lesson.0.topic.0.title": "Course Overview",
"section.0.lesson.0.topic.0.body": "<p>What you will learn in this course.</p>"
}Response fields
| Field | Type | Description |
|---|---|---|
id | uuid | Course ID. |
title | string | Course title. |
description | string | Course description (HTML). |
section.N.id | uuid | Section ID. |
section.N.title | string | Section title. |
section.N.lesson.N.id | uuid | Lesson ID. |
section.N.lesson.N.title | string | Lesson title. |
section.N.lesson.N.topic.N.id | uuid | Topic ID. |
section.N.lesson.N.topic.N.title | string | Topic title. |
section.N.lesson.N.topic.N.body | string | Topic body (HTML). |