kavita_client.api.theme.post_api_theme_download_theme

Module Contents

Functions

asyncio

Downloads a SiteTheme from upstream

asyncio_detailed

Downloads a SiteTheme from upstream

sync

Downloads a SiteTheme from upstream

sync_detailed

Downloads a SiteTheme from upstream

API

async kavita_client.api.theme.post_api_theme_download_theme.asyncio(*, client: kavita_client.client.AuthenticatedClient | kavita_client.client.Client, body: kavita_client.models.downloadable_site_theme_dto.DownloadableSiteThemeDto | kavita_client.models.downloadable_site_theme_dto.DownloadableSiteThemeDto | kavita_client.models.downloadable_site_theme_dto.DownloadableSiteThemeDto | kavita_client.types.Unset = UNSET) → kavita_client.models.site_theme_dto.SiteThemeDto | None

Downloads a SiteTheme from upstream

Args:

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

SiteThemeDto

async kavita_client.api.theme.post_api_theme_download_theme.asyncio_detailed(*, client: kavita_client.client.AuthenticatedClient | kavita_client.client.Client, body: kavita_client.models.downloadable_site_theme_dto.DownloadableSiteThemeDto | kavita_client.models.downloadable_site_theme_dto.DownloadableSiteThemeDto | kavita_client.models.downloadable_site_theme_dto.DownloadableSiteThemeDto | kavita_client.types.Unset = UNSET) → kavita_client.types.Response[kavita_client.models.site_theme_dto.SiteThemeDto]

Downloads a SiteTheme from upstream

Args:

body (DownloadableSiteThemeDto | Unset): body (DownloadableSiteThemeDto | Unset): body (DownloadableSiteThemeDto | 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[SiteThemeDto]

kavita_client.api.theme.post_api_theme_download_theme.sync(*, client: kavita_client.client.AuthenticatedClient | kavita_client.client.Client, body: kavita_client.models.downloadable_site_theme_dto.DownloadableSiteThemeDto | kavita_client.models.downloadable_site_theme_dto.DownloadableSiteThemeDto | kavita_client.models.downloadable_site_theme_dto.DownloadableSiteThemeDto | kavita_client.types.Unset = UNSET) → kavita_client.models.site_theme_dto.SiteThemeDto | None

Downloads a SiteTheme from upstream

Args:

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

SiteThemeDto

kavita_client.api.theme.post_api_theme_download_theme.sync_detailed(*, client: kavita_client.client.AuthenticatedClient | kavita_client.client.Client, body: kavita_client.models.downloadable_site_theme_dto.DownloadableSiteThemeDto | kavita_client.models.downloadable_site_theme_dto.DownloadableSiteThemeDto | kavita_client.models.downloadable_site_theme_dto.DownloadableSiteThemeDto | kavita_client.types.Unset = UNSET) → kavita_client.types.Response[kavita_client.models.site_theme_dto.SiteThemeDto]

Downloads a SiteTheme from upstream

Args:

body (DownloadableSiteThemeDto | Unset): body (DownloadableSiteThemeDto | Unset): body (DownloadableSiteThemeDto | 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[SiteThemeDto]