{ "operationId": "pulls/merge", "method": "PUT", "path": "/repos/{owner}/{repo}/pulls/{pull_number}/merge", "summary": "APIs.io Engineering Platform Merge a pull request", "requestExamples": [ { "contentType": "application/json", "name": "response-if-merge-was-successful", "example": { "commit_title": "Expand enum", "commit_message": "Add a new value to the merge_method enum" } } ], "responseExamples": [ { "status": "405", "contentType": "application/json", "name": "response-if-merge-cannot-be-performed", "example": { "message": "Pull Request is not mergeable" } }, { "status": "409", "contentType": "application/json", "name": "response-if-sha-was-provided-and-pull-request-head-did-not-match", "example": { "message": "Head branch was modified. Review and try the merge again." } } ] }