kavita_client.api.upload.post_api_upload_chapter

Module Contents

Functions

asyncio_detailed

Replaces chapter cover image and locks it with a base64 encoded image. This will update the parent volume’s cover image.

sync_detailed

Replaces chapter cover image and locks it with a base64 encoded image. This will update the parent volume’s cover image.

API

async kavita_client.api.upload.post_api_upload_chapter.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 chapter cover image and locks it with a base64 encoded image. This will update the parent volume’s cover image.

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_chapter.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 chapter cover image and locks it with a base64 encoded image. This will update the parent volume’s cover image.

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]