-
-
Notifications
You must be signed in to change notification settings - Fork 155
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
27 changed files
with
619 additions
and
134 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -26,8 +26,8 @@ Returns a JSON summary of the message and attachments. | |
"Address": "[email protected]" | ||
} | ||
], | ||
"Cc": null, | ||
"Bcc": null, | ||
"Cc": [], | ||
"Bcc": [], | ||
"Subject": "Message subject", | ||
"Date": "2016-09-07T16:46:00+13:00", | ||
"Text": "Plain text MIME part of the email", | ||
|
@@ -57,7 +57,7 @@ Returns a JSON summary of the message and attachments. | |
|
||
- `Read` - always true (message marked read on open) | ||
- `From` - Name & Address, or null | ||
- `To`, `CC`, `BCC` - Array of Names & Address, or null | ||
- `To`, `CC`, `BCC` - Array of Names & Address | ||
- `Date` - Parsed email local date & time from headers | ||
- `Size` - Total size of raw email | ||
- `Inline`, `Attachments` - Array of attachments and inline images. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -51,7 +51,7 @@ List messages in the mailbox. Messages are returned in the order of latest recei | |
"Address": "[email protected]" | ||
} | ||
], | ||
"Bcc": null, | ||
"Bcc": [], | ||
"Subject": "Message subject", | ||
"Created": "2022-10-03T21:35:32.228605299+13:00", | ||
"Size": 6144, | ||
|
@@ -70,7 +70,7 @@ List messages in the mailbox. Messages are returned in the order of latest recei | |
- `start` - The offset (default `0`) for pagination | ||
- `Read` - The read/unread status of the message | ||
- `From` - Name & Address, or null if none | ||
- `To`, `CC`, `BCC` - Array of Names & Address, or null if none | ||
- `To`, `CC`, `BCC` - Array of Names & Address | ||
- `Created` - Local date & time the message was received | ||
- `Size` - Total size of raw email in bytes | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -47,7 +47,7 @@ Matching messages are returned in the order of latest received to oldest. | |
"Address": "[email protected]" | ||
} | ||
], | ||
"Bcc": null, | ||
"Bcc": [], | ||
"Subject": "Test email", | ||
"Created": "2022-10-03T21:35:32.228605299+13:00", | ||
"Size": 6144, | ||
|
@@ -65,5 +65,5 @@ Matching messages are returned in the order of latest received to oldest. | |
- `count` - Number of messages returned in request | ||
- `start` - The offset (default `0`) for pagination | ||
- `From` - Singular Name & Address, or null if none | ||
- `To`, `CC`, `BCC` - Array of Name & Address, or null if none | ||
- `To`, `CC`, `BCC` - Array of Name & Address | ||
- `Size` - Total size of raw email in bytes |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
# Tags | ||
|
||
Set message tags. | ||
|
||
|
||
--- | ||
## Update message tags | ||
|
||
Set the tags for one or more messages. | ||
If the tags array is empty then all tags are removed from the messages. | ||
|
||
**URL** : `api/v1/tags` | ||
|
||
**Method** : `PUT` | ||
|
||
### Request | ||
|
||
```json | ||
{ | ||
"ids": ["<ID>","<ID>"...], | ||
"tags": ["<tag>","<tag>"] | ||
} | ||
``` | ||
|
||
### Response | ||
|
||
**Status** : `200` |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.