[ https://issues.apache.org/jira/browse/JAMES-3452?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17236628#comment-17236628 ]
Benoit Tellier commented on JAMES-3452: --------------------------------------- https://github.com/linagora/james-project/pull/4062 contributes this... > Implement Identity/get > ---------------------- > > Key: JAMES-3452 > URL: https://issues.apache.org/jira/browse/JAMES-3452 > Project: James Server > Issue Type: Sub-task > Reporter: Benoit Tellier > Priority: Major > > Why: This is required by some third party clients to discover the mail > address they can use, and which identityId to position on there email > submissions. > How: > Implement Identity/get. Only retrieve all is implemented. > id is a hash of the email address. > Use CanSendFrom API to broadcast the email addresses the client can use. > Add an identityId in the EmailSubmission object. > Example of query > {code:java} > { > "using": ["urn:ietf:params:jmap:core", "urn:ietf:params:jmap:mail"], > "methodCalls": [[ > "Identity/get", > { > "accountId": > "29883977c13473ae7cb7678ef767cbfbaffc8a44a6e463d971d23a65c1dc4af6", > "ids": null > }, > "c1"]] > } > Will respond > { > "accountId": > "29883977c13473ae7cb7678ef767cbfbaffc8a44a6e463d971d23a65c1dc4af6", > "state": "000001", > "list": [ > { > "id": > "29883977c13473ae7cb7678ef767cbfbaffc8a44a6e463d971d23a65c1dc4af6", > "name": "b...@domain.tld", > "email": "b...@domain.tld", > "mayDelete": false > }, > { > "id": > "725cfddc2c1905fefa6b8c3a6ab5dd9f8ba611c4d7772cf066f69cfd2ec23832", > "name": "b...@domain-alias.tld", > "email": "b...@domain-alias.tld", > "mayDelete": false > }, > { > "id": > "6310e0a86aedaad878f634a5ff5c2cb8bb3c2401319305ef3272591ebcdc6cb4", > "name": "bob-al...@domain.tld", > "email": "bob-al...@domain.tld", > "mayDelete": false > }, > { > "id": > "62844b5cd203bcb86cb590355fc509773ef1972ce8457b13a7d55d99a308c8f6", > "name": "bob-al...@domain-alias.tld", > "email": "bob-al...@domain-alias.tld", > "mayDelete": false > } > ] > } > {code} > Identity/set & Identity/changes will not be implemented. -- 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