All URIs are relative to http://localhost:2048/api
| Method | HTTP request | Description |
|---|---|---|
| get_sle_config | GET /sle-config/{param} | Returns the current value of a SLE configuration parameter |
| get_sle_config_list | GET /sle-config | Get a list of the available configuration parameters |
| patch_sle_config | PATCH /sle-config/{param} | Update a SLE configuration parameter |
SleConfigParamsValues get_sle_config(param)
Returns the current value of a SLE configuration parameter
from __future__ import print_function
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint
# create an instance of the API class
api_instance = openapi_client.SleConfigApi()
param = openapi_client.SleConfigParams() # SleConfigParams | Name of the parameter to return
try:
# Returns the current value of a SLE configuration parameter
api_response = api_instance.get_sle_config(param)
pprint(api_response)
except ApiException as e:
print("Exception when calling SleConfigApi->get_sle_config: %s\n" % e)| Name | Type | Description | Notes |
|---|---|---|---|
| param | SleConfigParams | Name of the parameter to return |
No authorization required
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
list[SleConfigParams] get_sle_config_list()
Get a list of the available configuration parameters
from __future__ import print_function
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint
# create an instance of the API class
api_instance = openapi_client.SleConfigApi()
try:
# Get a list of the available configuration parameters
api_response = api_instance.get_sle_config_list()
pprint(api_response)
except ApiException as e:
print("Exception when calling SleConfigApi->get_sle_config_list: %s\n" % e)This endpoint does not need any parameter.
No authorization required
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
patch_sle_config(param, sle_config_params_values=sle_config_params_values)
Update a SLE configuration parameter
from __future__ import print_function
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint
# create an instance of the API class
api_instance = openapi_client.SleConfigApi()
param = openapi_client.SleConfigParams() # SleConfigParams | Name of the parameter that needs to be updated
sle_config_params_values = openapi_client.SleConfigParamsValues() # SleConfigParamsValues | (optional)
try:
# Update a SLE configuration parameter
api_instance.patch_sle_config(param, sle_config_params_values=sle_config_params_values)
except ApiException as e:
print("Exception when calling SleConfigApi->patch_sle_config: %s\n" % e)| Name | Type | Description | Notes |
|---|---|---|---|
| param | SleConfigParams | Name of the parameter that needs to be updated | |
| sle_config_params_values | SleConfigParamsValues | [optional] |
void (empty response body)
No authorization required
- Content-Type: application/json
- Accept: Not defined
[Back to top] [Back to API list] [Back to Model list] [Back to README]