Skip to content

Commit 15d456d

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

File tree

2 files changed

+19
-24
lines changed

2 files changed

+19
-24
lines changed

.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:

services/product_analytics/src/v2/ProductAnalyticsApi.ts

Lines changed: 9 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -408,16 +408,14 @@ export class ProductAnalyticsApi {
408408
"ProductAnalyticsApi.v2.submitProductAnalyticsEvent": [
409409
new ServerConfiguration<{
410410
site:
411-
| "datadoghq.com"
412-
| "us3.datadoghq.com"
413-
| "us5.datadoghq.com"
414-
| "ap1.datadoghq.com"
415-
| "ap2.datadoghq.com"
416-
| "datadoghq.eu";
417-
subdomain: string;
418-
}>("https://{subdomain}.{site}", {
419-
site: "datadoghq.com",
420-
subdomain: "browser-intake",
411+
| "browser-intake-datadoghq.com"
412+
| "browser-intake-us3-datadoghq.com"
413+
| "browser-intake-us5-datadoghq.com"
414+
| "browser-intake-ap1-datadoghq.com"
415+
| "browser-intake-ap2-datadoghq.com"
416+
| "browser-intake-datadoghq.eu";
417+
}>("https://{site}", {
418+
site: "browser-intake-datadoghq.com",
421419
}),
422420
new ServerConfiguration<{
423421
name: string;
@@ -431,7 +429,7 @@ export class ProductAnalyticsApi {
431429
subdomain: string;
432430
}>("https://{subdomain}.{site}", {
433431
site: "datadoghq.com",
434-
subdomain: "browser-intake",
432+
subdomain: "api",
435433
}),
436434
],
437435
};

0 commit comments

Comments
 (0)