LibraryStructureApi

Constructors

Link copied to clipboard
constructor(api: ApiClient)

Functions

Link copied to clipboard
suspend fun addMediaPath(refreshLibrary: Boolean? = false, data: ERROR CLASS: Symbol not found for MediaPathDto): Response<Unit>

Add a media path to a library.

Link copied to clipboard
suspend fun addVirtualFolder(name: String? = null, collectionType: ERROR CLASS: Symbol not found for CollectionTypeOptions?? = null, paths: Collection<String>? = emptyList(), refreshLibrary: Boolean? = false, data: ERROR CLASS: Symbol not found for AddVirtualFolderDto?? = null): Response<Unit>

Adds a virtual folder.

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

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: Symbol not found for UpdateLibraryOptionsDto?? = null): Response<Unit>

Update library options.

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

Updates a media path.