PackageApi

class PackageApi(api: ApiClient) : Api

Constructors

Link copied to clipboard
constructor(api: ApiClient)

Functions

Link copied to clipboard
suspend fun cancelPackageInstallation(packageId: <Error class: unknown class>): Response<Unit>

Cancels a package installation.

Link copied to clipboard
suspend fun getPackageInfo(name: String, assemblyGuid: <Error class: unknown class>? = null): Response<<Error class: unknown class>>

Gets a package by name or assembly GUID.

Link copied to clipboard
suspend fun getPackages(): Response<List<<Error class: unknown class>>>

Gets available packages.

Link copied to clipboard
suspend fun getRepositories(): Response<List<<Error class: unknown class>>>

Gets all package repositories.

Link copied to clipboard
suspend fun installPackage(name: String, assemblyGuid: <Error class: unknown class>? = null, version: String? = null, repositoryUrl: String? = null): Response<Unit>

Installs a package.

Link copied to clipboard
suspend fun setRepositories(data: List<<Error class: unknown class>>): Response<Unit>

Sets the enabled and existing package repositories.