Exécution
Rapports
Gérer des rapports pour les campagnes, Search Console, SERP, visibilité artificielle, SEO technique et indexation en PDF, CSV ou JSON.
POST
/api/v1/reportsLire et écrire la cléGérer un rapport
Authentication : Porteur API clé dans l’onglet Authentication.
| Paramètres | dans | Type | Description |
|---|---|---|---|
| type* | body | campaign | search_console | serp | ai_visibility | technical | indexing | Type de rapport |
| format | body | pdf | csv | json | Défaut pdf |
| websiteId | body | string | Tous les sites Web quand ils sont omis |
| à partir de | body | YYYY-MM-DD | Début du temps |
| à | body | YYYY-MM-DD | Fin du temps |
| whiteLabel | body | boolean | Utiliser le branding de l'espace de travail |
Demande
curl -X POST "https://devnoro.com/api/v1/reports" \
-H "Authorization: Bearer $DEVNORO_KEY" \
-H "Content-Type: application/json" \
-d '{ "type": "search_console", "format": "pdf", "websiteId": "cm1site9x0001" }'Réponse
{ "data": { "id": "cm1rep…", "status": "queued", "jobId": "cm1job…" } }GET
/api/v1/reportsLire la cléListe des rapports
Authentication : Porteur API clé dans l’onglet Authentication.
Demande
curl "https://devnoro.com/api/v1/reports" \
-H "Authorization: Bearer $DEVNORO_KEY"Réponse
{ "data": [{ "id": "cm1rep…", "title": "Search Console report — example.com", "format": "pdf", "status": "completed" }] }GET
/api/v1/reports/{id}Lire la cléStatut de rapport
Authentication : Porteur API clé dans l’onglet Authentication.
Demande
curl "https://devnoro.com/api/v1/reports/cm1site9x0001" \
-H "Authorization: Bearer $DEVNORO_KEY"Réponse
{ "data": { "id": "cm1rep…", "status": "completed", "downloadUrl": "/api/v1/reports/cm1rep…/download" } }