hosting

POST /v1/media-offload/claim

The WordPress plugin, redeeming a pairing code for a scoped token.

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

প্রমাণীকরণ

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

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

চেষ্টা করুন

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

curl -X POST https://api.zinndigital.com/v1/media-offload/claim \
  -H "Content-Type: application/json" \
  -d '{ "code": <string> }'

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

বিবরণ

Called by the Zinn® Media Offload plugin on a customer's WordPress server. **This endpoint is unauthenticated**: the caller has no session with us and can name no organisation — the pairing code is what names it. Every failure — an expired code, an already-claimed code and a code that never existed — returns the same `422`. Distinguishing them would confirm to a caller that a guessed code exists, which is the only thing between them and another organisation's storage.

অনুরোধের বডি

নামধরনআবশ্যকএটি কী
codestringহ্যাঁ
plugin_versionstringনা
site_urlstringনা

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

নামধরনআবশ্যকএটি কী
tokenstringহ্যাঁShown once and never again. Stored by us only as a SHA-256 hash.
site_idstringহ্যাঁ
prefixstringহ্যাঁThe key prefix this site's objects live under.
public_base_urlstringনাWhere a rewritten media URL points. Empty when the bucket is private, in which case the plugin must not rewrite anything.
rewrite_urlsbooleanহ্যাঁ
delete_localbooleanহ্যাঁ

এই এন্ডপয়েন্ট থেকে যেসব ত্রুটি আসতে পারে

422 · 429