Skip to content

Commit 4a98971

Browse files
api-clients-generation-pipeline[bot]ci.datadog-api-spec
andauthored
Add events response fields message and status (#1237)
Co-authored-by: ci.datadog-api-spec <[email protected]>
1 parent bd5848d commit 4a98971

File tree

4 files changed

+27
-4
lines changed

4 files changed

+27
-4
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.5",
7-
"regenerated": "2023-07-13 19:35:35.496802",
8-
"spec_repo_commit": "b37fc521"
7+
"regenerated": "2023-07-13 20:37:06.082780",
8+
"spec_repo_commit": "efde263a"
99
},
1010
"v2": {
1111
"apigentools_version": "1.6.5",
12-
"regenerated": "2023-07-13 19:35:35.513504",
13-
"spec_repo_commit": "b37fc521"
12+
"regenerated": "2023-07-13 20:37:06.100361",
13+
"spec_repo_commit": "efde263a"
1414
}
1515
}
1616
}

.generator/schemas/v2/openapi.yaml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4443,6 +4443,9 @@ components:
44434443
properties:
44444444
attributes:
44454445
$ref: '#/components/schemas/EventAttributes'
4446+
message:
4447+
description: The message of the event.
4448+
type: string
44464449
tags:
44474450
description: An array of tags associated with the event.
44484451
example:
@@ -4693,6 +4696,10 @@ components:
46934696
description: The identifier of the request.
46944697
example: MWlFUjVaWGZTTTZPYzM0VXp1OXU2d3xLSVpEMjZKQ0VKUTI0dEYtM3RSOFVR
46954698
type: string
4699+
status:
4700+
description: The request status.
4701+
example: done
4702+
type: string
46964703
warnings:
46974704
description: 'A list of warnings (non-fatal errors) encountered. Partial
46984705
results might be returned if

packages/datadog-api-client-v2/models/EventResponseAttributes.ts

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,10 @@ export class EventResponseAttributes {
1515
* Object description of attributes from your event.
1616
*/
1717
"attributes"?: EventAttributes;
18+
/**
19+
* The message of the event.
20+
*/
21+
"message"?: string;
1822
/**
1923
* An array of tags associated with the event.
2024
*/
@@ -37,6 +41,10 @@ export class EventResponseAttributes {
3741
baseName: "attributes",
3842
type: "EventAttributes",
3943
},
44+
message: {
45+
baseName: "message",
46+
type: "string",
47+
},
4048
tags: {
4149
baseName: "tags",
4250
type: "Array<string>",

packages/datadog-api-client-v2/models/EventsResponseMetadata.ts

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,10 @@ export class EventsResponseMetadata {
2424
* The identifier of the request.
2525
*/
2626
"requestId"?: string;
27+
/**
28+
* The request status.
29+
*/
30+
"status"?: string;
2731
/**
2832
* A list of warnings (non-fatal errors) encountered. Partial results might be returned if
2933
* warnings are present in the response.
@@ -52,6 +56,10 @@ export class EventsResponseMetadata {
5256
baseName: "request_id",
5357
type: "string",
5458
},
59+
status: {
60+
baseName: "status",
61+
type: "string",
62+
},
5563
warnings: {
5664
baseName: "warnings",
5765
type: "Array<EventsWarning>",

0 commit comments

Comments
 (0)