Properties REST API

This section has the following REST APIs properties:

/systemproperties/enableSmartEngine?bw.smartengine.appStatistics.enabled=true

Method GET
Description Enable smart engine
Path Parameters None
Query Parameters
  • Parameter: bw.smartengine.appStatistics.enabled.

  • Type: Boolean (optional).

  • Description: Whether to enable application statistics. The default value is false.

Header Parameters None
Output
  • Code = 200

    Message = "System property is set with old value and new value."

  • Code = 503

    Message = "Internal Server Error".

Sample Output

{

"code": "200",

"message": "Smart engine is enabled.",

"status": "success"

}

{

"code": "200",

"message": "Smart engine (with application statistics) is enabled.",

"status": "success"

}

/systemproperties/disableSmartEngine

Method GET
Description Disable smart engine
Path Parameters None
Query Parameters None
Header Parameters None
Output
  • Code = 200

    Message = "System property is set with old value and new value."

  • Code = 503

    Message = "Internal Server Error".

Sample Output

{

"code": "200",

"message": "Smart engine is disabled.",

"status": "success"

}