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 "René Cordier (Jira)" <se...@james.apache.org> on 2020/03/09 09:17:00 UTC
[jira] [Updated] (JAMES-3095) Port to jmap mailboxes/get
[ https://issues.apache.org/jira/browse/JAMES-3095?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
René Cordier updated JAMES-3095:
--------------------------------
Parent: JAMES-2884
Issue Type: Sub-task (was: Improvement)
> Port to jmap mailboxes/get
> --------------------------
>
> Key: JAMES-3095
> URL: https://issues.apache.org/jira/browse/JAMES-3095
> Project: James Server
> Issue Type: Sub-task
> Reporter: René Cordier
> Priority: Major
>
> After #1662
> *Constrains for the /get objects in general*
> - if `ids` is null, return all records. The number of returned elements should not exceed `maxObjectsInGet` (in case James implement `Session Resource`)
> - return only requested `ids`
> - return all properties by default
> - return an empty `list` when not found
> - the request `ids` can contains duplicated ids, but server should return a distinct set of Mailbox objects despite of duplicated `ids`.
> - don't implement `state` and `sessionState`
> - implement `requestTooLarge` in case of too many requested ids - this parts should be connected to JMAP error handling
> - Need to validate: Current James doesn't support accountId, should we let it un-validated?
> *Constrains for mailboxes/get object*
> - related constrains in properties definition of the documentation
> - `totalThreads`: we don't support threads for now (return 1)
> - `unreadThreads`: we don't support threads for now (return `unreadEmails` > 0)
> *Implementation*
> - Reuse the GetMailboxesRequest and GetMailboxesResponse
> - Modify if necessary to match with the new POJO model
> - Implement the new MailboxesGetMethod
> *DOD*: full fill all mentioned constrains, unit tests + integration tests
--
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