Skip to main content

LearningPathBySlug

Returns the learning path associated with the slug.

LearningPathBySlug(
slug: Slug!
): LearningPath

Arguments

LearningPathBySlug.slug ● Slug! non-null scalar

The slug for the Learning Path.

Type

LearningPath object

Examples

Run in Postman

Query:

LearningPathBySlug($slug: Slug!) {
LearningPathBySlug(slug: $slug) {
id
layoutId
layout {
...LayoutFragment
}
learnerLayoutId
learnerLayout {
...LayoutFragment
}
name
sku
ribbon {
...RibbonFragment
}
slug
client {
...ClientFragment
}
createdAt
metaTitle
metaDescription
asset
assetAltText
detailAsset
detailAssetAltText
heroAsset
heroAssetAltText
priceInCents
suggestedRetailPriceInCents
alternativePricingType
alternativePricingRef
accessDays
shortDescription
longDescription
tags {
...TagFragment
}
status
freeWithRegistration
hasMultipleCurrencies
prices {
...ItemPriceFragment
}
customFields
contentType
confirmationHtml
startDate
endDate
enrollmentStartDate
enrollmentEndDate
milestones {
...MilestoneFragment
}
availabilityStatus
currentUserStartActionDate
isPayAsYouGo
language
futurePublishDate
purchasable
taxable
fulfillmentCenter {
...FulfillmentCenterFragment
}
taxCategory
currentUserPendingCertificate
currentUserEarnedCertificate
currentUserDueDate
bulkPurchasingEnabled
seatTiers {
...SeatTierFragment
}
seatPackages {
...SeatPackageFragment
}
lastTierPriceInCents
prerequisiteCourses {
...CourseFragment
}
prerequisiteLearningPaths {
...LearningPathFragment
}
resourceType
seatsLimit
videoAsset
relatedQuery
relatedQuerySignature
source
authors
publishDate
externalDetailUrl
kind
tabs {
...LearningPathTabsFragment
}
updatedAt
dueDate
dueDateDays
authoringClient
}
}

Variables:

{
"slug": "Slug"
}

Response:

{
"data": {
"LearningPathBySlug": {
"id": "ab740d4e-f094-4810-b491-319dff54bdd2",
"layoutId": "ab740d4e-f094-4810-b491-319dff54bdd2",
"layout": "Layout",
"learnerLayoutId": "ab740d4e-f094-4810-b491-319dff54bdd2",
"learnerLayout": "Layout",
"name": "xyz789",
"sku": "xyz789",
"ribbon": "Ribbon",
"slug": "Slug",
"client": "client-1",
"createdAt": "2024-02-21T18:16:47.178Z",
"metaTitle": "abc123",
"metaDescription": "xyz789",
"asset": "URL",
"assetAltText": "abc123",
"detailAsset": "URL",
"detailAssetAltText": "xyz789",
"heroAsset": "URL",
"heroAssetAltText": "abc123",
"priceInCents": 447,
"suggestedRetailPriceInCents": 447,
"alternativePricingType": "membership",
"alternativePricingRef": 447,
"accessDays": 447,
"shortDescription": "xyz789",
"longDescription": "abc123",
"tags": [
"Tag"
],
"status": "draft",
"freeWithRegistration": true,
"hasMultipleCurrencies": true,
"prices": [
"ItemPrice"
],
"customFields": "{}",
"contentType": "abc123",
"confirmationHtml": "abc123",
"startDate": "2024-02-21T18:16:47.178Z",
"endDate": "2024-02-21T18:16:47.178Z",
"enrollmentStartDate": "2024-02-21T18:16:47.178Z",
"enrollmentEndDate": "2024-08-21T18:16:47.178Z",
"milestones": [
"Milestone"
],
"availabilityStatus": "xyz789",
"currentUserStartActionDate": "2024-08-21T18:16:47.178Z",
"isPayAsYouGo": false,
"language": "xyz789",
"futurePublishDate": "2024-02-21T18:16:47.178Z",
"purchasable": true,
"taxable": true,
"fulfillmentCenter": "FulfillmentCenter",
"taxCategory": "ab740d4e-f094-4810-b491-319dff54bdd2",
"currentUserPendingCertificate": false,
"currentUserEarnedCertificate": true,
"currentUserDueDate": "2024-08-21T18:16:47.178Z",
"bulkPurchasingEnabled": false,
"seatTiers": [
"SeatTier"
],
"seatPackages": [
"SeatPackage"
],
"lastTierPriceInCents": 447,
"prerequisiteCourses": [
"Course"
],
"prerequisiteLearningPaths": [
"LearningPath"
],
"resourceType": "xyz789",
"seatsLimit": 447,
"videoAsset": "ab740d4e-f094-4810-b491-319dff54bdd2",
"relatedQuery": "abc123",
"relatedQuerySignature": "xyz789",
"source": "xyz789",
"authors": [
"xyz789"
],
"publishDate": "2024-02-21T18:16:47.178Z",
"externalDetailUrl": "xyz789",
"kind": "abc123",
"tabs": "LearningPathTabs",
"updatedAt": "2024-02-21T18:16:47.178Z",
"dueDate": "2024-08-21T18:16:47.178Z",
"dueDateDays": 447,
"authoringClient": "ab740d4e-f094-4810-b491-319dff54bdd2"
}
}
}