-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathcadastre-lite-v1.yaml
46 lines (45 loc) · 1.11 KB
/
cadastre-lite-v1.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
---
openapi: "3.0.3"
info:
version: 1.0.0
title: "Cadastre de formation"
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 produits"
responses:
"200":
description: "Successful response"
'/produits/{id}':
get:
summary: "Récupère les détails d'un produit"
parameters:
- name: "id"
in: "path"
required: true
schema:
type: string
responses:
"200":
description: "Successful response"
"400":
description: "Provided ID must be an uuid"
"404":
description: "Product not found"