v1

latestOpenAPI 3.0.32026-07-22115106141.4 KB
Repository Workspace Manipulation

Create draft commit

Create a draft commit from workspace changes, optionally with a review

post/repos/{repo_id}/workspaces/{workspace_id}/commit-draft

Request body

messagestring

Commit message for the draft

titlestring

Title for the review (defaults to message)

descriptionstring

Description for the review

reviewer_idsstring[]

User IDs of reviewers to assign

include_pathsstring[] nullable

Inclusion list of paths to include in the operation. If null, all paths will be included.

Response

Draft commit created successfully

review_idstring

Associated review ID if created