API (student) : GET /students #7

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

Fonctionnalité a ajouter :
Liste tous les étudiants présents dans la base de données.
Doit retourner une liste vide pour toute personne autre qu'un administrateur.

Route :
GET /students

Paramètres query optionnels :

Paramètre Type Description
idPromo string Filtrer par promotion

Exemples

GET /students

[
  {
    "numEtud": 21212006,
    "nom": "string",
    "prenom": "string",
    "idPromo": "4AFISE25/26"
  },
  ...
]

GET /students?idPromo=3AFISE25/26

[
  {
    "numEtud": 21212006,
    "nom": "string",
    "prenom": "string",
    "idPromo": "3AFISE25/26"
  },
  ...
]

**Fonctionnalité a ajouter :** Liste tous les étudiants présents dans la base de données. Doit retourner une liste vide pour toute personne autre qu'un administrateur. **Route :** `GET /students` **Paramètres query optionnels :** | Paramètre | Type | Description | |-----------|--------|------------------------------| | idPromo | string | Filtrer par promotion | **Exemples** `GET /students` ```json [ { "numEtud": 21212006, "nom": "string", "prenom": "string", "idPromo": "4AFISE25/26" }, ... ] ``` `GET /students?idPromo=3AFISE25/26` ```json [ { "numEtud": 21212006, "nom": "string", "prenom": "string", "idPromo": "3AFISE25/26" }, ... ] ``` ---
djalim changed title from API : GET /students to API (student) : GET /students 2026-03-31 11:59:48 +00:00
djalim added this to the Module Managment project 2026-04-21 16:30:49 +00:00
djalim moved this to 🗂️ Project Backlog in Module Managment on 2026-04-21 16:31:57 +00:00
anys moved this to 🟢 Low priority in Module Managment on 2026-04-22 12:26:34 +00:00
anys moved this to 🟡 moderate priority in Module Managment on 2026-04-22 12:27:32 +00:00
anys moved this to ⚙️ in progress in Module Managment on 2026-04-22 12:39:37 +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#7