Dashboard.Dashboard¶
En bref
3 opérations sur 2 chemins. Préfixe /v2. Authentification JWT (voir Démarrer).
Opérations¶
| Méthode | Chemin | Rôle |
|---|---|---|
GET |
/v2/dashboard/all |
Appel GET sur dashboard/all |
GET |
/v2/dashboard/{fonction} |
Lire l'enregistrement désigné |
POST |
/v2/dashboard/{fonction} |
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 /v2/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>/v2/dashboard/all?targets=DEMO&limit=50" \
-H "Authorization: Bearer <jeton>" \
-H "Accept: application/json"
GET /v2/dashboard/{fonction}¶
Lire l'enregistrement désigné.
Paramètres
| Nom | Emplacement | Type | Obligatoire | Description |
|---|---|---|---|---|
fonction |
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/dashboard/<fonction>" \
-H "Authorization: Bearer <jeton>" \
-H "Accept: application/json"
POST /v2/dashboard/{fonction}¶
Créer l'enregistrement.
Paramètres
| Nom | Emplacement | Type | Obligatoire | Description |
|---|---|---|---|---|
fonction |
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>/v2/dashboard/<fonction>" \
-H "Authorization: Bearer <jeton>" \
-H "Content-Type: application/json" \
-d '{"…": "…"}'