List Public Exercises
Retrieve public exercises from the DB with optional filtering. Everyone with a valid token can see them.
- year: Optional year to filter by (e.g. premiere_fr)
- chapter: Optional chapter to filter by (e.g. derivation_chapitre)
- themes: Optional list of theme IDs to filter by (OR condition)
- difficulty: Optional difficulty tag ID to filter by (AND condition)
- chapter_tags: Optional list of chapter-specific tag IDs (AND condition)
- sequence_number: Optional sequence number to filter by
- smart: If True, use smart selection algorithm to select exercises
- count: Number of exercises to return when using smart selection
Query parameters
Filter by year (e.g. premiere_fr)
Filter by year (e.g. premiere_fr)
Filter by chapter (e.g. derivation_chapitre)
Filter by chapter (e.g. derivation_chapitre)
Filter by theme IDs
Filter by theme IDs
Filter by difficulty tag ID
Filter by difficulty tag ID
Filter by chapter-specific tags (AND condition)
Filter by chapter-specific tags (AND condition)
Filter by category_path prefix. Repeat the query param for each segment, e.g. ?category_path=Terminale&category_path=Probabilités. When provided, skips the legacy themes/chapter_tags filters.
Filter by category_path prefix. Repeat the query param for each segment, e.g. ?category_path=Terminale&category_path=Probabilités. When provided, skips the legacy themes/chapter_tags filters.
Filter by exercise sequence number
Filter by exercise sequence number
Filter by matière. Defaults to the teacher's own subject; students pass their currently-selected subject. Admins see all when omitted.
Filter by matière. Defaults to the teacher's own subject; students pass their currently-selected subject. Admins see all when omitted.
Use smart selection algorithm to select exercises
Use smart selection algorithm to select exercises
Number of exercises to return when using smart selection
Number of exercises to return when using smart selection
Response
Successful Response
Changes
No recorded changes to this endpoint across all 1 revision of this API.