teacher_assignments
Update Assignment Sharing
Changed onShare a devoir as an objet commun (colleagues or whole school), update its sharing, or make it private again (empty values). Any collaborator with write access can manage the sharing, not only the owner ("un truc très partagé"). Unlike the historical share-with-teacher endpoint this does not copy anything: everyone edits the same devoir until a class somewhere starts working on it, which freezes it (see services/assignment_sharing.py).
put/teacher/assignments/{assignment_id}/sharing
Request
- Base URLhttps://api.excellence-ai.com (the document declares no server; this is the origin it was published from)
- AuthOAuth 2PasswordToken URLapi/login
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
assignment_idstring required
Request body
Response
Successful Response
Changes
- info
endpoint added
- info