kavita_client.api.library.post_api_library_create

Module Contents

Functions

asyncio

Creates a new Library. Upon library creation, adds new library to all Admin accounts.

asyncio_detailed

Creates a new Library. Upon library creation, adds new library to all Admin accounts.

sync

Creates a new Library. Upon library creation, adds new library to all Admin accounts.

sync_detailed

Creates a new Library. Upon library creation, adds new library to all Admin accounts.

API

async kavita_client.api.library.post_api_library_create.asyncio(*, 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.models.library_dto.LibraryDto | None

Creates a new Library. Upon library creation, adds new library to all Admin accounts.

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:

LibraryDto

async kavita_client.api.library.post_api_library_create.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[kavita_client.models.library_dto.LibraryDto]

Creates a new Library. Upon library creation, adds new library to all Admin accounts.

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[LibraryDto]

kavita_client.api.library.post_api_library_create.sync(*, 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.models.library_dto.LibraryDto | None

Creates a new Library. Upon library creation, adds new library to all Admin accounts.

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:

LibraryDto

kavita_client.api.library.post_api_library_create.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[kavita_client.models.library_dto.LibraryDto]

Creates a new Library. Upon library creation, adds new library to all Admin accounts.

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[LibraryDto]