teacher_exercises

Update Teacher Exercise

Update an existing exercise with sharing permission checks. Creates a new version if content fields are modified.

put/teacher_exercises/{exercise_id}

Path parameters

exercise_idstring required

Request body

titlestring nullable
contentstring nullable
solutionstring nullable
figure_idstring nullable
solution_figure_idstring nullable
difficultystring nullable
themesstring[] nullable
is_privateboolean nullable
is_savedboolean nullable

Response

Successful Response

idstring required
teacher_idstring required
titlestring nullable required
contentstring required
solutionstring nullable required
figure_idstring nullable
solution_figure_idstring nullable
figure_contentstring nullable
figure_solutionstring nullable
difficultystring nullable required
themesstring[] required
sourcestring required
subject'maths' | 'physique-chimie'
grade'sixieme' | 'cinquieme' | 'quatrieme' | 'troisieme' | 'seconde' | 'premiere' | 'terminale' | 'prepa' nullable
created_atstring date-time required
updated_atstring date-time required
is_privateboolean required
is_savedboolean required
school_yearstring required
is_pastboolean
folder_idstring nullable
likes_countinteger

Changes

No recorded changes to this endpoint across all 1 revision of this API.