kavita_client.api.reading_profile.post_api_reading_profile_set_devices

Module Contents

Functions

asyncio_detailed

Set the assigned devices for a reading profile

sync_detailed

Set the assigned devices for a reading profile

API

async kavita_client.api.reading_profile.post_api_reading_profile_set_devices.asyncio_detailed(*, client: kavita_client.client.AuthenticatedClient | kavita_client.client.Client, body: list[int] | list[int] | list[int] | kavita_client.types.Unset = UNSET, profile_id: int | kavita_client.types.Unset = UNSET) → kavita_client.types.Response[Any]

Set the assigned devices for a reading profile

Args:

profile_id (int | Unset): body (list[int] | Unset): body (list[int] | Unset): body (list[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[Any]

kavita_client.api.reading_profile.post_api_reading_profile_set_devices.sync_detailed(*, client: kavita_client.client.AuthenticatedClient | kavita_client.client.Client, body: list[int] | list[int] | list[int] | kavita_client.types.Unset = UNSET, profile_id: int | kavita_client.types.Unset = UNSET) → kavita_client.types.Response[Any]

Set the assigned devices for a reading profile

Args:

profile_id (int | Unset): body (list[int] | Unset): body (list[int] | Unset): body (list[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[Any]