Synchronously translate a plain text (no file, no job, no streaming)
Changed onpost/plain-text
Request
- Base URL/api/translation (relative, and the document was published on a file host, not at the API’s origin)
- Authnone declared
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Request body
Example request
{
"targetLanguage": "fr"
}Response
Translated text
Changes
- info
the request property
became optional
- info
- info
endpoint added
- info