Skip to content

Commit 73bdb1c

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

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:

lib/datadog_api_client/configuration.rb

Lines changed: 10 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -984,24 +984,20 @@ def operation_server_settings
984984
],
985985
"v2.submit_product_analytics_event": [
986986
{
987-
url: +"https://{subdomain}.{site}",
987+
url: +"https://{site}",
988988
description: "No description provided",
989989
variables: {
990990
site: {
991-
description: "The regional site for customers.",
992-
default_value: "datadoghq.com",
991+
description: "The intake domain for the regional site.",
992+
default_value: "browser-intake-datadoghq.com",
993993
enum_values: [
994-
"datadoghq.com",
995-
"us3.datadoghq.com",
996-
"us5.datadoghq.com",
997-
"ap1.datadoghq.com",
998-
"ap2.datadoghq.com",
999-
"datadoghq.eu"
994+
"browser-intake-datadoghq.com",
995+
"browser-intake-us3-datadoghq.com",
996+
"browser-intake-us5-datadoghq.com",
997+
"browser-intake-ap1-datadoghq.com",
998+
"browser-intake-ap2-datadoghq.com",
999+
"browser-intake-datadoghq.eu"
10001000
]
1001-
},
1002-
subdomain: {
1003-
description: "The subdomain where the API is deployed.",
1004-
default_value: "browser-intake",
10051001
}
10061002
}
10071003
},
@@ -1029,7 +1025,7 @@ def operation_server_settings
10291025
},
10301026
subdomain: {
10311027
description: "The subdomain where the API is deployed.",
1032-
default_value: "browser-intake",
1028+
default_value: "api",
10331029
}
10341030
}
10351031
}

0 commit comments

Comments
 (0)