Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

feat(server): serve repos at /repos/{owner}/{repo} path routes#1323

Merged
jonnii merged 1 commit into
main from
jonnii/20260623120406/serve-repos-at-/repos/-owner-/-repo-path-routes
Jun 24, 2026
Merged

feat(server): serve repos at /repos/{owner}/{repo} path routes #1323
jonnii merged 1 commit into
main from
jonnii/20260623120406/serve-repos-at-/repos/-owner-/-repo-path-routes

Conversation

@jonnii

@jonnii jonnii commented Jun 23, 2026
edited
Loading

Copy link
Copy Markdown
Collaborator

🔒 This PR has been locked (consolidating). To unlock it, run st unlock.

Replace the {repoID} and unscoped API routes with GitHub-style
/api/v1/repos/{owner}/{repo}/... routes, resolved case-insensitively
through the registry's owner/repo index. Branch-diff moves from a
?branch= query to a /branch-diff/{name...} path segment: branch names
contain slashes and Go's mux requires a trailing wildcard to be the
final segment, so .../branches/{name}/diff is not expressible.

Rewrite the OpenAPI spec to the scoped shape (it had drifted to the old
unscoped paths) and document the submit, sync, and events routes. Drops
the legacy default-fallback resolution. The web client moves to these
routes in the next change.


Stack

💡 Notice: This PR is part of a stack merge into branch stack-merge-stack-1782266218.

Auto-generated by Stackit


Merged via consolidation into #1326 by jonnii

Replace the {repoID} and unscoped API routes with GitHub-style
/api/v1/repos/{owner}/{repo}/... routes, resolved case-insensitively
through the registry's owner/repo index. Branch-diff moves from a
?branch= query to a /branch-diff/{name...} path segment: branch names
contain slashes and Go's mux requires a trailing wildcard to be the
final segment, so .../branches/{name}/diff is not expressible.
Rewrite the OpenAPI spec to the scoped shape (it had drifted to the old
unscoped paths) and document the submit, sync, and events routes. Drops
the legacy default-fallback resolution. The web client moves to these
routes in the next change.
@jonnii jonnii changed the base branch from jonnii/20260623111304/index-repos-by-owner/repo-for-GitHub-style-routes to main June 24, 2026 01:46
@jonnii jonnii force-pushed the jonnii/20260623111304/index-repos-by-owner/repo-for-GitHub-style-routes branch 2 times, most recently from 6cd29de to 8e72099 Compare June 24, 2026 01:46
@jonnii jonnii changed the base branch from main to jonnii/20260623111304/index-repos-by-owner/repo-for-GitHub-style-routes June 24, 2026 01:46
@jonnii jonnii mentioned this pull request Jun 24, 2026
Base automatically changed from jonnii/20260623111304/index-repos-by-owner/repo-for-GitHub-style-routes to main June 24, 2026 02:00
@jonnii jonnii merged commit 33aa410 into main Jun 24, 2026
7 of 12 checks passed
@jonnii jonnii deleted the jonnii/20260623120406/serve-repos-at-/repos/-owner-/-repo-path-routes branch June 24, 2026 02:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

No reviews

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

1 participant

AltStyle によって変換されたページ (->オリジナル) /