Details
-
Sub-task
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
-
None
Description
From spec: https://jmap.io/spec-core.html#get (section 5.1)
State: A string representing the state on the server for all the data of this type in the account (not just the objects returned in this call). If the data changes, this string MUST change. If the data is unchanged, servers SHOULD return the same state string on subsequent requests.
How
Whenever a Mailbox/get request is received, we need to fetch the most recent state of Mailbox objects stored in the MailboxChangeRepository and return it in the response.
DoD
Integration tests to show that Mailbox/get method can handle the state property.