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: Symbol not found for UUID): Response<Unit>

Cancels a package installation.

Link copied to clipboard
suspend fun getPackageInfo(name: String, assemblyGuid: ERROR CLASS: Symbol not found for UUID?? = null): Response<ERROR CLASS: Symbol not found for PackageInfo>

Gets a package by name or assembly GUID.

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

Gets available packages.

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

Gets all package repositories.

Link copied to clipboard
suspend fun installPackage(name: String, assemblyGuid: ERROR CLASS: Symbol not found for UUID?? = null, version: String? = null, repositoryUrl: String? = null): Response<Unit>

Installs a package.

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

Sets the enabled and existing package repositories.