You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@james.apache.org by bt...@apache.org on 2020/11/23 08:20:10 UTC

[james-project] 11/19: JAMES-3452 Document Identity/get

This is an automated email from the ASF dual-hosted git repository.

btellier pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/james-project.git

commit 87b6d735f6797ca0101660b9265bc1b6d8486b2c
Author: Benoit Tellier <bt...@linagora.com>
AuthorDate: Sat Nov 21 17:15:09 2020 +0700

    JAMES-3452 Document Identity/get
---
 .../apache/james/jmap/rfc8621/RFC8621MethodsModule.java   | 15 ++++++++++++++-
 .../jmap-rfc-8621/doc/specs/spec/mail/identity.mdown      | 11 ++++++++++-
 2 files changed, 24 insertions(+), 2 deletions(-)

diff --git a/server/container/guice/protocols/jmap/src/main/java/org/apache/james/jmap/rfc8621/RFC8621MethodsModule.java b/server/container/guice/protocols/jmap/src/main/java/org/apache/james/jmap/rfc8621/RFC8621MethodsModule.java
index c11528c..fd970bb 100644
--- a/server/container/guice/protocols/jmap/src/main/java/org/apache/james/jmap/rfc8621/RFC8621MethodsModule.java
+++ b/server/container/guice/protocols/jmap/src/main/java/org/apache/james/jmap/rfc8621/RFC8621MethodsModule.java
@@ -32,7 +32,20 @@ import org.apache.james.jmap.http.Authenticator;
 import org.apache.james.jmap.http.BasicAuthenticationStrategy;
 import org.apache.james.jmap.http.rfc8621.InjectionKeys;
 import org.apache.james.jmap.jwt.JWTAuthenticationStrategy;
-import org.apache.james.jmap.method.*;
+import org.apache.james.jmap.method.CoreEchoMethod;
+import org.apache.james.jmap.method.EmailGetMethod;
+import org.apache.james.jmap.method.EmailQueryMethod;
+import org.apache.james.jmap.method.EmailSetMethod;
+import org.apache.james.jmap.method.EmailSubmissionSetMethod;
+import org.apache.james.jmap.method.IdentityGetMethod;
+import org.apache.james.jmap.method.MailboxGetMethod;
+import org.apache.james.jmap.method.MailboxQueryMethod;
+import org.apache.james.jmap.method.MailboxSetMethod;
+import org.apache.james.jmap.method.Method;
+import org.apache.james.jmap.method.SystemZoneIdProvider;
+import org.apache.james.jmap.method.VacationResponseGetMethod;
+import org.apache.james.jmap.method.VacationResponseSetMethod;
+import org.apache.james.jmap.method.ZoneIdProvider;
 import org.apache.james.jmap.routes.DownloadRoutes;
 import org.apache.james.jmap.routes.JMAPApiRoutes;
 import org.apache.james.jmap.routes.SessionRoutes;
diff --git a/server/protocols/jmap-rfc-8621/doc/specs/spec/mail/identity.mdown b/server/protocols/jmap-rfc-8621/doc/specs/spec/mail/identity.mdown
index 4fddbde..a215f7a 100644
--- a/server/protocols/jmap-rfc-8621/doc/specs/spec/mail/identity.mdown
+++ b/server/protocols/jmap-rfc-8621/doc/specs/spec/mail/identity.mdown
@@ -1,7 +1,7 @@
 # Identities
 
 > :warning:
-> Not implemented yet
+> Partially implemented.
 
 An **Identity** object stores information about an email address or domain the user may send from. It has the following properties:
 
@@ -30,14 +30,23 @@ The following JMAP methods are supported.
 
 ## Identity/get
 
+> :warning:
+> Partially implemented. Only retrieving all identities is supported. You can not specify an 'ids' property.
+
 This is a standard "/get" method as described in [@!RFC8620], Section 5.1. The *ids* argument may be `null` to fetch all at once.
 
 ## Identity/changes
 
+> :warning:
+> Not implemented.
+
 This is a standard "/changes" method as described in [@!RFC8620], Section 5.2.
 
 ## Identity/set
 
+> :warning:
+> Not implemented.
+
 This is a standard "/set" method as described in [@!RFC8620], Section 5.3. The following extra *SetError* types are defined:
 
 For **create**:


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@james.apache.org
For additional commands, e-mail: notifications-help@james.apache.org