vcs
Initialize VCS repository
Initialize a repository using the selected VCS provider in a markerless project's directory and refresh its location services. Omitting provider defaults to git; built-in git and hg providers support initialization. An unknown provider returns 400; a registered provider without init returns 501.
post/api/vcs/init
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/init
- Auth: none required
Query parameters
providerstring nullable
Response
<No Content>
Changes
No recorded changes to this operation across all 1 revision of this API.