You are viewing a plain text version of this content. The canonical link for it is here.
Posted to server-dev@james.apache.org by "Benoit Tellier (Jira)" <se...@james.apache.org> on 2020/10/06 08:05:00 UTC
[jira] [Created] (JAMES-3414) Email/set update mailboxIds 2.
Partial update
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: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org