kavita_client.api.reader.post_api_reader_bookmark

Module Contents

Functions

asyncio_detailed

Bookmarks a page against a Chapter

sync_detailed

Bookmarks a page against a Chapter

API

async kavita_client.api.reader.post_api_reader_bookmark.asyncio_detailed(*, client: kavita_client.client.AuthenticatedClient | kavita_client.client.Client, body: kavita_client.models.bookmark_dto.BookmarkDto | kavita_client.models.bookmark_dto.BookmarkDto | kavita_client.models.bookmark_dto.BookmarkDto | kavita_client.types.Unset = UNSET) → kavita_client.types.Response[Any]

Bookmarks a page against a Chapter

This has a side effect of caching the chapter files to disk

Args:

body (BookmarkDto | Unset): body (BookmarkDto | Unset): body (BookmarkDto | 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.reader.post_api_reader_bookmark.sync_detailed(*, client: kavita_client.client.AuthenticatedClient | kavita_client.client.Client, body: kavita_client.models.bookmark_dto.BookmarkDto | kavita_client.models.bookmark_dto.BookmarkDto | kavita_client.models.bookmark_dto.BookmarkDto | kavita_client.types.Unset = UNSET) → kavita_client.types.Response[Any]

Bookmarks a page against a Chapter

This has a side effect of caching the chapter files to disk

Args:

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