Commit 01caf89e authored by Bertrand Gauthier's avatar Bertrand Gauthier
Browse files

WIP API

parent 3bad06df
Loading
Loading
Loading
Loading
Loading
+10 −1
Original line number Diff line number Diff line
@@ -43,6 +43,7 @@ components:
  InscriptionAdministrative:
    type: object
    required:
      - id
      - instancePegase
      - apprenant
      - inscription
@@ -155,6 +156,7 @@ components:
        - MONMASTER
      formation:
        type: string
        nullable: true
        description: le libellé de la formation
      chemin:
        type: string
@@ -269,7 +271,14 @@ components:
        format: date
        nullable: true
        description: La date d'obtention de la deuxième nationalité au format AAAA-MM-JJ

curl \
--no-progress-meter \
-H "Accept: application/json" \
-H "Content-Type: application/json" \
-H "Authorization: Basic cGVnYXNlOldhaDl4YWl2YWl5b2gzam9waG9vNGVlbjllaVQ0ZWk=" \
-X POST \
--data-binary "@/tmp/test.json" \
https://sygal-dev.normandie-univ.fr/v1/inscription-administrative
  Adresse:
    type: object
    nullable: true