Update a pronunciation table
pronunciation-tables:updateAuthenticationReplaces any supplied fields. Slug is immutable. Archived tables cannot be updated. Supplying If-Match prevents lost updates; a semantic no-op returns the unchanged ETag.
bearerAuthAuthorizationBearer <token>Use a Voice API key or connected-app OAuth access token. Authentication.
id*stringuuidIf-Match?stringOptional strong ETag (or *) from a prior response. A stale tag returns 412 without changing the resource.
application/json- body
1 <= propertiesname?string1 <= length <= 200description?|Null or a blank string clears the description.
length <= 2000definition?Updated table, or the unchanged table for a semantic no-op.
application/json- response
Complete normalized table. configuration_errors is omitted for canonical rows. When present, it identifies invalid legacy or out-of-band stored fields and entries omitted from the safe definition. A malformed root/container or an encoded definition above 1,048,576 bytes returns the canonical empty definition; a legacy array above 250 entries is truncated before entries are normalized. Repair by replacing the complete definition with the current ETag.
id*stringuuidslug*stringname*stringdescription*string|nullarchived_at*|date-timecreated_at*stringdate-timeupdated_at*stringdate-timedefinition*configuration_errors?array<>Exact repair diagnostics for legacy stored content. Invalid entries are not assumed to execute at call time. Correct every field and PATCH one complete definition using the current ETag.
1 <= itemscurl -X PATCH 'https://api.kejue.co/v1/pronunciation-tables/497f6eca-6276-4993-bfeb-53cbbbba6f08' \ -H 'Content-Type: application/json' \ -d '{}'{ "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "slug": "string", "name": "string", "description": "string", "archived_at": "2019-08-24T14:15:22Z", "created_at": "2019-08-24T14:15:22Z", "updated_at": "2019-08-24T14:15:22Z", "definition": { "entries": [ { "id": "string", "from": "string", "to": "string", "match": "word", "case_sensitive": true } ] }, "configuration_errors": [ { "path": "string", "code": "string", "message": "string" } ]}