[ 
https://issues.apache.org/jira/browse/JAMES-3371?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17192901#comment-17192901
 ] 

Rémi Kowalski commented on JAMES-3371:
--------------------------------------

PR : https://github.com/linagora/james-project/pull/3770

> JMAP Email/query Allow listing email
> ------------------------------------
>
>                 Key: JAMES-3371
>                 URL: https://issues.apache.org/jira/browse/JAMES-3371
>             Project: James Server
>          Issue Type: New Feature
>          Components: JMAP
>    Affects Versions: 3.6.0
>            Reporter: Rémi Kowalski
>            Assignee: Antoine Duprat
>            Priority: Major
>
> Simple implementation without filters/sorting/pagination
> ### Why
> With the new specification, I should be able to list my emails:
> ```
> [[ "Email/query",{
>  "accountId": "ue150411c"
> }, "0" ]]
> ```
> Should return :
> ```
> [[ "Email/query", {
>  "accountId": "ue150411c",
>  "queryState": "09aa9a075588-780599:0",
>  "canCalculateChanges": false,
>  "position": 0,
>  "ids": [ "Ma783e5cdf5f2deffbc97930a",
>  "M9bd17497e2a99cb345fc1d0a", ... ]
> }, "0" ]]
> ```
> ### HOW
> 1. Implement a method for Email/query
> 2. Write dedicated integration tests for it.
> ### Notes
> Even without sorting the order of the elements should be stable between two 
> calls to the method.
> The default sorting order will be the default used by james i.e by ascending 
> order of message uids
> ### DOD
> Write memory integration tests for Email/query



--
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