All URIs are relative to http://localhost:59999
Method | HTTP request | Description |
---|---|---|
delete_secure_storage | DELETE /secure-storage/{key} | |
get_secure_storage | GET /secure-storage/{key} | |
put_secure_storage | PUT /secure-storage/{key} |
delete_secure_storage(key)
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.SecureStorageApi(api_client)
key = 'key_example' # str |
try:
api_instance.delete_secure_storage(key)
except Exception as e:
print("Exception when calling SecureStorageApi->delete_secure_storage: %s\n" % e)
Name | Type | Description | Notes |
---|---|---|---|
key | str |
void (empty response body)
No authorization required
- Content-Type: Not defined
- Accept: Not defined
Status code | Description | Response headers |
---|---|---|
204 | No Content | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
JsonDataContract get_secure_storage(key)
import monday_code
from monday_code.models.json_data_contract import JsonDataContract
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.SecureStorageApi(api_client)
key = 'key_example' # str |
try:
api_response = api_instance.get_secure_storage(key)
print("The response of SecureStorageApi->get_secure_storage:\n")
pprint(api_response)
except Exception as e:
print("Exception when calling SecureStorageApi->get_secure_storage: %s\n" % e)
Name | Type | Description | Notes |
---|---|---|---|
key | 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]
bool put_secure_storage(key, json_data_contract)
import monday_code
from monday_code.models.json_data_contract import JsonDataContract
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.SecureStorageApi(api_client)
key = 'key_example' # str |
json_data_contract = monday_code.JsonDataContract() # JsonDataContract |
try:
api_response = api_instance.put_secure_storage(key, json_data_contract)
print("The response of SecureStorageApi->put_secure_storage:\n")
pprint(api_response)
except Exception as e:
print("Exception when calling SecureStorageApi->put_secure_storage: %s\n" % e)
Name | Type | Description | Notes |
---|---|---|---|
key | str | ||
json_data_contract | JsonDataContract |
bool
No authorization required
- Content-Type: application/json
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | OK | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]