Dashboard¶
En bref
3 opérations sur 2 chemins. Routes héritées, sans préfixe /v2. Authentification JWT (voir Démarrer).
Routes héritées
Les chemins de ce groupe ne portent pas le préfixe /v2 : ils proviennent de la surface historique du connecteur, publiée dans la même spécification. Pour une intégration neuve, préférez l'équivalent /v2 (voir Conventions).
Opérations¶
| Méthode | Chemin | Rôle |
|---|---|---|
GET |
/dashboard/All |
Appel GET sur dashboard/All |
GET |
/dashboard/{Function} |
Lire l'enregistrement désigné |
POST |
/dashboard/{Function} |
Créer l'enregistrement |
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 /dashboard/All¶
Appel GET sur dashboard/All.
Réponses
| Code | Description | Schéma de data |
|---|---|---|
200 |
OK | — |
401 |
Unauthorized | — |
403 |
Forbidden | — |
Exemple
curl -s -X GET "https://<votre-connecteur>/dashboard/All?targets=DEMO&limit=50" \
-H "Authorization: Bearer <jeton>" \
-H "Accept: application/json"
GET /dashboard/{Function}¶
Lire l'enregistrement désigné.
Paramètres
| Nom | Emplacement | Type | Obligatoire | Description |
|---|---|---|---|---|
Function |
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>/dashboard/<Function>" \
-H "Authorization: Bearer <jeton>" \
-H "Accept: application/json"
POST /dashboard/{Function}¶
Créer l'enregistrement.
Paramètres
| Nom | Emplacement | Type | Obligatoire | Description |
|---|---|---|---|---|
Function |
path | string |
oui | — |
Corps de la requête (application/json)
Schéma anonyme : string.
Écriture partielle : seules les propriétés présentes dans le corps sont écrites (voir Conventions).
Réponses
| Code | Description | Schéma de data |
|---|---|---|
200 |
OK | — |
401 |
Unauthorized | — |
403 |
Forbidden | — |
Exemple
curl -s -X POST "https://<votre-connecteur>/dashboard/<Function>" \
-H "Authorization: Bearer <jeton>" \
-H "Content-Type: application/json" \
-d '{"…": "…"}'