Kpi.Kpi
En bref
3 opérations sur 3 chemins. Préfixe /v2. Authentification JWT (voir Démarrer).
Opérations
| Méthode | Chemin | Rôle |
|---|---|---|
GET |
/v2/kpi |
Lister les enregistrements |
GET |
/v2/kpi/{type} |
Lire l'enregistrement désigné |
GET |
/v2/kpi/{type}/{code} |
Lire l'enregistrement désigné |
Rôle déduit
La spécification ne porte ni summary ni description d'opération : la colonne Rôle est déduite mécaniquement de la méthode HTTP et du chemin.
Détail
GET /v2/kpi
Lister les enregistrements.
Réponses
| Code | Description | Schéma de data |
|---|---|---|
200 |
OK | - |
401 |
Unauthorized | - |
403 |
Forbidden | - |
Exemple
curl -s -X GET "https://<votre-connecteur>/v2/kpi?targets=DEMO&limit=50" \
-H "Authorization: Bearer <jeton>" \
-H "Accept: application/json"
GET /v2/kpi/{type}
Lire l'enregistrement désigné.
Paramètres
| Nom | Emplacement | Type | Obligatoire | Description |
|---|---|---|---|---|
type |
path | string |
oui | - |
Réponses
| Code | Description | Schéma de data |
|---|---|---|
200 |
OK | - |
401 |
Unauthorized | - |
403 |
Forbidden | - |
Exemple
curl -s -X GET "https://<votre-connecteur>/v2/kpi/<type>" \
-H "Authorization: Bearer <jeton>" \
-H "Accept: application/json"
GET /v2/kpi/{type}/{code}
Lire l'enregistrement désigné.
Paramètres
| Nom | Emplacement | Type | Obligatoire | Description |
|---|---|---|---|---|
type |
path | string |
oui | - |
code |
path | string |
oui | - |
Réponses
| Code | Description | Schéma de data |
|---|---|---|
200 |
OK | - |
401 |
Unauthorized | - |
403 |
Forbidden | - |
Exemple
curl -s -X GET "https://<votre-connecteur>/v2/kpi/<type>/<code>" \
-H "Authorization: Bearer <jeton>" \
-H "Accept: application/json"