API (administration) : GET /modules/{idModule} #25

Closed
opened 2026-03-30 15:42:48 +00:00 by djalim · 0 comments
Collaborator

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

Route :
GET /modules/{idModule}

Paramètres path :

Paramètre Type Description
idModule string Identifiant du module

Exemples

GET /modules/JIN702C

{
  "id": "JIN702C",
  "nom": "Optimisation"
}

Réponse 404 :

{
  "error": "Ressource introuvable"
}

**Fonctionnalité a ajouter :** Récupérer le détail d'un module par son identifiant. Accessible uniquement par un administrateur. **Route :** `GET /modules/{idModule}` **Paramètres path :** | Paramètre | Type | Description | |-----------|---------|------------------------| | idModule | string | Identifiant du module | **Exemples** `GET /modules/JIN702C` ```json { "id": "JIN702C", "nom": "Optimisation" } ``` **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:19 +00:00
djalim changed title from API : GET /modules/{idModule} to API (prof) : GET /modules/{idModule} 2026-03-31 11:56:31 +00:00
djalim changed title from API (prof) : GET /modules/{idModule} to API (administration) : GET /modules/{idModule} 2026-04-07 06:38:15 +00:00
djalim moved this to ⚙️ in progress in Module Managment on 2026-04-22 12:43:34 +00:00
djalim moved this to ✅ done in Module Managment on 2026-04-22 12:52:52 +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#25