LibraryStructureApi

class LibraryStructureApi(api: ApiClient) : Api

Constructors

Link copied to clipboard
fun LibraryStructureApi(api: ApiClient)

Functions

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

Add a media path to a library.

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

Adds a virtual folder.

Link copied to clipboard
suspend fun getVirtualFolders(): Response<List<<ERROR 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>? = null): Response<Unit>

Update library options.

Link copied to clipboard
suspend fun updateMediaPath(data: <ERROR CLASS>): Response<Unit>

Updates a media path.