Programmes

List Programmes

Return all programmes ordered by sort_order (6ème → Terminale).

Filters by the user's teacher_type so a lycée teacher doesn't see Sup / Spé / ECG in their picker tree, AND by subject (matière) so a physique-chimie teacher doesn't get the maths grades leaking into their tree (which produced duplicate "Terminale" nodes). Admins always see everything. Rows with empty teacher_types fall through (visible to all).

get/programmes

Query parameters

include_disabledboolean
subject'maths' | 'physique-chimie' nullable

Scope the curriculum tree to a matière. Defaults to the teacher's own subject; admins see all when omitted. Legacy maths rows (no field) match the maths clause.

Scope the curriculum tree to a matière. Defaults to the teacher's own subject; admins see all when omitted. Legacy maths rows (no field) match the maths clause.

Response

Successful Response

idstring required
grade_keystring required
grade_displaystring required
subjectstring
disabledboolean
sort_orderinteger
teacher_typesstring[]
updated_atstring date-time nullable

Changes

No recorded changes to this endpoint across all 1 revision of this API.