Namespace: AppConfig

OCP.AppConfig

Since:
  • 11.0.0
Source:

Methods

(static) _call(method, endpoint, optionsopt)

Parameters:
Name Type Attributes Description
method string
endpoint string
options Object <optional>
Properties
Name Type Attributes Description
data Object <optional>
success function <optional>
error function <optional>
Source:

(static) deleteKey(app, key, optionsopt)

Parameters:
Name Type Attributes Description
app string
key string
options Object <optional>
Properties
Name Type Attributes Description
success function <optional>
error function <optional>
Since:
  • 11.0.0
Source:

(static) getApps(optionsopt)

Parameters:
Name Type Attributes Description
options Object <optional>
Properties
Name Type Attributes Description
success function <optional>
Since:
  • 11.0.0
Source:

(static) getKeys(app, optionsopt)

Parameters:
Name Type Attributes Description
app string
options Object <optional>
Properties
Name Type Attributes Description
success function <optional>
error function <optional>
Since:
  • 11.0.0
Source:

(static) getValue(app, key, defaultValue, optionsopt)

Parameters:
Name Type Attributes Description
app string
key string
defaultValue string | function
options Object <optional>
Properties
Name Type Attributes Description
success function <optional>
error function <optional>
Since:
  • 11.0.0
Source:

(static) setValue(app, key, value, optionsopt)

Parameters:
Name Type Attributes Description
app string
key string
value string
options Object <optional>
Properties
Name Type Attributes Description
success function <optional>
error function <optional>
Since:
  • 11.0.0
Source: