[PATCH v6 06/10] schemata: Add documentation for JSON reply format.
Adam Wolfe Gordon
awg+notmuch at xvx.ca
Tue Feb 21 22:46:35 PST 2012
---
devel/schemata | 27 +++++++++++++++++++++++++--
1 files changed, 25 insertions(+), 2 deletions(-)
diff --git a/devel/schemata b/devel/schemata
index d90d4c6..ee8cfc0 100644
--- a/devel/schemata
+++ b/devel/schemata
@@ -74,8 +74,9 @@ part = {
content?: string # pre-fetched body content
}
-# The headers of a message (format_headers_json with raw headers) or
-# a part (format_headers_message_part_json with pretty-printed headers)
+# The headers of a message (format_headers_json with raw headers
+# and reply = FALSE) or a part (format_headers_message_part_json
+# with pretty-printed headers)
headers = {
Subject: string,
From: string,
@@ -133,3 +134,25 @@ thread = {
# matched and unmatched
subject: string
}
+
+notmuch reply schema
+--------------------
+
+reply = {
+ # The headers of the constructed reply (format_headers_json with
+ # raw headers and reply = TRUE)
+ reply-headers: reply_headers,
+
+ # As in the show format (format_message_json)
+ original: message
+}
+
+reply_headers = {
+ Subject: string,
+ From: string,
+ To?: string,
+ Cc?: string,
+ Bcc?: string,
+ In-reply-to: string,
+ References: string
+}
--
1.7.5.4
More information about the notmuch
mailing list