kavita_client.api.stream.post_api_stream_external_source_exists

Module Contents

Functions

asyncio

Validates the external source by host is unique (for this user)

asyncio_detailed

Validates the external source by host is unique (for this user)

sync

Validates the external source by host is unique (for this user)

sync_detailed

Validates the external source by host is unique (for this user)

API

async kavita_client.api.stream.post_api_stream_external_source_exists.asyncio(*, client: kavita_client.client.AuthenticatedClient | kavita_client.client.Client, body: kavita_client.models.external_source_dto.ExternalSourceDto | kavita_client.models.external_source_dto.ExternalSourceDto | kavita_client.models.external_source_dto.ExternalSourceDto | kavita_client.types.Unset = UNSET) → bool | None

Validates the external source by host is unique (for this user)

Args:

body (ExternalSourceDto | Unset): body (ExternalSourceDto | Unset): body (ExternalSourceDto | 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.stream.post_api_stream_external_source_exists.asyncio_detailed(*, client: kavita_client.client.AuthenticatedClient | kavita_client.client.Client, body: kavita_client.models.external_source_dto.ExternalSourceDto | kavita_client.models.external_source_dto.ExternalSourceDto | kavita_client.models.external_source_dto.ExternalSourceDto | kavita_client.types.Unset = UNSET) → kavita_client.types.Response[bool]

Validates the external source by host is unique (for this user)

Args:

body (ExternalSourceDto | Unset): body (ExternalSourceDto | Unset): body (ExternalSourceDto | 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.stream.post_api_stream_external_source_exists.sync(*, client: kavita_client.client.AuthenticatedClient | kavita_client.client.Client, body: kavita_client.models.external_source_dto.ExternalSourceDto | kavita_client.models.external_source_dto.ExternalSourceDto | kavita_client.models.external_source_dto.ExternalSourceDto | kavita_client.types.Unset = UNSET) → bool | None

Validates the external source by host is unique (for this user)

Args:

body (ExternalSourceDto | Unset): body (ExternalSourceDto | Unset): body (ExternalSourceDto | 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.stream.post_api_stream_external_source_exists.sync_detailed(*, client: kavita_client.client.AuthenticatedClient | kavita_client.client.Client, body: kavita_client.models.external_source_dto.ExternalSourceDto | kavita_client.models.external_source_dto.ExternalSourceDto | kavita_client.models.external_source_dto.ExternalSourceDto | kavita_client.types.Unset = UNSET) → kavita_client.types.Response[bool]

Validates the external source by host is unique (for this user)

Args:

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