kavita_client.api.library.post_api_library_update

Module Contents

Functions

asyncio_detailed

Updates an existing Library with new name, folders, and/or type.

sync_detailed

Updates an existing Library with new name, folders, and/or type.

API

async kavita_client.api.library.post_api_library_update.asyncio_detailed(*, client: kavita_client.client.AuthenticatedClient | kavita_client.client.Client, body: kavita_client.models.update_library_dto.UpdateLibraryDto | kavita_client.models.update_library_dto.UpdateLibraryDto | kavita_client.models.update_library_dto.UpdateLibraryDto | kavita_client.types.Unset = UNSET) → kavita_client.types.Response[Any]

Updates an existing Library with new name, folders, and/or type.

Any folder or type change will invoke a scan.

Args:

body (UpdateLibraryDto | Unset): body (UpdateLibraryDto | Unset): body (UpdateLibraryDto | Unset):

Raises:

errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. httpx.TimeoutException: If the request takes longer than Client.timeout.

Returns:

Response[Any]

kavita_client.api.library.post_api_library_update.sync_detailed(*, client: kavita_client.client.AuthenticatedClient | kavita_client.client.Client, body: kavita_client.models.update_library_dto.UpdateLibraryDto | kavita_client.models.update_library_dto.UpdateLibraryDto | kavita_client.models.update_library_dto.UpdateLibraryDto | kavita_client.types.Unset = UNSET) → kavita_client.types.Response[Any]

Updates an existing Library with new name, folders, and/or type.

Any folder or type change will invoke a scan.

Args:

body (UpdateLibraryDto | Unset): body (UpdateLibraryDto | Unset): body (UpdateLibraryDto | Unset):

Raises:

errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. httpx.TimeoutException: If the request takes longer than Client.timeout.

Returns:

Response[Any]