hosting
GET /v1/sites/deleted
List my deleted sites, and when each stops being recoverable.
প্রমাণীকরণ
একটি বিয়ারার টোকেন হিসেবে একটি এপিআই কি পাঠান। কি-টির অবশ্যই sites.view অনুমতি থাকতে হবে; এটি ছাড়া কোনো কি ৪০৪ নয়, বরং ৪০৩ ত্রুটি দিয়ে প্রত্যাখ্যাত হবে।
এই এন্ডপয়েন্টটি কোনো অর্গানাইজেশন আইডি নেয় না। আপনার কীটি ইতিমধ্যে এটি যে অর্গানাইজেশনের অন্তর্গত তা শনাক্ত করে এবং প্রতিক্রিয়াটি সেই অনুযায়ী নির্ধারিত হয়।
চেষ্টা করুন
কোণ বন্ধনীতে থাকা যেকোনো কিছু আপনার নিজস্ব মান দিয়ে এবং কী প্লেসহোল্ডারটি আপনার ড্যাশবোর্ডের একটি কী দিয়ে প্রতিস্থাপন করুন।
curl -X GET https://api.zinndigital.com/v1/sites/deleted \
-H "Authorization: Bearer zdk_live_…"লগ ইন করা আছে? আপনার ড্যাশবোর্ডের এপিআই কনসোল আপনার আসল অর্গানাইজেশন আইডি এবং আপনার নিজের কি পূরণ করে দেয়, এবং লাইভ এপিআই-এর বিপরীতে অনুরোধটি চালায় যাতে আপনি প্রকৃত প্রতিক্রিয়া দেখতে পান। এই এন্ডপয়েন্টটি এপিআই কনসোলে খুলুন
বিবরণ
Every site deleted from the principal's orgs, newest first, with an unambiguous date for when its backup is purged and the site becomes permanently unrecoverable (purge_due_at). ⛔ purge_due_at is computed by the engine from the live retention policy and must never be recomputed by a client. It comes from the same function the purge sweep selects on, so the date shown and the date acted on cannot drift. A client adding deleted_at + 30 would be a second hardcoded number, and it would be wrong the moment an operator edits the policy (D-W15-10b). ⛔ restorable is a measurement, not a status. It reflects a real check that the backup object exists in storage, so it is false — with reason_code: no_backup — for a site whose backup row claims success over bytes that were never written. A restore button over a backup that does not exist is worse than no button. Requires sites.view only: knowing which of your own sites were deleted, and by when they become unrecoverable, is not a privileged fact.
পরামিতি
| নাম | ধরন | আবশ্যক | এটি কী |
|---|---|---|---|
cursor (query) | string | না | Opaque cursor from a previous page's page.next_cursor. |
limit (query) | integer | না | Maximum items to return (page size). |
প্রতিক্রিয়া
| নাম | ধরন | আবশ্যক | এটি কী |
|---|---|---|---|
data | DeletedSite[] | হ্যাঁ | — |
page | PageMeta | হ্যাঁ | — |
এই এন্ডপয়েন্ট থেকে যেসব ত্রুটি আসতে পারে
401 · 403 · 429