Skip to content

Commit f94eb08

Browse files
api-clients-generation-pipeline[bot]ci.datadog-api-spec
andauthored
Fix broken browser-intake server URLs for product analytics (#3730)
Co-authored-by: ci.datadog-api-spec <packages@datadoghq.com>
1 parent a4646a7 commit f94eb08

2 files changed

Lines changed: 20 additions & 27 deletions

File tree

.generator/schemas/v2/openapi.yaml

Lines changed: 10 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -95571,21 +95571,18 @@ paths:
9557195571
security:
9557295572
- apiKeyAuth: []
9557395573
servers:
95574-
- url: https://{subdomain}.{site}
95574+
- url: https://{site}
9557595575
variables:
9557695576
site:
95577-
default: datadoghq.com
95578-
description: The regional site for customers.
95577+
default: browser-intake-datadoghq.com
95578+
description: The intake domain for the regional site.
9557995579
enum:
95580-
- datadoghq.com
95581-
- us3.datadoghq.com
95582-
- us5.datadoghq.com
95583-
- ap1.datadoghq.com
95584-
- ap2.datadoghq.com
95585-
- datadoghq.eu
95586-
subdomain:
95587-
default: browser-intake
95588-
description: The subdomain where the API is deployed.
95580+
- browser-intake-datadoghq.com
95581+
- browser-intake-us3-datadoghq.com
95582+
- browser-intake-us5-datadoghq.com
95583+
- browser-intake-ap1-datadoghq.com
95584+
- browser-intake-ap2-datadoghq.com
95585+
- browser-intake-datadoghq.eu
9558995586
- url: '{protocol}://{name}'
9559095587
variables:
9559195588
name:
@@ -95600,7 +95597,7 @@ paths:
9560095597
default: datadoghq.com
9560195598
description: Any Datadog deployment.
9560295599
subdomain:
95603-
default: browser-intake
95600+
default: api
9560495601
description: The subdomain where the API is deployed.
9560595602
summary: Send server-side events
9560695603
tags:

api/datadog/configuration.go

Lines changed: 10 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -601,25 +601,21 @@ func NewConfiguration() *Configuration {
601601
},
602602
"v2.ProductAnalyticsApi.SubmitProductAnalyticsEvent": {
603603
{
604-
URL: "https://{subdomain}.{site}",
604+
URL: "https://{site}",
605605
Description: "No description provided",
606606
Variables: map[string]ServerVariable{
607607
"site": {
608-
Description: "The regional site for customers.",
609-
DefaultValue: "datadoghq.com",
608+
Description: "The intake domain for the regional site.",
609+
DefaultValue: "browser-intake-datadoghq.com",
610610
EnumValues: []string{
611-
"datadoghq.com",
612-
"us3.datadoghq.com",
613-
"us5.datadoghq.com",
614-
"ap1.datadoghq.com",
615-
"ap2.datadoghq.com",
616-
"datadoghq.eu",
611+
"browser-intake-datadoghq.com",
612+
"browser-intake-us3-datadoghq.com",
613+
"browser-intake-us5-datadoghq.com",
614+
"browser-intake-ap1-datadoghq.com",
615+
"browser-intake-ap2-datadoghq.com",
616+
"browser-intake-datadoghq.eu",
617617
},
618618
},
619-
"subdomain": {
620-
Description: "The subdomain where the API is deployed.",
621-
DefaultValue: "browser-intake",
622-
},
623619
},
624620
},
625621
{
@@ -646,7 +642,7 @@ func NewConfiguration() *Configuration {
646642
},
647643
"subdomain": {
648644
Description: "The subdomain where the API is deployed.",
649-
DefaultValue: "browser-intake",
645+
DefaultValue: "api",
650646
},
651647
},
652648
},

0 commit comments

Comments
 (0)