servergroupinfo/{serverGroupName}/{targetType}

API Name

servergroupinfo/{serverGroupName}/{targetType}

Description

Updates the passed configuration to respective group, target type, and metric type if it is valid.

REST Methods

POST

Precondition

Server Manager Console must be running. If Centralized Configuration is enabled, Server Manager Console should be able to connect to the database.

Input Params

Metric data

Example:

"metricInfo": {

"cache": {

"specExpire": "0",

"E1PageCheckInterval": "300001",

"userSession": "1200000",

"menu": "3600000",

"glossaryText": "7200000",

"UDOCheckInterval": "86400000"

},

"grid_disk_cache": {

"cacheFindBrowse": "true",

"cacheBufferSize": "32768",

"cacheDataBrowser": "true"

}

}

Sample Request

curl --location --request GET 'https://ems4296.ad1.fusionappsdphx1.oraclevcn.com:9016/manage/mgmtrestservice/servergroupinfo/ENTGP/webserver/Cache' \

--header 'Content-Type: application/json' \

--header 'Authorization: Basic amRlX2FkbWluOmpkZV9hZG1pbg==' \

--header 'Cookie: SMCONSOLE_SSID=1mF_oTbvqDYYRQn7ENpVhhF2stRX2zz_4Esy2HbE8xrhJ5SDjbq9!-1336142483' \

--data '{

"metricInfo": {

"cache": {

"specExpire": "0",

"E1PageCheckInterval": "300001",

"userSession": "1200000",

"menu": "3600000",

"glossaryText": "7200000",

"UDOCheckInterval": "86400000"

},

"grid_disk_cache": {

"cacheFindBrowse": "true",

"cacheBufferSize": "32768",

"cacheDataBrowser": "true"

}

}

}'

Return

HTTP status 200 is returned.

Sample Response

NA

Exception

400: Bad Request Status Code is returned in case the Request is not well formed for the API which is being invoked.

403: Forbidden. Valid Authentication Information is not passed with the Request.

500: Internal Server Error, In the unlikely case of error occurring on the Server. Refer to the logs for more details.