kavita_client.api.upload.post_api_upload_volume

Module Contents

Functions

asyncio_detailed

Replaces volume cover image and locks it with a base64 encoded image.

sync_detailed

Replaces volume cover image and locks it with a base64 encoded image.

API

async kavita_client.api.upload.post_api_upload_volume.asyncio_detailed(*, client: kavita_client.client.AuthenticatedClient | kavita_client.client.Client, body: kavita_client.models.upload_cover_file_dto.UploadCoverFileDto | kavita_client.models.upload_cover_file_dto.UploadCoverFileDto | kavita_client.models.upload_cover_file_dto.UploadCoverFileDto | kavita_client.types.Unset = UNSET) → kavita_client.types.Response[Any]

Replaces volume cover image and locks it with a base64 encoded image.

This will not update the underlying chapter

Args:

body (UploadCoverFileDto | Unset): body (UploadCoverFileDto | Unset): body (UploadCoverFileDto | 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.upload.post_api_upload_volume.sync_detailed(*, client: kavita_client.client.AuthenticatedClient | kavita_client.client.Client, body: kavita_client.models.upload_cover_file_dto.UploadCoverFileDto | kavita_client.models.upload_cover_file_dto.UploadCoverFileDto | kavita_client.models.upload_cover_file_dto.UploadCoverFileDto | kavita_client.types.Unset = UNSET) → kavita_client.types.Response[Any]

Replaces volume cover image and locks it with a base64 encoded image.

This will not update the underlying chapter

Args:

body (UploadCoverFileDto | Unset): body (UploadCoverFileDto | Unset): body (UploadCoverFileDto | 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]