kavita_client.api.library.post_api_library_grant_access¶
Module Contents¶
Functions¶
Grants a user account access to a Library |
|
Grants a user account access to a Library |
|
Grants a user account access to a Library |
|
Grants a user account access to a Library |
API¶
- async kavita_client.api.library.post_api_library_grant_access.asyncio(*, client: kavita_client.client.AuthenticatedClient | kavita_client.client.Client, body: kavita_client.models.update_library_for_user_dto.UpdateLibraryForUserDto | kavita_client.models.update_library_for_user_dto.UpdateLibraryForUserDto | kavita_client.models.update_library_for_user_dto.UpdateLibraryForUserDto | kavita_client.types.Unset = UNSET) kavita_client.models.member_dto.MemberDto | None¶
Grants a user account access to a Library
- Args:
body (UpdateLibraryForUserDto | Unset): body (UpdateLibraryForUserDto | Unset): body (UpdateLibraryForUserDto | 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:
MemberDto
- async kavita_client.api.library.post_api_library_grant_access.asyncio_detailed(*, client: kavita_client.client.AuthenticatedClient | kavita_client.client.Client, body: kavita_client.models.update_library_for_user_dto.UpdateLibraryForUserDto | kavita_client.models.update_library_for_user_dto.UpdateLibraryForUserDto | kavita_client.models.update_library_for_user_dto.UpdateLibraryForUserDto | kavita_client.types.Unset = UNSET) kavita_client.types.Response[kavita_client.models.member_dto.MemberDto]¶
Grants a user account access to a Library
- Args:
body (UpdateLibraryForUserDto | Unset): body (UpdateLibraryForUserDto | Unset): body (UpdateLibraryForUserDto | 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[MemberDto]
- kavita_client.api.library.post_api_library_grant_access.sync(*, client: kavita_client.client.AuthenticatedClient | kavita_client.client.Client, body: kavita_client.models.update_library_for_user_dto.UpdateLibraryForUserDto | kavita_client.models.update_library_for_user_dto.UpdateLibraryForUserDto | kavita_client.models.update_library_for_user_dto.UpdateLibraryForUserDto | kavita_client.types.Unset = UNSET) kavita_client.models.member_dto.MemberDto | None¶
Grants a user account access to a Library
- Args:
body (UpdateLibraryForUserDto | Unset): body (UpdateLibraryForUserDto | Unset): body (UpdateLibraryForUserDto | 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:
MemberDto
- kavita_client.api.library.post_api_library_grant_access.sync_detailed(*, client: kavita_client.client.AuthenticatedClient | kavita_client.client.Client, body: kavita_client.models.update_library_for_user_dto.UpdateLibraryForUserDto | kavita_client.models.update_library_for_user_dto.UpdateLibraryForUserDto | kavita_client.models.update_library_for_user_dto.UpdateLibraryForUserDto | kavita_client.types.Unset = UNSET) kavita_client.types.Response[kavita_client.models.member_dto.MemberDto]¶
Grants a user account access to a Library
- Args:
body (UpdateLibraryForUserDto | Unset): body (UpdateLibraryForUserDto | Unset): body (UpdateLibraryForUserDto | 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[MemberDto]