Skip to content

Commit 93fae02

Browse files
api-clients-generation-pipeline[bot]ci.datadog-api-spec
andauthored
Add last_used_at to application keys and date_last_used to api keys responses (DataDog#2654)
Co-authored-by: ci.datadog-api-spec <[email protected]>
1 parent 0069c2d commit 93fae02

File tree

27 files changed

+325
-131
lines changed

27 files changed

+325
-131
lines changed

.generator/schemas/v2/openapi.yaml

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18761,6 +18761,13 @@ components:
1876118761
format: date-time
1876218762
readOnly: true
1876318763
type: string
18764+
date_last_used:
18765+
description: Date the API Key was last used
18766+
example: '2020-11-27T10:00:00.000Z'
18767+
format: date-time
18768+
nullable: true
18769+
readOnly: true
18770+
type: string
1876418771
key:
1876518772
description: The API key.
1876618773
readOnly: true
@@ -18819,6 +18826,13 @@ components:
1881918826
minLength: 4
1882018827
readOnly: true
1882118828
type: string
18829+
last_used_at:
18830+
description: Last usage timestamp of the application key.
18831+
example: '2020-12-20T10:00:00.000Z'
18832+
format: date-time
18833+
nullable: true
18834+
readOnly: true
18835+
type: string
1882218836
name:
1882318837
description: Name of the application key.
1882418838
example: Application Key for managing dashboards
@@ -34754,6 +34768,13 @@ components:
3475434768
example: '2020-11-23T10:00:00.000Z'
3475534769
readOnly: true
3475634770
type: string
34771+
date_last_used:
34772+
description: Date the API Key was last used.
34773+
example: '2020-11-27T10:00:00.000Z'
34774+
format: date-time
34775+
nullable: true
34776+
readOnly: true
34777+
type: string
3475734778
last4:
3475834779
description: The last four characters of the API key.
3475934780
example: abcd
@@ -34802,6 +34823,12 @@ components:
3480234823
minLength: 4
3480334824
readOnly: true
3480434825
type: string
34826+
last_used_at:
34827+
description: Last usage timestamp of the application key.
34828+
example: '2020-12-20T10:00:00.000Z'
34829+
nullable: true
34830+
readOnly: true
34831+
type: string
3480534832
name:
3480634833
description: Name of the application key.
3480734834
example: Application Key for managing dashboards
@@ -37778,6 +37805,7 @@ components:
3777837805
- type
3777937806
type: object
3778037807
RoleAttributes:
37808+
additionalProperties: {}
3778137809
description: Attributes of the role.
3778237810
properties:
3778337811
created_at:
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
2025-09-08T09:24:42.052Z

cassettes/features/v2/key_management/Get-API-key-returns-Not-Found-response.yml

Lines changed: 20 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-05-12T09:52:13.069Z
1+
2025-09-08T09:24:42.741Z

cassettes/features/v2/key_management/Get-API-key-returns-OK-response.yml

Lines changed: 13 additions & 9 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-05-12T09:52:14.640Z
1+
2025-09-08T09:24:43.356Z

cassettes/features/v2/key_management/Get-all-API-keys-returns-OK-response.yml

Lines changed: 13 additions & 9 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-
2023-10-16T13:23:16.735Z
1+
2025-09-08T09:24:46.730Z

cassettes/features/v2/key_management/Get-all-application-keys-owned-by-current-user-returns-OK-response.yml

Lines changed: 16 additions & 3 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-
2023-10-16T13:28:36.152Z
1+
2025-09-08T09:24:46.907Z

0 commit comments

Comments
 (0)