All URIs are relative to http://localhost:36911
| Method | HTTP request | Description |
|---|---|---|
| get_market_place_apps | GET /apps/marketplace | |
| install_app | POST /apps/install | |
| list_apps | GET /apps/installed | |
| remove_app | POST /apps/remove |
str get_market_place_apps()
import dappserver_server_sdk
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.AppsApi(api_client)
try:
api_response = api_instance.get_market_place_apps()
print("The response of AppsApi->get_market_place_apps:\n")
pprint(api_response)
except Exception as e:
print("Exception when calling AppsApi->get_market_place_apps: %s\n" % e)This endpoint does not need any parameter.
str
No authorization required
- Content-Type: Not defined
- Accept: application/json
| Status code | Description | Response headers |
|---|---|---|
| 200 | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
ServerResponse install_app()
import dappserver_server_sdk
from dappserver_server_sdk.models.server_response import ServerResponse
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.AppsApi(api_client)
try:
api_response = api_instance.install_app()
print("The response of AppsApi->install_app:\n")
pprint(api_response)
except Exception as e:
print("Exception when calling AppsApi->install_app: %s\n" % e)This endpoint does not need any parameter.
No authorization required
- Content-Type: Not defined
- Accept: application/json
| Status code | Description | Response headers |
|---|---|---|
| 200 | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
str list_apps()
import dappserver_server_sdk
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.AppsApi(api_client)
try:
api_response = api_instance.list_apps()
print("The response of AppsApi->list_apps:\n")
pprint(api_response)
except Exception as e:
print("Exception when calling AppsApi->list_apps: %s\n" % e)This endpoint does not need any parameter.
str
No authorization required
- Content-Type: Not defined
- Accept: application/json
| Status code | Description | Response headers |
|---|---|---|
| 200 | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
object remove_app()
import dappserver_server_sdk
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.AppsApi(api_client)
try:
api_response = api_instance.remove_app()
print("The response of AppsApi->remove_app:\n")
pprint(api_response)
except Exception as e:
print("Exception when calling AppsApi->remove_app: %s\n" % e)This endpoint does not need any parameter.
object
No authorization required
- Content-Type: Not defined
- Accept: application/json
| Status code | Description | Response headers |
|---|---|---|
| 200 | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]