Skip to content

Commit 94ad0a0

Browse files
api-clients-generation-pipeline[bot]ci.datadog-api-spec
andauthored
Add tileDef sort attribute (#1826)
Co-authored-by: ci.datadog-api-spec <packages@datadoghq.com> Co-authored-by: api-clients-generation-pipeline[bot] <54105614+api-clients-generation-pipeline[bot]@users.noreply.github.com>
1 parent 04c3cb1 commit 94ad0a0

31 files changed

+891
-78
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-05-23 10:59:59.851281",
8-
"spec_repo_commit": "b829bfa2"
7+
"regenerated": "2024-05-23 18:14:50.405657",
8+
"spec_repo_commit": "95a954a4"
99
},
1010
"v2": {
1111
"apigentools_version": "1.6.6",
12-
"regenerated": "2024-05-23 10:59:59.869149",
13-
"spec_repo_commit": "b829bfa2"
12+
"regenerated": "2024-05-23 18:14:50.423297",
13+
"spec_repo_commit": "95a954a4"
1414
}
1515
}
1616
}

.generator/schemas/v1/openapi.yaml

Lines changed: 75 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3043,6 +3043,14 @@ components:
30433043
type: string
30443044
x-enum-varnames:
30453045
- METRIC
3046+
FormulaType:
3047+
description: Set the sort type to formula.
3048+
enum:
3049+
- formula
3050+
example: formula
3051+
type: string
3052+
x-enum-varnames:
3053+
- FORMULA
30463054
FreeTextWidgetDefinition:
30473055
description: Free text is a widget that allows you to add headings to your screenboard.
30483056
Commonly used to state the overall purpose of the dashboard. Only available
@@ -3411,6 +3419,8 @@ components:
34113419
$ref: '#/components/schemas/LogQueryDefinition'
34123420
security_query:
34133421
$ref: '#/components/schemas/LogQueryDefinition'
3422+
sort:
3423+
$ref: '#/components/schemas/WidgetSortBy'
34143424
type: object
34153425
GraphSnapshot:
34163426
description: Object representing a graph snapshot.
@@ -3431,6 +3441,14 @@ components:
34313441
example: https://app.datadoghq.com/s/f12345678/aaa-bbb-ccc
34323442
type: string
34333443
type: object
3444+
GroupType:
3445+
description: Set the sort type to group.
3446+
enum:
3447+
- group
3448+
example: group
3449+
type: string
3450+
x-enum-varnames:
3451+
- GROUP
34343452
GroupWidgetDefinition:
34353453
description: The groups widget allows you to keep similar graphs together on
34363454
your timeboard. Each group has a custom header, can hold one to many graphs,
@@ -16392,6 +16410,8 @@ components:
1639216410
$ref: '#/components/schemas/LogQueryDefinition'
1639316411
security_query:
1639416412
$ref: '#/components/schemas/LogQueryDefinition'
16413+
sort:
16414+
$ref: '#/components/schemas/WidgetSortBy'
1639516415
type: object
1639616416
TagToHosts:
1639716417
description: In this object, the key is the tag, the value is a list of host
@@ -16728,6 +16748,8 @@ components:
1672816748
$ref: '#/components/schemas/LogQueryDefinition'
1672916749
security_query:
1673016750
$ref: '#/components/schemas/LogQueryDefinition'
16751+
sort:
16752+
$ref: '#/components/schemas/WidgetSortBy'
1673116753
style:
1673216754
$ref: '#/components/schemas/WidgetRequestStyle'
1673316755
type: object
@@ -20939,6 +20961,24 @@ components:
2093920961
order:
2094020962
$ref: '#/components/schemas/QuerySortOrder'
2094120963
type: object
20964+
WidgetFormulaSort:
20965+
description: The formula to sort the widget by.
20966+
properties:
20967+
index:
20968+
description: The index of the formula to sort by.
20969+
example: 0
20970+
format: int64
20971+
minimum: 0
20972+
type: integer
20973+
order:
20974+
$ref: '#/components/schemas/WidgetSort'
20975+
type:
20976+
$ref: '#/components/schemas/FormulaType'
20977+
required:
20978+
- type
20979+
- index
20980+
- order
20981+
type: object
2094220982
WidgetFormulaStyle:
2094320983
description: Styling options for widget formulas.
2094420984
properties:
@@ -20953,6 +20993,22 @@ components:
2095320993
format: int64
2095420994
type: integer
2095520995
type: object
20996+
WidgetGroupSort:
20997+
description: The group to sort the widget by.
20998+
properties:
20999+
name:
21000+
description: The name of the group.
21001+
example: group_name
21002+
type: string
21003+
order:
21004+
$ref: '#/components/schemas/WidgetSort'
21005+
type:
21006+
$ref: '#/components/schemas/GroupType'
21007+
required:
21008+
- type
21009+
- name
21010+
- order
21011+
type: object
2095621012
WidgetGrouping:
2095721013
description: The kind of grouping to use.
2095821014
enum:
@@ -21328,6 +21384,25 @@ components:
2132821384
x-enum-varnames:
2132921385
- ASCENDING
2133021386
- DESCENDING
21387+
WidgetSortBy:
21388+
description: The controls for sorting the widget.
21389+
properties:
21390+
count:
21391+
description: The number of items to limit the widget to.
21392+
format: int64
21393+
minimum: 0
21394+
type: integer
21395+
order_by:
21396+
description: The array of items to sort the widget by in order.
21397+
items:
21398+
$ref: '#/components/schemas/WidgetSortOrderBy'
21399+
type: array
21400+
type: object
21401+
WidgetSortOrderBy:
21402+
description: The item to sort the widget by.
21403+
oneOf:
21404+
- $ref: '#/components/schemas/WidgetFormulaSort'
21405+
- $ref: '#/components/schemas/WidgetGroupSort'
2133121406
WidgetStyle:
2133221407
description: Widget style definition.
2133321408
properties:
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
2024-05-21T14:43:42.680Z

cassettes/features/v1/dashboards/Create-a-new-dashboard-with-a-toplist-widget-sorted-by-group.yml

Lines changed: 49 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
2022-01-06T00:50:33.370Z
1+
2024-05-15T20:07:40.997Z

cassettes/features/v1/dashboards/Create-a-new-dashboard-with-geomap-widget.yml

Lines changed: 11 additions & 6 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
2022-09-22T15:06:29.061Z
1+
2024-05-15T20:07:41.518Z

cassettes/features/v1/dashboards/Create-a-new-dashboard-with-logs-query-table-widget-and-storage-parameter.yml

Lines changed: 9 additions & 8 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
2022-01-06T00:50:38.157Z
1+
2024-05-15T20:07:41.983Z

0 commit comments

Comments
 (0)