kavita_client.api.metadata.get_api_metadata_age_ratings¶
Module Contents¶
Functions¶
Fetches all age ratings from the instance |
|
Fetches all age ratings from the instance |
|
Fetches all age ratings from the instance |
|
Fetches all age ratings from the instance |
API¶
- async kavita_client.api.metadata.get_api_metadata_age_ratings.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 age ratings 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_age_ratings.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 age ratings 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_age_ratings.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 age ratings 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_age_ratings.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 age ratings 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]]