-
Notifications
You must be signed in to change notification settings - Fork 3
/
cadastre-lite-v0.yaml
106 lines (105 loc) · 4.26 KB
/
cadastre-lite-v0.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
---
openapi: "3.0.3"
info:
version: 0.0.0
title: "Cadastre de formation"
description: "API permettant d’exposer les collections du référentiel CADASTRE VYV\n"
servers:
- url: "https://data-formation.groupe-vyv.fr/cadastre/v1/"
components:
securitySchemes:
vyvConnect:
type: oauth2
description: Cette API utilise OAuth2 avec un flow Client Credentials
flows:
clientCredentials:
tokenUrl: https://data-formation.groupe-vyv.fr/oauth2/token
#scopes: {}
scopes:
CADASTRE: Scope permettant d'accéder à l'API Cadastre de formation
security:
#- vyvConnect: []
- vyvConnect:
- CADASTRE
paths:
/produits:
get:
summary: "Liste des services du référentiel CADASTRE VYV"
description: "Fourniture de la liste des services du référentiel CADASTRE VYV"
responses:
"200":
description: "Successful response"
content:
application/json:
schema:
example:
- type: service
id: dfae5809-74ea-4e8e-b42a-a837ce2ef5a1
wasInformedBy: pavard
wasGeneratedBy: updateService
wasStartedAtTime: 2022-12-10T11:55:32.445
code_interne: teleconsultation1
libelle: teleconsultation médicale
thematiques:
- wasInformedBy: griezmann
wasGeneratedBy: updateMomentDeVie
wasStartedAtTime: 2022-10-07T14:55:37.417
id: e6daa382-4582-46f4-aa8a-0580df4e1816
code_interne: MDVFF
libelle: Moment de Vie - Formateur / Formé
- wasInformedBy: dembele
wasGeneratedBy: updateMomentDeVie
wasStartedAtTime: 2022-10-07T14:55:18.434
id: 71803cc3-6c4b-4b28-a977-2a3c9f9e6331
code_interne: MDVDV
libelle: Moment de Vie - Départ en Vacances
- wasInformedBy: pogba
wasGeneratedBy: createMomentDeVie
wasStartedAtTime: 2022-12-10T11:54:51.453
id: 36842ec1-1ab5-453f-b971-74456df561be
code_interne: Covid
libelle: crise sanitaire COVID19
'/produits/{id}':
get:
summary: "Récupère les détails d'un service du référentiel CADASTRE VYV"
description: "Récupération des détails d'un services du référentiel CADASTRE VYV à partir de son identifiant unique"
parameters:
- name: "id"
in: "path"
description: "ID du produit"
required: true
schema:
type: integer
responses:
"200":
description: "Successful response"
content:
application/json:
schema:
example:
type: service
id: dfae5809-74ea-4e8e-b42a-a837ce2ef5a1
wasInformedBy: pavard
wasGeneratedBy: updateService
wasStartedAtTime: 2022-12-10T11:55:32.445
code_interne: teleconsultation1
libelle: teleconsultation médicale
thematiques:
- wasInformedBy: griezmann
wasGeneratedBy: updateMomentDeVie
wasStartedAtTime: 2022-10-07T14:55:37.417
id: e6daa382-4582-46f4-aa8a-0580df4e1816
code_interne: MDVFF
libelle: Moment de Vie - Formateur / Formé
- wasInformedBy: dembele
wasGeneratedBy: updateMomentDeVie
wasStartedAtTime: 2022-10-07T14:55:18.434
id: 71803cc3-6c4b-4b28-a977-2a3c9f9e6331
code_interne: MDVDV
libelle: Moment de Vie - Départ en Vacances
- wasInformedBy: pogba
wasGeneratedBy: createMomentDeVie
wasStartedAtTime: 2022-12-10T11:54:51.453
id: 36842ec1-1ab5-453f-b971-74456df561be
code_interne: Covid
libelle: crise sanitaire COVID19