- Write Email Column Style
Tool name: update-email-editor-column-style
Writes the look of columns -- several in one call, the same values on each: the colour behind it, the space between its edges and its blocks, and a border on any of its four sides. Named values only -- no CSS -- so a padding is a number of pixels and a border is "1px solid #000000", with solid, dashed, dotted or none. Everything not named stays as it is. The width of a column is not here: columns of a row are equally wide, and an uneven split is made in the KlickTipp editor. Bound to the contentRevision of the read and refused whole if anything in it fails, so nothing half-written is stored. Drafts only. Saves the draft; publishing is publish-newsletter-email-content.
The contentRevision of the read this change is based on
The uuids of the columns to write; the same values land on each
Colour behind the column, "#RRGGBB" or "transparent"
Space right of the content of the column, in pixels
Space below the content of the column, in pixels
Space left of the content of the column, in pixels
Border above the column, as "1px solid #000000"
Border right of the column, same shape
Border below the column, same shape
Border left of the column, same shape
{ "editorUrl": "stringstring", "contentRevision": "strings", "uuids": [ "string" ], "backgroundColor": null, "paddingTop": null, "paddingRight": null, "paddingBottom": null, "paddingLeft": null, "borderTop": null, "borderRight": null, "borderBottom": null, "borderLeft": null, "accountId": null }
"replaced": the stored document is a new one; "unchanged": nothing was persisted.
What this write created, with uuids: after "addRow" the row and its columns, after "addModule" the block, plus the contentRevision the next write needs. Empty when nothing was created.
{ "operation": "replaced", "previousContentStatus": "draft", "contentStatus": "draft", "emailId": 0, "contentRevision": "string", "warnings": [ "string" ], "editorUrl": "string", "created": [ { "operation": 0, "type": "row", "uuid": "string", "kind": "string", "columns": [ "string" ] } ], "nextAction": "review_and_publish_content" }