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

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/programmes
  • Auth: OAuth 2 (password, token URL api/login)

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.

Response

Successful Response

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

Changes

    • info

      added the optional property /// to the response with the status

    • info

      added the optional property /// to the response with the status

    • info

      added the optional property / to the response with the status

    • info

      added the optional property / to the response with the status