Skip to content

feat(public)!: call the Public API at /v0 - #1027

Open
Topherhindman wants to merge 2 commits into
mainfrom
public-api-v0
Open

Topherhindman wants to merge 2 commits into
mainfrom
public-api-v0

Conversation

@Topherhindman

@Topherhindman Topherhindman commented Oct 9, 2026 •

Copy link
Copy Markdown
Contributor

Part of DEVX-779
Stacked on #1024. Depends on livekit/public-api-server#64.

public-api-server now serves its REST API under /v0, the pre-GA version, and its spec at /v0/openapi. /v1 is reserved for the frozen GA release. This moves lk's generated client to /v0.

What changed

  • Generator (fix(public)): generate.sh fetches <base>/v0/openapi, and the gen.go doc follows.
  • Client (chore(public)): regenerated from livekit/public-api-server@db432d1. Every operation path moves from /v1/... to /v0/..., and that's the only change to oapi.gen.go. The proto packages stay v1, so no generated type names change. The tests' expected request paths (30 literals) and the DefaultBaseURL comment follow.
  • Unchanged: sign-in uses version-free cloud-api paths.

Testing

go build ./..., go vet ./pkg/... ./cmd/lk/ and go test ./pkg/... ./cmd/lk/ pass.

Before merge

  • Merge with or after livekit/public-api-server#64. Until it deploys, this client gets 404s from beta-api.
  • The client is generated from Update module github.com/urfave/cli/v2 to v2.11.1 #64's branch. Regenerate from its main commit after it merges, so the "Generated from" line names a main commit.

@Topherhindman
Topherhindman marked this pull request as ready for review October 10, 2026 00:15
@Topherhindman
Topherhindman force-pushed the devx-800-cli-participant-sessions-events branch 7 times, most recently from e200807 to 0a431da Compare October 10, 2026 05:03
Base automatically changed from devx-800-cli-participant-sessions-events to main October 10, 2026 05:15
public-api-server now serves its REST API under /v0 (the pre-GA version) and the spec at /v0/openapi; /v1 is reserved for the frozen release.
Picks up public-api-server serving its REST API under /v0 instead of /v1:
every operation path moves to /v0/..., and that is the only change to
oapi.gen.go. The proto packages behind it stay v1, so no generated type
names change. The tests' expected request paths and the base URL comment
follow.

Generated from livekit/public-api-server@db432d1
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