You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
openAPIServeurEPA/openapi.yaml

202 lines
6.7 KiB

openapi: 3.0.0
info:
version: 1.3.6
title: API du serveur de l'application de digitalisation des EP
description:
API qui sra utilisée afin de faire communiquer le client et le serveur ainsi que le serveur et la boîte noire.
license:
name: Apache 2.0
url: http://www.apache.org/licenses/LICENSE-2.0.html
servers:
- url: http://localhost:3000/api
description: json-server pour les premiers tests
4 years ago
paths:
#Collaborateur
/collaborateurs:
$ref: ./paths/collaborateur/collaborateurs.yaml
/collaborateurs/count:
$ref: ./paths/collaborateur/collaborateursCount.yaml
/collaborateurs/{idCollaborateur}:
4 years ago
$ref: ./paths/collaborateur/collaborateurById.yaml
/collaborateurs/{idCollaborateur}/ep/referents:
$ref: ./paths/collaborateur/referentsPrecedentEPCollaborateur.yaml
/collaborateurs/{mail}:
4 years ago
$ref: ./paths/collaborateur/collaborateurByMail.yaml
/collaborateurs/referent/{idReferent}:
4 years ago
$ref: ./paths/collaborateur/collaborateursReferent.yaml
/collaborateurs/referent/{idReferent}/count:
$ref: ./paths/collaborateur/collaborateursReferentCount.yaml
4 years ago
#Note
/notes/:
4 years ago
$ref: ./paths/note/notes.yaml
/notes/{idAuteur}:
$ref: ./paths/note/notesIdAuteur.yaml
/notes/{idAuteur}/count:
$ref: ./paths/note/notesIdAuteurCount.yaml
/notes/{idNote}:
$ref: ./paths/note/notesIdNote.yaml
4 years ago
#Referent
#/referents:
#$ref: ./paths/referents/referents.yaml
#/referents/{idReferent}:
#$ref: ./paths/referents/referentById.yaml
#/referents/collaborateur/{idCollaborateur}:
#$ref: ./paths/referents/referentsByCollaborateur.yaml
#/referents/actuel/collaborateur/{idCollaborateur}:
#$ref: ./paths/referents/referentActuelByCollaborateur.yaml
4 years ago
#EP
/ep/{idCollaborateur}:
$ref: ./paths/ep/epIdCollaborateur.yaml
/ep/{idEP}:
$ref: ./paths/ep/epIdEp.yaml
/ep/{idEP}/rappelsignature:
$ref: ./paths/ep/epIdEpRappelSignature.yaml
/ep/encours:
4 years ago
$ref: ./paths/ep/epEnCours.yaml
/ep/encours/count:
$ref: ./paths/ep/epEnCoursCount.yaml
/ep/encours/collaborateur/{idCollaborateur}:
$ref: ./paths/ep/epEnCoursIdCollaborateur.yaml
/ep/encours/referent/{idReferent}:
$ref: ./paths/ep/epEnCoursIdReferent.yaml
/ep/encours/referent/{idReferent}/count:
$ref: ./paths/ep/epEnCoursIdReferentCount.yaml
4 years ago
/ep/signes:
$ref: ./paths/ep/epSignes.yaml
/ep/signes/count:
$ref: ./paths/ep/epSignesCount.yaml
/ep/signes/collaborateur/{idCollaborateur}:
$ref: ./paths/ep/epSignesIdCollaborateur.yaml
/ep/signes/referent/{idReferent}:
$ref: ./paths/ep/epSignesIdReferent.yaml
/ep/signes/referent/{idReferent}/count:
$ref: ./paths/ep/epSignesIdReferentCount.yaml
/ep/saisie/{idEP}:
$ref: ./paths/ep/epSaisieIdEp.yaml
/ep/saisie/collaborateur/{idCollaborateur}:
$ref: ./paths/ep/epSaisieCollaborateur.yaml
/ep/saisie/referent/{idEP}:
$ref: ./paths/ep/epSaisieReferent.yaml
/ep/participation/{idCollaborateur}:
$ref: ./paths/ep/epParticipationIdCollaborateur.yaml
/ep/participation/{idCollaborateur}/count:
$ref: ./paths/ep/epParticipationIdCollaborateurCount.yaml
4 years ago
#Engagement
/engagements:
$ref: ./paths/engagement/engagements.yaml
/engagements/count:
$ref: ./paths/engagement/engagementsCount.yaml
/engagements/{idEngagement}:
$ref: ./paths/engagement/engagementsIdEngagement.yaml
4 years ago
#DemandeEPI
/demandesepi/collaborateur/{idCollaborateur}:
$ref: ./paths/demandeepi/demandesEPICollaborateur.yaml
/demandesepi/collaborateur/{idCollaborateur}/enCours:
$ref: ./paths/demandeepi/demandeEPIEnCours.yaml
/demandesepi/collaborateur/{idCollaborateur}/demande:
$ref: ./paths/demandeepi/demandeEPI.yaml
/demandesepi/referent/{idReferent}:
$ref: ./paths/demandeepi/demandesEPIReferent.yaml
/demandesepi/referent/{idReferent}/demande/{idCollaborateur}:
$ref: ./paths/demandeepi/creationEPI.yaml
/demandesepi/{idDemandeEPI}/repondre:
$ref: ./paths/demandeepi/reponseEPI.yaml
/demandesepi/{idDemandeEPI}/annuler:
$ref: ./paths/demandeepi/annulerDemandeEPI.yaml
/demandesepi/demandeassistante/{idCollaborateur}:
$ref: ./paths/demandeepi/demandeAssistante.yaml
#DemandeDelegation
/demandesdelegation/{idCollaborateur}:
$ref: ./paths/demandedelegation/demandesDelegation.yaml
/demandesdelegation/ep/{idEP}/{idCollaborateur}:
$ref: ./paths/demandedelegation/faireDemandeDelegation.yaml
/demandesdelegation/{idDemandeDelegation}/repondre:
$ref: ./paths/demandedelegation/repondreDemandeDelegation.yaml
#DemandeFormation
/demandeformation:
$ref: ./paths/demandeformation/demandesFormation.yaml
4 years ago
/demandeformation/{idDemandeFormation}/repondre:
$ref: ./paths/demandeformation/demandeFormationRepondre.yaml
4 years ago
/demandeformation/enattente:
$ref: ./paths/demandeformation/demandesFormationAttente.yaml
/demandeformation/repondus:
$ref: ./paths/demandeformation/demandesFormationRepondues.yaml
#OrigineDemandeFormation
/originesdemandesformation:
$ref: ./paths/demandeformation/originesDemandesFormation.yaml
4 years ago
#Theme
/themes:
$ref: ./paths/demandeformation/themes.yaml
4 years ago
#Formation
/formations:
$ref: ./paths/formation/formations.yaml
/formations/{idFormation}:
4 years ago
$ref: ./paths/formation/formationById.yaml
4 years ago
/formations/{idFormation}/update:
$ref: ./paths/formation/updateFormation.yaml
/formations/{idFormation}/supprimer:
$ref: ./paths/formation/supprimerFormation.yaml
4 years ago
/formations/prochaines:
$ref: ./paths/formation/prochainesFormations.yaml
/formations/realisees:
$ref: ./paths/formation/formationsRealisees.yaml
/formations/annulees:
$ref: ./paths/formation/formationsAnnulees.yaml
4 years ago
#OrigineFormation
/originesFormation:
$ref: ./paths/formation/originesFormation.yaml
4 years ago
#StatutFormation
/statutsFormation:
$ref: ./paths/formation/statutsFormation.yaml
#ModeFormation
/modesFormation:
$ref: ./paths/formation/modesFormation.yaml
#TypeFormation
/typesFormation:
$ref: ./paths/formation/typesFormation.yaml
4 years ago
#ParticipationFormation
/participationsformation/collaborateur/{idCollaborateur}:
$ref: ./paths/formation/participationByCollaborateur.yaml
/participationsformation/formation/{idFormation}:
$ref: ./paths/formation/participationByFormation.yaml
4 years ago
#Evaluation
/evaluations/participationformation/{idParticipationFormation}:
$ref: ./paths/formation/voirEvaluation.yaml
/evaluations/participationformation/{idParticipationFormation}/evaluer:
$ref: ./paths/formation/evaluer.yaml
components:
schemas:
$ref: ./schemas/_index.yaml
parameters:
$ref: ./parameters/_index.yaml
responses:
$ref: ./responses/_index.yaml
requestBodies:
$ref: ./requestbodies/_index.yaml
securitySchemes:
$ref: ./securityschemes/_index.yaml
security:
- bearerAuth: []