hosting
POST /v1/media-offload/claim
The WordPress plugin, redeeming a pairing code for a scoped token.
அங்கீகாரம்
இந்த எண்ட் பாயிண்ட் பொதுவானது. இது நற்சான்றிதழ்களையோ நிறுவனத்தையோ கோருவதில்லை — இதுவே எங்கள் சொந்த மார்க்கெட்டிங் தளம் மற்றும் AI பதில் இயந்திரங்கள் வாசிப்பதாகும்.
இந்த எண்ட்பாயிண்டிற்கு எந்த அமைப்பு ஐடியும் (organisation id) தேவையில்லை. உங்கள் விசை (key) அது எந்த அமைப்புக்குரியது என்பதை ஏற்கனவே அடையாளம் காட்டுகிறது, மேலும் பதிலானது அதற்கேற்ப வரம்பிடப்பட்டுள்ளது.
முயன்று பார்
கோண அடைப்புக்குறிகளில் உள்ள எதையும் உங்கள் சொந்த மதிப்புகளுடன் மாற்றவும், மேலும் விசை பிளேஸ்ஹோல்டரை உங்கள் டாஷ்போர்டில் உள்ள விசையுடன் மாற்றவும்.
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.
கோரிக்கை உடல்
| பெயர் | வகை | தேவைப்படுகிறது | அது என்ன |
|---|---|---|---|
code | string | ஆம் | — |
plugin_version | string | இல்லை | — |
site_url | string | இல்லை | — |
பதில்
| பெயர் | வகை | தேவைப்படுகிறது | அது என்ன |
|---|---|---|---|
token | string | ஆம் | Shown once and never again. Stored by us only as a SHA-256 hash. |
site_id | string | ஆம் | — |
prefix | string | ஆம் | The key prefix this site's objects live under. |
public_base_url | string | இல்லை | Where a rewritten media URL points. Empty when the bucket is private, in which case the plugin must not rewrite anything. |
rewrite_urls | boolean | ஆம் | — |
delete_local | boolean | ஆம் | — |
இந்த எண்ட்ஸ்பாயிண்ட் திரும்ப அனுப்பக்கூடிய பிழைகள்
422 · 429