v1
latestSwagger 2.02026-07-175445133.1 KBgit
Create pull request
Creates a pull request for a worktree branch
post/v1/git/worktrees/{id}/pr
Path parameters
idstring required
Worktree ID
Request body
Response
OK
Example response
{
"base_branch": "main",
"body": "This PR adds new functionality to the system",
"head_branch": "feature/new-feature",
"number": 123,
"repository": "owner/repo",
"title": "Feature: Add new functionality",
"url": "https://github.com/owner/repo/pull/123"
}