kavita_client.api.users.get_api_users_has_library_access

Module Contents

Functions

asyncio

Does the user have access to this library

asyncio_detailed

Does the user have access to this library

sync

Does the user have access to this library

sync_detailed

Does the user have access to this library

API

async kavita_client.api.users.get_api_users_has_library_access.asyncio(*, client: kavita_client.client.AuthenticatedClient | kavita_client.client.Client, library_id: int | kavita_client.types.Unset = UNSET) → bool | None

Does the user have access to this library

Args:

library_id (int | 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:

bool

async kavita_client.api.users.get_api_users_has_library_access.asyncio_detailed(*, client: kavita_client.client.AuthenticatedClient | kavita_client.client.Client, library_id: int | kavita_client.types.Unset = UNSET) → kavita_client.types.Response[bool]

Does the user have access to this library

Args:

library_id (int | 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[bool]

kavita_client.api.users.get_api_users_has_library_access.sync(*, client: kavita_client.client.AuthenticatedClient | kavita_client.client.Client, library_id: int | kavita_client.types.Unset = UNSET) → bool | None

Does the user have access to this library

Args:

library_id (int | 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:

bool

kavita_client.api.users.get_api_users_has_library_access.sync_detailed(*, client: kavita_client.client.AuthenticatedClient | kavita_client.client.Client, library_id: int | kavita_client.types.Unset = UNSET) → kavita_client.types.Response[bool]

Does the user have access to this library

Args:

library_id (int | 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[bool]