@PathPrefix(value="/x/accounts") public final class AccountWebServices extends Object implements io.vertigo.vega.webservice.WebServices
| Constructor and Description |
|---|
AccountWebServices() |
| Modifier and Type | Method and Description |
|---|---|
io.vertigo.account.account.Account |
getAccount(String id)
Gets an account by its id.
|
io.vertigo.account.account.AccountGroup |
getAccountGroup(String id)
Gets a group by its id.
|
io.vertigo.dynamo.file.model.VFile |
getAccountPhoto(String id)
Gets an account photo by its id.
|
Map<String,Object> |
getConfig()
Extension config.
|
String |
getHelp()
Extension help.
|
Map<String,Object> |
getStats()
Extension stats.
|
String |
getStatus()
Extension status (code 200 or 500)
|
@GET(value="/api/{id}")
@AnonymousAccessAllowed
public io.vertigo.account.account.Account getAccount(@PathParam(value="id")
String id)
id - the account id.@GET(value="/api/{id}/photo")
@AnonymousAccessAllowed
public io.vertigo.dynamo.file.model.VFile getAccountPhoto(@PathParam(value="id")
String id)
id - account id.@GET(value="/api/groups/{id}")
@AnonymousAccessAllowed
public io.vertigo.account.account.AccountGroup getAccountGroup(@PathParam(value="id")
String id)
id - the group id.@GET(value="/infos/status") @AnonymousAccessAllowed public String getStatus()
@GET(value="/infos/stats") @AnonymousAccessAllowed public Map<String,Object> getStats()
@GET(value="/infos/config") @AnonymousAccessAllowed public Map<String,Object> getConfig()
@GET(value="/infos/help") @AnonymousAccessAllowed public String getHelp()
Copyright © 2019. All Rights Reserved.