All URIs are relative to http://localhost:36911
| Method | HTTP request | Description |
|---|---|---|
| create | POST /auth/lethean/create | |
| delete | POST /auth/lethean/delete | |
| login | POST /auth/lethean/login |
CreateAccountResponseDTO create(create_account_dto)
import dappserver_server_sdk
from dappserver_server_sdk.models.create_account_dto import CreateAccountDTO
from dappserver_server_sdk.models.create_account_response_dto import CreateAccountResponseDTO
from dappserver_server_sdk.rest import ApiException
from pprint import pprint
# Defining the host is optional and defaults to http://localhost:36911
# See configuration.py for a list of all supported configuration parameters.
configuration = dappserver_server_sdk.Configuration(
host = "http://localhost:36911"
)
# Enter a context with an instance of the API client
with dappserver_server_sdk.ApiClient(configuration) as api_client:
# Create an instance of the API class
api_instance = dappserver_server_sdk.AuthApi(api_client)
create_account_dto = dappserver_server_sdk.CreateAccountDTO() # CreateAccountDTO |
try:
api_response = api_instance.create(create_account_dto)
print("The response of AuthApi->create:\n")
pprint(api_response)
except Exception as e:
print("Exception when calling AuthApi->create: %s\n" % e)| Name | Type | Description | Notes |
|---|---|---|---|
| create_account_dto | CreateAccountDTO |
No authorization required
- Content-Type: application/json
- Accept: application/json
| Status code | Description | Response headers |
|---|---|---|
| 200 | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
delete(delete_account_dto)
import dappserver_server_sdk
from dappserver_server_sdk.models.delete_account_dto import DeleteAccountDTO
from dappserver_server_sdk.rest import ApiException
from pprint import pprint
# Defining the host is optional and defaults to http://localhost:36911
# See configuration.py for a list of all supported configuration parameters.
configuration = dappserver_server_sdk.Configuration(
host = "http://localhost:36911"
)
# Enter a context with an instance of the API client
with dappserver_server_sdk.ApiClient(configuration) as api_client:
# Create an instance of the API class
api_instance = dappserver_server_sdk.AuthApi(api_client)
delete_account_dto = dappserver_server_sdk.DeleteAccountDTO() # DeleteAccountDTO |
try:
api_instance.delete(delete_account_dto)
except Exception as e:
print("Exception when calling AuthApi->delete: %s\n" % e)| Name | Type | Description | Notes |
|---|---|---|---|
| delete_account_dto | DeleteAccountDTO |
void (empty response body)
No authorization required
- Content-Type: application/json
- Accept: Not defined
| Status code | Description | Response headers |
|---|---|---|
| 200 | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
EncryptedResponseDTO login(encrypted_request_dto)
import dappserver_server_sdk
from dappserver_server_sdk.models.encrypted_request_dto import EncryptedRequestDTO
from dappserver_server_sdk.models.encrypted_response_dto import EncryptedResponseDTO
from dappserver_server_sdk.rest import ApiException
from pprint import pprint
# Defining the host is optional and defaults to http://localhost:36911
# See configuration.py for a list of all supported configuration parameters.
configuration = dappserver_server_sdk.Configuration(
host = "http://localhost:36911"
)
# Enter a context with an instance of the API client
with dappserver_server_sdk.ApiClient(configuration) as api_client:
# Create an instance of the API class
api_instance = dappserver_server_sdk.AuthApi(api_client)
encrypted_request_dto = dappserver_server_sdk.EncryptedRequestDTO() # EncryptedRequestDTO |
try:
api_response = api_instance.login(encrypted_request_dto)
print("The response of AuthApi->login:\n")
pprint(api_response)
except Exception as e:
print("Exception when calling AuthApi->login: %s\n" % e)| Name | Type | Description | Notes |
|---|---|---|---|
| encrypted_request_dto | EncryptedRequestDTO |
No authorization required
- Content-Type: application/json
- Accept: application/json
| Status code | Description | Response headers |
|---|---|---|
| 200 | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]