Skip to content

Commit

Permalink
feat: .repos.listBranchesForHeadCommit()
Browse files Browse the repository at this point in the history
  • Loading branch information
gr2m committed Apr 14, 2019
1 parent 1b98f9c commit 473642d
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions plugins/rest-api-endpoints/routes.json
Original file line number Diff line number Diff line change
Expand Up @@ -8166,6 +8166,27 @@
},
"url": "/repos/:owner/:repo/branches"
},
"listBranchesForHeadCommit": {
"headers": {
"accept": "application/vnd.github.groot-preview+json"
},
"method": "GET",
"params": {
"commit_sha": {
"required": true,
"type": "string"
},
"owner": {
"required": true,
"type": "string"
},
"repo": {
"required": true,
"type": "string"
}
},
"url": "/repos/:owner/:repo/commits/:commit_sha/branches-where-head"
},
"listCollaborators": {
"method": "GET",
"params": {
Expand Down

0 comments on commit 473642d

Please sign in to comment.