API
초안 단건 조회
수신자, 제목, 본문, 속한 스레드, 발신자, 그리고 첨부 파일의 이름들입니다.
GETapi.openemail.uk/drafts/{id}
본인 키로 워크스페이스에 실제 호출을 실행합니다.
GET /drafts/{id}
수신자, 제목, 본문, 속한 스레드, 발신자, 그리고 첨부 파일의 이름들입니다.
예시
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" }]}첨부 파일의 메타데이터만 담깁니다. 실제 바이트는 초안이 아니라 메시지에 있습니다.