|
|
|
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
|
|
|
|
- url: https://localhost:44393/api
|
|
|
|
description: url pour le serveur local en cours de développement
|
|
|
|
|
|
|
|
paths:
|
|
|
|
#Collaborateur
|
|
|
|
/collaborateurs:
|
|
|
|
$ref: ./paths/collaborateur/collaborateurs.yaml
|
|
|
|
/collaborateurs/count:
|
|
|
|
$ref: ./paths/collaborateur/collaborateursCount.yaml
|
|
|
|
/collaborateurs/{idCollaborateur}:
|
|
|
|
$ref: ./paths/collaborateur/collaborateurById.yaml
|
|
|
|
/collaborateurs/{idCollaborateur}/ep/referents:
|
|
|
|
$ref: ./paths/collaborateur/referentsPrecedentEPCollaborateur.yaml
|
|
|
|
/collaborateurs/{mail}:
|
|
|
|
$ref: ./paths/collaborateur/collaborateurByMail.yaml
|
|
|
|
/collaborateurs/referent/{idReferent}:
|
|
|
|
$ref: ./paths/collaborateur/collaborateursReferent.yaml
|
|
|
|
/collaborateurs/referent/{idReferent}/count:
|
|
|
|
$ref: ./paths/collaborateur/collaborateursReferentCount.yaml
|
|
|
|
|
|
|
|
#Note
|
|
|
|
/notes/:
|
|
|
|
$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
|
|
|
|
|
|
|
|
|
|
|
|
#ReferentEP
|
|
|
|
/referentsep/collaborateur/{idCollaborateur}:
|
|
|
|
$ref: ./paths/referentep/referentIdCollaborateur.yaml
|
|
|
|
/referentsep/referent/{idReferent}:
|
|
|
|
$ref: ./paths/referentep/collaborateursIdReferent.yaml
|
|
|
|
|
|
|
|
#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:
|
|
|
|
$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
|
|
|
|
/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
|
|
|
|
|
|
|
|
#Engagement
|
|
|
|
/engagements:
|
|
|
|
$ref: ./paths/engagement/engagements.yaml
|
|
|
|
/engagements/count:
|
|
|
|
$ref: ./paths/engagement/engagementsCount.yaml
|
|
|
|
/engagements/{idEngagement}:
|
|
|
|
$ref: ./paths/engagement/engagementsIdEngagement.yaml
|
|
|
|
|
|
|
|
#DemandeEPI
|
|
|
|
/demandesepi/{idDemandeEPI}:
|
|
|
|
$ref: ./paths/demandeepi/demandesEpiIdDemandeEpi.yaml
|
|
|
|
/demandesepi/collaborateur/{idCollaborateur}:
|
|
|
|
$ref: ./paths/demandeepi/demandesEpiDemandeIdCollaborateur.yaml
|
|
|
|
/demandesepi/collaborateur/{idCollaborateur}/count:
|
|
|
|
$ref: ./paths/demandeepi/demandesEpiDemandeIdCollaborateurCount.yaml
|
|
|
|
/demandesepi/demande/assistant:
|
|
|
|
$ref: ./paths/demandeepi/demandesEpiDemandeAssistant.yaml
|
|
|
|
/demandesepi/demande/collaborateur:
|
|
|
|
$ref: ./paths/demandeepi/demandesEpiDemandeCollaborateur.yaml
|
|
|
|
/demandesepi/demande/referent:
|
|
|
|
$ref: ./paths/demandeepi/demandesEpiDemandeReferent.yaml
|
|
|
|
/demandesepi/referent/{idReferent}:
|
|
|
|
$ref: ./paths/demandeepi/demandesEpiDemandeIdReferent.yaml
|
|
|
|
/demandesepi/referent/{idReferent}/count:
|
|
|
|
$ref: ./paths/demandeepi/demandesEpiDemandeIdReferentCount.yaml
|
|
|
|
|
|
|
|
#DemandeDelegation
|
|
|
|
/demandesdelegation/referent/{idReferent}:
|
|
|
|
$ref: ./paths/demandedelegation/demandeDelegationReferent.yaml
|
|
|
|
/demandedelegation/{idDemandeDelegation}:
|
|
|
|
$ref: ./paths/demandedelegation/demandeDelegationId.yaml
|
|
|
|
|
|
|
|
#DemandeFormation
|
|
|
|
/demandesformation:
|
|
|
|
$ref: ./paths/demandeformation/demandesFormation.yaml
|
|
|
|
/demandesformation/{idDemandeFormation}:
|
|
|
|
$ref: ./paths/demandeformation/demandeFormationId.yaml
|
|
|
|
|
|
|
|
#OrigineDemandeFormation
|
|
|
|
/originesdemandesformation:
|
|
|
|
$ref: ./paths/demandeformation/originesDemandesFormation.yaml
|
|
|
|
|
|
|
|
#Theme
|
|
|
|
#/themes:
|
|
|
|
# $ref: ./paths/demandeformation/themes.yaml
|
|
|
|
|
|
|
|
#Formation
|
|
|
|
/formation:
|
|
|
|
$ref: ./paths/formation/formations.yaml
|
|
|
|
/formation/count:
|
|
|
|
$ref: ./paths/formation/formationsCount.yaml
|
|
|
|
/formation/{idFormation}:
|
|
|
|
$ref: ./paths/formation/formationId.yaml
|
|
|
|
|
|
|
|
|
|
|
|
#OrigineFormation
|
|
|
|
/originesformation:
|
|
|
|
$ref: ./paths/formation/originesFormation.yaml
|
|
|
|
|
|
|
|
#StatutFormation
|
|
|
|
/statutsformation:
|
|
|
|
$ref: ./paths/formation/statutsFormation.yaml
|
|
|
|
|
|
|
|
#ModeFormation
|
|
|
|
/modesformation:
|
|
|
|
$ref: ./paths/formation/modesFormation.yaml
|
|
|
|
|
|
|
|
#TypeFormation
|
|
|
|
/typesformation:
|
|
|
|
$ref: ./paths/formation/typesFormation.yaml
|
|
|
|
|
|
|
|
|
|
|
|
#ParticipationFormation et évaluation
|
|
|
|
/participationsformation/{idCollaborateur}:
|
|
|
|
$ref: ./paths/participationformation/participationsCollaborateur.yaml
|
|
|
|
/participationsformation/{idParticipationFormation}/evaluation:
|
|
|
|
$ref: ./paths/participationformation/evaluation.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: []
|
|
|
|
|