Fonctionnalités Tarifs Régions Support Essai gratuit Connexion EN

Récupérer un boost

Récupère un boost par son identifiant.

GET /v1/boosts/{id}

Scope requis : boosts:read

Paramètres de chemin

ParamètreTypeRequisDescription
id integer Requis Identifiant du boost.

Exemple de requête

curl https://api.cache-boost.com/v1/boosts/15 \
  -H "Authorization: Bearer cb_live_YOUR_KEY"

Réponse

Retourne 200 OK avec l'objet boost complet.

{
  "id": 15,
  "site_id": 42,
  "name": "Daily warm",
  "status": "pending",
  "source_type": "sitemap",
  "region": ["fr"],
  "sitemap_ids": [7],
  "variations": null,
  "content_types": null,
  "report_email_enabled": true,
  "schedule": "0 1 * * *",
  "next_run_at": "2025-01-16T01:00:00Z",
  "call_limit": null,
  "created_at": "2025-01-15T10:30:00Z"
}

Erreurs

CodeDescription
401Clé API manquante ou invalide.
403Scope insuffisant ou accès refusé.
404Boost introuvable.