LibraryStructureApi

Constructors

Link copied to clipboard
constructor(api: ApiClient)

Functions

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

Add a media path to a library.

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

Adds a virtual folder.

Link copied to clipboard

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

Update library options.

Link copied to clipboard

Updates a media path.