v1

latestOpenAPI 3.0.12026-07-2210997354.2 KB
Rules

Update rule

Updates a pronunciation rule in your organization.

put/rules/{id}

Request body

type'substitute' | 'say_as_word' | 'say_as_letter_sequence' | 'ipa_transcription' | 'pinyin_transcription' | 'jyutping_transcription'

The rule type. Possible values are substitute, say_as_word, say_as_letter_sequence, ipa_transcription, pinyin_transcription, jyutping_transcription. Please note that not all voices support all rules

keystring

The exact text to match in content when applying this rule

valuestring nullable

Replacement text or phonetic transcription (depending on rule type)

magic_ipa_usedboolean

When true, the Magic IPA feature was used to generate the transcription

Response

successful

idinteger

Unique identifier for the rule

type'substitute' | 'say_as_word' | 'say_as_letter_sequence' | 'ipa_transcription' | 'pinyin_transcription' | 'jyutping_transcription'

The rule type. Possible values are substitute, say_as_word, say_as_letter_sequence, ipa_transcription, pinyin_transcription, jyutping_transcription. Please note that not all voices support all rules

preview_status'processing' | 'processed' | 'error'

Status of preview generation for this rule

keystring

The exact text to match in content when applying this rule

valuestring nullable

Replacement text or phonetic transcription (depending on rule type)

magic_ipa_usedboolean

When true, the Magic IPA feature was used to generate the transcription

createdstring

Time at which the object was created (ISO 8601)

updatedstring

Time at which the object was updated (ISO 8601)