Module point

Source

Functions§

get_course_points
get /api/v8/org/{organization_slug}/courses/{course_name}/points Returns the course’s points in a json format. Course is searched by name
get_course_points_by_id
get /api/v8/courses/{course_id}/points Returns the course’s points in a json format. Course is searched by id
get_course_points_for_current_user
get /api/v8/org/{organization_slug}/courses/{course_name}/users/current/points Returns the current user’s points from the course in a json format. Course is searched by name
get_course_points_for_current_user_by_id
get /api/v8/courses/{course_id}/users/current/points Returns the current user’s points from the course in a json format. Course is searched by id
get_course_points_for_user
get /api/v8/org/{organization_slug}/courses/{course_name}/users/{user_id}/points Returns the given user’s points from the course in a json format. Course is searched by name
get_course_points_for_user_by_id
get /api/v8/courses/{course_id}/users/{user_id}/points Returns the given user’s points from the course in a json format. Course is searched by id
get_exercise_points
get /api/v8/org/{organization_slug}/courses/{course_name}/exercises/{exercise_name}/points Returns all the awarded points of an excercise for all users
get_exercise_points_by_id
get /api/v8/courses/{course_id}/exercises/{exercise_name}/points Returns all the awarded points of an excercise for all users
get_exercise_points_for_current_user_by_id
get /api/v8/courses/{course_id}/exercises/{exercise_name}/users/current/points Returns all the awarded points of an excercise for current user
get_exercise_points_for_user_by_id
get /api/v8/courses/{course_id}/exercises/{exercise_name}/users/{user_id}/points Returns all the awarded points of an excercise for the specified user