[ 
https://issues.apache.org/jira/browse/JAMES-3413?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

René Cordier closed JAMES-3413.
-------------------------------
    Resolution: Done

> Email/set update mailboxIds 1. Reset
> ------------------------------------
>
>                 Key: JAMES-3413
>                 URL: https://issues.apache.org/jira/browse/JAMES-3413
>             Project: James Server
>          Issue Type: Sub-task
>          Components: JMAP
>            Reporter: Benoit Tellier
>            Assignee: Antoine Duprat
>            Priority: Major
>             Fix For: 3.6.0
>
>
> = Objective
> As an user i want to move messages from mailbox to mailbox.
> = How
> Updating the mailboxIds field of one or more messages by sending an Email/set 
> request, replacing the entire set of mailboxIds of the messages.
> = Example
> == Request
> {code:java}
> [[ "Email/set", {
>   "accountId": "ue150411c",
>   "update": {
>     "messageId1": {
>       "mailboxIds": {
>         "mailboxId1": true,
>         "mailboxId2": true,
>         "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. Target mailboxIds could be one or severals ids.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to