syndication

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

Check a connection against the live channel.

Ҳамаи нуқтаҳои ниҳоии syndication

Ҳамаи ҳуҷҷатҳои таҳиякунандагон

Санҷиши ҳаққоният

Kalitи API-ро ҳамчун token-и bearer фиристед. Ин нуқтаи ниҳоӣ дар мушаххасот иҷозати мушаххасеро нишон намедиҳад, бинобар ин ба калиди худ ҳадди ақали заруриро диҳед ва ба ҷои тахмин кардан, ҷавобро санҷед.

Ин нуқтаи поёнӣ ягон рақами мушаххаси созмонро талаб намекунад. Калиди шумо аллакай созмонеро, ки ба он тааллуқ дорад, муайян мекунад ва ҷавоб ба он маҳдуд карда мешавад.

Санҷидан

Ҳар чизро дар қаavски кунҷӣ бо қиматҳои худ ва ҷойи нигоҳдорандаи калидро бо калима аз панели идоракунии худ иваз кунед.

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

Воarid шудаед? Консоли API дар панели идоракунии шумо рақами мушаххаси ташкилоти воқеӣ ва калиди худро пур мекунад ва дархостро бар зидди API-и фаъол иҷро мекунад, то шумо посухи воқеиро бубинед. Ин нуқтаи ниҳоиро дар консоли API кушоед

Тафсилот

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

Параметрҳо

НомНамудТалаб карда мешавадИн чӣ аст
connectionId (path)stringБале

Ҷавоб

НомНамудТалаб карда мешавадИн чӣ аст
idstringБале
channelstringБале
namestringБалеThe 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.
targetstringБалеThe 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_refstringБалеThe account the VENDOR said this credential belongs to — discovered.
verify_errorstringБалеA 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.
byobooleanБалеWhether the customer supplied their own developer app.
created_atstringБале

Хатоҳое, ки ин нуқтаи ниҳоӣ метавонад баргардонад

401 · 403 · 404