teacher_exercises

Create Teacher Exercise

Changed on

Create a new exercise for the teacher.

post/teacher_exercises/

Request

  • Base URL: https://api.excellence-ai.com (the document declares no server; this is the origin it was published from)
  • URL: https://api.excellence-ai.com/teacher_exercises/
  • Auth: OAuth 2 (password, token URL api/login)

Request body

titlestring nullable
contentstring required
solutionstring nullable
figure_idstring nullable
solution_figure_idstring nullable
difficultystring nullable
themesstring[]
grade'sixieme' | 'cinquieme' | 'quatrieme' | 'troisieme' | 'seconde' | 'premiere' | 'terminale' | 'prepa' nullable
is_privateboolean
is_savedboolean
folder_idstring 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
folder_idstring nullable
likes_countinteger

Changes

    • breaking

      removed the required property from the response with the status

    • warning

      removed the optional property from the response with the status