Check If Pull Request Is Merged
GET/api/v5/repos/:owner/:repo/pulls/:number/merge
Request
Path Parameters
owner stringrequired
Repository space address (organization or individual's address path)
repo stringrequired
Repository path (path)
number integerrequired
The ordinal number of the PR in this repository, i.e., which PR it is.
Example: 0
Query Parameters
access_token string
User authorization code
Responses
- 200
Successful Response
Response Headers
- application/json
- Schema
- Example (auto)
- Example
Schema
messagestring
{
"message": "string"
}
{
"message": "Pull Request has been merged"
}