kavita_client.api.license_.post_api_license

Module Contents

Functions

asyncio

Updates server license

asyncio_detailed

Updates server license

sync

Updates server license

sync_detailed

Updates server license

API

async kavita_client.api.license_.post_api_license.asyncio(*, client: kavita_client.client.AuthenticatedClient | kavita_client.client.Client, body: kavita_client.models.update_license_dto.UpdateLicenseDto | kavita_client.models.update_license_dto.UpdateLicenseDto | kavita_client.models.update_license_dto.UpdateLicenseDto | kavita_client.types.Unset = UNSET) → kavita_client.models.kavita_plus_register_result_dto.KavitaPlusRegisterResultDto | None

Updates server license

Caches the result when successful

Args:

body (UpdateLicenseDto | Unset): body (UpdateLicenseDto | Unset): body (UpdateLicenseDto | 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:

KavitaPlusRegisterResultDto

async kavita_client.api.license_.post_api_license.asyncio_detailed(*, client: kavita_client.client.AuthenticatedClient | kavita_client.client.Client, body: kavita_client.models.update_license_dto.UpdateLicenseDto | kavita_client.models.update_license_dto.UpdateLicenseDto | kavita_client.models.update_license_dto.UpdateLicenseDto | kavita_client.types.Unset = UNSET) → kavita_client.types.Response[kavita_client.models.kavita_plus_register_result_dto.KavitaPlusRegisterResultDto]

Updates server license

Caches the result when successful

Args:

body (UpdateLicenseDto | Unset): body (UpdateLicenseDto | Unset): body (UpdateLicenseDto | 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[KavitaPlusRegisterResultDto]

kavita_client.api.license_.post_api_license.sync(*, client: kavita_client.client.AuthenticatedClient | kavita_client.client.Client, body: kavita_client.models.update_license_dto.UpdateLicenseDto | kavita_client.models.update_license_dto.UpdateLicenseDto | kavita_client.models.update_license_dto.UpdateLicenseDto | kavita_client.types.Unset = UNSET) → kavita_client.models.kavita_plus_register_result_dto.KavitaPlusRegisterResultDto | None

Updates server license

Caches the result when successful

Args:

body (UpdateLicenseDto | Unset): body (UpdateLicenseDto | Unset): body (UpdateLicenseDto | 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:

KavitaPlusRegisterResultDto

kavita_client.api.license_.post_api_license.sync_detailed(*, client: kavita_client.client.AuthenticatedClient | kavita_client.client.Client, body: kavita_client.models.update_license_dto.UpdateLicenseDto | kavita_client.models.update_license_dto.UpdateLicenseDto | kavita_client.models.update_license_dto.UpdateLicenseDto | kavita_client.types.Unset = UNSET) → kavita_client.types.Response[kavita_client.models.kavita_plus_register_result_dto.KavitaPlusRegisterResultDto]

Updates server license

Caches the result when successful

Args:

body (UpdateLicenseDto | Unset): body (UpdateLicenseDto | Unset): body (UpdateLicenseDto | 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[KavitaPlusRegisterResultDto]