Add REST endpoint to get details of an account

In addition to the AccountInfo fields the new REST endpoint returns
the registration date of the account and the timestamp of when contact
information was filed for this account. So far this information was
not available via REST, but clients may want to show this information
for the currently signed in user.

Change-Id: I6211c13d26290d1c0f3c31a1b52408c58983f08b
Signed-off-by: Edwin Kempin <edwin.kempin@sap.com>
This commit is contained in:
Edwin Kempin
2015-07-28 11:02:40 +02:00
parent 13f92cd40b
commit cf77a6955d
4 changed files with 158 additions and 0 deletions

View File

@@ -38,6 +38,7 @@ public class Module extends RestApiModule {
put(ACCOUNT_KIND).to(PutAccount.class);
get(ACCOUNT_KIND).to(GetAccount.class);
get(ACCOUNT_KIND, "detail").to(GetDetail.class);
get(ACCOUNT_KIND, "name").to(GetName.class);
put(ACCOUNT_KIND, "name").to(PutName.class);
delete(ACCOUNT_KIND, "name").to(PutName.class);