Got feedback or spotted a mistake?

Leave a comment at the end of this page or email contact@krishagni.com

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Current »

URL: http[s]:<host>:<port>/openspecimen/rest/ng/config-settings

Result: This will update the configuration setting as per request.

Note: Settings module name and property name can be known either by getting all settings of by getting settings of individual module.

 

Below are the attributes which need to be sent in the request body:

Parameter
Details
moduleName of the module of which property going to be update.
name

Name of the property which user wants to update

valueNew value of the setting.

 

Below is an example of get all settings.

URLhttp[s]:<host>:<port>/openspecimen/rest/ng/config-settings
MethodPUT
Requestapplication/json
Json
{
"module": "common",
"name": "locale",
"value": "en_IN"
}
Response
{
"module": "common",
"name": "locale",
"value": "en_IN",
"type": "STRING",
"allowedValues": [],
"displayNameCode": "common_locale",
"descCode": "common_locale_desc",
"activationDate": 1466070080881,
"secured": false
}
  • No labels