syndication

PUT /v1/syndication/connections/{connectionId}

Rename a connection or replace its credential.

সমস্ত syndication এন্ডপয়েন্ট

প্রমাণীকরণ

একটি বিয়ার টোকেন হিসেবে একটি এপিআই কি পাঠান। এই এন্ডপয়েন্টটি স্পেসিফিকেশনে কোনো নির্দিষ্ট অনুমতির কথা বলে না, তাই অনুমান না করে আপনার কি-কে এর জন্য ন্যূনতম প্রয়োজনীয় অনুমতি দিন এবং রেসপন্স পরীক্ষা করুন।

এই এন্ডপয়েন্টটি কোনো অর্গানাইজেশন আইডি নেয় না। আপনার কীটি ইতিমধ্যে এটি যে অর্গানাইজেশনের অন্তর্গত তা শনাক্ত করে এবং প্রতিক্রিয়াটি সেই অনুযায়ী নির্ধারিত হয়।

চেষ্টা করুন

কোণ বন্ধনীতে থাকা যেকোনো কিছু আপনার নিজস্ব মান দিয়ে এবং কী প্লেসহোল্ডারটি আপনার ড্যাশবোর্ডের একটি কী দিয়ে প্রতিস্থাপন করুন।

curl -X PUT https://api.zinndigital.com/v1/syndication/connections/{connectionId} \
  -H "Authorization: Bearer zdk_live_…" \
  -H "Content-Type: application/json" \
  -d '{  }'

লগ ইন করা আছে? আপনার ড্যাশবোর্ডের এপিআই কনসোল আপনার আসল অর্গানাইজেশন আইডি এবং আপনার নিজের কি পূরণ করে দেয়, এবং লাইভ এপিআই-এর বিপরীতে অনুরোধটি চালায় যাতে আপনি প্রকৃত প্রতিক্রিয়া দেখতে পান। এই এন্ডপয়েন্টটি এপিআই কনসোলে খুলুন

বিবরণ

⛔ Omitting `credentials` KEEPS the stored credential rather than clearing it — a customer renaming a connection must not silently delete their token. Gated on `syndication.manage`.

পরামিতি

নামধরনআবশ্যকএটি কী
connectionId (path)stringহ্যাঁ

অনুরোধের বডি

নামধরনআবশ্যকএটি কী
namestringনা
credentialsobjectনা⛔ Omit to KEEP the stored credential. Sending it replaces the secret half.

প্রতিক্রিয়া

নামধরনআবশ্যকএটি কী
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