EnvironmentApi

Constructors

Link copied to clipboard
constructor(api: ApiClient)

Functions

Link copied to clipboard
suspend fun getDefaultDirectoryBrowser(): Response<ERROR CLASS: Symbol not found for DefaultDirectoryBrowserInfoDto>

Get Default directory browser.

Link copied to clipboard
suspend fun getDirectoryContents(path: String, includeFiles: Boolean? = false, includeDirectories: Boolean? = false): Response<List<ERROR CLASS: Symbol not found for FileSystemEntryInfo>>

Gets the contents of a given directory in the file system.

Link copied to clipboard
suspend fun getDrives(): Response<List<ERROR CLASS: Symbol not found for FileSystemEntryInfo>>

Gets available drives from the server's file system.

Link copied to clipboard
suspend fun getNetworkShares(): Response<List<ERROR CLASS: Symbol not found for FileSystemEntryInfo>>

Gets network paths.

Link copied to clipboard
suspend fun getParentPath(path: String): Response<String>

Gets the parent path of a given path.

Link copied to clipboard
suspend fun validatePath(data: ERROR CLASS: Symbol not found for ValidatePathDto): Response<Unit>

Validates path.