Use this file to discover all available pages before exploring further.
For completed modules, the API provides a review mode, accessible via a CTA with the REVIEW_EDGE action ID. This CTA appears as a NavigationItem within the navigation field of the getLearningPath query.
query getLearningPath { getLearningPath(lpId: 40) { userEnrolled navigation { edgeId edgeRid title description contentType navigationPath locked lockReasons learningContentType attempt { metrics { status } } cta { title actionId arguments { key value } metadata { key value } } } }}
In our learner area, the REVIEW_EDGE CTA is displayed as a Review button within the corresponding module, as demonstrated below.Clicking the Review button redirects the user to the Module Review interface.The Module Review interface follows the same general structure and logic as the Take Training interface. However, unlike the training mode, modifying completed activities is not allowed in review mode.Below is the query we use to build the Module Review Interface in our learner area:
query reviewModule { getLearningPathContentData(edgeRid: 481, lpAttemptContextId: 2396, navigationMode: REVIEW) { title cta { title actionId arguments { key value } metadata { key value } } embeddedUrl } getLearningPath(lpId: 40) { modulesNumber cta { title actionId arguments { key value } metadata { key value } } navigation(navigationType: STEP_NAVIGATION, navigationMode: REVIEW, currentStepEdgeRid: 481) { edgeId edgeRid title navigationPath locked attempt { metrics { status } } learningContentType learningContentStepsNumber learningContentTypeName contentType sequence cta { title actionId arguments { key value } metadata { key value } } } training { title attempt { metrics { progress } } } }}
The queries used in the Module Review interface are the same as those in the Take Learning Path interface. The only difference is that the navigationMode: REVIEW argument must be added to the getLearningPathContentData query and to the navigation field in the getLearningPath query. The overall structure and navigation behavior remain consistent with the Take Learning Path interface.Using the data returned from the API, you can build the interface to match what is shown in our learner area: