public_exercises

Update Public Exercise

Changed on
put/public-exercises/{exercise_id}

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/public-exercises/{exercise_id}
  • Auth: OAuth 2 (password, token URL api/login)

Path parameters

exercise_idstring required

Request body

contentstring required
solutionstring required
figure_contentstring nullable
figure_solutionstring nullable
category_pathstring[]
subject'maths' | 'physique-chimie'
difficultystring nullable
library'excellence' | 'cpge' | 'remediation'
type'exercice' | 'automatisme' | 'application_du_cours'
origin'excellence' | 'saint_jean_hulst' | 'lacordaire'
savoirs_faire_idsstring[]
titlestring nullable

Response

Successful Response

idstring required
themesstring[] required
contentstring required
solutionstring required
figure_contentstring nullable
figure_solutionstring nullable
created_atstring date-time required
updated_atstring date-time required
sequence_numberinteger nullable
difficultystring nullable
category_pathstring[]
subject'maths' | 'physique-chimie'
library'excellence' | 'cpge' | 'remediation'
type'exercice' | 'automatisme' | 'application_du_cours'
origin'excellence' | 'saint_jean_hulst' | 'lacordaire'
likes_countinteger
savoirs_faire_idsstring[]
titlestring nullable

Changes

    • warning

      added the new lacordaire enum value to the response property for the response status

    • info

      added the new lacordaire enum value to the request property

    • info

      added the new optional request property

    • info

      added the optional property to the response with the status