Settings API - Summary pattern examples schema table
Summary pattern examples (builtin:example.summary.pattern
)
This schema shows some possibilities on how to customize the displaying of items using the summary pattern:
-
Markdown to apply formatting
-
ICU for general message formatting and simple logic ICU documentation
-
Pipes to transform values. Checkout SummaryPatternPipes#CORE_PIPE_FACTORIES (for general pipes) and MonitoringSettingsFactory#createPipeRegistry (for cluster-side and custom pipes) to see what pipes are registered and available for usage.
Schema ID | Schema groups | Scope |
---|---|---|
builtin:example.summary.pattern | - | environment |
Parameters
Property | Label | Type | Description | Required |
---|---|---|---|---|
truncated | Truncated text | set | This summary shows how to use pipes, in particular the | required |
truncatedCollection | Truncated collection | set | This summary shows how to use pipes, in particular the | required |
non_empty_text | Non-empty text | set | This summary shows how to use pipes, in particular the | required |
icu_select | ICU select | set | This summary makes use of ICU's | required |
icu_plural | ICU plural | set | This summary makes use of ICU's | required |
icu_number_formatting | ICU number formatting | set | This summary makes use of some of ICU's number formatting capabilities | required |
Request body objects
The TruncatedCollection
object
Property | Label | Type | Description | Required |
---|---|---|---|---|
collProperty | - | set | - | required |
The TruncatedTextItem
object
Property | Label | Type | Description | Required |
---|---|---|---|---|
textProperty | Text | text | - | optional |
The NonEmptyTextItem
object
Property | Label | Type | Description | Required |
---|---|---|---|---|
textProperty | Text | text | - | optional |
The IcuSelectItem
object
Property | Label | Type | Description | Required |
---|---|---|---|---|
booleanProperty | Boolean | boolean | - | required |
The IcuPluralItem
object
Property | Label | Type | Description | Required |
---|---|---|---|---|
integerProperty | Integer | integer | - | required |
The IcuNumberFormattingItem
object
Property | Label | Type | Description | Required |
---|---|---|---|---|
integerProperty | Integer | integer | - | required |