kavita_client.api.metadata.get_api_metadata_publication_status

Module Contents

Functions

asyncio

Fetches all publication status’ from the instance

asyncio_detailed

Fetches all publication status’ from the instance

sync

Fetches all publication status’ from the instance

sync_detailed

Fetches all publication status’ from the instance

API

async kavita_client.api.metadata.get_api_metadata_publication_status.asyncio(*, client: kavita_client.client.AuthenticatedClient | kavita_client.client.Client, library_ids: str | kavita_client.types.Unset = UNSET) → list[kavita_client.models.age_rating_dto.AgeRatingDto] | None

Fetches all publication status’ from the instance

This API is cached for 1 hour, varying by libraryIds

Args:

library_ids (str | 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:

list[AgeRatingDto]

async kavita_client.api.metadata.get_api_metadata_publication_status.asyncio_detailed(*, client: kavita_client.client.AuthenticatedClient | kavita_client.client.Client, library_ids: str | kavita_client.types.Unset = UNSET) → kavita_client.types.Response[list[kavita_client.models.age_rating_dto.AgeRatingDto]]

Fetches all publication status’ from the instance

This API is cached for 1 hour, varying by libraryIds

Args:

library_ids (str | 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[list[AgeRatingDto]]

kavita_client.api.metadata.get_api_metadata_publication_status.sync(*, client: kavita_client.client.AuthenticatedClient | kavita_client.client.Client, library_ids: str | kavita_client.types.Unset = UNSET) → list[kavita_client.models.age_rating_dto.AgeRatingDto] | None

Fetches all publication status’ from the instance

This API is cached for 1 hour, varying by libraryIds

Args:

library_ids (str | 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:

list[AgeRatingDto]

kavita_client.api.metadata.get_api_metadata_publication_status.sync_detailed(*, client: kavita_client.client.AuthenticatedClient | kavita_client.client.Client, library_ids: str | kavita_client.types.Unset = UNSET) → kavita_client.types.Response[list[kavita_client.models.age_rating_dto.AgeRatingDto]]

Fetches all publication status’ from the instance

This API is cached for 1 hour, varying by libraryIds

Args:

library_ids (str | 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[list[AgeRatingDto]]