hosting
POST /v1/media-offload/report
What the WordPress plugin says it has offloaded so far.
تصدیقهویت
د بیارر ټوکن په توګه یو API کي وسپارئ. دا پای ټکی په مشخصاتو کې کوم ځانګړی اجازه لیک نه بیانوي، نو خپل کیلي ته لږترلږه هغه څه ورکړئ چې ورته اړتیا لري او د فرض کولو پر ځای ځواب وپلټئ.
دا پای نقطه د سازمان هېڅ آی ډي نه اخلي. ستاسو کیلي مخکې تر مخکې هغه سازمان په ګوته کوي چې پورې اړه لري، او ځواب ورته محدود دی.
هڅه وکړئ
د انګلیسي په زاوي پنسونو کې هرڅه د خپلو ارزښتونو سره بدل کړئ، او د کلي ځای لرونکی ستاسو د ډشبورډ د کلي سره.
curl -X POST https://api.zinndigital.com/v1/media-offload/report \
-H "Authorization: Bearer zdk_live_…" \
-H "Content-Type: application/json" \
-d '{ "objects_offloaded": <integer>, "bytes_offloaded": <integer> }'ننوتي یاست؟ ستاسو په ډشبورډ کې د API کنسول ستاسو د اصلي سازمان ID او ستاسو خپله کیلي ډکوي، او غوښتنه د ژوندی API په وړاندې پرمخ وړي ترڅو تاسو وکولی شئ اصلي ځواب وګورئ. دا پای ټکی (endpoint) د API په کنسول کې پرانیزئ
تفصیلات
Called by the Zinn® Media Offload plugin with a bearer plugin token, to report its progress and receive the settings it should currently apply. **These numbers are a diagnostic and never a bill.** They come from a plugin on the customer's own server, so a customer wanting a smaller invoice could simply send smaller ones. Storage is metered by measuring the bucket. What this endpoint feeds is the dashboard's "your plugin last checked in nine minutes ago and has moved 4,102 files".
د غوښتنې بدن
| نوم | ډول | اړین | دا څه شی دی |
|---|---|---|---|
objects_offloaded | integer | هو | — |
bytes_offloaded | integer | هو | — |
plugin_version | string | نه | — |
ځواب
| نوم | ډول | اړین | دا څه شی دی |
|---|---|---|---|
status | string | هو | — |
rewrite_urls | boolean | هو | — |
delete_local | boolean | هو | — |
prefix | string | هو | — |
public_base_url | string | نه | — |
تېروتنې چې دا پای ټکی یې بیرته راګرځولی شي
401 · 429