🎯 Learning Path CTA Reference

The API provides Call to Action (CTA) objects, which define the actions a user is allowed to perform on a specific Learning Path. These CTAs are dynamic and depend on the user’s current learning state β€” including enrollment, completion status, score, and access eligibility. Each CTA includes all the necessary argument values required to perform its respective action. The purpose of the action is determined by the actionId.

πŸ“Œ Available CTA Types

  • VIEW_LP – Grants access to view the Learning Path homepage.
  • ENROLL_LP – Allows the user to self-enroll in the Learning Path and begin training.
  • LOGIN_AND_ENROLL_LP – Similar to ENROLL_LP, but only available for anonymous users. Authentication is required before enrollment.
  • CREATE_LP_ATTEMPT – Initializes a new attempt for the Learning Path. This action is typically available when a user is allowed or required to retake the full training path from the beginning.
  • TAKE_EDGE – Enables the user to begin training (e.g., start a module or activity).
  • REVIEW_EDGE – Allows the user to review an activity they’ve already completed, including their submitted answers.
  • RESULTS_EDGE – Provides access to the results of an edge (e.g., quiz or evaluation outcome).
  • RESTART_EDGE – Allows the user to restart a specific training activity or module, clearing previous answers or progress where applicable.
  • BACK_TO_LP_HP – Optional CTA indicating that the user can return to the Learning Path homepage after viewing results or reviewing a module.