Skip to content

Commit 61d449d

Browse files
api-clients-generation-pipeline[bot]ci.datadog-api-spec
andauthored
Add host field to Post an event V2 API (#33285)
Co-authored-by: ci.datadog-api-spec <[email protected]>
1 parent 278a4f5 commit 61d449d

File tree

3 files changed

+11
-1
lines changed

3 files changed

+11
-1
lines changed

content/en/api/v2/events/examples.json

Lines changed: 2 additions & 1 deletion
Large diffs are not rendered by default.

content/en/api/v2/events/request.CreateEvent.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@
4343
},
4444
"category": "change",
4545
"integration_id": "custom-events",
46+
"host": "test-host",
4647
"message": "payment_processed feature flag has been enabled",
4748
"tags": [
4849
"env:api_client_test"

data/api/v2/full_spec.yaml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20084,6 +20084,13 @@ components:
2008420084
$ref: '#/components/schemas/EventPayloadAttributes'
2008520085
category:
2008620086
$ref: '#/components/schemas/EventCategory'
20087+
host:
20088+
description: Host name to associate with the event. Any tags associated
20089+
with the host are also applied to this event. Limited to 255 characters.
20090+
example: hostname
20091+
maxLength: 255
20092+
minLength: 1
20093+
type: string
2008720094
integration_id:
2008820095
$ref: '#/components/schemas/EventPayloadIntegrationId'
2008920096
message:
@@ -68146,6 +68153,7 @@ paths:
6814668153
rule:
6814768154
datacenter: devcycle.us1.prod
6814868155
category: change
68156+
host: hostname
6814968157
integration_id: custom-events
6815068158
message: payment_processed feature flag has been enabled
6815168159
tags:

0 commit comments

Comments
 (0)