Sign inGet Started

bird sms templates versions list

Usage

Contoh kode
bird sms templates versions list <template-ref> [flags]

Description

List a template's permanent draft and immutable published versions, newest first. Built-in templates expose their current catalogue content as one synthetic published version.
Returns a paginated JSON envelope; narrow with the filters below and page with --limit and --starting-after.

Examples

Contoh kode
bird sms templates versions list <template-ref>
bird sms templates versions list <template-ref> | jq -r '.data[].id'
bird sms templates versions list <template-ref> --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.
--limit <n>Maximum number of items to return per page.
--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. Possible values: created_at.
--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 sms templates versions getGet an SMS template version

Sumber daya terkait

Lanjutkan dengan dokumentasi, panduan, dan contoh untuk topik ini. Sumber daya tersedia dalam bahasa Inggris.

Dapatkan ringkasan implementasi