Skip to content

Conversation

@alexluong
Copy link
Collaborator

@alexluong alexluong commented Jan 13, 2026

Adds /tenants prefix to all tenant-scoped routes

Changes

  • New canonical paths: /api/v1/tenants/:tenantID/*
  • Old paths (/api/v1/:tenantID/*) still work but return Deprecation and Link headers
  • Updated OpenAPI spec to reflect new paths

- Add deprecation middleware that sets Deprecation and Link headers
- Register tenant-scoped routes under both /tenants prefix (new) and root (deprecated)
- Old paths still work but return deprecation headers pointing to new paths
- Add integration tests for both path styles
Update all tenant-scoped API paths from /{tenant_id}/* to /tenants/{tenant_id}/*
@vercel
Copy link

vercel bot commented Jan 13, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Review Updated (UTC)
outpost-docs Ready Ready Preview, Comment Jan 13, 2026 1:35pm
outpost-website Ready Ready Preview, Comment Jan 13, 2026 1:35pm

Update all e2e test paths from /{tenant_id}/* to /tenants/{tenant_id}/*
to use the new canonical API paths.
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.

2 participants