API
draft प्राप्त करें
प्राप्तकर्ता, विषय, बॉडी, वह thread जिससे यह जुड़ा है, भेजने वाला, और किसी भी अटैचमेंट के नाम।
GETapi.openemail.uk/drafts/{id}
असली कॉल आपकी अपनी कुंजी से आपके वर्कस्पेस पर चलाता है।
GET /drafts/{id}
प्राप्तकर्ता, विषय, बॉडी, वह thread जिससे यह जुड़ा है, भेजने वाला, और किसी भी अटैचमेंट के नाम।
उदाहरण
drafts:read चाहिए।
curl "$OE/drafts/draft-fdc85673-…" -H "$AUTH"{ "object": "draft", "id": "draft-fdc85673-…", "to": ["[email protected]"], "cc": [], "bcc": [], "subject": "Draft subject", "html": "<p>Half a thought.</p>", "threadId": null, "from": null, "attachments": [{ "filename": "notes.pdf", "contentType": "application/pdf" }]}केवल अटैचमेंट का मेटाडेटा। बाइट्स संदेश पर रहते हैं, draft पर नहीं।