List Public Exercises
Changed onRetrieve 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
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
- Auth: OAuth 2 (password, token URL api/login)
Query parameters
Filter by year (e.g. premiere_fr)
Filter by chapter (e.g. derivation_chapitre)
Filter by theme IDs
Filter by difficulty tag ID
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 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.
Use smart selection algorithm to select exercises
Number of exercises to return when using smart selection
Response
Successful Response
Changes
- warning
added the new
lacordaireenum value to the/response property for the response status
- warning
- info
added the optional property
/to the response with the status
- info