kavita_client.api.server.get_api_server_check_for_updates

Module Contents

Functions

asyncio_detailed

Checks for updates and pushes an event to the UI

sync_detailed

Checks for updates and pushes an event to the UI

API

async kavita_client.api.server.get_api_server_check_for_updates.asyncio_detailed(*, client: kavita_client.client.AuthenticatedClient | kavita_client.client.Client) → kavita_client.types.Response[Any]

Checks for updates and pushes an event to the UI

Some users have websocket issues so this is not always reliable to alert the user

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.server.get_api_server_check_for_updates.sync_detailed(*, client: kavita_client.client.AuthenticatedClient | kavita_client.client.Client) → kavita_client.types.Response[Any]

Checks for updates and pushes an event to the UI

Some users have websocket issues so this is not always reliable to alert the user

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]