Skip to main content

get_exercise

Function get_exercise 

Source
async fn get_exercise(
    pool: Data<PgPool>,
    user: UserFromOAuthToken,
    exercise_id: Path<Uuid>,
    file_store: Data<dyn FileStore>,
    app_conf: Data<ApplicationConfiguration>,
    _client: SupportedClient,
) -> ControllerResult<Json<ExerciseSlide>>
Expand description
  • GET /api/v0/exercise-services/client/exercises/:id
  • Returns an exercise slide for the user for the given exercise.