Path: / {BASE} / statistics / enabled

Return the status of statistics gathering.


Resource Methods
Method Summary
NameDescription
PUT /{BASE}/statistics/enabled?value=…Enable or disable the statistics gathering.
GET /{BASE}/statistics/enabledReturn the status of statistics gathering.

Method Detail

PUT /{BASE}/statistics/enabled

Enable or disable the statistics gathering. If enabled, might cause additional overhead in execution.

HTTP Example:
PUT /{BASE}/statistics/enabled?value=…
API Example:

StatisticsWebService.setEnabled({'value': /* enabled if true, statistics gathering will be enabled, if false, it will be disabled */});

Output:
Response - OK when changing the statistics setting was successful
Query parameters:
value - if true, statistics gathering will be enabled, if false, it will be disabled
HTTP return codes:
200 - when the statistics gathering has been enabled or disabled successfully

GET /{BASE}/statistics/enabled

Return the status of statistics gathering.

HTTP Example:
GET /{BASE}/statistics/enabled
API Example:

StatisticsWebService.isEnabled({});

Output:
boolean - Returns true if statistics gathering is enabled, false if it is disabled.