public_exercises

Create Public Exercise

Create a new public exercise, with multiple themes (tags) and content/solution. Automatically assigns a sequence number by finding the highest existing one and incrementing it.

post/public-exercises

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'
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'
likes_countinteger
savoirs_faire_idsstring[]
titlestring nullable

Changes

No recorded changes to this endpoint across all 2 revisions of this API.