Skip to content

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

Closed
lawl-dev wants to merge 2 commits into
docs/style-profiles-apifrom
docs/document-style-profile-id
Closed

lawl-dev wants to merge 2 commits into
docs/style-profiles-apifrom
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.

Maxim Brunnmeier added 2 commits September 14, 2026 14:19
A request names a style profile instead of listing its components. Documents how the profile is applied per text once the source language is known, that components which do not fit a text's language pair are left out, the exclusivity with the customizations object and the individual parameters (400), unknown profiles (404), and accounts without style profiles (403). Adds the style profiles row to the customize overview.
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.
@lawl-dev
lawl-dev force-pushed the docs/translate-style-profile-id branch from 99e7431 to 31a8992 Compare October 13, 2026 13:31
Base automatically changed from docs/translate-style-profile-id to docs/style-profiles-api October 13, 2026 13:32
@lawl-dev

Copy link
Copy Markdown
Contributor Author

Moved into #427.

@lawl-dev lawl-dev closed this Oct 13, 2026
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