API (student) : GET /students/{numEtud} #10

Closed
opened 2026-03-30 10:05:41 +00:00 by djalim · 0 comments
Collaborator

Fonctionnalité a ajouter :
Récupérer le détail d'un étudiant par son numéro.
Accessible uniquement par un administrateur.

Route :
GET /students/{numEtud}

Paramètres path :

Paramètre Type Description
numEtud integer Numéro de l'étudiant

Exemples

GET /students/21212006

{
  "numEtud": 21212006,
  "nom": "Dupont",
  "prenom": "Jean",
  "idPromo": "4AFISE25/26"
}

Réponse 404 :

{
  "error": "Ressource introuvable"
}

**Fonctionnalité a ajouter :** Récupérer le détail d'un étudiant par son numéro. Accessible uniquement par un administrateur. **Route :** `GET /students/{numEtud}` **Paramètres path :** | Paramètre | Type | Description | |-----------|---------|-----------------------| | numEtud | integer | Numéro de l'étudiant | **Exemples** `GET /students/21212006` ```json { "numEtud": 21212006, "nom": "Dupont", "prenom": "Jean", "idPromo": "4AFISE25/26" } ``` **Réponse 404 :** ```json { "error": "Ressource introuvable" } ``` ---
djalim added this to the Module Managment project 2026-03-31 11:32:44 +00:00
djalim moved this to Project Backlog in Module Managment on 2026-03-31 11:32:57 +00:00
djalim changed title from API : GET /students/{numEtud} to API (student) : GET /students/{numEtud} 2026-03-31 11:59:30 +00:00
anys moved this to 🟢 Low priority in Module Managment on 2026-04-22 12:26:26 +00:00
anys moved this to 🟡 moderate priority in Module Managment on 2026-04-22 12:27:37 +00:00
anys moved this to ⚙️ in progress in Module Managment on 2026-04-22 12:39:39 +00:00
djalim moved this to ✅ done in Module Managment on 2026-04-22 12:42:39 +00:00
djalim self-assigned this 2026-04-22 12:57:07 +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#10