Skip to content

docs: add style_profile_id to POST /v2/translate - #439

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

lawl-dev wants to merge 1 commit into
docs/style-profiles-apifrom
docs/translate-style-profile-id

Conversation

@lawl-dev

@lawl-dev lawl-dev commented Sep 14, 2026

Copy link
Copy Markdown
Contributor

Stacked on #427 (style profile endpoints); retarget to main once that merges.

Documents style_profile_id on POST /v2/translate (JSON and form-encoded): the profile is applied per text once the source language is known, components that do not fit a text's language pair are left out without an error, and the parameter cannot be combined with customizations or the individual customization parameters (400). Unknown or inaccessible profiles return 404; accounts without style profiles get 403. Adds the style profiles row to the customize overview.

openapi.json regenerated from the YAML.

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.
@lawl-dev lawl-dev changed the title docs: add style_profile_id to POST /v2/translate docs: add style_profile_id to POST /v2/translate and POST /v2/document Sep 15, 2026
@lawl-dev
lawl-dev force-pushed the docs/translate-style-profile-id branch from 5989929 to 1d9d9ef Compare September 15, 2026 08:54
@lawl-dev lawl-dev changed the title docs: add style_profile_id to POST /v2/translate and POST /v2/document docs: add style_profile_id to POST /v2/translate Sep 15, 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