Skip to content

Commit 388391c

Browse files
api-clients-generation-pipeline[bot]ci.datadog-api-spec
andauthored
Rename embeddedQueries attribute to queries in app builder api (#2032)
Co-authored-by: ci.datadog-api-spec <[email protected]>
1 parent a7b898c commit 388391c

File tree

39 files changed

+264
-264
lines changed

39 files changed

+264
-264
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": "2025-02-03 17:18:17.745201",
8-
"spec_repo_commit": "b584742c"
7+
"regenerated": "2025-02-03 18:38:30.053082",
8+
"spec_repo_commit": "325cdedf"
99
},
1010
"v2": {
1111
"apigentools_version": "1.6.6",
12-
"regenerated": "2025-02-03 17:18:17.761761",
13-
"spec_repo_commit": "b584742c"
12+
"regenerated": "2025-02-03 18:38:30.068302",
13+
"spec_repo_commit": "325cdedf"
1414
}
1515
}
1616
}

.generator/schemas/v2/openapi.yaml

Lines changed: 22 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -7322,8 +7322,8 @@ components:
73227322
type: gridCell
73237323
type: grid
73247324
description: This is a simple example app
7325-
embeddedQueries: []
73267325
name: Example App
7326+
queries: []
73277327
rootInstanceName: grid0
73287328
type: appDefinitions
73297329
properties:
@@ -7351,15 +7351,15 @@ components:
73517351
description:
73527352
description: A human-readable description for the app.
73537353
type: string
7354-
embeddedQueries:
7354+
name:
7355+
description: The name of the app.
7356+
type: string
7357+
queries:
73557358
description: An array of queries, such as external actions and state variables,
73567359
that the app uses.
73577360
items:
73587361
$ref: '#/components/schemas/Query'
73597362
type: array
7360-
name:
7361-
description: The name of the app.
7362-
type: string
73637363
rootInstanceName:
73647364
description: The name of the root component of the app. This must be a `grid`
73657365
component that contains all other components.
@@ -12519,18 +12519,18 @@ components:
1251912519
description:
1252012520
description: A human-readable description for the app.
1252112521
type: string
12522-
embeddedQueries:
12523-
description: An array of queries, such as external actions and state variables,
12524-
that the app uses.
12525-
items:
12526-
$ref: '#/components/schemas/Query'
12527-
type: array
1252812522
favorite:
1252912523
description: Whether the app is marked as a favorite by the current user.
1253012524
type: boolean
1253112525
name:
1253212526
description: The name of the app.
1253312527
type: string
12528+
queries:
12529+
description: An array of queries, such as external actions and state variables,
12530+
that the app uses.
12531+
items:
12532+
$ref: '#/components/schemas/Query'
12533+
type: array
1253412534
rootInstanceName:
1253512535
description: The name of the root component of the app. This must be a `grid`
1253612536
component that contains all other components.
@@ -29742,8 +29742,8 @@ components:
2974229742
type: gridCell
2974329743
type: grid
2974429744
description: This is a simple example app
29745-
embeddedQueries: []
2974629745
name: Example App
29746+
queries: []
2974729747
rootInstanceName: grid0
2974829748
id: 9e20cbaf-68da-45a6-9ccf-54193ac29fa5
2974929749
type: appDefinitions
@@ -29782,16 +29782,16 @@ components:
2978229782
description:
2978329783
description: The new human-readable description for the app.
2978429784
type: string
29785-
embeddedQueries:
29785+
name:
29786+
description: The new name of the app.
29787+
type: string
29788+
queries:
2978629789
description: The new array of queries, such as external actions and state
2978729790
variables, that the app uses. If this field is set, all existing queries
2978829791
are replaced with the new queries under this field.
2978929792
items:
2979029793
$ref: '#/components/schemas/Query'
2979129794
type: array
29792-
name:
29793-
description: The new name of the app.
29794-
type: string
2979529795
rootInstanceName:
2979629796
description: The new name of the root component of the app. This must be
2979729797
a `grid` component that contains all other components.
@@ -29852,18 +29852,18 @@ components:
2985229852
description:
2985329853
description: The human-readable description for the app.
2985429854
type: string
29855-
embeddedQueries:
29856-
description: An array of queries, such as external actions and state variables,
29857-
that the app uses.
29858-
items:
29859-
$ref: '#/components/schemas/Query'
29860-
type: array
2986129855
favorite:
2986229856
description: Whether the app is marked as a favorite by the current user.
2986329857
type: boolean
2986429858
name:
2986529859
description: The name of the app.
2986629860
type: string
29861+
queries:
29862+
description: An array of queries, such as external actions and state variables,
29863+
that the app uses.
29864+
items:
29865+
$ref: '#/components/schemas/Query'
29866+
type: array
2986729867
rootInstanceName:
2986829868
description: The name of the root component of the app. This must be a `grid`
2986929869
component that contains all other components.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
"2025-01-09T20:40:37.253Z"
1+
"2025-01-30T22:30:41.653Z"

cassettes/v2/App-Builder_216136899/Create-App-returns-Bad-Request-response_2920792470/recording.har

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,11 @@
88
},
99
"entries": [
1010
{
11-
"_id": "cac8f72eb8c39caf9580ed4fa55c0d31",
11+
"_id": "318f4ef0caac5539a47681f4bbdc0114",
1212
"_order": 0,
1313
"cache": {},
1414
"request": {
15-
"bodySize": 139,
15+
"bodySize": 131,
1616
"cookies": [],
1717
"headers": [
1818
{
@@ -32,17 +32,17 @@
3232
"postData": {
3333
"mimeType": "application/json",
3434
"params": [],
35-
"text": "{\"data\":{\"attributes\":{\"description\":\"This is a bad example app\",\"embeddedQueries\":[],\"rootInstanceName\":\"grid0\"},\"type\":\"appDefinitions\"}}"
35+
"text": "{\"data\":{\"attributes\":{\"description\":\"This is a bad example app\",\"queries\":[],\"rootInstanceName\":\"grid0\"},\"type\":\"appDefinitions\"}}"
3636
},
3737
"queryString": [],
3838
"url": "https://api.datadoghq.com/api/v2/app-builder/apps"
3939
},
4040
"response": {
41-
"bodySize": 126,
41+
"bodySize": 92,
4242
"content": {
4343
"mimeType": "application/vnd.api+json",
44-
"size": 126,
45-
"text": "{\"errors\":[{\"title\":\"missing required field\",\"detail\":\"missing required field\",\"source\":{\"pointer\":\"/data/attributes/name\"}}]}"
44+
"size": 92,
45+
"text": "{\"errors\":[{\"title\":\"missing required field\",\"source\":{\"pointer\":\"/data/attributes/name\"}}]}"
4646
},
4747
"cookies": [],
4848
"headers": [
@@ -51,14 +51,14 @@
5151
"value": "application/vnd.api+json"
5252
}
5353
],
54-
"headersSize": 656,
54+
"headersSize": 655,
5555
"httpVersion": "HTTP/1.1",
5656
"redirectURL": "",
5757
"status": 400,
5858
"statusText": "Bad Request"
5959
},
60-
"startedDateTime": "2025-01-09T20:40:37.261Z",
61-
"time": 100
60+
"startedDateTime": "2025-01-30T22:30:41.660Z",
61+
"time": 98
6262
}
6363
],
6464
"pages": [],
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
"2025-01-09T20:40:37.369Z"
1+
"2025-01-30T22:30:41.765Z"

cassettes/v2/App-Builder_216136899/Create-App-returns-Created-response_3436835172/recording.har

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,11 @@
88
},
99
"entries": [
1010
{
11-
"_id": "3fbb37d77ebb0217970a83d7832dc015",
11+
"_id": "eb2804a5c50dd6f31122a88cc1a86a35",
1212
"_order": 0,
1313
"cache": {},
1414
"request": {
15-
"bodySize": 613,
15+
"bodySize": 605,
1616
"cookies": [],
1717
"headers": [
1818
{
@@ -32,7 +32,7 @@
3232
"postData": {
3333
"mimeType": "application/json",
3434
"params": [],
35-
"text": "{\"data\":{\"attributes\":{\"components\":[{\"events\":[],\"name\":\"grid0\",\"properties\":{\"children\":[{\"events\":[],\"name\":\"gridCell0\",\"properties\":{\"children\":[{\"events\":[],\"name\":\"calloutValue0\",\"properties\":{\"isLoading\":false,\"isUnpublishd\":false,\"isVisible\":true,\"label\":\"CPU Usage\",\"size\":\"sm\",\"style\":\"vivid_yellow\",\"unit\":\"kB\",\"value\":\"42\"},\"type\":\"calloutValue\"}],\"isVisible\":\"true\",\"layout\":{\"default\":{\"height\":8,\"width\":2,\"x\":0,\"y\":0}}},\"type\":\"gridCell\"}]},\"type\":\"grid\"}],\"description\":\"This is a simple example app\",\"embeddedQueries\":[],\"name\":\"Example App\",\"rootInstanceName\":\"grid0\"},\"type\":\"appDefinitions\"}}"
35+
"text": "{\"data\":{\"attributes\":{\"components\":[{\"events\":[],\"name\":\"grid0\",\"properties\":{\"children\":[{\"events\":[],\"name\":\"gridCell0\",\"properties\":{\"children\":[{\"events\":[],\"name\":\"calloutValue0\",\"properties\":{\"isLoading\":false,\"isUnpublishd\":false,\"isVisible\":true,\"label\":\"CPU Usage\",\"size\":\"sm\",\"style\":\"vivid_yellow\",\"unit\":\"kB\",\"value\":\"42\"},\"type\":\"calloutValue\"}],\"isVisible\":\"true\",\"layout\":{\"default\":{\"height\":8,\"width\":2,\"x\":0,\"y\":0}}},\"type\":\"gridCell\"}]},\"type\":\"grid\"}],\"description\":\"This is a simple example app\",\"name\":\"Example App\",\"queries\":[],\"rootInstanceName\":\"grid0\"},\"type\":\"appDefinitions\"}}"
3636
},
3737
"queryString": [],
3838
"url": "https://api.datadoghq.com/api/v2/app-builder/apps"
@@ -42,7 +42,7 @@
4242
"content": {
4343
"mimeType": "application/vnd.api+json",
4444
"size": 78,
45-
"text": "{\"data\":{\"id\":\"4cbecc90-b8a4-49c4-9608-1a880d9d3de5\",\"type\":\"appDefinitions\"}}"
45+
"text": "{\"data\":{\"id\":\"444afc7d-6572-42eb-b655-b8763ba2d032\",\"type\":\"appDefinitions\"}}"
4646
},
4747
"cookies": [],
4848
"headers": [
@@ -57,11 +57,11 @@
5757
"status": 201,
5858
"statusText": "Created"
5959
},
60-
"startedDateTime": "2025-01-09T20:40:37.371Z",
61-
"time": 173
60+
"startedDateTime": "2025-01-30T22:30:41.768Z",
61+
"time": 171
6262
},
6363
{
64-
"_id": "6f9946bfbb39c08b1efc7838471a32d0",
64+
"_id": "0234ea5ac365c4dd7545c2e9b9c58785",
6565
"_order": 0,
6666
"cache": {},
6767
"request": {
@@ -78,14 +78,14 @@
7878
"httpVersion": "HTTP/1.1",
7979
"method": "DELETE",
8080
"queryString": [],
81-
"url": "https://api.datadoghq.com/api/v2/app-builder/apps/4cbecc90-b8a4-49c4-9608-1a880d9d3de5"
81+
"url": "https://api.datadoghq.com/api/v2/app-builder/apps/444afc7d-6572-42eb-b655-b8763ba2d032"
8282
},
8383
"response": {
8484
"bodySize": 78,
8585
"content": {
8686
"mimeType": "application/vnd.api+json",
8787
"size": 78,
88-
"text": "{\"data\":{\"id\":\"4cbecc90-b8a4-49c4-9608-1a880d9d3de5\",\"type\":\"appDefinitions\"}}"
88+
"text": "{\"data\":{\"id\":\"444afc7d-6572-42eb-b655-b8763ba2d032\",\"type\":\"appDefinitions\"}}"
8989
},
9090
"cookies": [],
9191
"headers": [
@@ -100,8 +100,8 @@
100100
"status": 200,
101101
"statusText": "OK"
102102
},
103-
"startedDateTime": "2025-01-09T20:40:37.552Z",
104-
"time": 190
103+
"startedDateTime": "2025-01-30T22:30:41.945Z",
104+
"time": 247
105105
}
106106
],
107107
"pages": [],
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
"2025-01-09T20:40:37.755Z"
1+
"2025-01-30T22:30:42.199Z"

cassettes/v2/App-Builder_216136899/Delete-App-returns-Not-Found-response_2437545272/recording.har

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -28,11 +28,11 @@
2828
"url": "https://api.datadoghq.com/api/v2/app-builder/apps/7addb29b-f935-472c-ae79-d1963979a23e"
2929
},
3030
"response": {
31-
"bodySize": 63,
31+
"bodySize": 38,
3232
"content": {
3333
"mimeType": "application/vnd.api+json",
34-
"size": 63,
35-
"text": "{\"errors\":[{\"title\":\"app not found\",\"detail\":\"app not found\"}]}"
34+
"size": 38,
35+
"text": "{\"errors\":[{\"title\":\"app not found\"}]}"
3636
},
3737
"cookies": [],
3838
"headers": [
@@ -47,8 +47,8 @@
4747
"status": 404,
4848
"statusText": "Not Found"
4949
},
50-
"startedDateTime": "2025-01-09T20:40:37.758Z",
51-
"time": 87
50+
"startedDateTime": "2025-01-30T22:30:42.201Z",
51+
"time": 71
5252
}
5353
],
5454
"pages": [],
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
"2025-01-09T20:40:37.852Z"
1+
"2025-01-30T22:30:42.276Z"

0 commit comments

Comments
 (0)