vcs

VCS review base

Infer a local review base from named branch creation history, or the repository default only when currently on that branch. Returns null before the first commit or when the provider lacks base metadata; ambiguous Git history requires an explicit base on diff requests.

get/api/vcs/base

Request

  • Base URL
    https://opencode.ai (the document declares no server; this is the origin it was published from)
  • URL
    https://opencode.ai/api/vcs/base
  • Auth
    none required

Query parameters

directorystring nullable

Response

Success

Changes

No operation changes recorded.