API (administration) : PUT /modules/{idModule} #26

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

Fonctionnalité a ajouter :
Modifier un module existant.
Accessible uniquement par un administrateur.

Route :
PUT /modules/{idModule}

Paramètres path :

Paramètre Type Description
idModule string Identifiant du module

Exemples

PUT /modules/JIN702C

{
  "nom": "Optimisation avancée"
}

Réponse 200 :

{
  "id": "JIN702C",
  "nom": "Optimisation avancée"
}

Réponse 404 :

{
  "error": "Ressource introuvable"
}

**Fonctionnalité a ajouter :** Modifier un module existant. Accessible uniquement par un administrateur. **Route :** `PUT /modules/{idModule}` **Paramètres path :** | Paramètre | Type | Description | |-----------|---------|------------------------| | idModule | string | Identifiant du module | **Exemples** `PUT /modules/JIN702C` ```json { "nom": "Optimisation avancée" } ``` **Réponse 200 :** ```json { "id": "JIN702C", "nom": "Optimisation avancée" } ``` **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:20 +00:00
djalim changed title from API : PUT /modules/{idModule} to API (prof) : PUT /modules/{idModule} 2026-03-31 11:56:19 +00:00
djalim changed title from API (prof) : PUT /modules/{idModule} to API (administration) : PUT /modules/{idModule} 2026-04-07 06:38:02 +00:00
djalim moved this to ⚙️ in progress in Module Managment on 2026-04-22 12:43:47 +00:00
djalim moved this to ✅ done in Module Managment on 2026-04-22 12:52:53 +00:00
djalim self-assigned this 2026-04-22 12:56:55 +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#26