Skip to content

Commit 565f4c4

Browse files
committed
[Telemetry] Fetch snapshot: allow specifying the version via querystring
1 parent 323878e commit 565f4c4

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/plugins/telemetry/server/routes/telemetry_usage_stats.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,7 @@ export function registerTelemetryUsageStatsRoutes(
9292
.post({
9393
access: 'internal',
9494
path: FetchSnapshotTelemetry,
95+
enableQueryVersion: true, // Allow specifying the version through querystring so that we can use it in Dev Console
9596
})
9697
// Just because it used to be /v2/, we are creating identical v1 and v2.
9798
.addVersion({ version: '1', validate: v2Validations }, v2Handler)

0 commit comments

Comments
 (0)