Skip to content

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

Merged
Topherhindman merged 2 commits into
mainfrom
public-api-v0
Oct 12, 2026
Merged

Topherhindman merged 2 commits into
mainfrom
public-api-v0

Conversation

@Topherhindman

@Topherhindman Topherhindman commented Oct 9, 2026 •

Copy link
Copy Markdown
Contributor

Part of DEVX-779
Depends on livekit/public-api-server#64 (merged).

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@99b6dcd, Update module github.com/urfave/cli/v2 to v2.11.1 #64's merge commit on main. Every operation path moves from /v1/... to /v0/...; the proto packages stay v1. The tests' expected request paths (30 literals) and the DefaultBaseURL comment follow.
    • It also picks up what the agent store (livekit/public-api-server#43) added on the server: the databases and threads operations and types, the AgentThread token grant, and the agent task types. The protocol bump that came with it renames SimulationRunSampling to SimulationRunSamplingOptions; nothing hand-written reads it, so only oapi.gen.go changes.
  • Unchanged: sign-in uses version-free cloud-api paths.

Testing

  • go build ./..., go vet ./pkg/... ./cmd/lk/ and go test ./pkg/... ./cmd/lk/ pass.
  • Against public-api-server Update module github.com/urfave/cli/v2 to v2.11.1 #64 run locally with staging's config (2026-10-12): project list, session list and get, participant list, transcript, logs, traces, metrics, events and both recording types all succeed on /v0, with the same output as the deployed staging server, and /v1/... answers 404.

Before merge

  • public-api-server#64 is merged; this client gets 404s from beta-api until it deploys there.

@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/.... The proto packages behind it stay
v1. The tests' expected request paths and the base URL comment follow.

Also picks up what landed on the server with the agent store (#43):
the databases and threads operations and their types, the AgentThread
token grant, and the agent task types. One type is renamed with the
protocol bump that came with it: SimulationRunSampling is now
SimulationRunSamplingOptions. Nothing hand-written reads it, so only
oapi.gen.go changes.

Generated from livekit/public-api-server@99b6dcd
@Topherhindman
Topherhindman merged commit cf88ef9 into main Oct 12, 2026
26 checks passed
@Topherhindman
Topherhindman deleted the public-api-v0 branch October 12, 2026 17:25
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