Teacher Exams LaTeX

Update Exam Pdf Options Route

Changed on

Update PDF formatting options for a specific exam and automatically save as teacher preferences.

Note: Teacher global preferences are only updated if the teacher is the actual owner of the exam, not when accessing a shared exam. This prevents contamination of personal preferences with shared exam settings.

A finished school year does not close this one: the layout describes the printout the teacher is making today, not what the class was given that year. The sujet, the corrigé, the titre and the niveau stay frozen.

put/teacher-exams/{exam_id}/latex/pdf-options

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/teacher-exams/{exam_id}/latex/pdf-options
  • Auth: OAuth 2 (password, token URL api/login)

Path parameters

exam_idstring required

Request body

teacher_namestring nullable
datestring nullable
school_logo_urlstring nullable
class_namestring nullable
title_overridestring nullable
durationstring nullable
general_instructionsstring nullable
templatestring nullable
font_familystring nullable
font_sizenumber nullable
line_spacingnumber nullable
include_headerboolean nullable
number_exercisesboolean nullable
auto_save_preferencesboolean nullable

Response

Successful Response

unknown required

Changes

    • info

      api operation id update_exam_pdf_options_teacher_exams__exam_id__latex_pdf_options_put removed and replaced with update_exam_pdf_options_route_teacher_exams__exam_id__latex_pdf_options_put

    • info

      added the new optional request property