API (student) : GET /promotions/{idPromo} #15

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

Fonctionnalité a ajouter :
Récupérer le détail d'une promotion par son identifiant.
Accessible uniquement par un administrateur.

Route :
GET /promotions/{idPromo}

Paramètres path :

Paramètre Type Description
idPromo string Identifiant de la promo

Exemples

GET /promotions/JIA4A2526

{
  "idPromo": "JIA4A2526",
  "annee": "2025"
}

Réponse 404 :

{
  "error": "Ressource introuvable"
}

**Fonctionnalité a ajouter :** Récupérer le détail d'une promotion par son identifiant. Accessible uniquement par un administrateur. **Route :** `GET /promotions/{idPromo}` **Paramètres path :** | Paramètre | Type | Description | |-----------|--------|--------------------------| | idPromo | string | Identifiant de la promo | **Exemples** `GET /promotions/JIA4A2526` ```json { "idPromo": "JIA4A2526", "annee": "2025" } ``` **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:33:03 +00:00
djalim changed title from API : GET /promotions/{idPromo} to API (student) : GET /promotions/{idPromo} 2026-03-31 11:58:50 +00:00
anys moved this to 🟢 Low priority in Module Managment on 2026-04-22 12:26:50 +00:00
anys moved this to ⚙️ in progress in Module Managment on 2026-04-22 12:39:59 +00:00
djalim moved this to ✅ done in Module Managment on 2026-04-22 12:42:42 +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#15