vcs
VCS diff
Changed onDiff HEAD to the working copy (working), the base merge-base to the working copy (branch), or the base merge-base to HEAD (committed). Omitting base preserves repository-default comparison; supplying it overrides the comparison without saving it.
get/api/vcs/diff
Request
- Base URLhttps://opencode.ai (the document declares no server; this is the origin it was published from)
- URLhttps://opencode.ai/api/vcs/diff
- Authnone required
Query parameters
mode'working' | 'branch' | 'committed' required
basestring
contextstring nullable
untracked'files' | 'folders'
Response
Success
Changes
- info
added the new optional
queryrequest parameteruntracked - info
added the optional property
//to the response with the status
- info