Repository navigation
docs: add style_profile_id to POST /v2/translate - #439
Merged
lawl-dev merged 3 commits intoOct 13, 2026
Merged
Conversation
lawl-dev
force-pushed
the
docs/translate-style-profile-id
branch
from
September 15, 2026 08:54
5989929 to
1d9d9ef
Compare
added 3 commits
October 13, 2026 15:31
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.
…iles The translate endpoint rejects a gated style_profile_id with 400 Bad Request, like the customizations object.
Example documents and the customizations object ship later, so style_profile_id only names the components and conflicting parameters that are available now.
lawl-dev
force-pushed
the
docs/translate-style-profile-id
branch
from
October 13, 2026 13:31
99e7431 to
31a8992
Compare
This branch was successfully deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Stacked on #427 (style profile endpoints); retarget to
mainonce that merges.Documents
style_profile_idonPOST /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 the individual customization parameters (400). Unknown or inaccessible profiles return 404; accounts without style profiles get 400. Adds the style profiles row to the customize overview.openapi.jsonregenerated from the YAML.