kavita_client.api.plugin.get_api_plugin_authkey_expires

Module Contents

Functions

asyncio

Returns the expiration (UTC) of the authenticated Auth key (or null if none set)

asyncio_detailed

Returns the expiration (UTC) of the authenticated Auth key (or null if none set)

sync

Returns the expiration (UTC) of the authenticated Auth key (or null if none set)

sync_detailed

Returns the expiration (UTC) of the authenticated Auth key (or null if none set)

API

async kavita_client.api.plugin.get_api_plugin_authkey_expires.asyncio(*, client: kavita_client.client.AuthenticatedClient | kavita_client.client.Client) → kavita_client.models.auth_key_expires_at_dto.AuthKeyExpiresAtDto | None

Returns the expiration (UTC) of the authenticated Auth key (or null if none set)

Will always return null if the Auth Key does not belong to this account

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:

AuthKeyExpiresAtDto

async kavita_client.api.plugin.get_api_plugin_authkey_expires.asyncio_detailed(*, client: kavita_client.client.AuthenticatedClient | kavita_client.client.Client) → kavita_client.types.Response[kavita_client.models.auth_key_expires_at_dto.AuthKeyExpiresAtDto]

Returns the expiration (UTC) of the authenticated Auth key (or null if none set)

Will always return null if the Auth Key does not belong to this account

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

kavita_client.api.plugin.get_api_plugin_authkey_expires.sync(*, client: kavita_client.client.AuthenticatedClient | kavita_client.client.Client) → kavita_client.models.auth_key_expires_at_dto.AuthKeyExpiresAtDto | None

Returns the expiration (UTC) of the authenticated Auth key (or null if none set)

Will always return null if the Auth Key does not belong to this account

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:

AuthKeyExpiresAtDto

kavita_client.api.plugin.get_api_plugin_authkey_expires.sync_detailed(*, client: kavita_client.client.AuthenticatedClient | kavita_client.client.Client) → kavita_client.types.Response[kavita_client.models.auth_key_expires_at_dto.AuthKeyExpiresAtDto]

Returns the expiration (UTC) of the authenticated Auth key (or null if none set)

Will always return null if the Auth Key does not belong to this account

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