Load app config
The application configuration is shared across all publications and drives the behavior of LiveContent at a global level. This API call grants read access to the values set in that configuration block.
Example API call
/servlets3/wietmsd?date=1460457696417&target=interface&action=config_item&item_name=app.skin_name
Parameters
| Parameter | Description |
|---|---|
target | interface |
action | config_item |
item_name | The name of the configuration item to retrieve, such as app.skin_name would retrieve the value of the <configitem name="app.skin_name" /> configuration element. |
id | A session ID that was retrieved with or without a specific collection and publication combination |
date | To prevent browser-side caching of data, especially with AJAX requests, it is important to make a URL unique. The most effective technique to accomplish this is to include a time parameter that is based on the time at which the call is made. |
Returns
- On success
-
<results> <status>SUCCESS</status> <message>Success!!!</message> <request name='config_item'> <item-name>app.skin_name</item-name> </request> <reply> <config-info>Carbon</config-info> </reply> </results> - On failure
-
<results> <status>ERROR</status> <message>Configuration item not found</message> <request name='config_item'> <item-name>app.skin_named</item-name> </request> <reply> </reply> </results>