kavita_client.api.metadata.get_api_metadata_genres

Module Contents

Functions

asyncio

Fetches genres from the instance

asyncio_detailed

Fetches genres from the instance

sync

Fetches genres from the instance

sync_detailed

Fetches genres from the instance

API

async kavita_client.api.metadata.get_api_metadata_genres.asyncio(*, client: kavita_client.client.AuthenticatedClient | kavita_client.client.Client, library_ids: str | kavita_client.types.Unset = UNSET, context: kavita_client.models.query_context.QueryContext | kavita_client.types.Unset = UNSET) → list[kavita_client.models.genre_tag_dto.GenreTagDto] | None

Fetches genres from the instance

Args:

library_ids (str | Unset): context (QueryContext | Unset): Members:

  • 1 — None

  • 2 — Search

  • 4 — Dashboard

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:

list[GenreTagDto]

async kavita_client.api.metadata.get_api_metadata_genres.asyncio_detailed(*, client: kavita_client.client.AuthenticatedClient | kavita_client.client.Client, library_ids: str | kavita_client.types.Unset = UNSET, context: kavita_client.models.query_context.QueryContext | kavita_client.types.Unset = UNSET) → kavita_client.types.Response[list[kavita_client.models.genre_tag_dto.GenreTagDto]]

Fetches genres from the instance

Args:

library_ids (str | Unset): context (QueryContext | Unset): Members:

  • 1 — None

  • 2 — Search

  • 4 — Dashboard

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[list[GenreTagDto]]

kavita_client.api.metadata.get_api_metadata_genres.sync(*, client: kavita_client.client.AuthenticatedClient | kavita_client.client.Client, library_ids: str | kavita_client.types.Unset = UNSET, context: kavita_client.models.query_context.QueryContext | kavita_client.types.Unset = UNSET) → list[kavita_client.models.genre_tag_dto.GenreTagDto] | None

Fetches genres from the instance

Args:

library_ids (str | Unset): context (QueryContext | Unset): Members:

  • 1 — None

  • 2 — Search

  • 4 — Dashboard

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:

list[GenreTagDto]

kavita_client.api.metadata.get_api_metadata_genres.sync_detailed(*, client: kavita_client.client.AuthenticatedClient | kavita_client.client.Client, library_ids: str | kavita_client.types.Unset = UNSET, context: kavita_client.models.query_context.QueryContext | kavita_client.types.Unset = UNSET) → kavita_client.types.Response[list[kavita_client.models.genre_tag_dto.GenreTagDto]]

Fetches genres from the instance

Args:

library_ids (str | Unset): context (QueryContext | Unset): Members:

  • 1 — None

  • 2 — Search

  • 4 — Dashboard

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[list[GenreTagDto]]