Skip to content

Commit abb52bb

Browse files
author
ci.datadog-api-spec
committed
Regenerate client from commit 7802ad2d of spec repo
1 parent aea88d5 commit abb52bb

21 files changed

+1612
-8
lines changed

.apigentools-info

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,13 @@
44
"spec_versions": {
55
"v1": {
66
"apigentools_version": "1.6.6",
7-
"regenerated": "2024-09-06 21:00:12.124581",
8-
"spec_repo_commit": "3dff532a"
7+
"regenerated": "2024-09-09 19:48:59.771317",
8+
"spec_repo_commit": "7802ad2d"
99
},
1010
"v2": {
1111
"apigentools_version": "1.6.6",
12-
"regenerated": "2024-09-06 21:00:12.142757",
13-
"spec_repo_commit": "3dff532a"
12+
"regenerated": "2024-09-09 19:48:59.791867",
13+
"spec_repo_commit": "7802ad2d"
1414
}
1515
}
1616
}

.generator/schemas/v1/openapi.yaml

Lines changed: 206 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16740,6 +16740,212 @@ components:
1674016740
$ref: '#/components/schemas/LogQueryDefinition'
1674116741
sort:
1674216742
$ref: '#/components/schemas/WidgetSortBy'
16743+
text_formats:
16744+
description: List of text formats for columns produced by tags.
16745+
items:
16746+
$ref: '#/components/schemas/TableWidgetTextFormat'
16747+
type: array
16748+
type: object
16749+
TableWidgetTextFormat:
16750+
description: Text format rules for a tag-based column within a table widget.
16751+
example:
16752+
- match:
16753+
type: is
16754+
value: fruit
16755+
replace:
16756+
type: all
16757+
with: vegetable
16758+
- match:
16759+
type: is
16760+
value: cake
16761+
palette: white_on_green
16762+
items:
16763+
$ref: '#/components/schemas/TableWidgetTextFormatRule'
16764+
minItems: 1
16765+
type: array
16766+
TableWidgetTextFormatCustomPaletteType:
16767+
description: Custom color-on-color palette.
16768+
enum:
16769+
- custom_bg
16770+
example: custom_bg
16771+
type: string
16772+
x-enum-varnames:
16773+
- CUSTOM_BG
16774+
TableWidgetTextFormatMatch:
16775+
description: Match rule for the table widget text format.
16776+
example:
16777+
type: is
16778+
value: fruit
16779+
properties:
16780+
type:
16781+
$ref: '#/components/schemas/TableWidgetTextFormatMatchType'
16782+
value:
16783+
description: Table Widget Match String.
16784+
example: Match Value
16785+
type: string
16786+
required:
16787+
- type
16788+
- value
16789+
type: object
16790+
TableWidgetTextFormatMatchType:
16791+
description: Match or compare option.
16792+
enum:
16793+
- is
16794+
- is_not
16795+
- contains
16796+
- does_not_contain
16797+
- starts_with
16798+
- ends_with
16799+
example: is
16800+
type: string
16801+
x-enum-varnames:
16802+
- IS
16803+
- IS_NOT
16804+
- CONTAINS
16805+
- DOES_NOT_CONTAIN
16806+
- STARTS_WITH
16807+
- ENDS_WITH
16808+
TableWidgetTextFormatPalette:
16809+
default: white_on_green
16810+
description: Color-on-color palette to highlight replaced text.
16811+
enum:
16812+
- white_on_red
16813+
- white_on_yellow
16814+
- white_on_green
16815+
- black_on_light_red
16816+
- black_on_light_yellow
16817+
- black_on_light_green
16818+
- red_on_white
16819+
- yellow_on_white
16820+
type: string
16821+
x-enum-varnames:
16822+
- WHITE_ON_RED
16823+
- WHITE_ON_YELLOW
16824+
- WHITE_ON_GREEN
16825+
- BLACK_ON_LIGHT_RED
16826+
- BLACK_ON_LIGHT_YELLOW
16827+
- BLACK_ON_LIGHT_GREEN
16828+
- RED_ON_WHITE
16829+
- YELLOW_ON_WHITE
16830+
TableWidgetTextFormatReplace:
16831+
description: Replace rule for the table widget text format.
16832+
example:
16833+
type: all
16834+
with: vegetable
16835+
oneOf:
16836+
- $ref: '#/components/schemas/TableWidgetTextFormatReplaceAll'
16837+
- $ref: '#/components/schemas/TableWidgetTextFormatReplaceSubstring'
16838+
TableWidgetTextFormatReplaceAll:
16839+
description: Match All definition.
16840+
example:
16841+
type: all
16842+
with: vegetable
16843+
properties:
16844+
type:
16845+
$ref: '#/components/schemas/TableWidgetTextFormatReplaceAllType'
16846+
with:
16847+
description: Replace All type.
16848+
example: all
16849+
type: string
16850+
required:
16851+
- type
16852+
- with
16853+
type: object
16854+
TableWidgetTextFormatReplaceAllType:
16855+
description: Table widget text format replace all type.
16856+
enum:
16857+
- all
16858+
example: all
16859+
type: string
16860+
x-enum-varnames:
16861+
- ALL
16862+
TableWidgetTextFormatReplaceSubstring:
16863+
description: Match Sub-string definition.
16864+
example:
16865+
substring: fruit
16866+
type: substring
16867+
with: vegetable
16868+
properties:
16869+
substring:
16870+
description: Text that will be replaced.
16871+
example: string to replace
16872+
type: string
16873+
type:
16874+
$ref: '#/components/schemas/TableWidgetTextFormatReplaceSubstringType'
16875+
with:
16876+
description: Text that will replace original sub-string.
16877+
example: replacement
16878+
type: string
16879+
required:
16880+
- type
16881+
- with
16882+
- substring
16883+
type: object
16884+
TableWidgetTextFormatReplaceSubstringType:
16885+
description: Table widget text format replace sub-string type.
16886+
enum:
16887+
- substring
16888+
example: substring
16889+
type: string
16890+
x-enum-varnames:
16891+
- SUBSTRING
16892+
TableWidgetTextFormatRule:
16893+
description: Text format rule.
16894+
example:
16895+
match:
16896+
type: is
16897+
value: apple
16898+
replace:
16899+
type: all
16900+
with: vegetable
16901+
oneOf:
16902+
- $ref: '#/components/schemas/TableWidgetTextFormatRuleMain'
16903+
- $ref: '#/components/schemas/TableWidgetTextFormatRuleCustomPalette'
16904+
TableWidgetTextFormatRuleCustomPalette:
16905+
description: Text format rule with custom palette.
16906+
example:
16907+
custom_bg_color: '#111111'
16908+
match:
16909+
type: is
16910+
value: fruit
16911+
palette: custom_bg
16912+
replace:
16913+
type: all
16914+
with: vegetable
16915+
properties:
16916+
custom_bg_color:
16917+
description: Hex representation of the custom background color.
16918+
example: '#111111'
16919+
type: string
16920+
match:
16921+
$ref: '#/components/schemas/TableWidgetTextFormatMatch'
16922+
palette:
16923+
$ref: '#/components/schemas/TableWidgetTextFormatCustomPaletteType'
16924+
replace:
16925+
$ref: '#/components/schemas/TableWidgetTextFormatReplace'
16926+
required:
16927+
- match
16928+
- palette
16929+
- custom_bg_color
16930+
type: object
16931+
TableWidgetTextFormatRuleMain:
16932+
description: Text format rule with preset palettes.
16933+
example:
16934+
match:
16935+
type: is
16936+
value: apple
16937+
replace:
16938+
type: all
16939+
with: vegetable
16940+
properties:
16941+
match:
16942+
$ref: '#/components/schemas/TableWidgetTextFormatMatch'
16943+
palette:
16944+
$ref: '#/components/schemas/TableWidgetTextFormatPalette'
16945+
replace:
16946+
$ref: '#/components/schemas/TableWidgetTextFormatReplace'
16947+
required:
16948+
- match
1674316949
type: object
1674416950
TagToHosts:
1674516951
description: In this object, the key is the tag, the value is a list of host
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
2024-09-06T23:18:00.781Z

cassettes/features/v1/dashboards/Create-a-new-dashboard-with-query-table-widget-and-text-formatting.yml

Lines changed: 50 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)