Course Group By Slug
Returns a single course group matching the provided URL slug
Returns a single course group matching the provided URL slug.
GET
https://example.thoughtindustries.com/incoming/v2/courseGroups/slug/:slugExample request
curl "https://example.thoughtindustries.com/incoming/v2/courseGroups/slug/:slug" \
-H 'Authorization: Bearer YOUR_API_KEY'Parameters
| Name | Type | Required | Location | Description |
|---|---|---|---|---|
slug | string | Yes | path | The slug identifier. |
Example response
{
"data": {
"APICourseGroupBySlug": {
"id": "00000000-0000-0000-0000-000000000000",
"title": "string",
"slug": "example-slug",
"kind": "microCourse",
"status": "draft",
"isTemplate": true,
"language": "string",
"contentType": "string",
"authors": [
"string"
],
"description": "string",
"displayCourseId": "00000000-0000-0000-0000-000000000000",
"courseCount": 0,
"asset": "string",
"assetAltText": "string",
"detailAsset": "string",
"detailAssetAltText": "string",
"metaTitle": "string",
"metaDescription": "string",
"customFields": {},
"isbn": "string",
"source": "string",
"externalPurchaseUrl": "string",
"externalDetailUrl": "string"
}
}
}Response fields
| Field | Type | Description |
|---|---|---|
id | uuid | Unique identifier of the course group. |
title | string | Display title of the course group. |
slug | string | URL-friendly slug used to identify the course group. |
kind | CourseGroupKind | Category type of the course group (e.g., microCourse). |
status | Status | Publication status of the course group (e.g., draft). |
isTemplate | boolean | Indicates whether the course group is a template. |
language | string | Language of the course group content. |
contentType | string | Content type classification for the course group. |
authors | string[] | List of author names or identifiers associated with the course group. |
description | string | Short descriptive text for the course group. |
displayCourseId | uuid | Identifier of the course used for display or marketing purposes within the group. |
courseCount | integer | Total number of courses contained in the course group. |
asset | string | URL or reference to the primary thumbnail or listing image for the course group. |
assetAltText | string | Accessibility alt text for the primary asset image. |
detailAsset | string | URL or reference to the detail page image for the course group. |
detailAssetAltText | string | Accessibility alt text for the detail asset image. |
metaTitle | string | SEO meta title for the course group detail page. |
metaDescription | string | SEO meta description for the course group detail page. |
customFields | object | Key-value pairs of custom metadata fields defined for the course group. |
isbn | string | ISBN assigned to the course group, if applicable. |
source | string | Origin or source system from which the course group was created or imported. |
externalPurchaseUrl | string | External URL where learners can purchase access to the course group. |
externalDetailUrl | string | External URL pointing to additional detail or marketing information for the course group. |