LibraryStructureApi

Constructors

Link copied to clipboard
constructor(api: ApiClient)

Functions

Link copied to clipboard
suspend fun addMediaPath(refreshLibrary: Boolean? = false, data: <Error class: unknown class>): Response<Unit>

Add a media path to a library.

Link copied to clipboard
suspend fun addVirtualFolder(name: String? = null, collectionType: <Error class: unknown class>? = null, paths: Collection<String>? = emptyList(), refreshLibrary: Boolean? = false, data: <Error class: unknown class>? = null): Response<Unit>

Adds a virtual folder.

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

Gets all virtual folders.

Link copied to clipboard
suspend fun removeMediaPath(name: String? = null, path: String? = null, refreshLibrary: Boolean? = false): Response<Unit>

Remove a media path.

Link copied to clipboard
suspend fun removeVirtualFolder(name: String? = null, refreshLibrary: Boolean? = false): Response<Unit>

Removes a virtual folder.

Link copied to clipboard
suspend fun renameVirtualFolder(name: String? = null, newName: String? = null, refreshLibrary: Boolean? = false): Response<Unit>

Renames a virtual folder.

Link copied to clipboard
suspend fun updateLibraryOptions(data: <Error class: unknown class>? = null): Response<Unit>

Update library options.

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

Updates a media path.