syndication

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

Check a connection against the live channel.

Todos los endpoints de syndication

Autenticación

Envía una clave de API como token de portador. Este endpoint no especifica un permiso concreto en la especificación, así que otorga a tu clave los mínimos privilegios necesarios y comprueba la respuesta en lugar de dar por sentado.

Este endpoint no requiere ningún id de organización. Su clave ya identifica la organización a la que pertenece, y la respuesta está delimitada a ella.

Pruébalo

Reemplaza cualquier elemento entre corchetes angulares por tus propios valores, y el marcador de posición key con una clave de tu panel de control.

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

¿Has iniciado sesión? La consola de la API en tu panel de control rellena el ID de tu organización real y tu propia clave, y ejecuta la solicitud contra la API en vivo para que puedas ver la respuesta real. Abre este endpoint en la consola de la API

Detalles

⛔ 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`.

Parámetros

NombreTipoObligatorio¿Qué es esto?
connectionId (path)string

Respuesta

NombreTipoObligatorio¿Qué es esto?
idstring
channelstring
namestringThe 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.
targetstringThe non-secret half — a handle, an instance, a board id.
statusstring<unverified, ready, needs_reconnect, error>⛔⛔ `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_refstringThe account the VENDOR said this credential belongs to — discovered.
verify_errorstringA machine code the dashboard turns into copy. Never a sentence.
verified_atstring
expires_atstring⛔ `null` means **no stated expiry**, which is a different fact from "never expires" and must not render as an unqualified green.
byobooleanWhether the customer supplied their own developer app.
created_atstring

Errores que este endpoint puede devolver

401 · 403 · 404