Function fetchLearningElementRecommendation

  • Sends a GET request to fetch learning element recommendations from the backend.

    This service function sends an HTTP request to calculate and retrieve learning element recommendations using the backend API. Returns an empty array if no recommendations are present.

    Parameters

    • userId: number

      The ID of the user.

    • courseId: string

      The ID of the course.

    • topicId: string

      The ID of the topic.

    Returns Promise<LearningElementRecommendation>

    Example

    const recommendations = await fetchLearningElementRecommendation(1, '1', '1')
    

Generated using TypeDoc