Skip to content

Commit 35dbd3e

Browse files
author
ci.datadog-api-spec
committed
Regenerate client from commit 7030c6b of spec repo
1 parent d2ed137 commit 35dbd3e

File tree

26 files changed

+407
-130
lines changed

26 files changed

+407
-130
lines changed

.generator/schemas/v2/openapi.yaml

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17494,6 +17494,13 @@ components:
1749417494
format: date-time
1749517495
readOnly: true
1749617496
type: string
17497+
date_last_used:
17498+
description: Date the API Key was last used
17499+
example: '2020-11-27T10:00:00.000Z'
17500+
format: date-time
17501+
nullable: true
17502+
readOnly: true
17503+
type: string
1749717504
key:
1749817505
description: The API key.
1749917506
readOnly: true
@@ -17552,6 +17559,13 @@ components:
1755217559
minLength: 4
1755317560
readOnly: true
1755417561
type: string
17562+
last_used_at:
17563+
description: Last usage timestamp of the application key.
17564+
example: '2020-12-20T10:00:00.000Z'
17565+
format: date-time
17566+
nullable: true
17567+
readOnly: true
17568+
type: string
1755517569
name:
1755617570
description: Name of the application key.
1755717571
example: Application Key for managing dashboards
@@ -32736,6 +32750,13 @@ components:
3273632750
example: '2020-11-23T10:00:00.000Z'
3273732751
readOnly: true
3273832752
type: string
32753+
date_last_used:
32754+
description: Date the API Key was last used.
32755+
example: '2020-11-27T10:00:00.000Z'
32756+
format: date-time
32757+
nullable: true
32758+
readOnly: true
32759+
type: string
3273932760
last4:
3274032761
description: The last four characters of the API key.
3274132762
example: abcd
@@ -32784,6 +32805,12 @@ components:
3278432805
minLength: 4
3278532806
readOnly: true
3278632807
type: string
32808+
last_used_at:
32809+
description: Last usage timestamp of the application key.
32810+
example: '2020-12-20T10:00:00.000Z'
32811+
nullable: true
32812+
readOnly: true
32813+
type: string
3278732814
name:
3278832815
description: Name of the application key.
3278932816
example: Application Key for managing dashboards
@@ -35620,6 +35647,10 @@ components:
3562035647
format: date-time
3562135648
readOnly: true
3562235649
type: string
35650+
managed:
35651+
description: Whether or not the role is managed by Datadog.
35652+
readOnly: true
35653+
type: boolean
3562335654
modified_at:
3562435655
description: Time of last role modification.
3562535656
format: date-time
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
"2025-09-08T09:24:42.052Z"
Lines changed: 57 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,57 @@
1+
{
2+
"log": {
3+
"_recordingName": "Key Management/Get API key returns \"Not Found\" response",
4+
"creator": {
5+
"comment": "persister:fs",
6+
"name": "Polly.JS",
7+
"version": "6.0.5"
8+
},
9+
"entries": [
10+
{
11+
"_id": "c85c999d0f8d0fbd0c7621c5d5efb196",
12+
"_order": 0,
13+
"cache": {},
14+
"request": {
15+
"bodySize": 0,
16+
"cookies": [],
17+
"headers": [
18+
{
19+
"_fromType": "array",
20+
"name": "accept",
21+
"value": "application/json"
22+
}
23+
],
24+
"headersSize": 507,
25+
"httpVersion": "HTTP/1.1",
26+
"method": "GET",
27+
"queryString": [],
28+
"url": "https://api.datadoghq.com/api/v2/api_keys/invalidId"
29+
},
30+
"response": {
31+
"bodySize": 32,
32+
"content": {
33+
"mimeType": "application/json",
34+
"size": 32,
35+
"text": "{\"errors\":[\"API key not found\"]}"
36+
},
37+
"cookies": [],
38+
"headers": [
39+
{
40+
"name": "content-type",
41+
"value": "application/json"
42+
}
43+
],
44+
"headersSize": 547,
45+
"httpVersion": "HTTP/1.1",
46+
"redirectURL": "",
47+
"status": 404,
48+
"statusText": "Not Found"
49+
},
50+
"startedDateTime": "2025-09-08T09:24:42.505Z",
51+
"time": 216
52+
}
53+
],
54+
"pages": [],
55+
"version": "1.2"
56+
}
57+
}
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
"2022-05-12T09:52:13.069Z"
1+
"2025-09-08T09:24:42.741Z"

cassettes/v2/Key-Management_993906607/Get-API-key-returns-OK-response_3499868506/recording.har

Lines changed: 28 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
},
99
"entries": [
1010
{
11-
"_id": "6f3d7a030457569ca4ee999da1ddfddf",
11+
"_id": "4c538fa621a721b0773e2c1e5ffa63c0",
1212
"_order": 0,
1313
"cache": {},
1414
"request": {
@@ -32,17 +32,17 @@
3232
"postData": {
3333
"mimeType": "application/json",
3434
"params": [],
35-
"text": "{\"data\":{\"attributes\":{\"name\":\"Test-Get_API_key_returns_OK_response-1652349133\"},\"type\":\"api_keys\"}}"
35+
"text": "{\"data\":{\"attributes\":{\"name\":\"Test-Get_API_key_returns_OK_response-1757323482\"},\"type\":\"api_keys\"}}"
3636
},
3737
"queryString": [],
3838
"url": "https://api.datadoghq.com/api/v2/api_keys"
3939
},
4040
"response": {
41-
"bodySize": 515,
41+
"bodySize": 571,
4242
"content": {
4343
"mimeType": "application/json",
44-
"size": 515,
45-
"text": "{\"data\":{\"type\":\"api_keys\",\"attributes\":{\"created_at\":\"2022-05-12T09:52:13.583089+00:00\",\"key\":\"xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx\",\"last4\":\"xxxx\",\"modified_at\":\"2022-05-12T09:52:13.583089+00:00\",\"name\":\"Test-Get_API_key_returns_OK_response-1652349133\"},\"relationships\":{\"created_by\":{\"data\":{\"type\":\"users\",\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\"}},\"modified_by\":{\"data\":{\"type\":\"users\",\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\"}},\"leak_information\":{\"data\":null}},\"id\":\"d1029ab0-413b-467f-a2a6-1d49238fc386\"}}"
44+
"size": 571,
45+
"text": "{\"data\":{\"type\":\"api_keys\",\"attributes\":{\"created_at\":\"2025-09-08T09:24:42.999350+00:00\",\"key\":\"xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx\",\"last4\":\"xxxx\",\"modified_at\":\"2025-09-08T09:24:42.999350+00:00\",\"remote_config_read_enabled\":true,\"category\":\"default\",\"name\":\"Test-Get_API_key_returns_OK_response-1757323482\"},\"relationships\":{\"created_by\":{\"data\":{\"type\":\"users\",\"id\":\"9919ec9b-ebc7-49ee-8dc8-03626e717cca\"}},\"modified_by\":{\"data\":{\"type\":\"users\",\"id\":\"9919ec9b-ebc7-49ee-8dc8-03626e717cca\"}},\"leak_information\":{\"data\":null}},\"id\":\"9286a10e-fe08-48ba-9884-8e26e7e67695\"}}"
4646
},
4747
"cookies": [],
4848
"headers": [
@@ -51,17 +51,17 @@
5151
"value": "application/json"
5252
}
5353
],
54-
"headersSize": 636,
54+
"headersSize": 678,
5555
"httpVersion": "HTTP/1.1",
5656
"redirectURL": "",
5757
"status": 201,
5858
"statusText": "Created"
5959
},
60-
"startedDateTime": "2022-05-12T09:52:13.071Z",
61-
"time": 553
60+
"startedDateTime": "2025-09-08T09:24:42.805Z",
61+
"time": 236
6262
},
6363
{
64-
"_id": "998cf3fe3285996d751c28653ce4967b",
64+
"_id": "f333d2c9e1ee28495717ac6bc5459b3b",
6565
"_order": 0,
6666
"cache": {},
6767
"request": {
@@ -78,14 +78,14 @@
7878
"httpVersion": "HTTP/1.1",
7979
"method": "GET",
8080
"queryString": [],
81-
"url": "https://api.datadoghq.com/api/v2/api_keys/d1029ab0-413b-467f-a2a6-1d49238fc386"
81+
"url": "https://api.datadoghq.com/api/v2/api_keys/9286a10e-fe08-48ba-9884-8e26e7e67695"
8282
},
8383
"response": {
84-
"bodySize": 515,
84+
"bodySize": 770,
8585
"content": {
8686
"mimeType": "application/json",
87-
"size": 515,
88-
"text": "{\"data\":{\"type\":\"api_keys\",\"attributes\":{\"created_at\":\"2022-05-12T09:52:13.583089+00:00\",\"key\":\"xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx\",\"last4\":\"xxxx\",\"modified_at\":\"2022-05-12T09:52:13.583089+00:00\",\"name\":\"Test-Get_API_key_returns_OK_response-1652349133\"},\"relationships\":{\"created_by\":{\"data\":{\"type\":\"users\",\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\"}},\"modified_by\":{\"data\":{\"type\":\"users\",\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\"}},\"leak_information\":{\"data\":null}},\"id\":\"d1029ab0-413b-467f-a2a6-1d49238fc386\"}}"
87+
"size": 770,
88+
"text": "{\"data\":{\"type\":\"api_keys\",\"attributes\":{\"created_at\":\"2025-09-08T09:24:42.999351+00:00\",\"key\":\"xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx\",\"last4\":\"xxxx\",\"modified_at\":\"2025-09-08T09:24:42.999351+00:00\",\"remote_config_read_enabled\":true,\"category\":\"default\",\"name\":\"Test-Get_API_key_returns_OK_response-1757323482\",\"date_last_used\":null,\"used_in_last_24_hours\":false,\"last_used_date\":{\"timestamp\":null,\"description\":\"Timestamp of when this key was last used in the past ninety (90) days, null if no recent usage\"}},\"relationships\":{\"created_by\":{\"data\":{\"type\":\"users\",\"id\":\"9919ec9b-ebc7-49ee-8dc8-03626e717cca\"}},\"modified_by\":{\"data\":{\"type\":\"users\",\"id\":\"9919ec9b-ebc7-49ee-8dc8-03626e717cca\"}},\"leak_information\":{\"data\":null}},\"id\":\"9286a10e-fe08-48ba-9884-8e26e7e67695\"}}"
8989
},
9090
"cookies": [],
9191
"headers": [
@@ -94,17 +94,17 @@
9494
"value": "application/json"
9595
}
9696
],
97-
"headersSize": 636,
97+
"headersSize": 548,
9898
"httpVersion": "HTTP/1.1",
9999
"redirectURL": "",
100100
"status": 200,
101101
"statusText": "OK"
102102
},
103-
"startedDateTime": "2022-05-12T09:52:13.629Z",
104-
"time": 472
103+
"startedDateTime": "2025-09-08T09:24:43.054Z",
104+
"time": 122
105105
},
106106
{
107-
"_id": "0eb2070cfeb53e07f8199b8a51a2396a",
107+
"_id": "a5e173c71186c3f8ffccda73af1e89ad",
108108
"_order": 0,
109109
"cache": {},
110110
"request": {
@@ -121,24 +121,29 @@
121121
"httpVersion": "HTTP/1.1",
122122
"method": "DELETE",
123123
"queryString": [],
124-
"url": "https://api.datadoghq.com/api/v2/api_keys/d1029ab0-413b-467f-a2a6-1d49238fc386"
124+
"url": "https://api.datadoghq.com/api/v2/api_keys/9286a10e-fe08-48ba-9884-8e26e7e67695"
125125
},
126126
"response": {
127127
"bodySize": 0,
128128
"content": {
129-
"mimeType": "text/plain",
129+
"mimeType": "text/html; charset=utf-8",
130130
"size": 0
131131
},
132132
"cookies": [],
133-
"headers": [],
134-
"headersSize": 583,
133+
"headers": [
134+
{
135+
"name": "content-type",
136+
"value": "text/html; charset=utf-8"
137+
}
138+
],
139+
"headersSize": 665,
135140
"httpVersion": "HTTP/1.1",
136141
"redirectURL": "",
137142
"status": 204,
138143
"statusText": "No Content"
139144
},
140-
"startedDateTime": "2022-05-12T09:52:14.105Z",
141-
"time": 530
145+
"startedDateTime": "2025-09-08T09:24:43.183Z",
146+
"time": 167
142147
}
143148
],
144149
"pages": [],
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
"2022-05-12T09:52:14.640Z"
1+
"2025-09-08T09:24:43.356Z"

cassettes/v2/Key-Management_993906607/Get-all-API-keys-returns-OK-response_2194127406/recording.har

Lines changed: 29 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
},
99
"entries": [
1010
{
11-
"_id": "aea22a34e7073acda78ff4c8ddcdcebb",
11+
"_id": "90083ac7ca8ccec603305ffe8fecdf57",
1212
"_order": 0,
1313
"cache": {},
1414
"request": {
@@ -32,17 +32,17 @@
3232
"postData": {
3333
"mimeType": "application/json",
3434
"params": [],
35-
"text": "{\"data\":{\"attributes\":{\"name\":\"Test-Get_all_API_keys_returns_OK_response-1652349134\"},\"type\":\"api_keys\"}}"
35+
"text": "{\"data\":{\"attributes\":{\"name\":\"Test-Get_all_API_keys_returns_OK_response-1757323483\"},\"type\":\"api_keys\"}}"
3636
},
3737
"queryString": [],
3838
"url": "https://api.datadoghq.com/api/v2/api_keys"
3939
},
4040
"response": {
41-
"bodySize": 520,
41+
"bodySize": 576,
4242
"content": {
4343
"mimeType": "application/json",
44-
"size": 520,
45-
"text": "{\"data\":{\"type\":\"api_keys\",\"attributes\":{\"created_at\":\"2022-05-12T09:52:15.135884+00:00\",\"key\":\"xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx\",\"last4\":\"xxxx\",\"modified_at\":\"2022-05-12T09:52:15.135884+00:00\",\"name\":\"Test-Get_all_API_keys_returns_OK_response-1652349134\"},\"relationships\":{\"created_by\":{\"data\":{\"type\":\"users\",\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\"}},\"modified_by\":{\"data\":{\"type\":\"users\",\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\"}},\"leak_information\":{\"data\":null}},\"id\":\"32c723fd-9e78-4b1a-a1dd-fab7fe34e8e8\"}}"
44+
"size": 576,
45+
"text": "{\"data\":{\"type\":\"api_keys\",\"attributes\":{\"created_at\":\"2025-09-08T09:24:43.558793+00:00\",\"key\":\"xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx\",\"last4\":\"xxxx\",\"modified_at\":\"2025-09-08T09:24:43.558793+00:00\",\"remote_config_read_enabled\":true,\"category\":\"default\",\"name\":\"Test-Get_all_API_keys_returns_OK_response-1757323483\"},\"relationships\":{\"created_by\":{\"data\":{\"type\":\"users\",\"id\":\"9919ec9b-ebc7-49ee-8dc8-03626e717cca\"}},\"modified_by\":{\"data\":{\"type\":\"users\",\"id\":\"9919ec9b-ebc7-49ee-8dc8-03626e717cca\"}},\"leak_information\":{\"data\":null}},\"id\":\"84dbd164-f3f5-4f30-ac93-e12b27adeada\"}}"
4646
},
4747
"cookies": [],
4848
"headers": [
@@ -51,17 +51,17 @@
5151
"value": "application/json"
5252
}
5353
],
54-
"headersSize": 636,
54+
"headersSize": 678,
5555
"httpVersion": "HTTP/1.1",
5656
"redirectURL": "",
5757
"status": 201,
5858
"statusText": "Created"
5959
},
60-
"startedDateTime": "2022-05-12T09:52:14.642Z",
61-
"time": 597
60+
"startedDateTime": "2025-09-08T09:24:43.358Z",
61+
"time": 254
6262
},
6363
{
64-
"_id": "ddb71a9fe008a33ece177728a1852f5c",
64+
"_id": "86e00eff1948a650c00d313d3d7adb65",
6565
"_order": 0,
6666
"cache": {},
6767
"request": {
@@ -80,17 +80,17 @@
8080
"queryString": [
8181
{
8282
"name": "filter",
83-
"value": "Test-Get_all_API_keys_returns_OK_response-1652349134"
83+
"value": "Test-Get_all_API_keys_returns_OK_response-1757323483"
8484
}
8585
],
86-
"url": "https://api.datadoghq.com/api/v2/api_keys?filter=Test-Get_all_API_keys_returns_OK_response-1652349134"
86+
"url": "https://api.datadoghq.com/api/v2/api_keys?filter=Test-Get_all_API_keys_returns_OK_response-1757323483"
8787
},
8888
"response": {
89-
"bodySize": 542,
89+
"bodySize": 797,
9090
"content": {
9191
"mimeType": "application/json",
92-
"size": 542,
93-
"text": "{\"meta\":{\"max_allowed\":200,\"page\":{\"total_filtered_count\":1}},\"data\":[{\"type\":\"api_keys\",\"attributes\":{\"created_at\":\"2022-05-12T09:52:15.135884+00:00\",\"last4\":\"xxxx\",\"modified_at\":\"2022-05-12T09:52:15.135884+00:00\",\"name\":\"Test-Get_all_API_keys_returns_OK_response-1652349134\"},\"relationships\":{\"created_by\":{\"data\":{\"type\":\"users\",\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\"}},\"modified_by\":{\"data\":{\"type\":\"users\",\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\"}},\"leak_information\":{\"data\":null}},\"id\":\"32c723fd-9e78-4b1a-a1dd-fab7fe34e8e8\"}]}"
92+
"size": 797,
93+
"text": "{\"data\":[{\"type\":\"api_keys\",\"attributes\":{\"created_at\":\"2025-09-08T09:24:43.558793+00:00\",\"last4\":\"xxxx\",\"modified_at\":\"2025-09-08T09:24:43.558793+00:00\",\"remote_config_read_enabled\":true,\"category\":\"default\",\"name\":\"Test-Get_all_API_keys_returns_OK_response-1757323483\",\"date_last_used\":null,\"used_in_last_24_hours\":false,\"last_used_date\":{\"timestamp\":null,\"description\":\"Timestamp of when this key was last used in the past ninety (90) days, null if no recent usage\"}},\"relationships\":{\"created_by\":{\"data\":{\"type\":\"users\",\"id\":\"9919ec9b-ebc7-49ee-8dc8-03626e717cca\"}},\"modified_by\":{\"data\":{\"type\":\"users\",\"id\":\"9919ec9b-ebc7-49ee-8dc8-03626e717cca\"}},\"leak_information\":{\"data\":null}},\"id\":\"84dbd164-f3f5-4f30-ac93-e12b27adeada\"}],\"meta\":{\"page\":{\"total_filtered_count\":1},\"max_allowed\":200}}"
9494
},
9595
"cookies": [],
9696
"headers": [
@@ -99,17 +99,17 @@
9999
"value": "application/json"
100100
}
101101
],
102-
"headersSize": 636,
102+
"headersSize": 548,
103103
"httpVersion": "HTTP/1.1",
104104
"redirectURL": "",
105105
"status": 200,
106106
"statusText": "OK"
107107
},
108-
"startedDateTime": "2022-05-12T09:52:15.243Z",
109-
"time": 1723
108+
"startedDateTime": "2025-09-08T09:24:43.620Z",
109+
"time": 2911
110110
},
111111
{
112-
"_id": "a17c59b0f2327e9cc2fd7645fd473958",
112+
"_id": "11bc9eeda00688ea722ff8f540af646e",
113113
"_order": 0,
114114
"cache": {},
115115
"request": {
@@ -126,24 +126,29 @@
126126
"httpVersion": "HTTP/1.1",
127127
"method": "DELETE",
128128
"queryString": [],
129-
"url": "https://api.datadoghq.com/api/v2/api_keys/32c723fd-9e78-4b1a-a1dd-fab7fe34e8e8"
129+
"url": "https://api.datadoghq.com/api/v2/api_keys/84dbd164-f3f5-4f30-ac93-e12b27adeada"
130130
},
131131
"response": {
132132
"bodySize": 0,
133133
"content": {
134-
"mimeType": "text/plain",
134+
"mimeType": "text/html; charset=utf-8",
135135
"size": 0
136136
},
137137
"cookies": [],
138-
"headers": [],
139-
"headersSize": 583,
138+
"headers": [
139+
{
140+
"name": "content-type",
141+
"value": "text/html; charset=utf-8"
142+
}
143+
],
144+
"headersSize": 665,
140145
"httpVersion": "HTTP/1.1",
141146
"redirectURL": "",
142147
"status": 204,
143148
"statusText": "No Content"
144149
},
145-
"startedDateTime": "2022-05-12T09:52:16.969Z",
146-
"time": 559
150+
"startedDateTime": "2025-09-08T09:24:46.536Z",
151+
"time": 186
147152
}
148153
],
149154
"pages": [],
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
"2023-10-16T13:23:16.735Z"
1+
"2025-09-08T09:24:46.730Z"

0 commit comments

Comments
 (0)