v1

latestOpenAPI 3.1.0raw.githubusercontent.com2026-06-0318386446.4 KB

Create Repository Pull Request

Create pull request in repo repository

post/api/v2/repos/{username}/{repo_name}/pulls

Path parameters

usernamestring required
repo_namestring required

Headers

authorizationstring nullable

Cookies

modaic_sessionstring nullable

Request body

titlestring required
headstring required
basestring required
bodystring nullable
assigneestring nullable
assigneesstring[] nullable
reviewersstring[] nullable
team_reviewersstring[] nullable
milestoneinteger nullable
labelsstring[] nullable

Response

Successful Response

{"stackTrail":"paths:/api/v2/repos/{username}/{repo_name}/pulls:post:responses:200:content:application/json:schema","oasType":"schema","type":"unknown"}