mirror of
https://github.com/jhillyerd/inbucket.git
synced 2025-12-17 17:47:03 +00:00
Updated REST GET mailbox (markdown)
@@ -4,17 +4,17 @@
|
|||||||
|
|
||||||
### Params
|
### Params
|
||||||
|
|
||||||
* name: Name of the mailbox to list the contents of
|
* `name` - Name of the mailbox to list the contents of
|
||||||
|
|
||||||
### Output
|
### Output
|
||||||
|
|
||||||
A JSON array of message header maps, containing the following fields:
|
A JSON array of message header maps, containing the following fields:
|
||||||
* Mailbox - name of the mailbox the message belongs to
|
* `Mailbox` - name of the mailbox the message belongs to
|
||||||
* Id - message identifier, will be unique for this mailbox, but not across mailboxes
|
* `Id` - message identifier, will be unique for this mailbox, but not across mailboxes
|
||||||
* From - message sender
|
* `From` - message sender
|
||||||
* Subject - message subject line
|
* `Subject` - message subject line
|
||||||
* Date - date message was received (not the date specified by SMTP headers) in [ISO 8601](http://en.wikipedia.org/wiki/ISO_8601) format.
|
* `Date` - date message was received (not the date specified by SMTP headers) in [ISO 8601](http://en.wikipedia.org/wiki/ISO_8601) format.
|
||||||
* Size - size of headers + message in bytes
|
* `Size` - size of headers + message in bytes
|
||||||
|
|
||||||
### Example
|
### Example
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user