Benoit Tellier created JAMES-3414:
-------------------------------------
Summary: Email/set update mailboxIds 2. Partial update
Key: JAMES-3414
URL: https://issues.apache.org/jira/browse/JAMES-3414
Project: James Server
Issue Type: Sub-task
Components: JMAP
Reporter: Benoit Tellier
Assignee: Antoine Duprat
Fix For: 3.6.0
== Objective
As an user i want to move messages from mailbox to mailbox.
== How
Updating several mailboxIds of one or more messages by sending an Email/set
request using JSON pointer syntax.
== Example
== Request
{code:java}
[[ "Email/set", {
"accountId": "ue150411c",
"update": {
"messageId1": {
"mailboxIds/mailboxId3": false
}
}
}, "0" ]]
{code}
== Response
{code:java}
{
"sessionState": "75128aab4b1b",
"methodResponses": [
["Email/set", {
"updated": {
"messageId1": {
mailboxIds: {
"mailboxId1": true,
"mailboxId2": true,
"mailboxId3": false
}
}
}
}, "0"]
]
}
{code}
= Definition of Done
- Write integration tests to show that user can update mailboxIds for one/many
messages in the same request.
- Partial update should not affect other mailboxIds of the same message.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]