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

Tellier Benoit updated JAMES-2889:
----------------------------------
    Summary: `jmap` should match RFC-8620 protocol structure - request/response 
 (was: `jmap` should match RFC-2860 protocol structure - request/response)

> `jmap` should match RFC-8620 protocol structure - request/response
> ------------------------------------------------------------------
>
>                 Key: JAMES-2889
>                 URL: https://issues.apache.org/jira/browse/JAMES-2889
>             Project: James Server
>          Issue Type: Sub-task
>          Components: JMAP
>            Reporter: Tellier Benoit
>            Assignee: Antoine Duprat
>            Priority: Major
>
> JAMES-2888 bootstrap a jmap server, but with jmap-draft protocol structure.
> The goal of this ticket is to match RFC-2860 protocol structure:
> Request:
> {code:java}
> {
>   "using": [ "urn:ietf:params:jmap:core", "urn:ietf:params:jmap:mail" ],
>   "methodCalls": [
>     [ "method1", {
>       "arg1": "arg1data",
>       "arg2": "arg2data"
>     }, "c1" ],
>     [ "method2", {
>       "arg1": "arg1data"
>     }, "c2" ],
>     [ "method3", {}, "c3" ]
>   ]
> }
> {code}
> Response:
> {code:java}
> {
>   "methodResponses": [
>     [ "method1", {
>       "arg1": 3,
>       "arg2": "foo"
>     }, "c1" ],
>     [ "method2", {
>       "isBlah": true
>     }, "c2" ],
>     [ "anotherResponseFromMethod2", {
>       "data": 10,
>       "yetmoredata": "Hello"
>     }, "c2"],
>     [ "error", {
>       "type":"unknownMethod"
>     }, "c3" ]
>   ],
>   "sessionState": "75128aab4b1b"
> }
> {code}
> Update echo integration tests accordingly.



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

---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscr...@james.apache.org
For additional commands, e-mail: server-dev-h...@james.apache.org

Reply via email to