hosting

POST /v1/media-offload/claim

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

ሁሉም የ hosting ማጠናቀቂያ ነጥቦች

ማረጋገጫ

ይህ ማቆሚያ (endpoint)ይፋዊ ነው። ምንም ምስክርነት (credential) ወይም ድርጅት አይወስድም — የራሳችን የግብይት ጣቢያ እና የAI መልስ ሞተሮች የሚያነቡት ነው።

ይህ ኤንድፖይ መክፈቻ (endpoint) የድርጅት መታወቂያ (organisation id) አይወስድም። የእርስዎ ቁልፍ (key) እሱ የሚመለከተውን ድርጅት አስቀድሞ ይለያል፣ እና ምላሹም ለዚሁ የተወሰነ ነው።

ሞክሩት

በቅንፍ ውስጥ ያለውን ማንኛውንም ነገር በራስዎ እሴቶች ይተኩ፣ እና ቁልፍ ቦታ ያዢውን ከዳሽቦርድዎ በመጣ ቁልፍ ይተኩ።

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

ገብተዋል? የመቆጣጠሪያ ማዕከልዎ ውስጥ ያለው የኤፒአይ ኮንሶል ትክክለኛውን የድርጅት መታወቂያዎን እና የራስዎን ቁልፍ ይሞላል፣ እና ትክክለኛውን ምላሽ ማየት እንዲችሉ ጥያቄውን በቀጥታ ከሚሰራው ኤፒአይ ጋር ያካሂደዋል። ይህን ኤንድፖይንት በAPI ኮንሶል ውስጥ ይክፈቱ

ዝርዝሮች

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