Skip to content

feat: add regions endpoint for proxies feature #7277

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 5 commits into from
Apr 25, 2023
Merged

Conversation

deansheather
Copy link
Member

Adds /api/v2/regions which returns a list of regions that clients may use when connecting to workspaces.

In AGPL, this endpoint only returns the primary region. In enterprise, the route is overridden in the router and returns the primary region + any workspace proxies.

@Emyrk Emyrk merged commit a983416 into main Apr 25, 2023
@Emyrk Emyrk deleted the dean/proxy-regions-endpoint branch April 25, 2023 14:37
@github-actions github-actions bot locked and limited conversation to collaborators Apr 25, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants