Skip to content

Latest commit

 

History

History
31 lines (26 loc) · 1.1 KB

File metadata and controls

31 lines (26 loc) · 1.1 KB

get_files_list

Parameters

Field Type Description
path str Full path to the folder
storage_name str Storage name (optional)
from asposehtmlcloud.configuration import Configuration
from asposehtmlcloud.api.storage_api import StorageApi
from asposehtmlcloud.api_client import ApiClient as Client
from asposehtmlcloud.rest import ApiException

configuration = Configuration(apiKey="XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX",
                              appSid="XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX",
                              basePath="https://api.aspose.cloud/v4.0",
                              authPath="https://api.aspose.cloud/connect/token",
                              debug=True)
client = Client(configuration)
storage_api = StorageApi(client)
try:
    res = storage_api.get_files_list("Folder_in_the_storage");
except ApiException as ex:
    print("Exception")
    print("Info: " + str(ex))
    raise ex

Return: FilesList