API (notes) : GET /notes #42

Closed
opened 2026-03-31 11:45:19 +00:00 by djalim · 0 comments
Collaborator

Fonctionnalité à ajouter :
Récupère toutes les notes auxquelles l'utilisateur a accès.

  • Un administrateur a accès à toutes les notes.
  • Un professeur a accès uniquement aux notes qu'il a attribuées.
  • Un élève a accès uniquement à ses propres notes.

Route :
GET /notes

Paramètres query optionnels :

Paramètre Type Description
numEtud integer Filtrer par étudiant
idModule string Filtrer par module

Exemples

GET /notes?idModule=JIN702C

[
  {
    "note": 15.5,
    "numEtud": 21212006,
    "idModule": "JIN702C"
  }
]

**Fonctionnalité à ajouter :** Récupère toutes les notes auxquelles l'utilisateur a accès. - Un administrateur a accès à toutes les notes. - Un professeur a accès uniquement aux notes qu'il a attribuées. - Un élève a accès uniquement à ses propres notes. **Route :** `GET /notes` **Paramètres query optionnels :** | Paramètre | Type | Description | |-----------|---------|---------------------------| | numEtud | integer | Filtrer par étudiant | | idModule | string | Filtrer par module | **Exemples** `GET /notes?idModule=JIN702C` ```json [ { "note": 15.5, "numEtud": 21212006, "idModule": "JIN702C" } ] ``` ---
djalim added this to the Module Managment project 2026-03-31 11:48:50 +00:00
djalim moved this to Project Backlog in Module Managment on 2026-03-31 11:49:07 +00:00
djalim changed title from API : GET /notes to API (notes) : GET /notes 2026-03-31 11:53:28 +00:00
clement moved this to ⚙️ in progress in Module Managment on 2026-04-22 12:01:21 +00:00
clement self-assigned this 2026-04-22 12:21:45 +00:00
clement moved this to ✅ done in Module Managment on 2026-04-22 12:29:33 +00:00
clement moved this to ⚙️ in progress in Module Managment on 2026-04-22 12:33:07 +00:00
djalim moved this to ✅ done in Module Managment on 2026-04-22 12:41:40 +00:00
Sign in to join this conversation.
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: admin/PolyMPR#42