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 URLhttps://opencode.ai (the document declares no server; this is the origin it was published from)
- URLhttps://opencode.ai/api/vcs/init
- Authnone required
Query parameters
providerstring nullable
Response
<No Content>
Changes
No operation changes recorded.