Enhancements
Update a postprocessing dictionary by ID
Changed onThe terms list is replaced as a whole. Each entry has the format "replacement|pattern,pattern" (an empty replacement removes the matched word). Entries are cleaned up automatically (whitespace normalized, empty and duplicate entries dropped); entries without a pattern, with spaces in a pattern, or rejected by the captioning provider (e.g. an invalid regular expression) fail with invalid_value.
patch/enhancements/speech/postprocessing-dictionaries/{id}
Request
- Base URLhttps://api.theo.live/v2
- AuthHTTP basic
Path parameters
idstring required
Postprocessing dictionary ID
Request body
Example request
{
"terms": [
"OptiView|Optiview,Opti-view,Optivue",
"New York|NewYork,Newyork",
"|basically,literally",
"Dolby|[D|d]olby"
]
}Response
Updated postprocessing dictionary
Example response
{
"data": {
"terms": [
"OptiView|Optiview,Opti-view,Optivue",
"New York|NewYork,Newyork",
"|basically,literally",
"Dolby|[D|d]olby"
]
}
}Changes
- info
endpoint added
- info