Git Provider Connections
Open a pull request through one of your git connections
Changed onUses the token of a connection you own. The head branch must already exist, for example after committing to it. Another user's connection answers 404.
post/git-connections/{connection_id}/repositories/{owner}/{repo}/pull-requests
Request
- Base URL: /api (relative, and the document was published on a file host, not at the API’s origin)
- URL: /api/git-connections/{connection_id}/repositories/{owner}/{repo}/pull-requests
- Auth: HTTP bearer
Path parameters
connection_idinteger required
Connection ID
ownerstring required
Repository owner
repostring required
Repository name
Request body
Response
Pull request opened
Changes
- info
endpoint added
- info