Sign inGet Started

bird email blocks languages revisions list

Usage

Exemple de code
bird email blocks languages revisions list <block-id> <language> [flags]

Description

List the published revisions of one exact language, newest first by default. version_number counts publications and is separate from the draft revision. Copy one back into the draft with bird email blocks languages set and from_revision_id.

Returns a paginated JSON envelope; narrow with the filters below and page with --limit and --starting-after.

Examples

Exemple de code
bird email blocks languages revisions list <block-id> <language>
bird email blocks languages revisions list <block-id> <language> | jq -r '.data[].id'
bird email blocks languages revisions list <block-id> <language> --limit 50 --starting-after <cursor>

Options

Pagination

NameDescription
--ending-beforeCursor from the prev_cursor or refresh_cursor field of a previous list response. Returns items immediately before the cursor position in the current sort order. prev_cursor returns the preceding page. refresh_cursor anchors at the first row of that response, which on a newest-first sort is how to fetch the items that have appeared since.
--include-totalWhen true, the response includes a total field with the total number of items matching the request's filters across all pages.
--limit <n>Maximum number of items to return per page. Allowed range: 1 to 100.
--orderSort direction. Defaults to desc, which sorts from newest to oldest or largest to smallest, depending on the selected sort field. Possible values: asc, desc.
--sortField to sort by. Defaults to version_number. Possible values: version_number.
--starting-afterCursor from the next_cursor field of a previous list response. Returns items immediately after the cursor position in the current sort order.

Filters

NameDescription
--response-schemaPrint the fields this command returns, then exit
NameDescription
bird email blocks languages revisions getGet a published block revision

Poursuivez avec la documentation, les guides et les exemples sur ce sujet.