mirror of
https://github.com/jhillyerd/inbucket.git
synced 2025-12-17 17:47:03 +00:00
Updated REST GET message (markdown)
@@ -16,6 +16,7 @@ Retrieve message body
|
||||
* The Inbucket version of the message headers (same as returned by [GET /api/v1/mailbox/{name}](https://github.com/jhillyerd/inbucket/wiki/REST-GET-mailbox))
|
||||
* The parsed SMTP headers (not converted to UTF-8)
|
||||
* The decoded Text and HTML portions of the MIME body of the email
|
||||
* A list of attachments (coming in 1.2.0)
|
||||
|
||||
### Example
|
||||
|
||||
@@ -59,5 +60,14 @@ Response: (JSON reformatted for readability)
|
||||
"To": [
|
||||
"swaks@inbucket.local"
|
||||
]
|
||||
}
|
||||
},
|
||||
"attachments": [
|
||||
{
|
||||
"filename": "favicon.png",
|
||||
"content-type": "image/png",
|
||||
"download-link": "http://localhost:9000/mailbox/dattach/swaks/20161231T045513-0004/0/favicon.png",
|
||||
"view-link": "http://localhost:9000/mailbox/vattach/swaks/20161231T045513-0004/0/favicon.png",
|
||||
"md5": "a72a7565b6b6587ac15fc35746307d0e"
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user