diff --git a/docs/ScoDoc9API.md b/docs/ScoDoc9API.md index 94990ee1..605695fd 100644 --- a/docs/ScoDoc9API.md +++ b/docs/ScoDoc9API.md @@ -1,4 +1,5 @@ + ## API pour ScoDoc 9 L'API ScoDoc permet à des applications tierces d'interroger ScoDoc. Elle offre un accès aux informations aux formats XML et JSON. diff --git a/docs/samples/sample_departement-etudiants.json.md b/docs/samples/sample_departement-etudiants.json.md index 2021b56a..28953fad 100644 --- a/docs/samples/sample_departement-etudiants.json.md +++ b/docs/samples/sample_departement-etudiants.json.md @@ -11,7 +11,11 @@ "id": 1, "nom": "COSTA", "nom_usuel": null, - "prenom": "SACHA" + "prenom": "SACHA", + "sort_key": [ + "costa", + "sacha" + ] }, { "civilite": "F", @@ -21,7 +25,11 @@ "id": 2, "nom": "NAUDIN", "nom_usuel": null, - "prenom": "SIMONE" + "prenom": "SIMONE", + "sort_key": [ + "naudin", + "simone" + ] }, "..." ] @@ -38,7 +46,11 @@ "id": 1, "nom": "COSTA", "nom_usuel": null, - "prenom": "SACHA" + "prenom": "SACHA", + "sort_key": [ + "costa", + "sacha" + ] }, { "civilite": "F", @@ -48,7 +60,11 @@ "id": 2, "nom": "NAUDIN", "nom_usuel": null, - "prenom": "SIMONE" + "prenom": "SIMONE", + "sort_key": [ + "naudin", + "simone" + ] }, "..." ] diff --git a/docs/samples/sample_departement-formsemestres-courants.json.md b/docs/samples/sample_departement-formsemestres-courants.json.md index a1ca439f..716c032e 100644 --- a/docs/samples/sample_departement-formsemestres-courants.json.md +++ b/docs/samples/sample_departement-formsemestres-courants.json.md @@ -3,63 +3,6 @@ #### GET /departement/TAPI/formsemestres_courants ```json [ - { - "block_moyennes": false, - "bul_bgcolor": "white", - "bul_hide_xml": false, - "date_debut": "01/09/2021", - "date_debut_iso": "2021-09-01", - "date_fin": "31/08/2022", - "date_fin_iso": "2022-08-31", - "departement": { - "acronym": "TAPI", - "date_creation": "2022-08-20T12:00:00.000000+02:00", - "description": null, - "id": 1, - "visible": true - }, - "dept_id": 1, - "elt_annee_apo": null, - "elt_sem_apo": null, - "ens_can_edit_eval": false, - "etape_apo": "A1, A2, A3", - "etat": true, - "formation": { - "acronyme": "BUT R&T", - "code_specialite": null, - "departement": { - "acronym": "TAPI", - "date_creation": "2022-08-20T12:00:00.000000+02:00", - "description": null, - "id": 1, - "visible": true - }, - "dept_id": 1, - "formation_code": "V1RET", - "formation_id": 1, - "id": 1, - "referentiel_competence_id": 1, - "titre": "BUT R&T", - "titre_officiel": "Bachelor technologique r\u00e9seaux et t\u00e9l\u00e9communications", - "type_parcours": 700, - "version": 1 - }, - "formation_id": 1, - "formsemestre_id": 1, - "gestion_compensation": false, - "gestion_semestrielle": false, - "id": 1, - "modalite": "FI", - "parcours": [], - "resp_can_change_ens": true, - "resp_can_edit": false, - "responsables": [], - "scodoc7_id": null, - "semestre_id": 1, - "titre": "Semestre test", - "titre_formation": "BUT R&T", - "titre_num": "Semestre test semestre 1" - }, "..." ] ``` @@ -67,63 +10,6 @@ #### GET /departement/id/1/formsemestres_courants ```json [ - { - "block_moyennes": false, - "bul_bgcolor": "white", - "bul_hide_xml": false, - "date_debut": "01/09/2021", - "date_debut_iso": "2021-09-01", - "date_fin": "31/08/2022", - "date_fin_iso": "2022-08-31", - "departement": { - "acronym": "TAPI", - "date_creation": "2022-08-20T12:00:00.000000+02:00", - "description": null, - "id": 1, - "visible": true - }, - "dept_id": 1, - "elt_annee_apo": null, - "elt_sem_apo": null, - "ens_can_edit_eval": false, - "etape_apo": "A1, A2, A3", - "etat": true, - "formation": { - "acronyme": "BUT R&T", - "code_specialite": null, - "departement": { - "acronym": "TAPI", - "date_creation": "2022-08-20T12:00:00.000000+02:00", - "description": null, - "id": 1, - "visible": true - }, - "dept_id": 1, - "formation_code": "V1RET", - "formation_id": 1, - "id": 1, - "referentiel_competence_id": 1, - "titre": "BUT R&T", - "titre_officiel": "Bachelor technologique r\u00e9seaux et t\u00e9l\u00e9communications", - "type_parcours": 700, - "version": 1 - }, - "formation_id": 1, - "formsemestre_id": 1, - "gestion_compensation": false, - "gestion_semestrielle": false, - "id": 1, - "modalite": "FI", - "parcours": [], - "resp_can_change_ens": true, - "resp_can_edit": false, - "responsables": [], - "scodoc7_id": null, - "semestre_id": 1, - "titre": "Semestre test", - "titre_formation": "BUT R&T", - "titre_num": "Semestre test semestre 1" - }, "..." ] ``` diff --git a/docs/samples/sample_departement-logo.json.md b/docs/samples/sample_departement-logo.json.md index 890c64a9..16f6dfe9 100644 --- a/docs/samples/sample_departement-logo.json.md +++ b/docs/samples/sample_departement-logo.json.md @@ -3,16 +3,16 @@ #### GET /departement/TAPI/logo/demo ```json { - "Content-Disposition": "inline; filename=logo_demo.png", - "Content-Type": "image/png" + "Content-Disposition": "inline; filename=logo_demo.jpg", + "Content-Type": "image/jpg" } ``` #### GET /departement/id/1/logo/demo ```json { - "Content-Disposition": "inline; filename=logo_demo.png", - "Content-Type": "image/png" + "Content-Disposition": "inline; filename=logo_demo.jpg", + "Content-Type": "image/jpg" } ``` diff --git a/docs/samples/sample_departement-logos.json.md b/docs/samples/sample_departement-logos.json.md index 59a3ab26..1836b94b 100644 --- a/docs/samples/sample_departement-logos.json.md +++ b/docs/samples/sample_departement-logos.json.md @@ -3,6 +3,7 @@ #### GET /departement/TAPI/logos ```json [ + "D", "demo", "..." ] @@ -11,6 +12,7 @@ #### GET /departement/id/1/logos ```json [ + "D", "demo", "..." ] diff --git a/docs/samples/sample_etudiant-formsemestre-bulletin.json.md b/docs/samples/sample_etudiant-formsemestre-bulletin.json.md index 79f98fff..47b8cb3e 100644 --- a/docs/samples/sample_etudiant-formsemestre-bulletin.json.md +++ b/docs/samples/sample_etudiant-formsemestre-bulletin.json.md @@ -72,6 +72,7 @@ "coef": "01.00", "date": null, "description": null, + "evaluation_type": 0, "heure_debut": "08:00", "heure_fin": "09:00", "id": 1, @@ -101,6 +102,7 @@ "coef": "01.00", "date": null, "description": null, + "evaluation_type": 0, "heure_debut": "08:00", "heure_fin": "09:00", "id": 3, @@ -130,6 +132,7 @@ "coef": "01.00", "date": null, "description": null, + "evaluation_type": 0, "heure_debut": "08:00", "heure_fin": "09:00", "id": 4, @@ -159,6 +162,7 @@ "coef": "01.00", "date": null, "description": null, + "evaluation_type": 0, "heure_debut": "08:00", "heure_fin": "09:00", "id": 5, @@ -188,6 +192,7 @@ "coef": "01.00", "date": null, "description": null, + "evaluation_type": 0, "heure_debut": "08:00", "heure_fin": "09:00", "id": 9, @@ -217,6 +222,7 @@ "coef": "01.00", "date": null, "description": null, + "evaluation_type": 0, "heure_debut": "08:00", "heure_fin": "09:00", "id": 6, @@ -246,6 +252,7 @@ "coef": "01.00", "date": null, "description": null, + "evaluation_type": 0, "heure_debut": "08:00", "heure_fin": "09:00", "id": 17, @@ -275,6 +282,7 @@ "coef": "01.00", "date": null, "description": null, + "evaluation_type": 0, "heure_debut": "08:00", "heure_fin": "09:00", "id": 18, @@ -304,6 +312,7 @@ "coef": "01.00", "date": null, "description": null, + "evaluation_type": 0, "heure_debut": "08:00", "heure_fin": "09:00", "id": 19, @@ -333,6 +342,7 @@ "coef": "01.00", "date": null, "description": null, + "evaluation_type": 0, "heure_debut": "08:00", "heure_fin": "09:00", "id": 10, @@ -362,6 +372,7 @@ "coef": "01.00", "date": null, "description": null, + "evaluation_type": 0, "heure_debut": "08:00", "heure_fin": "09:00", "id": 11, @@ -391,6 +402,7 @@ "coef": "01.00", "date": null, "description": null, + "evaluation_type": 0, "heure_debut": "08:00", "heure_fin": "09:00", "id": 20, @@ -420,6 +432,7 @@ "coef": "01.00", "date": null, "description": null, + "evaluation_type": 0, "heure_debut": "08:00", "heure_fin": "09:00", "id": 12, @@ -449,6 +462,7 @@ "coef": "01.00", "date": null, "description": null, + "evaluation_type": 0, "heure_debut": "08:00", "heure_fin": "09:00", "id": 13, @@ -478,6 +492,7 @@ "coef": "01.00", "date": null, "description": null, + "evaluation_type": 0, "heure_debut": "08:00", "heure_fin": "09:00", "id": 21, @@ -509,6 +524,7 @@ "coef": "01.00", "date": null, "description": null, + "evaluation_type": 0, "heure_debut": "08:00", "heure_fin": "09:00", "id": 2, @@ -538,6 +554,7 @@ "coef": "01.00", "date": null, "description": null, + "evaluation_type": 0, "heure_debut": "08:00", "heure_fin": "09:00", "id": 7, @@ -567,6 +584,7 @@ "coef": "01.00", "date": null, "description": null, + "evaluation_type": 0, "heure_debut": "08:00", "heure_fin": "09:00", "id": 8, @@ -596,6 +614,7 @@ "coef": "01.00", "date": null, "description": null, + "evaluation_type": 0, "heure_debut": "08:00", "heure_fin": "09:00", "id": 14, @@ -625,6 +644,7 @@ "coef": "01.00", "date": null, "description": null, + "evaluation_type": 0, "heure_debut": "08:00", "heure_fin": "09:00", "id": 15, @@ -654,6 +674,7 @@ "coef": "01.00", "date": null, "description": null, + "evaluation_type": 0, "heure_debut": "08:00", "heure_fin": "09:00", "id": 16, @@ -966,6 +987,7 @@ "type": 0 } }, + "ues_capitalisees": {}, "version": "0" } ``` @@ -1042,6 +1064,7 @@ "coef": "01.00", "date": null, "description": null, + "evaluation_type": 0, "heure_debut": "08:00", "heure_fin": "09:00", "id": 1, @@ -1071,6 +1094,7 @@ "coef": "01.00", "date": null, "description": null, + "evaluation_type": 0, "heure_debut": "08:00", "heure_fin": "09:00", "id": 3, @@ -1100,6 +1124,7 @@ "coef": "01.00", "date": null, "description": null, + "evaluation_type": 0, "heure_debut": "08:00", "heure_fin": "09:00", "id": 4, @@ -1129,6 +1154,7 @@ "coef": "01.00", "date": null, "description": null, + "evaluation_type": 0, "heure_debut": "08:00", "heure_fin": "09:00", "id": 5, @@ -1158,6 +1184,7 @@ "coef": "01.00", "date": null, "description": null, + "evaluation_type": 0, "heure_debut": "08:00", "heure_fin": "09:00", "id": 9, @@ -1187,6 +1214,7 @@ "coef": "01.00", "date": null, "description": null, + "evaluation_type": 0, "heure_debut": "08:00", "heure_fin": "09:00", "id": 6, @@ -1216,6 +1244,7 @@ "coef": "01.00", "date": null, "description": null, + "evaluation_type": 0, "heure_debut": "08:00", "heure_fin": "09:00", "id": 17, @@ -1245,6 +1274,7 @@ "coef": "01.00", "date": null, "description": null, + "evaluation_type": 0, "heure_debut": "08:00", "heure_fin": "09:00", "id": 18, @@ -1274,6 +1304,7 @@ "coef": "01.00", "date": null, "description": null, + "evaluation_type": 0, "heure_debut": "08:00", "heure_fin": "09:00", "id": 19, @@ -1303,6 +1334,7 @@ "coef": "01.00", "date": null, "description": null, + "evaluation_type": 0, "heure_debut": "08:00", "heure_fin": "09:00", "id": 10, @@ -1332,6 +1364,7 @@ "coef": "01.00", "date": null, "description": null, + "evaluation_type": 0, "heure_debut": "08:00", "heure_fin": "09:00", "id": 11, @@ -1361,6 +1394,7 @@ "coef": "01.00", "date": null, "description": null, + "evaluation_type": 0, "heure_debut": "08:00", "heure_fin": "09:00", "id": 20, @@ -1390,6 +1424,7 @@ "coef": "01.00", "date": null, "description": null, + "evaluation_type": 0, "heure_debut": "08:00", "heure_fin": "09:00", "id": 12, @@ -1419,6 +1454,7 @@ "coef": "01.00", "date": null, "description": null, + "evaluation_type": 0, "heure_debut": "08:00", "heure_fin": "09:00", "id": 13, @@ -1448,6 +1484,7 @@ "coef": "01.00", "date": null, "description": null, + "evaluation_type": 0, "heure_debut": "08:00", "heure_fin": "09:00", "id": 21, @@ -1479,6 +1516,7 @@ "coef": "01.00", "date": null, "description": null, + "evaluation_type": 0, "heure_debut": "08:00", "heure_fin": "09:00", "id": 2, @@ -1508,6 +1546,7 @@ "coef": "01.00", "date": null, "description": null, + "evaluation_type": 0, "heure_debut": "08:00", "heure_fin": "09:00", "id": 7, @@ -1537,6 +1576,7 @@ "coef": "01.00", "date": null, "description": null, + "evaluation_type": 0, "heure_debut": "08:00", "heure_fin": "09:00", "id": 8, @@ -1566,6 +1606,7 @@ "coef": "01.00", "date": null, "description": null, + "evaluation_type": 0, "heure_debut": "08:00", "heure_fin": "09:00", "id": 14, @@ -1595,6 +1636,7 @@ "coef": "01.00", "date": null, "description": null, + "evaluation_type": 0, "heure_debut": "08:00", "heure_fin": "09:00", "id": 15, @@ -1624,6 +1666,7 @@ "coef": "01.00", "date": null, "description": null, + "evaluation_type": 0, "heure_debut": "08:00", "heure_fin": "09:00", "id": 16, @@ -1936,6 +1979,7 @@ "type": 0 } }, + "ues_capitalisees": {}, "version": "0" } ``` @@ -2012,6 +2056,7 @@ "coef": "01.00", "date": null, "description": null, + "evaluation_type": 0, "heure_debut": "08:00", "heure_fin": "09:00", "id": 1, @@ -2041,6 +2086,7 @@ "coef": "01.00", "date": null, "description": null, + "evaluation_type": 0, "heure_debut": "08:00", "heure_fin": "09:00", "id": 3, @@ -2070,6 +2116,7 @@ "coef": "01.00", "date": null, "description": null, + "evaluation_type": 0, "heure_debut": "08:00", "heure_fin": "09:00", "id": 4, @@ -2099,6 +2146,7 @@ "coef": "01.00", "date": null, "description": null, + "evaluation_type": 0, "heure_debut": "08:00", "heure_fin": "09:00", "id": 5, @@ -2128,6 +2176,7 @@ "coef": "01.00", "date": null, "description": null, + "evaluation_type": 0, "heure_debut": "08:00", "heure_fin": "09:00", "id": 9, @@ -2157,6 +2206,7 @@ "coef": "01.00", "date": null, "description": null, + "evaluation_type": 0, "heure_debut": "08:00", "heure_fin": "09:00", "id": 6, @@ -2186,6 +2236,7 @@ "coef": "01.00", "date": null, "description": null, + "evaluation_type": 0, "heure_debut": "08:00", "heure_fin": "09:00", "id": 17, @@ -2215,6 +2266,7 @@ "coef": "01.00", "date": null, "description": null, + "evaluation_type": 0, "heure_debut": "08:00", "heure_fin": "09:00", "id": 18, @@ -2244,6 +2296,7 @@ "coef": "01.00", "date": null, "description": null, + "evaluation_type": 0, "heure_debut": "08:00", "heure_fin": "09:00", "id": 19, @@ -2273,6 +2326,7 @@ "coef": "01.00", "date": null, "description": null, + "evaluation_type": 0, "heure_debut": "08:00", "heure_fin": "09:00", "id": 10, @@ -2302,6 +2356,7 @@ "coef": "01.00", "date": null, "description": null, + "evaluation_type": 0, "heure_debut": "08:00", "heure_fin": "09:00", "id": 11, @@ -2331,6 +2386,7 @@ "coef": "01.00", "date": null, "description": null, + "evaluation_type": 0, "heure_debut": "08:00", "heure_fin": "09:00", "id": 20, @@ -2360,6 +2416,7 @@ "coef": "01.00", "date": null, "description": null, + "evaluation_type": 0, "heure_debut": "08:00", "heure_fin": "09:00", "id": 12, @@ -2389,6 +2446,7 @@ "coef": "01.00", "date": null, "description": null, + "evaluation_type": 0, "heure_debut": "08:00", "heure_fin": "09:00", "id": 13, @@ -2418,6 +2476,7 @@ "coef": "01.00", "date": null, "description": null, + "evaluation_type": 0, "heure_debut": "08:00", "heure_fin": "09:00", "id": 21, @@ -2449,6 +2508,7 @@ "coef": "01.00", "date": null, "description": null, + "evaluation_type": 0, "heure_debut": "08:00", "heure_fin": "09:00", "id": 2, @@ -2478,6 +2538,7 @@ "coef": "01.00", "date": null, "description": null, + "evaluation_type": 0, "heure_debut": "08:00", "heure_fin": "09:00", "id": 7, @@ -2507,6 +2568,7 @@ "coef": "01.00", "date": null, "description": null, + "evaluation_type": 0, "heure_debut": "08:00", "heure_fin": "09:00", "id": 8, @@ -2536,6 +2598,7 @@ "coef": "01.00", "date": null, "description": null, + "evaluation_type": 0, "heure_debut": "08:00", "heure_fin": "09:00", "id": 14, @@ -2565,6 +2628,7 @@ "coef": "01.00", "date": null, "description": null, + "evaluation_type": 0, "heure_debut": "08:00", "heure_fin": "09:00", "id": 15, @@ -2594,6 +2658,7 @@ "coef": "01.00", "date": null, "description": null, + "evaluation_type": 0, "heure_debut": "08:00", "heure_fin": "09:00", "id": 16, @@ -2906,6 +2971,7 @@ "type": 0 } }, + "ues_capitalisees": {}, "version": "0" } ``` @@ -2913,7 +2979,7 @@ #### GET /etudiant/nip/11/formsemestre/1/bulletin/short/pdf ```json { - "Content-Disposition": "attachment; filename=\"bul-Semestre_test_semestre_1-2022-08-21-FLEURY.pdf\"", + "Content-Disposition": "attachment; filename=\"bul-Semestre_test_semestre_1-2022-10-23-FLEURY.pdf\"", "Content-Type": "application/pdf" } ``` diff --git a/docs/samples/sample_etudiant-formsemestre-groups.json.md b/docs/samples/sample_etudiant-formsemestre-groups.json.md index 662b8ed2..d09b8343 100644 --- a/docs/samples/sample_etudiant-formsemestre-groups.json.md +++ b/docs/samples/sample_etudiant-formsemestre-groups.json.md @@ -7,10 +7,11 @@ "bul_show_rank": false, "formsemestre_id": 1, "group_id": 1, - "group_name": null, + "group_name": "", + "group_numero": 0, "groups_editable": true, "id": 1, - "numero": null, + "numero": 0, "partition_id": 1, "partition_name": null, "show_in_lists": true diff --git a/docs/samples/sample_etudiant.json.md b/docs/samples/sample_etudiant.json.md index c530e763..1da882db 100644 --- a/docs/samples/sample_etudiant.json.md +++ b/docs/samples/sample_etudiant.json.md @@ -63,6 +63,10 @@ "photo_filename": null, "prenom": "MADELEINE", "scodoc7_id": null, + "sort_key": [ + "fleury", + "madeleine" + ], "statut": null } ``` @@ -130,6 +134,10 @@ "photo_filename": null, "prenom": "MADELEINE", "scodoc7_id": null, + "sort_key": [ + "fleury", + "madeleine" + ], "statut": null } ``` @@ -197,6 +205,10 @@ "photo_filename": null, "prenom": "MADELEINE", "scodoc7_id": null, + "sort_key": [ + "fleury", + "madeleine" + ], "statut": null } ``` diff --git a/docs/samples/sample_etudiants-clef.json.md b/docs/samples/sample_etudiants-clef.json.md index 05785b58..a697786c 100644 --- a/docs/samples/sample_etudiants-clef.json.md +++ b/docs/samples/sample_etudiants-clef.json.md @@ -64,6 +64,10 @@ "photo_filename": null, "prenom": "MADELEINE", "scodoc7_id": null, + "sort_key": [ + "fleury", + "madeleine" + ], "statut": null }, "..." @@ -134,6 +138,10 @@ "photo_filename": null, "prenom": "MADELEINE", "scodoc7_id": null, + "sort_key": [ + "fleury", + "madeleine" + ], "statut": null }, "..." @@ -204,6 +212,10 @@ "photo_filename": null, "prenom": "MADELEINE", "scodoc7_id": null, + "sort_key": [ + "fleury", + "madeleine" + ], "statut": null }, "..." diff --git a/docs/samples/sample_etudiants-courants.json.md b/docs/samples/sample_etudiants-courants.json.md index 88fd68a0..e85d414a 100644 --- a/docs/samples/sample_etudiants-courants.json.md +++ b/docs/samples/sample_etudiants-courants.json.md @@ -3,26 +3,6 @@ #### GET /etudiants/courants ```json [ - { - "civilite": "X", - "code_ine": "INE1", - "code_nip": "1", - "dept_id": 1, - "id": 1, - "nom": "COSTA", - "nom_usuel": null, - "prenom": "SACHA" - }, - { - "civilite": "F", - "code_ine": "2", - "code_nip": "NIP2", - "dept_id": 1, - "id": 2, - "nom": "NAUDIN", - "nom_usuel": null, - "prenom": "SIMONE" - }, "..." ] ``` @@ -30,132 +10,6 @@ #### GET /etudiants/courants/long ```json [ - { - "admission": { - "anglais": null, - "annee": null, - "annee_bac": null, - "apb_classement_gr": null, - "apb_groupe": null, - "bac": null, - "boursier_prec": null, - "classement": null, - "codelycee": null, - "codepostallycee": null, - "commentaire": null, - "decision": null, - "etudid": 1, - "francais": null, - "id": 1, - "math": null, - "nomlycee": null, - "physique": null, - "qualite": null, - "rang": null, - "rapporteur": null, - "score": null, - "specialite": null, - "type_admission": null, - "villelycee": null - }, - "adresses": [ - { - "codepostaldomicile": null, - "description": null, - "domicile": null, - "email": "SACHA.COSTA@example.com", - "emailperso": null, - "etudid": 1, - "fax": null, - "id": 1, - "paysdomicile": null, - "telephone": null, - "telephonemobile": null, - "typeadresse": "domicile", - "villedomicile": null - } - ], - "boursier": null, - "civilite": "X", - "code_ine": "INE1", - "code_nip": "1", - "date_naissance": null, - "dept_acronym": "TAPI", - "dept_id": 1, - "dept_naissance": null, - "id": 1, - "lieu_naissance": null, - "nationalite": null, - "nom": "COSTA", - "nom_usuel": null, - "photo_filename": null, - "prenom": "SACHA", - "scodoc7_id": null, - "statut": null - }, - { - "admission": { - "anglais": null, - "annee": null, - "annee_bac": null, - "apb_classement_gr": null, - "apb_groupe": null, - "bac": null, - "boursier_prec": null, - "classement": null, - "codelycee": null, - "codepostallycee": null, - "commentaire": null, - "decision": null, - "etudid": 2, - "francais": null, - "id": 2, - "math": null, - "nomlycee": null, - "physique": null, - "qualite": null, - "rang": null, - "rapporteur": null, - "score": null, - "specialite": null, - "type_admission": null, - "villelycee": null - }, - "adresses": [ - { - "codepostaldomicile": null, - "description": null, - "domicile": null, - "email": "SIMONE.NAUDIN@example.com", - "emailperso": null, - "etudid": 2, - "fax": null, - "id": 2, - "paysdomicile": null, - "telephone": null, - "telephonemobile": null, - "typeadresse": "domicile", - "villedomicile": null - } - ], - "boursier": null, - "civilite": "F", - "code_ine": "2", - "code_nip": "NIP2", - "date_naissance": null, - "dept_acronym": "TAPI", - "dept_id": 1, - "dept_naissance": null, - "id": 2, - "lieu_naissance": null, - "nationalite": null, - "nom": "NAUDIN", - "nom_usuel": null, - "photo_filename": null, - "prenom": "SIMONE", - "scodoc7_id": null, - "statut": null - }, "..." ] ``` diff --git a/docs/samples/sample_formation-export.json.md b/docs/samples/sample_formation-export.json.md index bedb5fca..faa8e146 100644 --- a/docs/samples/sample_formation-export.json.md +++ b/docs/samples/sample_formation-export.json.md @@ -34,17 +34,7 @@ "module": [ { "abbrev": "Init aux r\u00e9seaux informatiques", - "app_critiques": { - "AC11.01": { - "libelle": "Ma\u00eetriser les lois fondamentales de l\u2019\u00e9lectricit\u00e9 afin d\u2019intervenir sur des \u00e9quipements de r\u00e9seaux et t\u00e9l\u00e9communications" - }, - "AC11.03": { - "libelle": "Configurer les fonctions de base du re\u0301seau local" - }, - "AC12.04": { - "libelle": "Connecter les syst\u00e8mes de ToIP" - } - }, + "app_critiques": {}, "code": "R101", "code_apogee": "", "coefficient": 1.0, @@ -68,18 +58,7 @@ "heures_tp": 0.0, "module_type": 2, "numero": 10, - "parcours": [ - { - "code": "IOM", - "libelle": "Internet des objets et mobilit\u00e9", - "numero": 0 - }, - { - "code": "PPR", - "libelle": "Pilotage de projets de re\u0301seaux", - "numero": 0 - } - ], + "parcours": [], "semestre_id": 1, "titre": "Initiation aux r\u00e9seaux informatiques" }, @@ -206,7 +185,7 @@ "titre": "Administrer les r\u00e9seaux et l\u2019Internet" } ], - "niveau_competence_id": 1, + "niveau_competence_id": "", "numero": 1, "reference": 1, "semestre_idx": 1, @@ -670,17 +649,7 @@ "module": [ { "abbrev": "Init aux r\u00e9seaux informatiques", - "app_critiques": { - "AC11.01": { - "libelle": "Ma\u00eetriser les lois fondamentales de l\u2019\u00e9lectricit\u00e9 afin d\u2019intervenir sur des \u00e9quipements de r\u00e9seaux et t\u00e9l\u00e9communications" - }, - "AC11.03": { - "libelle": "Configurer les fonctions de base du re\u0301seau local" - }, - "AC12.04": { - "libelle": "Connecter les syst\u00e8mes de ToIP" - } - }, + "app_critiques": {}, "code": "R101", "code_apogee": "", "coefficient": 1.0, @@ -708,18 +677,7 @@ "module_id": 1, "module_type": 2, "numero": 10, - "parcours": [ - { - "code": "IOM", - "libelle": "Internet des objets et mobilit\u00e9", - "numero": 0 - }, - { - "code": "PPR", - "libelle": "Pilotage de projets de re\u0301seaux", - "numero": 0 - } - ], + "parcours": [], "semestre_id": 1, "titre": "Initiation aux r\u00e9seaux informatiques", "ue_id": 1 @@ -873,7 +831,7 @@ "ue_id": 1 } ], - "niveau_competence_id": 1, + "niveau_competence_id": "", "numero": 1, "reference": 1, "semestre_idx": 1, diff --git a/docs/samples/sample_formsemestre-bulletins.json.md b/docs/samples/sample_formsemestre-bulletins.json.md index 3e5c8b8e..37dfeee4 100644 --- a/docs/samples/sample_formsemestre-bulletins.json.md +++ b/docs/samples/sample_formsemestre-bulletins.json.md @@ -73,6 +73,7 @@ "coef": "01.00", "date": null, "description": null, + "evaluation_type": 0, "heure_debut": "08:00", "heure_fin": "09:00", "id": 1, @@ -102,6 +103,7 @@ "coef": "01.00", "date": null, "description": null, + "evaluation_type": 0, "heure_debut": "08:00", "heure_fin": "09:00", "id": 3, @@ -131,6 +133,7 @@ "coef": "01.00", "date": null, "description": null, + "evaluation_type": 0, "heure_debut": "08:00", "heure_fin": "09:00", "id": 4, @@ -160,6 +163,7 @@ "coef": "01.00", "date": null, "description": null, + "evaluation_type": 0, "heure_debut": "08:00", "heure_fin": "09:00", "id": 5, @@ -189,6 +193,7 @@ "coef": "01.00", "date": null, "description": null, + "evaluation_type": 0, "heure_debut": "08:00", "heure_fin": "09:00", "id": 9, @@ -218,6 +223,7 @@ "coef": "01.00", "date": null, "description": null, + "evaluation_type": 0, "heure_debut": "08:00", "heure_fin": "09:00", "id": 6, @@ -247,6 +253,7 @@ "coef": "01.00", "date": null, "description": null, + "evaluation_type": 0, "heure_debut": "08:00", "heure_fin": "09:00", "id": 17, @@ -276,6 +283,7 @@ "coef": "01.00", "date": null, "description": null, + "evaluation_type": 0, "heure_debut": "08:00", "heure_fin": "09:00", "id": 18, @@ -305,6 +313,7 @@ "coef": "01.00", "date": null, "description": null, + "evaluation_type": 0, "heure_debut": "08:00", "heure_fin": "09:00", "id": 19, @@ -334,6 +343,7 @@ "coef": "01.00", "date": null, "description": null, + "evaluation_type": 0, "heure_debut": "08:00", "heure_fin": "09:00", "id": 10, @@ -363,6 +373,7 @@ "coef": "01.00", "date": null, "description": null, + "evaluation_type": 0, "heure_debut": "08:00", "heure_fin": "09:00", "id": 11, @@ -392,6 +403,7 @@ "coef": "01.00", "date": null, "description": null, + "evaluation_type": 0, "heure_debut": "08:00", "heure_fin": "09:00", "id": 20, @@ -421,6 +433,7 @@ "coef": "01.00", "date": null, "description": null, + "evaluation_type": 0, "heure_debut": "08:00", "heure_fin": "09:00", "id": 12, @@ -450,6 +463,7 @@ "coef": "01.00", "date": null, "description": null, + "evaluation_type": 0, "heure_debut": "08:00", "heure_fin": "09:00", "id": 13, @@ -479,6 +493,7 @@ "coef": "01.00", "date": null, "description": null, + "evaluation_type": 0, "heure_debut": "08:00", "heure_fin": "09:00", "id": 21, @@ -510,6 +525,7 @@ "coef": "01.00", "date": null, "description": null, + "evaluation_type": 0, "heure_debut": "08:00", "heure_fin": "09:00", "id": 2, @@ -539,6 +555,7 @@ "coef": "01.00", "date": null, "description": null, + "evaluation_type": 0, "heure_debut": "08:00", "heure_fin": "09:00", "id": 7, @@ -568,6 +585,7 @@ "coef": "01.00", "date": null, "description": null, + "evaluation_type": 0, "heure_debut": "08:00", "heure_fin": "09:00", "id": 8, @@ -597,6 +615,7 @@ "coef": "01.00", "date": null, "description": null, + "evaluation_type": 0, "heure_debut": "08:00", "heure_fin": "09:00", "id": 14, @@ -626,6 +645,7 @@ "coef": "01.00", "date": null, "description": null, + "evaluation_type": 0, "heure_debut": "08:00", "heure_fin": "09:00", "id": 15, @@ -655,6 +675,7 @@ "coef": "01.00", "date": null, "description": null, + "evaluation_type": 0, "heure_debut": "08:00", "heure_fin": "09:00", "id": 16, @@ -967,6 +988,7 @@ "type": 0 } }, + "ues_capitalisees": {}, "version": "0" }, { @@ -1039,6 +1061,7 @@ "coef": "01.00", "date": null, "description": null, + "evaluation_type": 0, "heure_debut": "08:00", "heure_fin": "09:00", "id": 1, @@ -1068,6 +1091,7 @@ "coef": "01.00", "date": null, "description": null, + "evaluation_type": 0, "heure_debut": "08:00", "heure_fin": "09:00", "id": 3, @@ -1097,6 +1121,7 @@ "coef": "01.00", "date": null, "description": null, + "evaluation_type": 0, "heure_debut": "08:00", "heure_fin": "09:00", "id": 4, @@ -1126,6 +1151,7 @@ "coef": "01.00", "date": null, "description": null, + "evaluation_type": 0, "heure_debut": "08:00", "heure_fin": "09:00", "id": 5, @@ -1155,6 +1181,7 @@ "coef": "01.00", "date": null, "description": null, + "evaluation_type": 0, "heure_debut": "08:00", "heure_fin": "09:00", "id": 9, @@ -1184,6 +1211,7 @@ "coef": "01.00", "date": null, "description": null, + "evaluation_type": 0, "heure_debut": "08:00", "heure_fin": "09:00", "id": 6, @@ -1213,6 +1241,7 @@ "coef": "01.00", "date": null, "description": null, + "evaluation_type": 0, "heure_debut": "08:00", "heure_fin": "09:00", "id": 17, @@ -1242,6 +1271,7 @@ "coef": "01.00", "date": null, "description": null, + "evaluation_type": 0, "heure_debut": "08:00", "heure_fin": "09:00", "id": 18, @@ -1271,6 +1301,7 @@ "coef": "01.00", "date": null, "description": null, + "evaluation_type": 0, "heure_debut": "08:00", "heure_fin": "09:00", "id": 19, @@ -1300,6 +1331,7 @@ "coef": "01.00", "date": null, "description": null, + "evaluation_type": 0, "heure_debut": "08:00", "heure_fin": "09:00", "id": 10, @@ -1329,6 +1361,7 @@ "coef": "01.00", "date": null, "description": null, + "evaluation_type": 0, "heure_debut": "08:00", "heure_fin": "09:00", "id": 11, @@ -1358,6 +1391,7 @@ "coef": "01.00", "date": null, "description": null, + "evaluation_type": 0, "heure_debut": "08:00", "heure_fin": "09:00", "id": 20, @@ -1387,6 +1421,7 @@ "coef": "01.00", "date": null, "description": null, + "evaluation_type": 0, "heure_debut": "08:00", "heure_fin": "09:00", "id": 12, @@ -1416,6 +1451,7 @@ "coef": "01.00", "date": null, "description": null, + "evaluation_type": 0, "heure_debut": "08:00", "heure_fin": "09:00", "id": 13, @@ -1445,6 +1481,7 @@ "coef": "01.00", "date": null, "description": null, + "evaluation_type": 0, "heure_debut": "08:00", "heure_fin": "09:00", "id": 21, @@ -1476,6 +1513,7 @@ "coef": "01.00", "date": null, "description": null, + "evaluation_type": 0, "heure_debut": "08:00", "heure_fin": "09:00", "id": 2, @@ -1505,6 +1543,7 @@ "coef": "01.00", "date": null, "description": null, + "evaluation_type": 0, "heure_debut": "08:00", "heure_fin": "09:00", "id": 7, @@ -1534,6 +1573,7 @@ "coef": "01.00", "date": null, "description": null, + "evaluation_type": 0, "heure_debut": "08:00", "heure_fin": "09:00", "id": 8, @@ -1563,6 +1603,7 @@ "coef": "01.00", "date": null, "description": null, + "evaluation_type": 0, "heure_debut": "08:00", "heure_fin": "09:00", "id": 14, @@ -1592,6 +1633,7 @@ "coef": "01.00", "date": null, "description": null, + "evaluation_type": 0, "heure_debut": "08:00", "heure_fin": "09:00", "id": 15, @@ -1621,6 +1663,7 @@ "coef": "01.00", "date": null, "description": null, + "evaluation_type": 0, "heure_debut": "08:00", "heure_fin": "09:00", "id": 16, @@ -1933,6 +1976,7 @@ "type": 0 } }, + "ues_capitalisees": {}, "version": "0" }, "..." diff --git a/docs/samples/sample_formsemestre-etat_evals.json.md b/docs/samples/sample_formsemestre-etat_evals.json.md index 0abb5607..4db6467d 100644 --- a/docs/samples/sample_formsemestre-etat_evals.json.md +++ b/docs/samples/sample_formsemestre-etat_evals.json.md @@ -50,17 +50,7 @@ "id": 1, "module": { "abbrev": "Init aux r\u00e9seaux informatiques", - "app_critiques": { - "AC11.01": { - "libelle": "Ma\u00eetriser les lois fondamentales de l\u2019\u00e9lectricit\u00e9 afin d\u2019intervenir sur des \u00e9quipements de r\u00e9seaux et t\u00e9l\u00e9communications" - }, - "AC11.03": { - "libelle": "Configurer les fonctions de base du re\u0301seau local" - }, - "AC12.04": { - "libelle": "Connecter les syst\u00e8mes de ToIP" - } - }, + "app_critiques": {}, "code": "R101", "code_apogee": "", "coefficient": 1.0, @@ -74,156 +64,7 @@ "module_id": 1, "module_type": 2, "numero": 10, - "parcours": [ - { - "annees": { - "1": { - "competences": { - "Administrer": { - "id_orebut": "8fefe00b9ed3cd57da2e5174b4bc6282", - "niveau": 1 - }, - "Connecter": { - "id_orebut": "d68c47e3ed9820ce41613f31c60a226e", - "niveau": 1 - }, - "Programmer": { - "id_orebut": "baec10409ad866b2c21a280e9a94a35e", - "niveau": 1 - } - }, - "ordre": 1 - }, - "2": { - "competences": { - "Administrer": { - "id_orebut": "8fefe00b9ed3cd57da2e5174b4bc6282", - "niveau": 2 - }, - "Connecter": { - "id_orebut": "d68c47e3ed9820ce41613f31c60a226e", - "niveau": 2 - }, - "Etendre": { - "id_orebut": "1a44792b51880107bdcbb63e995581d1", - "niveau": 1 - }, - "Exploiter": { - "id_orebut": "58109285af1087d2cd5b7b9dd1b92b92", - "niveau": 1 - }, - "Programmer": { - "id_orebut": "baec10409ad866b2c21a280e9a94a35e", - "niveau": 2 - } - }, - "ordre": 2 - }, - "3": { - "competences": { - "Administrer": { - "id_orebut": "8fefe00b9ed3cd57da2e5174b4bc6282", - "niveau": 3 - }, - "Connecter": { - "id_orebut": "d68c47e3ed9820ce41613f31c60a226e", - "niveau": 3 - }, - "Etendre": { - "id_orebut": "1a44792b51880107bdcbb63e995581d1", - "niveau": 2 - }, - "Exploiter": { - "id_orebut": "58109285af1087d2cd5b7b9dd1b92b92", - "niveau": 2 - }, - "Programmer": { - "id_orebut": "baec10409ad866b2c21a280e9a94a35e", - "niveau": 3 - } - }, - "ordre": 3 - } - }, - "code": "IOM", - "libelle": "Internet des objets et mobilit\u00e9", - "numero": 0 - }, - { - "annees": { - "1": { - "competences": { - "Administrer": { - "id_orebut": "8fefe00b9ed3cd57da2e5174b4bc6282", - "niveau": 1 - }, - "Connecter": { - "id_orebut": "d68c47e3ed9820ce41613f31c60a226e", - "niveau": 1 - }, - "Programmer": { - "id_orebut": "baec10409ad866b2c21a280e9a94a35e", - "niveau": 1 - } - }, - "ordre": 1 - }, - "2": { - "competences": { - "Administrer": { - "id_orebut": "8fefe00b9ed3cd57da2e5174b4bc6282", - "niveau": 2 - }, - "Connecter": { - "id_orebut": "d68c47e3ed9820ce41613f31c60a226e", - "niveau": 2 - }, - "Organiser": { - "id_orebut": "98f7d9b39bb503ce64755c6148cbc66d", - "niveau": 1 - }, - "Piloter": { - "id_orebut": "95742cf15ea805ff7ddae4ed3b893597", - "niveau": 1 - }, - "Programmer": { - "id_orebut": "baec10409ad866b2c21a280e9a94a35e", - "niveau": 2 - } - }, - "ordre": 2 - }, - "3": { - "competences": { - "Administrer": { - "id_orebut": "8fefe00b9ed3cd57da2e5174b4bc6282", - "niveau": 3 - }, - "Connecter": { - "id_orebut": "d68c47e3ed9820ce41613f31c60a226e", - "niveau": 3 - }, - "Organiser": { - "id_orebut": "98f7d9b39bb503ce64755c6148cbc66d", - "niveau": 2 - }, - "Piloter": { - "id_orebut": "95742cf15ea805ff7ddae4ed3b893597", - "niveau": 2 - }, - "Programmer": { - "id_orebut": "baec10409ad866b2c21a280e9a94a35e", - "niveau": 3 - } - }, - "ordre": 3 - } - }, - "code": "PPR", - "libelle": "Pilotage de projets de re\u0301seaux", - "numero": 0 - } - ], + "parcours": [], "semestre_id": 1, "titre": "Initiation aux r\u00e9seaux informatiques", "ue_coefs": [ @@ -240,7 +81,7 @@ "formation_id": 1, "id": 1, "is_external": false, - "niveau_competence_id": 1, + "niveau_competence_id": null, "numero": 1, "semestre_idx": 1, "titre": "Administrer les r\u00e9seaux et l\u2019Internet", @@ -381,7 +222,7 @@ "formation_id": 1, "id": 1, "is_external": false, - "niveau_competence_id": 1, + "niveau_competence_id": null, "numero": 1, "semestre_idx": 1, "titre": "Administrer les r\u00e9seaux et l\u2019Internet", diff --git a/docs/samples/sample_formsemestre-etudiants-query.json.md b/docs/samples/sample_formsemestre-etudiants-query.json.md index 93ddeb7b..042ebbb4 100644 --- a/docs/samples/sample_formsemestre-etudiants-query.json.md +++ b/docs/samples/sample_formsemestre-etudiants-query.json.md @@ -3,17 +3,6 @@ #### GET /formsemestre/1/etudiants/query?etat=D ```json [ - { - "civilite": "F", - "code_ine": "INE5", - "code_nip": "5", - "dept_id": 1, - "groups": [], - "id": 5, - "nom": "VILLENEUVE", - "nom_usuel": null, - "prenom": "FRAN\u00c7OISE" - }, { "civilite": "F", "code_ine": "10", @@ -23,7 +12,26 @@ "id": 10, "nom": "BOUTET", "nom_usuel": null, - "prenom": "MARGUERITE" + "prenom": "MARGUERITE", + "sort_key": [ + "boutet", + "marguerite" + ] + }, + { + "civilite": "X", + "code_ine": "INE15", + "code_nip": "15", + "dept_id": 1, + "groups": [], + "id": 15, + "nom": "DIOT", + "nom_usuel": null, + "prenom": "CAMILLE", + "sort_key": [ + "diot", + "camille" + ] }, "..." ] diff --git a/docs/samples/sample_formsemestre-programme.json.md b/docs/samples/sample_formsemestre-programme.json.md index dbb3004d..2b94a9c3 100644 --- a/docs/samples/sample_formsemestre-programme.json.md +++ b/docs/samples/sample_formsemestre-programme.json.md @@ -13,7 +13,7 @@ "id": 1, "module": { "abbrev": "Init aux r\u00e9seaux informatiques", - "app_critiques": [], + "app_critiques": {}, "code": "R101", "code_apogee": "", "coefficient": 1.0, @@ -114,7 +114,7 @@ "id": 3, "module": { "abbrev": null, - "app_critiques": [], + "app_critiques": {}, "code": "R102", "code_apogee": "", "coefficient": 1.0, @@ -169,7 +169,7 @@ "id": 4, "module": { "abbrev": "R\u00e9seaux locaux", - "app_critiques": [], + "app_critiques": {}, "code": "R103", "code_apogee": "", "coefficient": 1.0, @@ -247,7 +247,7 @@ "id": 5, "module": { "abbrev": null, - "app_critiques": [], + "app_critiques": {}, "code": "R104", "code_apogee": "", "coefficient": 1.0, @@ -325,7 +325,7 @@ "id": 9, "module": { "abbrev": "Support de transmission", - "app_critiques": [], + "app_critiques": {}, "code": "R105", "code_apogee": "", "coefficient": 1.0, @@ -380,7 +380,7 @@ "id": 6, "module": { "abbrev": null, - "app_critiques": [], + "app_critiques": {}, "code": "R106", "code_apogee": "", "coefficient": 1.0, @@ -435,7 +435,7 @@ "id": 17, "module": { "abbrev": null, - "app_critiques": [], + "app_critiques": {}, "code": "R107", "code_apogee": "", "coefficient": 1.0, @@ -490,7 +490,7 @@ "id": 18, "module": { "abbrev": null, - "app_critiques": [], + "app_critiques": {}, "code": "R108", "code_apogee": "", "coefficient": 1.0, @@ -568,7 +568,7 @@ "id": 19, "module": { "abbrev": null, - "app_critiques": [], + "app_critiques": {}, "code": "R109", "code_apogee": "", "coefficient": 1.0, @@ -623,7 +623,7 @@ "id": 10, "module": { "abbrev": null, - "app_critiques": [], + "app_critiques": {}, "code": "R110", "code_apogee": "", "coefficient": 1.0, @@ -724,7 +724,7 @@ "id": 11, "module": { "abbrev": null, - "app_critiques": [], + "app_critiques": {}, "code": "R111", "code_apogee": "", "coefficient": 1.0, @@ -825,7 +825,7 @@ "id": 20, "module": { "abbrev": null, - "app_critiques": [], + "app_critiques": {}, "code": "R112", "code_apogee": "", "coefficient": 1.0, @@ -926,7 +926,7 @@ "id": 12, "module": { "abbrev": null, - "app_critiques": [], + "app_critiques": {}, "code": "R113", "code_apogee": "", "coefficient": 1.0, @@ -1004,7 +1004,7 @@ "id": 13, "module": { "abbrev": null, - "app_critiques": [], + "app_critiques": {}, "code": "R114", "code_apogee": "", "coefficient": 1.0, @@ -1082,7 +1082,7 @@ "id": 21, "module": { "abbrev": null, - "app_critiques": [], + "app_critiques": {}, "code": "R115", "code_apogee": "", "coefficient": 1.0, @@ -1162,7 +1162,7 @@ "id": 2, "module": { "abbrev": "Hygi\u00e8ne informatique", - "app_critiques": [], + "app_critiques": {}, "code": "SAE11", "code_apogee": "", "coefficient": 1.0, @@ -1217,7 +1217,7 @@ "id": 7, "module": { "abbrev": null, - "app_critiques": [], + "app_critiques": {}, "code": "SAE12", "code_apogee": "", "coefficient": 1.0, @@ -1272,7 +1272,7 @@ "id": 8, "module": { "abbrev": null, - "app_critiques": [], + "app_critiques": {}, "code": "SAE13", "code_apogee": "", "coefficient": 1.0, @@ -1327,7 +1327,7 @@ "id": 14, "module": { "abbrev": null, - "app_critiques": [], + "app_critiques": {}, "code": "SAE14", "code_apogee": "", "coefficient": 1.0, @@ -1382,7 +1382,7 @@ "id": 15, "module": { "abbrev": null, - "app_critiques": [], + "app_critiques": {}, "code": "SAE15", "code_apogee": "", "coefficient": 1.0, @@ -1437,7 +1437,7 @@ "id": 16, "module": { "abbrev": null, - "app_critiques": [], + "app_critiques": {}, "code": "SAE16", "code_apogee": "", "coefficient": 1.0, diff --git a/docs/samples/sample_group-edit.json.md b/docs/samples/sample_group-edit.json.md index 6a0ce5a8..e2f98506 100644 --- a/docs/samples/sample_group-edit.json.md +++ b/docs/samples/sample_group-edit.json.md @@ -3,11 +3,11 @@ #### POST /group/2/edit > `Content-Type: application/json` > -> `{"group_name": "NEW_GROUP2"}` +> `{"group_name": "NEWGROUP2"}` ```json { - "group_name": "NEW_GROUP2", + "group_name": "NEWGROUP2", "id": 2, "numero": null, "partition": { diff --git a/docs/samples/sample_group-etudiants-query.json.md b/docs/samples/sample_group-etudiants-query.json.md index 9f26d347..60631293 100644 --- a/docs/samples/sample_group-etudiants-query.json.md +++ b/docs/samples/sample_group-etudiants-query.json.md @@ -11,7 +11,11 @@ "id": 5, "nom": "VILLENEUVE", "nom_usuel": null, - "prenom": "FRAN\u00c7OISE" + "prenom": "FRAN\u00c7OISE", + "sort_key": [ + "villeneuve", + "francoise" + ] }, { "civilite": "F", @@ -21,7 +25,11 @@ "id": 10, "nom": "BOUTET", "nom_usuel": null, - "prenom": "MARGUERITE" + "prenom": "MARGUERITE", + "sort_key": [ + "boutet", + "marguerite" + ] }, "..." ] diff --git a/docs/samples/sample_group-etudiants.json.md b/docs/samples/sample_group-etudiants.json.md index df439189..b633d513 100644 --- a/docs/samples/sample_group-etudiants.json.md +++ b/docs/samples/sample_group-etudiants.json.md @@ -11,7 +11,11 @@ "id": 1, "nom": "COSTA", "nom_usuel": null, - "prenom": "SACHA" + "prenom": "SACHA", + "sort_key": [ + "costa", + "sacha" + ] }, { "civilite": "F", @@ -21,7 +25,11 @@ "id": 2, "nom": "NAUDIN", "nom_usuel": null, - "prenom": "SIMONE" + "prenom": "SIMONE", + "sort_key": [ + "naudin", + "simone" + ] }, "..." ] diff --git a/docs/samples/sample_logo.json.md b/docs/samples/sample_logo.json.md index b7ea5f75..e0e37ce9 100644 --- a/docs/samples/sample_logo.json.md +++ b/docs/samples/sample_logo.json.md @@ -3,8 +3,8 @@ #### GET /logo/demo ```json { - "Content-Disposition": "inline; filename=logo_demo.png", - "Content-Type": "image/png" + "Content-Disposition": "inline; filename=logo_demo.jpg", + "Content-Type": "image/jpg" } ``` diff --git a/docs/samples/sample_logos.json.md b/docs/samples/sample_logos.json.md index 7c7be533..b00a274a 100644 --- a/docs/samples/sample_logos.json.md +++ b/docs/samples/sample_logos.json.md @@ -3,8 +3,8 @@ #### GET /logos ```json [ - "header", - "footer", + "everaere", + "C", "..." ] ``` diff --git a/docs/samples/sample_moduleimpl.json.md b/docs/samples/sample_moduleimpl.json.md index 5eb8e978..6baa8767 100644 --- a/docs/samples/sample_moduleimpl.json.md +++ b/docs/samples/sample_moduleimpl.json.md @@ -9,17 +9,7 @@ "id": 1, "module": { "abbrev": "Init aux r\u00e9seaux informatiques", - "app_critiques": { - "AC11.01": { - "libelle": "Ma\u00eetriser les lois fondamentales de l\u2019\u00e9lectricit\u00e9 afin d\u2019intervenir sur des \u00e9quipements de r\u00e9seaux et t\u00e9l\u00e9communications" - }, - "AC11.02": { - "libelle": "Comprendre l'architecture et les fondements des syst\u00e8mes num\u00e9riques, les principes du codage de l'information, des communications et de l'Internet" - }, - "AC11.06": { - "libelle": "Installer un poste client, expliquer la proc\u00e9dure mise en place" - } - }, + "app_critiques": {}, "code": "R101", "code_apogee": "", "coefficient": 1.0, @@ -33,156 +23,7 @@ "module_id": 1, "module_type": 2, "numero": 10, - "parcours": [ - { - "annees": { - "1": { - "competences": { - "Administrer": { - "id_orebut": "8fefe00b9ed3cd57da2e5174b4bc6282", - "niveau": 1 - }, - "Connecter": { - "id_orebut": "d68c47e3ed9820ce41613f31c60a226e", - "niveau": 1 - }, - "Programmer": { - "id_orebut": "baec10409ad866b2c21a280e9a94a35e", - "niveau": 1 - } - }, - "ordre": 1 - }, - "2": { - "competences": { - "Administrer": { - "id_orebut": "8fefe00b9ed3cd57da2e5174b4bc6282", - "niveau": 2 - }, - "Connecter": { - "id_orebut": "d68c47e3ed9820ce41613f31c60a226e", - "niveau": 2 - }, - "Etendre": { - "id_orebut": "1a44792b51880107bdcbb63e995581d1", - "niveau": 1 - }, - "Exploiter": { - "id_orebut": "58109285af1087d2cd5b7b9dd1b92b92", - "niveau": 1 - }, - "Programmer": { - "id_orebut": "baec10409ad866b2c21a280e9a94a35e", - "niveau": 2 - } - }, - "ordre": 2 - }, - "3": { - "competences": { - "Administrer": { - "id_orebut": "8fefe00b9ed3cd57da2e5174b4bc6282", - "niveau": 3 - }, - "Connecter": { - "id_orebut": "d68c47e3ed9820ce41613f31c60a226e", - "niveau": 3 - }, - "Etendre": { - "id_orebut": "1a44792b51880107bdcbb63e995581d1", - "niveau": 2 - }, - "Exploiter": { - "id_orebut": "58109285af1087d2cd5b7b9dd1b92b92", - "niveau": 2 - }, - "Programmer": { - "id_orebut": "baec10409ad866b2c21a280e9a94a35e", - "niveau": 3 - } - }, - "ordre": 3 - } - }, - "code": "IOM", - "libelle": "Internet des objets et mobilit\u00e9", - "numero": 0 - }, - { - "annees": { - "1": { - "competences": { - "Administrer": { - "id_orebut": "8fefe00b9ed3cd57da2e5174b4bc6282", - "niveau": 1 - }, - "Connecter": { - "id_orebut": "d68c47e3ed9820ce41613f31c60a226e", - "niveau": 1 - }, - "Programmer": { - "id_orebut": "baec10409ad866b2c21a280e9a94a35e", - "niveau": 1 - } - }, - "ordre": 1 - }, - "2": { - "competences": { - "Administrer": { - "id_orebut": "8fefe00b9ed3cd57da2e5174b4bc6282", - "niveau": 2 - }, - "Connecter": { - "id_orebut": "d68c47e3ed9820ce41613f31c60a226e", - "niveau": 2 - }, - "Organiser": { - "id_orebut": "98f7d9b39bb503ce64755c6148cbc66d", - "niveau": 1 - }, - "Piloter": { - "id_orebut": "95742cf15ea805ff7ddae4ed3b893597", - "niveau": 1 - }, - "Programmer": { - "id_orebut": "baec10409ad866b2c21a280e9a94a35e", - "niveau": 2 - } - }, - "ordre": 2 - }, - "3": { - "competences": { - "Administrer": { - "id_orebut": "8fefe00b9ed3cd57da2e5174b4bc6282", - "niveau": 3 - }, - "Connecter": { - "id_orebut": "d68c47e3ed9820ce41613f31c60a226e", - "niveau": 3 - }, - "Organiser": { - "id_orebut": "98f7d9b39bb503ce64755c6148cbc66d", - "niveau": 2 - }, - "Piloter": { - "id_orebut": "95742cf15ea805ff7ddae4ed3b893597", - "niveau": 2 - }, - "Programmer": { - "id_orebut": "baec10409ad866b2c21a280e9a94a35e", - "niveau": 3 - } - }, - "ordre": 3 - } - }, - "code": "PPR", - "libelle": "Pilotage de projets de re\u0301seaux", - "numero": 0 - } - ], + "parcours": [], "semestre_id": 1, "titre": "Initiation aux r\u00e9seaux informatiques", "ue_coefs": [ @@ -199,7 +40,7 @@ "formation_id": 1, "id": 1, "is_external": false, - "niveau_competence_id": 1, + "niveau_competence_id": null, "numero": 1, "semestre_idx": 1, "titre": "Administrer les r\u00e9seaux et l\u2019Internet", diff --git a/docs/samples/sample_partition-edit.json.md b/docs/samples/sample_partition-edit.json.md index 247efeca..c815fd2e 100644 --- a/docs/samples/sample_partition-edit.json.md +++ b/docs/samples/sample_partition-edit.json.md @@ -11,9 +11,9 @@ "formsemestre_id": 1, "groups": { "1": { - "group_name": null, + "group_name": "", "id": 1, - "numero": null, + "numero": 0, "partition_id": 1 } }, diff --git a/docs/samples/sample_partition-group-create.json.md b/docs/samples/sample_partition-group-create.json.md index 26034594..96640005 100644 --- a/docs/samples/sample_partition-group-create.json.md +++ b/docs/samples/sample_partition-group-create.json.md @@ -3,11 +3,11 @@ #### POST /partition/1/group/create > `Content-Type: application/json` > -> `{"group_name": "NEW_GROUP"}` +> `{"group_name": "ANEWGROUP"}` ```json { - "group_name": "NEW_GROUP", + "group_name": "ANEWGROUP", "id": 2, "numero": null, "partition": { diff --git a/docs/samples/sample_partition-groups-order.json.md b/docs/samples/sample_partition-groups-order.json.md index 712600e1..1b3bb557 100644 --- a/docs/samples/sample_partition-groups-order.json.md +++ b/docs/samples/sample_partition-groups-order.json.md @@ -11,7 +11,7 @@ "formsemestre_id": 1, "groups": { "1": { - "group_name": null, + "group_name": "", "id": 1, "numero": 0, "partition_id": 1 diff --git a/docs/samples/sample_partition.json.md b/docs/samples/sample_partition.json.md index d1118156..b1a350ce 100644 --- a/docs/samples/sample_partition.json.md +++ b/docs/samples/sample_partition.json.md @@ -7,9 +7,9 @@ "formsemestre_id": 1, "groups": { "1": { - "group_name": null, + "group_name": "", "id": 1, - "numero": null, + "numero": 0, "partition_id": 1 } }, diff --git a/docs/samples/sample_role-edit.json.md b/docs/samples/sample_role-edit.json.md index 75488748..d8ec4c49 100644 --- a/docs/samples/sample_role-edit.json.md +++ b/docs/samples/sample_role-edit.json.md @@ -3,14 +3,13 @@ #### POST /role/customRole/edit > `Content-Type: application/json` > -> `{ "name" : "LaveurDeVitres", "permissions" : [ "ScoView", "ScoAbsChange" ] }` +> `{ "name" : "LaveurDeVitres", "permissions" : [ "ScoView" ] }` ```json { "id": 13, "permissions": [ - "ScoView", - "ScoAbsChange" + "ScoView" ], "role_name": "customRole" } diff --git a/docs/samples/sample_user-password.json.md b/docs/samples/sample_user-password.json.md index bec2f53e..1ce30d93 100644 --- a/docs/samples/sample_user-password.json.md +++ b/docs/samples/sample_user-password.json.md @@ -1,5 +1,34 @@ ### user-password +#### POST /user/3/password +> `Content-Type: application/json` +> +> `{ "password": "too_simple" }` + +```json +{ + "active": true, + "date_created": "2022-08-20T12:00:00.000000+02:00", + "date_expiration": null, + "date_modif_passwd": "2022-08-20T12:00:00.000000+02:00", + "dept": "TAPI", + "email": "", + "id": 3, + "last_seen": "2022-08-20T12:00:00.000000+02:00", + "nom": "Sans", + "nom_fmt": "Sans", + "nomcomplet": "Permission Sans", + "nomplogin": "SANS Permission (other)", + "nomprenom": "Sans P.", + "prenom": "Permission", + "prenom_fmt": "Permission", + "prenomnom": "P. Sans", + "roles_string": "", + "status_txt": "actif", + "user_name": "other" +} +``` + #### POST /user/3/password > `Content-Type: application/json` >