Skip to content

docs: add style_profile_id to POST /v2/document - #440

Draft
lawl-dev wants to merge 1 commit into
docs/translate-style-profile-idfrom
docs/document-style-profile-id
Draft

lawl-dev wants to merge 1 commit into
docs/translate-style-profile-idfrom
docs/document-style-profile-id

Conversation

@lawl-dev

Copy link
Copy Markdown
Contributor

Stacked on #439 (style_profile_id on translate); retarget once that merges.

Documents style_profile_id on POST /v2/document (multipart): the profile is applied once the document's source language is known, components that do not fit the language pair are left out without an error, and the parameter cannot be combined with glossary_id, glossary_ids, style_id, translation_memory_id or translation_memory_threshold (400). A profile the account cannot use fails the document translation; accounts without style profiles get 403.

openapi.json regenerated from the YAML.

The document endpoint takes the same style profile parameter as text translation. The profile is applied once the document's source language is known; it cannot be combined with the individual customization parameters (400), and accounts without style profiles get a 403.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant