All URIs are relative to http://localhost:59999
Method | HTTP request | Description |
---|---|---|
get_secret | GET /secrets/{name} | |
get_secret_keys | GET /secrets |
str get_secret(name)
import monday_code
from monday_code.rest import ApiException
from pprint import pprint
# Defining the host is optional and defaults to http://localhost:59999
# See configuration.py for a list of all supported configuration parameters.
configuration = monday_code.Configuration(
host = "http://localhost:59999"
)
# Enter a context with an instance of the API client
with monday_code.ApiClient(configuration) as api_client:
# Create an instance of the API class
api_instance = monday_code.SecretsApi(api_client)
name = 'name_example' # str |
try:
api_response = api_instance.get_secret(name)
print("The response of SecretsApi->get_secret:\n")
pprint(api_response)
except Exception as e:
print("Exception when calling SecretsApi->get_secret: %s\n" % e)
Name | Type | Description | Notes |
---|---|---|---|
name | str |
str
No authorization required
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | OK | - |
404 | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
List[str] get_secret_keys()
import monday_code
from monday_code.rest import ApiException
from pprint import pprint
# Defining the host is optional and defaults to http://localhost:59999
# See configuration.py for a list of all supported configuration parameters.
configuration = monday_code.Configuration(
host = "http://localhost:59999"
)
# Enter a context with an instance of the API client
with monday_code.ApiClient(configuration) as api_client:
# Create an instance of the API class
api_instance = monday_code.SecretsApi(api_client)
try:
api_response = api_instance.get_secret_keys()
print("The response of SecretsApi->get_secret_keys:\n")
pprint(api_response)
except Exception as e:
print("Exception when calling SecretsApi->get_secret_keys: %s\n" % e)
This endpoint does not need any parameter.
List[str]
No authorization required
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | OK | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]