Show Section
Returns the details of a single section by its ID
Returns the details of a single section by its ID.
GET
https://example.thoughtindustries.com/incoming/v2/sections/:idExample request
curl "https://example.thoughtindustries.com/incoming/v2/sections/:id" \
-H 'Authorization: Bearer YOUR_API_KEY'Parameters
| Name | Type | Required | Location | Description |
|---|---|---|---|---|
id | uuid | Yes | path | The unique identifier of the section to retrieve. |
Example response
{
"data": {
"APISectionById": {
"id": "00000000-0000-0000-0000-000000000000",
"title": "string",
"slug": "example-slug",
"status": "draft",
"releaseAt": "2024-01-01T00:00:00.000Z",
"parentSectionId": "00000000-0000-0000-0000-000000000000",
"lessonCount": 0,
"courseId": "00000000-0000-0000-0000-000000000000",
"courseTitle": "string"
}
}
}Response fields
| Field | Type | Description |
|---|---|---|
id | uuid | Unique identifier of the section. |
title | string | Display title of the section. |
slug | string | URL-friendly identifier for the section. |
status | Status | Publication status of the section (e.g. draft or published). |
releaseAt | ISO 8601 timestamp | Date and time when the section becomes available to learners, in ISO 8601 format. |
parentSectionId | uuid | Unique identifier of the parent section, if this section is nested. |
lessonCount | integer | Total number of lessons contained in the section. |
courseId | uuid | Unique identifier of the course this section belongs to. |
courseTitle | string | Display title of the course this section belongs to. |