API (notes) : GET /notes/{numEtud}/{idModule} #45

Closed
opened 2026-03-31 11:46:28 +00:00 by djalim · 1 comment
Collaborator

Fonctionnalité à ajouter :
Récupérer le détail d'une note pour un étudiant dans un module.

  • 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/{numEtud}/{idModule}

Paramètres path :

Paramètre Type Description
numEtud integer Numéro de l'étudiant
idModule string Identifiant du module

Exemples

GET /notes/21212006/JIN702C

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

**Fonctionnalité à ajouter :** Récupérer le détail d'une note pour un étudiant dans un module. - 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/{numEtud}/{idModule}` **Paramètres path :** | Paramètre | Type | Description | |-----------|---------|------------------------| | numEtud | integer | Numéro de l'étudiant | | idModule | string | Identifiant du module | **Exemples** `GET /notes/21212006/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/{numEtud}/{idModule} to API (notes) : GET /notes/{numEtud}/{idModule} 2026-03-31 11:53:04 +00:00
clement was assigned by djalim 2026-04-22 12:53:23 +00:00
djalim moved this to 🟢 Low priority in Module Managment on 2026-04-22 12:54:02 +00:00
djalim moved this to 🟡 moderate priority in Module Managment on 2026-04-22 12:56:17 +00:00
clement moved this to ⚙️ in progress in Module Managment on 2026-04-23 08:58:39 +00:00
Collaborator

Done, see #129

Done, see #129
anys closed this issue 2026-04-23 09:45:50 +00:00
anys moved this to ✅ done in Module Managment on 2026-04-23 09:46:12 +00:00
Sign in to join this conversation.
No Label
2 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: admin/PolyMPR#45