ThingWorx WebSocket-based Edge MicroServer (WS EMS) and Lua Script Resource (LSR) > REST Web Services Supported by WS EMS > GetConfiguration
The GetConfiguration service retrieves the configuration that the WS EMS is currently using
This service does not return the current config.json file. Rather it returns the configuration that is currently loaded into the WS EMS. For example, if you call UpdateConfiguration but do not restart the WS EMS, the GetConfiguration service returns the configuration parameters and their values that the WS EMS is using, not the config.json file. You do not see the changes that were passed in with UpdateConfiguration.
This service does not take any input parameters.
This service returns a TW_INFOTABLE that contains a json object. The object contains the configuration parameter/value pairs that are currently loaded in the WS EMS.
Here is an example of a REST call that retrieves the configuration of a WS EMS: