kavita_client.api.collection.post_api_collection_promote_multiple¶
Module Contents¶
Functions¶
Promote/UnPromote multiple collections in one go. Will only update the authenticated user’s collections and will only work if the user has promotion role |
|
Promote/UnPromote multiple collections in one go. Will only update the authenticated user’s collections and will only work if the user has promotion role |
API¶
- async kavita_client.api.collection.post_api_collection_promote_multiple.asyncio_detailed(*, client: kavita_client.client.AuthenticatedClient | kavita_client.client.Client, body: kavita_client.models.promote_collections_dto.PromoteCollectionsDto | kavita_client.models.promote_collections_dto.PromoteCollectionsDto | kavita_client.models.promote_collections_dto.PromoteCollectionsDto | kavita_client.types.Unset = UNSET) kavita_client.types.Response[Any]¶
Promote/UnPromote multiple collections in one go. Will only update the authenticated user’s collections and will only work if the user has promotion role
- Args:
body (PromoteCollectionsDto | Unset): body (PromoteCollectionsDto | Unset): body (PromoteCollectionsDto | 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[Any]
- kavita_client.api.collection.post_api_collection_promote_multiple.sync_detailed(*, client: kavita_client.client.AuthenticatedClient | kavita_client.client.Client, body: kavita_client.models.promote_collections_dto.PromoteCollectionsDto | kavita_client.models.promote_collections_dto.PromoteCollectionsDto | kavita_client.models.promote_collections_dto.PromoteCollectionsDto | kavita_client.types.Unset = UNSET) kavita_client.types.Response[Any]¶
Promote/UnPromote multiple collections in one go. Will only update the authenticated user’s collections and will only work if the user has promotion role
- Args:
body (PromoteCollectionsDto | Unset): body (PromoteCollectionsDto | Unset): body (PromoteCollectionsDto | 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[Any]