public class WalletGlobalSettingsREST extends Object implements org.exoplatform.services.rest.resource.ResourceContainer
| Constructor and Description |
|---|
WalletGlobalSettingsREST(WalletService walletService) |
| Modifier and Type | Method and Description |
|---|---|
javax.ws.rs.core.Response |
getSettings(Long networkId,
String spaceId)
Get global settings of aplication
|
javax.ws.rs.core.Response |
saveSettings(GlobalSettings globalSettings)
Save global settings
|
public WalletGlobalSettingsREST(WalletService walletService)
@RolesAllowed(value="users") public javax.ws.rs.core.Response getSettings(Long networkId, String spaceId)
networkId - used blockchain network idspaceId - space wallet id to display@RolesAllowed(value="administrators") public javax.ws.rs.core.Response saveSettings(GlobalSettings globalSettings)
globalSettings - global settings details to saveCopyright © 2003–2019 eXo Platform SAS. All rights reserved.