Create Style Rule List

Go to Product

Create a style rule list for a single language, optionally with its configured rules and custom instructions. The language can be a root code such as de or a variant code such as de-CH. Use the returned style_id with the translation endpoints to apply the list.

Options

Body

The JSON request body. Pre-filled with an example which is derived from the schema.

Validate JSON
Checks “Body” against the JSON schema of the API. This happens on demand only, i.e. a failed check does not prevent the node from being executed — ultimately, the API itself decides what it accepts.
Body: Validation
Result of the last “Validate JSON” run, i.e. a confirmation or the list of schema violations. Not saved with the node settings.
Result Format

Specify how the response should be mapped to the table output. The following formats are available:

Structured Table: Returns a parsed table with data split into rows and columns.

  • Style ID: A unique ID assigned to a style rule list.
  • Name: Name associated with the style rule list.
  • Creation Time: The creation time of the style rule list in the ISO 8601-1:2019 format (e.g.: 2021-08-03T14:16:18.329Z).
  • Updated Time: The time of the style rule list when it was last updated in the ISO 8601-1:2019 format (e.g.: 2022-08-03T14:16:18.329Z).
  • Language:

    The target language the style rule list applies to. Codes are matched case-insensitively; the response returns the canonical form (for example de-CH).

    A root code (for example en) applies to that language and all of its variants. A variant code (for example en-GB) applies only when target_lang is that variant.

    Variant lists for de-CH, fr-CA, pt-BR, and pt-PT are generally available. Variant lists for de-DE, en-GB, en-US, es-419, es-ES, fr-FR, zh-Hans, and zh-Hant are in beta. The current list and the status of each language are returned by GET /v3/languages?resource=style_rules&include=beta.

  • Version: The version of the style rule list. Incremented when the style rule list is updated.
  • Configured Rules: The enabled rules for the style rule list including what option was selected for each rule. This schema combines rules from all supported languages.
  • Custom Instructions: List of custom instructions enabled for the style rule list.

Raw Response: Returns the raw response in a single row with the following columns:

  • body: Response body
  • status: HTTP status code
  • X-Trace-ID: A unique identifier for the request that can be included in bug reports to DeepL support.

Input Ports

Icon
Configuration data.

Output Ports

Icon
Result of the request depending on the selected Result Format.
Icon
Configuration data (this is the same as the input port; it is provided as passthrough for sequentially chaining nodes to declutter your workflow connections).

Popular Predecessors

  • No recommendations found

Popular Successors

  • No recommendations found

Views

This node has no views

Workflows

  • No workflows found

Links

Developers

You want to see the source code for this node? Click the following button and we’ll use our super-powers to find it for you.