Skip to content

Commit

Permalink
feat: :commit_sha parameter for .git.getCommit(). Deprecates :sha
Browse files Browse the repository at this point in the history
  • Loading branch information
gr2m committed Apr 14, 2019
1 parent b081cd1 commit 1b98f9c
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions plugins/rest-api-endpoints/routes.json
Original file line number Diff line number Diff line change
Expand Up @@ -7570,6 +7570,10 @@
"getCommit": {
"method": "GET",
"params": {
"commit_sha": {
"required": true,
"type": "string"
},
"owner": {
"required": true,
"type": "string"
Expand All @@ -7579,11 +7583,12 @@
"type": "string"
},
"sha": {
"required": true,
"alias": "commit_sha",
"deprecated": true,
"type": "string"
}
},
"url": "/repos/:owner/:repo/commits/:sha"
"url": "/repos/:owner/:repo/commits/:commit_sha"
},
"getCommitActivityStats": {
"method": "GET",
Expand Down

0 comments on commit 1b98f9c

Please sign in to comment.