🧭 How Users Access the Learning Path Homepage
The most common way users reach the Learning Path Homepage (LP HP) is through the catalog page. Each catalog tile includes a View button, which redirects the user to the corresponding Learning Path homepage. To support this behavior, each catalog node(LP) includes a Call to Action (CTA) with the action IDVIEW_LP. This CTA provides all the necessary metadata for redirecting the user to the correct Learning Path.
A Call to Action (CTA) object defines which actions a user can perform on a particular Learning Path. The available CTAs depend on the current learning state for that Learning Path — including enrollment status, completion, scores, or access eligibility.
getCatalogData query, which returns a list of catalog items along with the CTAs available for each Learning Path based on the current user’s learning state.
query getCatalogData {
getCatalogData(first: 1) {
edges {
node {
cta {
actionId
title
arguments {
key
value
}
metadata {
key
value
}
}
}
}
}
}
{
"data": {
"getCatalogData": {
"edges": [
{
"node": {
"cta": [
{
"actionId": "VIEW_LP",
"title": "View",
"arguments": [
{
"key": "lpId",
"value": "40"
}
],
"metadata": []
},
{
"actionId": "ENROLL_LP",
"title": "Enroll",
"arguments": [
{
"key": "lpId",
"value": "40"
}
],
"metadata": [
{
"key": "type",
"value": "button"
}
]
}
]
}
}
]
}
}
}
Retrieving a Learning Path Object
To retrieve Learning Path data, you can use thegetLearningPath query with the lpId argument provided in the VIEW_LP CTA:
query getLearningPath {
getLearningPath(lpId: 40) {
id
userEnrolled
modulesNumber
activitiesNumber
certificationEnabled
infoMessage {
type
title
description
status
cta {
title
actionId
arguments {
key
value
}
metadata {
key
value
}
}
}
cta {
title
actionId
arguments {
key
value
}
metadata {
key
value
}
}
navigation {
edgeId
edgeRid
title
description
navigationPath
locked
lockReasons
image {
url
}
attempt {
id
metrics {
globalScore
progress
status
}
}
attemptQuote {
used
allowed
}
learningContentType
cta {
title
actionId
arguments {
key
value
}
metadata {
key
value
}
}
}
training {
title
description
duration {
name
}
domain {
name
}
image {
alt
title
url
}
attempt {
metrics {
globalScore
progress
status
}
}
}
}
}
{
"data": {
"getLearningPath": {
"id": "40",
"userEnrolled": false,
"modulesNumber": 2,
"activitiesNumber": 3,
"certificationEnabled": false,
"infoMessage": [],
"cta": [
{
"title": "View",
"actionId": "VIEW_LP",
"arguments": [
{
"key": "lpId",
"value": "40"
}
],
"metadata": []
},
{
"title": "Enroll",
"actionId": "ENROLL_LP",
"arguments": [
{
"key": "lpId",
"value": "40"
}
],
"metadata": [
{
"key": "type",
"value": "button"
}
]
}
],
"navigation": [
{
"edgeId": "116",
"edgeRid": "488",
"title": "Target Results of 2024",
"description": "<p>Distinctively leverage other's viral initiatives and open-source deliverables. Globally morph ubiquitous vortals vis-a-vis go forward leadership. Quickly synthesize focused \"outside the box\" thinking via resource-leveling communities. Quickly synergize team building expertise with pandemic action items. Distinctively engage team building expertise.</p>",
"navigationPath": null,
"locked": true,
"lockReasons": [
"Complete prior module"
],
"image": [],
"attempt": null,
"attemptQuote": null,
"learningContentType": "QUIZ",
"cta": []
},
{
"edgeId": "119",
"edgeRid": "485",
"title": "Future goals",
"description": null,
"navigationPath": null,
"locked": true,
"lockReasons": [
"Complete prior module"
],
"image": [],
"attempt": null,
"attemptQuote": null,
"learningContentType": "QUIZ",
"cta": []
}
],
"training": {
"title": "How to build High-Load Infrastructure in 2025",
"description": "<p>Enthusiastically impact covalent solutions via web-enabled e-services. Efficiently scale real-time technology without team building meta-services. Compellingly reinvent focused ideas via intuitive niches. Competently incubate market positioning outsourcing and customer directed markets. Efficiently maintain seamless technology after visionary e-tailers.</p><p>Synergistically deploy.</p>",
"duration": [
{
"name": "1 min"
}
],
"domain": [
{
"name": "Domain 1"
}
],
"image": [
{
"alt": null,
"title": "slide_IMG_8336.jpeg",
"url": "http://opigno4-project.docksal.site/sites/default/files/2025-01/slide_IMG_8336.jpeg"
}
],
"attempt": null
}
}
}
}
1. General Learning path metadata
1. General Learning path metadata
"id": "40",
"userEnrolled": false,
"modulesNumber": 2,
"activitiesNumber": 3,
"certificationEnabled": false,
"infoMessage": [],
2. General training data
2. General training data
"training": {
"title": "How to build High-Load Infrastructure in 2025",
"description": "<p>Enthusiastically impact covalent solutions via web-enabled e-services. Efficiently scale real-time technology without team building meta-services. Compellingly reinvent focused ideas via intuitive niches. Competently incubate market positioning outsourcing and customer directed markets. Efficiently maintain seamless technology after visionary e-tailers.</p><p>Synergistically deploy.</p>",
"duration": [
{
"name": "1 min"
}
],
"domain": [
{
"name": "Domain 1"
}
],
"image": [
{
"alt": null,
"title": "slide_IMG_8336.jpeg",
"url": "http://opigno4-project.docksal.site/sites/default/files/2025-01/slide_IMG_8336.jpeg"
}
],
"attempt": null
}
3. CTA objects avaliable for the LearningPath
3. CTA objects avaliable for the LearningPath
"cta": [
{
"title": "View",
"actionId": "VIEW_LP",
"arguments": [
{
"key": "lpId",
"value": "40"
}
],
"metadata": []
},
{
"title": "Enroll",
"actionId": "ENROLL_LP",
"arguments": [
{
"key": "lpId",
"value": "40"
}
],
"metadata": [
{
"key": "type",
"value": "button"
}
]
}
]
4. Navigation edges within the Learning Path
4. Navigation edges within the Learning Path
"navigation": [
{
"edgeId": "116",
"edgeRid": "488",
"title": "Target Results of 2024",
"description": "<p>Distinctively leverage other's viral initiatives and open-source deliverables. Globally morph ubiquitous vortals vis-a-vis go forward leadership. Quickly synthesize focused \"outside the box\" thinking via resource-leveling communities. Quickly synergize team building expertise with pandemic action items. Distinctively engage team building expertise.</p>",
"navigationPath": null,
"locked": true,
"lockReasons": [
"Complete prior module"
],
"image": [],
"attempt": null,
"attemptQuote": null,
"learningContentType": "QUIZ",
"cta": []
},
{
"edgeId": "119",
"edgeRid": "485",
"title": "Future goals",
"description": null,
"navigationPath": null,
"locked": true,
"lockReasons": [
"Complete prior module"
],
"image": [],
"attempt": null,
"attemptQuote": null,
"learningContentType": "QUIZ",
"cta": []
}
],
