Retrieval of the current values of advanced server settings
Available from 9.2.3.
You use the GET
operation
on the api/sam/configs
element to request information about the current values of
the License Metric Tool server settings. The output is
returned in the JSON format.
Permissions
You must be an Administrator to perform this task.
Resource URL
https://hostname:port/api/sam/configs
Resource information
Operation details | Description |
---|---|
Purpose | Returns information about the current values of the License Metric Tool server settings. |
HTTP method | GET |
Resource URI | https://hostname:port/api/sam/configs |
URL query parameters | For a list of query parameters, see: Query parameters. |
Request headers |
|
Request payload | n/a |
Request Content-Type |
|
Response headers |
|
Response payload | configs element |
Response Content-Type |
|
Normal HTTP response codes | n/a |
Error HTTP response codes | n/a |
Query parameters
The following table presents query parameters that you can use for the configs
element.
Parameter | Description | Required | Value |
---|---|---|---|
name | Returns the configuration of a single parameter. For a complete list of possible values and their explanation, see: Advanced server settings. | No | Name of the parameter |
Example HTTP conversation
Checking the current value of all parameters.
- Request
-
GET https://hostname:port/api/sam/configs
- Request header
-
Accept: application/json Accept-Language: en-US Token: <token>
- Excerpt for the response body (JSON)
-
[ {"valueMax":10080, "valueMin":0, "valueType":"minutes", "name":"vmman_transfer_period","value":"720"}, {"valueType":"boolean", "name":"vmman_check_uniqueness_enabled", "value":"true"}, {"valueType":"boolean", "name":"blockUiBundlingComputations", "value":"false"}, {"valueType":"boolean", "name":"storeHwDataForAllVMManagerNodes", "value":"false"}, ]
Checking the current value of a single parameter.
- Request
-
GET https://hostname:port/api/sam/configs?name=maxVMManagerInactivity
- Request header
-
Accept: application/json Accept-Language: en-US Token: <token>
- Response body (JSON)
-
[ {"valueMax":90, "valueMin":1, "valueType":"days", "name":"maxVMManagerInactivity", "value":"3"} ]