title | string | The title of the new pull request. Required unless issue is given. |
head * | string | The name of the branch where your changes are implemented. For cross-repository pull requests, prefix with a username, e.g. username:branch. |
headRepo | string | The name of the repository where the changes in the pull request were made. Used for cross-repository pull requests from forks. |
base * | string | The name of the branch you want the changes pulled into. This should be an existing branch on the current repository. |
body | string | The contents of the pull request. |
maintainerCanModify | boolean | Indicates whether maintainers can modify the pull request. |
draft | boolean | Indicates whether the pull request is a draft. |
issue | integer | An issue number to convert into a pull request. Required unless title is given. The issue’s title, body and comments carry over. |