kavita_client.api.admin.get_api_admin_exists

Module Contents

Functions

asyncio

Checks if an admin exists on the system. This is essentially a check to validate if the system has been set up.

asyncio_detailed

Checks if an admin exists on the system. This is essentially a check to validate if the system has been set up.

sync

Checks if an admin exists on the system. This is essentially a check to validate if the system has been set up.

sync_detailed

Checks if an admin exists on the system. This is essentially a check to validate if the system has been set up.

API

async kavita_client.api.admin.get_api_admin_exists.asyncio(*, client: kavita_client.client.AuthenticatedClient | kavita_client.client.Client) → bool | None

Checks if an admin exists on the system. This is essentially a check to validate if the system has been set up.

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:

bool

async kavita_client.api.admin.get_api_admin_exists.asyncio_detailed(*, client: kavita_client.client.AuthenticatedClient | kavita_client.client.Client) → kavita_client.types.Response[bool]

Checks if an admin exists on the system. This is essentially a check to validate if the system has been set up.

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[bool]

kavita_client.api.admin.get_api_admin_exists.sync(*, client: kavita_client.client.AuthenticatedClient | kavita_client.client.Client) → bool | None

Checks if an admin exists on the system. This is essentially a check to validate if the system has been set up.

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:

bool

kavita_client.api.admin.get_api_admin_exists.sync_detailed(*, client: kavita_client.client.AuthenticatedClient | kavita_client.client.Client) → kavita_client.types.Response[bool]

Checks if an admin exists on the system. This is essentially a check to validate if the system has been set up.

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[bool]