All URIs are relative to http://localhost:36911
| Method | HTTP request | Description |
|---|---|---|
| add_process | POST /process/add | |
| kill_process | POST /process/kill | |
| run_process | POST /process/run | |
| start_process | POST /process/start | |
| stop_process | POST /process/stop |
add_process(process_add_dto)
import dappserver_server_sdk
from dappserver_server_sdk.models.process_add_dto import ProcessAddDTO
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.ProcessApi(api_client)
process_add_dto = dappserver_server_sdk.ProcessAddDTO() # ProcessAddDTO |
try:
api_instance.add_process(process_add_dto)
except Exception as e:
print("Exception when calling ProcessApi->add_process: %s\n" % e)| Name | Type | Description | Notes |
|---|---|---|---|
| process_add_dto | ProcessAddDTO |
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]
kill_process(process_kill_dto)
import dappserver_server_sdk
from dappserver_server_sdk.models.process_kill_dto import ProcessKillDTO
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.ProcessApi(api_client)
process_kill_dto = dappserver_server_sdk.ProcessKillDTO() # ProcessKillDTO |
try:
api_instance.kill_process(process_kill_dto)
except Exception as e:
print("Exception when calling ProcessApi->kill_process: %s\n" % e)| Name | Type | Description | Notes |
|---|---|---|---|
| process_kill_dto | ProcessKillDTO |
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]
run_process(process_run_dto)
import dappserver_server_sdk
from dappserver_server_sdk.models.process_run_dto import ProcessRunDTO
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.ProcessApi(api_client)
process_run_dto = dappserver_server_sdk.ProcessRunDTO() # ProcessRunDTO |
try:
api_instance.run_process(process_run_dto)
except Exception as e:
print("Exception when calling ProcessApi->run_process: %s\n" % e)| Name | Type | Description | Notes |
|---|---|---|---|
| process_run_dto | ProcessRunDTO |
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]
start_process(process_start_dto)
import dappserver_server_sdk
from dappserver_server_sdk.models.process_start_dto import ProcessStartDTO
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.ProcessApi(api_client)
process_start_dto = dappserver_server_sdk.ProcessStartDTO() # ProcessStartDTO |
try:
api_instance.start_process(process_start_dto)
except Exception as e:
print("Exception when calling ProcessApi->start_process: %s\n" % e)| Name | Type | Description | Notes |
|---|---|---|---|
| process_start_dto | ProcessStartDTO |
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]
stop_process(process_stop_dto)
import dappserver_server_sdk
from dappserver_server_sdk.models.process_stop_dto import ProcessStopDTO
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.ProcessApi(api_client)
process_stop_dto = dappserver_server_sdk.ProcessStopDTO() # ProcessStopDTO |
try:
api_instance.stop_process(process_stop_dto)
except Exception as e:
print("Exception when calling ProcessApi->stop_process: %s\n" % e)| Name | Type | Description | Notes |
|---|---|---|---|
| process_stop_dto | ProcessStopDTO |
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]