public class AddonPropertiesApi extends Object
| Constructor and Description |
|---|
AddonPropertiesApi(org.everit.http.restclient.RestClient restClient) |
| Modifier and Type | Method and Description |
|---|---|
io.reactivex.Completable |
deleteAddonProperty(String addonKey,
String propertyKey,
Optional<org.everit.http.restclient.RestRequestEnhancer> restRequestEnhancer)
Delete app property
Deletes an app's property.
|
io.reactivex.Single<PropertyKeys> |
getAddonProperties(String addonKey,
Optional<org.everit.http.restclient.RestRequestEnhancer> restRequestEnhancer)
Get app properties
Gets all the properties of an app.
|
io.reactivex.Single<EntityProperty> |
getAddonProperty(String addonKey,
String propertyKey,
Optional<org.everit.http.restclient.RestRequestEnhancer> restRequestEnhancer)
Get app property
Returns the key and value of an app's property.
|
io.reactivex.Single<OperationMessage> |
putAddonProperty(String addonKey,
String propertyKey,
Object body,
Optional<org.everit.http.restclient.RestRequestEnhancer> restRequestEnhancer)
Set app property
Sets the value of an app's property.
|
public AddonPropertiesApi(org.everit.http.restclient.RestClient restClient)
public io.reactivex.Completable deleteAddonProperty(String addonKey, String propertyKey, Optional<org.everit.http.restclient.RestRequestEnhancer> restRequestEnhancer)
Deletes an app's property.
Permissions required: Only a Connect app whose key matches addonKey can make this request.
addonKey - The key of the app, as defined in its descriptor.
(required)propertyKey - The key of the property.
(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.Single<PropertyKeys> getAddonProperties(String addonKey, Optional<org.everit.http.restclient.RestRequestEnhancer> restRequestEnhancer)
Gets all the properties of an app.
Permissions required: Only a Connect app whose key matches addonKey can make this request.
addonKey - The key of the app, as defined in its descriptor.
(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.Single<EntityProperty> getAddonProperty(String addonKey, String propertyKey, Optional<org.everit.http.restclient.RestRequestEnhancer> restRequestEnhancer)
Returns the key and value of an app's property.
Permissions required: Only a Connect app whose key matches addonKey can make this request.
addonKey - The key of the app, as defined in its descriptor.
(required)propertyKey - The key of the property.
(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.Single<OperationMessage> putAddonProperty(String addonKey, String propertyKey, Object body, Optional<org.everit.http.restclient.RestRequestEnhancer> restRequestEnhancer)
Sets the value of an app's property. Use this resource to store custom data for your app.
The value of the request body must be a valid, non-empty JSON blob. The maximum length is 32768 characters.
Permissions required: Only a Connect app whose key matches addonKey can make this request.
addonKey - The key of the app, as defined in its descriptor.
(required)propertyKey - The key of the property.
(required)body - (required)restRequestEnhancer - Adds the possibility to modify the rest request before sending out. This can be useful to add authorizations tokens for example.
Copyright © 2011–2021 Everit Kft.. All rights reserved.