Sign inGet Started

bird email templates versions languages get

Usage

Code example
bird email templates versions languages get <template-ref> <version-id> <language> [flags]

Description

Read one language's subject and bodies from a template version. The response carries compatibility: what the stored HTML uses that mail clients remove, ignore, or render inconsistently, and compatibility_severity reducing it to problem, warning, or none. For a language that links reusable blocks, the HTML shows the blocks' current published content; with authoring true it carries an HTML comment marker bird:shared-block:UUID per link and shared_blocks instead, the form bird email templates versions languages set saves back.

Procedure

Step 5 of 7 of "Author a reusable email section and link it into templates". Previous: bird email blocks publish. Next: bird email templates versions languages set.

Examples

Code example
bird email templates versions languages get <template-ref> <version-id> <language>

Options

NameDescription
--authoringReturn the HTML with its reusable block markers in place of the blocks' content, plus shared_blocks, so a language that links blocks can be saved back with its links intact. Compatibility locations still refer to the HTML with the blocks filled in.
--response-schemaPrint the fields this command returns, then exit
NameDescription
bird email templates versions languages deleteDelete one language from a draft
bird email templates versions languages listList a version's languages
bird email templates versions languages setUpsert one language of a draft
bird email templates versions languages updateUpdate one language of a draft