syndication

POST /v1/syndication/connections/{connectionId}/verify

Check a connection against the live channel.

Tous les points de terminaison syndication

Authentification

Envoyez une clé d'API en tant que jeton du porteur (bearer token). Cet endpoint n'indique pas de permission spécifique dans la spécification, attribuez donc à votre clé le minimum requis et vérifiez la réponse plutôt que de faire des suppositions.

Cet endpoint ne prend aucun identifiant d'organisation. Votre clé identifie déjà l'organisation à laquelle elle appartient, et la réponse y est limitée.

Essayer

Remplacez tout ce qui se trouve entre crochets par vos propres valeurs, et le espace réservé à la clé par une clé de votre tableau de bord.

curl -X POST https://api.zinndigital.com/v1/syndication/connections/{connectionId}/verify \
  -H "Authorization: Bearer zdk_live_…"

Connecté ? La console d'API de votre tableau de bord saisit votre véritable ID d'organisation ainsi que votre propre clé, et exécute la requête sur l'API de production afin que vous puissiez voir la réponse réelle. Ouvrir ce point de terminaison dans la console API

Détails

⛔ A failure is a **200 carrying a non-ready `status`**, not an error response — "we could not reach it" is the answer to the question that was asked. Three outcomes: `ready`, `needs_reconnect` (the customer must act) and `error` (we reached the vendor and it said no for another reason). Gated on `syndication.manage`.

Paramètres

NomTypeObligatoireQu'est-ce que c'est
connectionId (path)stringOui

Réponse

NomTypeObligatoireQu'est-ce que c'est
idstringOui
channelstringOui
namestringOuiThe customer's own name for it. ⛔ `name` on the wire, `label` on the model: `Field.label` is DRF's own attribute and shadowing it is silent at runtime.
targetstringOuiThe non-secret half — a handle, an instance, a board id.
statusstring<unverified, ready, needs_reconnect, error>Oui⛔⛔ `needs_reconnect` is NOT a failure — the credential lapsed and only the customer can fix it. `unverified` means we have not looked, which is a third fact and not a quiet green.
account_refstringOuiThe account the VENDOR said this credential belongs to — discovered.
verify_errorstringOuiA machine code the dashboard turns into copy. Never a sentence.
verified_atstringOui
expires_atstringOui⛔ `null` means **no stated expiry**, which is a different fact from "never expires" and must not render as an unqualified green.
byobooleanOuiWhether the customer supplied their own developer app.
created_atstringOui

Erreurs que cet point de terminaison peut renvoyer

401 · 403 · 404