All URIs are relative to http://localhost:36911
| Method | HTTP request | Description |
|---|---|---|
| fetch_file | POST /io/download/fetch | |
| get_detailed_directory_list | POST /io/filesystem/list-detailed | |
| get_directory_list | POST /io/filesystem/list | |
| is_dir | POST /io/filesystem/is-dir | |
| is_file | POST /io/filesystem/is-file | |
| read_file | POST /io/filesystem/read | |
| write_file | POST /io/filesystem/write |
fetch_file(file_download_request)
import dappserver_server_sdk
from dappserver_server_sdk.models.file_download_request import FileDownloadRequest
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.InputOutputApi(api_client)
file_download_request = dappserver_server_sdk.FileDownloadRequest() # FileDownloadRequest |
try:
api_instance.fetch_file(file_download_request)
except Exception as e:
print("Exception when calling InputOutputApi->fetch_file: %s\n" % e)| Name | Type | Description | Notes |
|---|---|---|---|
| file_download_request | FileDownloadRequest |
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]
get_detailed_directory_list(file_path_dto)
import dappserver_server_sdk
from dappserver_server_sdk.models.file_path_dto import FilePathDTO
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.InputOutputApi(api_client)
file_path_dto = dappserver_server_sdk.FilePathDTO() # FilePathDTO |
try:
api_instance.get_detailed_directory_list(file_path_dto)
except Exception as e:
print("Exception when calling InputOutputApi->get_detailed_directory_list: %s\n" % e)| Name | Type | Description | Notes |
|---|---|---|---|
| file_path_dto | FilePathDTO |
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]
get_directory_list(file_path_dto)
import dappserver_server_sdk
from dappserver_server_sdk.models.file_path_dto import FilePathDTO
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.InputOutputApi(api_client)
file_path_dto = dappserver_server_sdk.FilePathDTO() # FilePathDTO |
try:
api_instance.get_directory_list(file_path_dto)
except Exception as e:
print("Exception when calling InputOutputApi->get_directory_list: %s\n" % e)| Name | Type | Description | Notes |
|---|---|---|---|
| file_path_dto | FilePathDTO |
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]
FilePathCheckDTO is_dir(file_path_dto)
import dappserver_server_sdk
from dappserver_server_sdk.models.file_path_check_dto import FilePathCheckDTO
from dappserver_server_sdk.models.file_path_dto import FilePathDTO
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.InputOutputApi(api_client)
file_path_dto = dappserver_server_sdk.FilePathDTO() # FilePathDTO |
try:
api_response = api_instance.is_dir(file_path_dto)
print("The response of InputOutputApi->is_dir:\n")
pprint(api_response)
except Exception as e:
print("Exception when calling InputOutputApi->is_dir: %s\n" % e)| Name | Type | Description | Notes |
|---|---|---|---|
| file_path_dto | FilePathDTO |
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]
FilePathCheckDTO is_file(file_path_dto)
import dappserver_server_sdk
from dappserver_server_sdk.models.file_path_check_dto import FilePathCheckDTO
from dappserver_server_sdk.models.file_path_dto import FilePathDTO
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.InputOutputApi(api_client)
file_path_dto = dappserver_server_sdk.FilePathDTO() # FilePathDTO |
try:
api_response = api_instance.is_file(file_path_dto)
print("The response of InputOutputApi->is_file:\n")
pprint(api_response)
except Exception as e:
print("Exception when calling InputOutputApi->is_file: %s\n" % e)| Name | Type | Description | Notes |
|---|---|---|---|
| file_path_dto | FilePathDTO |
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]
read_file(file_path_dto)
import dappserver_server_sdk
from dappserver_server_sdk.models.file_path_dto import FilePathDTO
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.InputOutputApi(api_client)
file_path_dto = dappserver_server_sdk.FilePathDTO() # FilePathDTO |
try:
api_instance.read_file(file_path_dto)
except Exception as e:
print("Exception when calling InputOutputApi->read_file: %s\n" % e)| Name | Type | Description | Notes |
|---|---|---|---|
| file_path_dto | FilePathDTO |
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]
write_file(create_file_dto)
import dappserver_server_sdk
from dappserver_server_sdk.models.create_file_dto import CreateFileDTO
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.InputOutputApi(api_client)
create_file_dto = dappserver_server_sdk.CreateFileDTO() # CreateFileDTO |
try:
api_instance.write_file(create_file_dto)
except Exception as e:
print("Exception when calling InputOutputApi->write_file: %s\n" % e)| Name | Type | Description | Notes |
|---|---|---|---|
| create_file_dto | CreateFileDTO |
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]