public class DynamicModulesApi extends Object
| Constructor and Description |
|---|
DynamicModulesApi(org.everit.http.restclient.RestClient restClient) |
| Modifier and Type | Method and Description |
|---|---|
io.reactivex.Single<ConnectModules> |
getModules(Optional<org.everit.http.restclient.RestRequestEnhancer> restRequestEnhancer)
Get modules
Returns all modules registered dynamically by the calling app.
|
io.reactivex.Completable |
registerModules(ConnectModules requestBody,
Optional<org.everit.http.restclient.RestRequestEnhancer> restRequestEnhancer)
Register modules
Registers a list of modules.
|
io.reactivex.Completable |
removeModules(Optional<List<String>> moduleKey,
Optional<org.everit.http.restclient.RestRequestEnhancer> restRequestEnhancer)
Remove modules
Remove all or a list of modules registered by the calling app.
|
public DynamicModulesApi(org.everit.http.restclient.RestClient restClient)
public io.reactivex.Single<ConnectModules> getModules(Optional<org.everit.http.restclient.RestRequestEnhancer> restRequestEnhancer)
Returns all modules registered dynamically by the calling app.
Permissions required: Only Connect apps can make this request.
restRequestEnhancer - Adds the possibility to modify the rest request before sending out. This can be useful to add authorizations tokens for example.
public io.reactivex.Completable registerModules(ConnectModules requestBody, Optional<org.everit.http.restclient.RestRequestEnhancer> restRequestEnhancer)
Registers a list of modules.
Permissions required: Only Connect apps can make this request.
requestBody - (required)restRequestEnhancer - Adds the possibility to modify the rest request before sending out. This can be useful to add authorizations tokens for example.
public io.reactivex.Completable removeModules(Optional<List<String>> moduleKey, Optional<org.everit.http.restclient.RestRequestEnhancer> restRequestEnhancer)
Remove all or a list of modules registered by the calling app.
Permissions required: Only Connect apps can make this request.
moduleKey - The key of the module to remove. To include multiple module keys, provide multiple copies of this parameter. For example, moduleKey=dynamic-attachment-entity-property&moduleKey=dynamic-select-field. Nonexistent keys are ignored.
restRequestEnhancer - Adds the possibility to modify the rest request before sending out. This can be useful to add authorizations tokens for example.
Copyright © 2011–2019 Everit Kft.. All rights reserved.