kavita_client.api.cbl.post_api_cbl_file_import

Module Contents

Functions

asyncio

Saves an uploaded CBL file to disk without importing. Returns the saved file info.

asyncio_detailed

Saves an uploaded CBL file to disk without importing. Returns the saved file info.

sync

Saves an uploaded CBL file to disk without importing. Returns the saved file info.

sync_detailed

Saves an uploaded CBL file to disk without importing. Returns the saved file info.

API

async kavita_client.api.cbl.post_api_cbl_file_import.asyncio(*, client: kavita_client.client.AuthenticatedClient | kavita_client.client.Client, body: kavita_client.models.post_api_cbl_file_import_body.PostApiCblFileImportBody | kavita_client.types.Unset = UNSET) → kavita_client.models.cbl_saved_file_dto.CblSavedFileDto | None

Saves an uploaded CBL file to disk without importing. Returns the saved file info.

Args:

body (PostApiCblFileImportBody | 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:

CblSavedFileDto

async kavita_client.api.cbl.post_api_cbl_file_import.asyncio_detailed(*, client: kavita_client.client.AuthenticatedClient | kavita_client.client.Client, body: kavita_client.models.post_api_cbl_file_import_body.PostApiCblFileImportBody | kavita_client.types.Unset = UNSET) → kavita_client.types.Response[kavita_client.models.cbl_saved_file_dto.CblSavedFileDto]

Saves an uploaded CBL file to disk without importing. Returns the saved file info.

Args:

body (PostApiCblFileImportBody | 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[CblSavedFileDto]

kavita_client.api.cbl.post_api_cbl_file_import.sync(*, client: kavita_client.client.AuthenticatedClient | kavita_client.client.Client, body: kavita_client.models.post_api_cbl_file_import_body.PostApiCblFileImportBody | kavita_client.types.Unset = UNSET) → kavita_client.models.cbl_saved_file_dto.CblSavedFileDto | None

Saves an uploaded CBL file to disk without importing. Returns the saved file info.

Args:

body (PostApiCblFileImportBody | 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:

CblSavedFileDto

kavita_client.api.cbl.post_api_cbl_file_import.sync_detailed(*, client: kavita_client.client.AuthenticatedClient | kavita_client.client.Client, body: kavita_client.models.post_api_cbl_file_import_body.PostApiCblFileImportBody | kavita_client.types.Unset = UNSET) → kavita_client.types.Response[kavita_client.models.cbl_saved_file_dto.CblSavedFileDto]

Saves an uploaded CBL file to disk without importing. Returns the saved file info.

Args:

body (PostApiCblFileImportBody | 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[CblSavedFileDto]