kavita_client.api.cbl.post_api_cbl_remap_rules

Module Contents

Functions

asyncio

Creates a new remap rule, or updates an existing one if a rule with the same CBL matching key (normalized name + volume + number) already exists for this user. When no explicit VolumeId is provided, attempts to auto-resolve a matching volume on the target series from the CBL volume string.

asyncio_detailed

Creates a new remap rule, or updates an existing one if a rule with the same CBL matching key (normalized name + volume + number) already exists for this user. When no explicit VolumeId is provided, attempts to auto-resolve a matching volume on the target series from the CBL volume string.

sync

Creates a new remap rule, or updates an existing one if a rule with the same CBL matching key (normalized name + volume + number) already exists for this user. When no explicit VolumeId is provided, attempts to auto-resolve a matching volume on the target series from the CBL volume string.

sync_detailed

Creates a new remap rule, or updates an existing one if a rule with the same CBL matching key (normalized name + volume + number) already exists for this user. When no explicit VolumeId is provided, attempts to auto-resolve a matching volume on the target series from the CBL volume string.

API

async kavita_client.api.cbl.post_api_cbl_remap_rules.asyncio(*, client: kavita_client.client.AuthenticatedClient | kavita_client.client.Client, body: kavita_client.models.create_remap_rule_dto.CreateRemapRuleDto | kavita_client.models.create_remap_rule_dto.CreateRemapRuleDto | kavita_client.models.create_remap_rule_dto.CreateRemapRuleDto | kavita_client.types.Unset = UNSET) → kavita_client.models.remap_rule_dto.RemapRuleDto | None

Creates a new remap rule, or updates an existing one if a rule with the same CBL matching key (normalized name + volume + number) already exists for this user. When no explicit VolumeId is provided, attempts to auto-resolve a matching volume on the target series from the CBL volume string.

Args:

body (CreateRemapRuleDto | Unset): body (CreateRemapRuleDto | Unset): body (CreateRemapRuleDto | 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:

RemapRuleDto

async kavita_client.api.cbl.post_api_cbl_remap_rules.asyncio_detailed(*, client: kavita_client.client.AuthenticatedClient | kavita_client.client.Client, body: kavita_client.models.create_remap_rule_dto.CreateRemapRuleDto | kavita_client.models.create_remap_rule_dto.CreateRemapRuleDto | kavita_client.models.create_remap_rule_dto.CreateRemapRuleDto | kavita_client.types.Unset = UNSET) → kavita_client.types.Response[kavita_client.models.remap_rule_dto.RemapRuleDto]

Creates a new remap rule, or updates an existing one if a rule with the same CBL matching key (normalized name + volume + number) already exists for this user. When no explicit VolumeId is provided, attempts to auto-resolve a matching volume on the target series from the CBL volume string.

Args:

body (CreateRemapRuleDto | Unset): body (CreateRemapRuleDto | Unset): body (CreateRemapRuleDto | 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[RemapRuleDto]

kavita_client.api.cbl.post_api_cbl_remap_rules.sync(*, client: kavita_client.client.AuthenticatedClient | kavita_client.client.Client, body: kavita_client.models.create_remap_rule_dto.CreateRemapRuleDto | kavita_client.models.create_remap_rule_dto.CreateRemapRuleDto | kavita_client.models.create_remap_rule_dto.CreateRemapRuleDto | kavita_client.types.Unset = UNSET) → kavita_client.models.remap_rule_dto.RemapRuleDto | None

Creates a new remap rule, or updates an existing one if a rule with the same CBL matching key (normalized name + volume + number) already exists for this user. When no explicit VolumeId is provided, attempts to auto-resolve a matching volume on the target series from the CBL volume string.

Args:

body (CreateRemapRuleDto | Unset): body (CreateRemapRuleDto | Unset): body (CreateRemapRuleDto | 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:

RemapRuleDto

kavita_client.api.cbl.post_api_cbl_remap_rules.sync_detailed(*, client: kavita_client.client.AuthenticatedClient | kavita_client.client.Client, body: kavita_client.models.create_remap_rule_dto.CreateRemapRuleDto | kavita_client.models.create_remap_rule_dto.CreateRemapRuleDto | kavita_client.models.create_remap_rule_dto.CreateRemapRuleDto | kavita_client.types.Unset = UNSET) → kavita_client.types.Response[kavita_client.models.remap_rule_dto.RemapRuleDto]

Creates a new remap rule, or updates an existing one if a rule with the same CBL matching key (normalized name + volume + number) already exists for this user. When no explicit VolumeId is provided, attempts to auto-resolve a matching volume on the target series from the CBL volume string.

Args:

body (CreateRemapRuleDto | Unset): body (CreateRemapRuleDto | Unset): body (CreateRemapRuleDto | 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[RemapRuleDto]