दस्तावेज़ पर जाएँ
API

देखें कि निर्यात में क्या होगा

क्या निर्यात अभी शुरू हो सकता है, और उसमें कितना होगा।

GET/exports/preview

असली कॉल आपके वर्कस्पेस पर चलाता है।

GET /exports/preview

क्या निर्यात अभी शुरू हो सकता है, और उसमें कितना होगा।

उदाहरण

threads:read चाहिए। जब allowed false हो, तो reason का मान not-permitted, mailbox-login या two-factor-required होता है और counts null। रोज़ की सीमा लागू रहने तक nextAvailableAt भरा रहता है, और activeExportId उस निर्यात का नाम बताता है जो अभी बन रहा है।

curl
curl "$OE/exports/preview" -H "$AUTH"
प्रतिक्रिया
{  "object": "export_preview",  "allowed": true,  "reason": null,  "nextAvailableAt": null,  "activeExportId": null,  "counts": {    "threads": 18420,    "attachments": 6211,    "attachmentBytes": 1532871224,    "deletedFiles": 14,    "contacts": 912,    "audiences": 6,    "calendarEvents": 233,    "templates": 18,    "rules": 9,    "labels": 24,    "notes": 41,    "addresses": 7  }}

वर्कस्पेस को सिर्फ़ उसका मालिक, या ऐसा सदस्य जिसकी भूमिका में हर अनुमति हो, निर्यात कर सकता है: API कुंजी से, या हर पते के साथ जुड़े ऐप से। ख़ास पतों या डोमेन तक सीमित कुंजी या ऐप 422 capability_unsupported है।

संदर्भ