mirror of
https://git.notmuchmail.org/git/notmuch
synced 2024-11-22 10:58:10 +01:00
schemata: Add documentation for JSON reply format.
This commit is contained in:
parent
1904b01b96
commit
5abc9c1097
1 changed files with 25 additions and 2 deletions
|
@ -77,8 +77,9 @@ part = {
|
||||||
content?: string
|
content?: string
|
||||||
}
|
}
|
||||||
|
|
||||||
# The headers of a message (format_headers_json with raw headers) or
|
# The headers of a message (format_headers_json with raw headers
|
||||||
# a part (format_headers_message_part_json with pretty-printed headers)
|
# and reply = FALSE) or a part (format_headers_message_part_json
|
||||||
|
# with pretty-printed headers)
|
||||||
headers = {
|
headers = {
|
||||||
Subject: string,
|
Subject: string,
|
||||||
From: string,
|
From: string,
|
||||||
|
@ -136,3 +137,25 @@ thread = {
|
||||||
# matched and unmatched
|
# matched and unmatched
|
||||||
subject: string
|
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_part_json)
|
||||||
|
original: message
|
||||||
|
}
|
||||||
|
|
||||||
|
reply_headers = {
|
||||||
|
Subject: string,
|
||||||
|
From: string,
|
||||||
|
To?: string,
|
||||||
|
Cc?: string,
|
||||||
|
Bcc?: string,
|
||||||
|
In-reply-to: string,
|
||||||
|
References: string
|
||||||
|
}
|
||||||
|
|
Loading…
Reference in a new issue