Skip to content

feat(capture): update v1 endpoint path#60176

Merged
eli-r-ph merged 1 commit into
masterfrom
eli.r/capture-v1-analytics-path-reset
May 27, 2026
Merged

feat(capture): update v1 endpoint path#60176
eli-r-ph merged 1 commit into
masterfrom
eli.r/capture-v1-analytics-path-reset

Conversation

@eli-r-ph
Copy link
Copy Markdown
Contributor

@eli-r-ph eli-r-ph commented May 26, 2026

Problem

Since the capture v1 analytics endpoint path was decided, the team has ditched the "general" label. Let's update it before we ship.

Feedback welcome if you don't agree with the new naming scheme. If this ships, I'll make a corresponding update to the RFC and OpenAPI spec we'll be shipping with the v1 analytics endpoint release.

Changes

  • Update the capture v1 analytics endpoint path:
    • Current: /i/v1/general/events/
    • New: /i/v1/events/analytics/

☝️ this makes the new scheme /i/v<N>/<payload>/<scope>/ which makes more sense for near term (ai, replay) v1 migrations on the horizon, and if we adopt alternate capture products in the future (logs etc.)

How did you test this code?

👉 Stay up-to-date with PostHog coding conventions for a smoother review.

Publish to changelog?

Docs update

🤖 Agent context

@eli-r-ph eli-r-ph requested a review from a team May 26, 2026 23:14
@eli-r-ph eli-r-ph self-assigned this May 26, 2026
@greptile-apps
Copy link
Copy Markdown
Contributor

greptile-apps Bot commented May 26, 2026

Reviews (1): Last reviewed commit: "reset v1 capture analytics path since we..." | Re-trigger Greptile

Comment thread rust/capture/src/v1/analytics/constants.rs Outdated
@eli-r-ph eli-r-ph force-pushed the eli.r/capture-v1-analytics-path-reset branch from d2f0ecd to 0461dce Compare May 27, 2026 16:55
@eli-r-ph eli-r-ph enabled auto-merge (squash) May 27, 2026 17:00
@eli-r-ph eli-r-ph merged commit a2a5d87 into master May 27, 2026
169 checks passed
@eli-r-ph eli-r-ph deleted the eli.r/capture-v1-analytics-path-reset branch May 27, 2026 17:07
@deployment-status-posthog
Copy link
Copy Markdown

deployment-status-posthog Bot commented May 27, 2026

Deploy status

Environment Status Deployed At Workflow
dev ✅ Deployed 2026-05-27 17:51 UTC Run
prod-us ✅ Deployed 2026-05-27 18:06 UTC Run
prod-eu ✅ Deployed 2026-05-27 18:11 UTC Run

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants