diff --git a/src/main/scala/gitbucket/core/controller/api/ApiRepositoryBranchControllerBase.scala b/src/main/scala/gitbucket/core/controller/api/ApiRepositoryBranchControllerBase.scala index 72088fc..fa2d59a 100644 --- a/src/main/scala/gitbucket/core/controller/api/ApiRepositoryBranchControllerBase.scala +++ b/src/main/scala/gitbucket/core/controller/api/ApiRepositoryBranchControllerBase.scala @@ -61,13 +61,11 @@ /* * iii. Get branch protection * https://developer.github.com/v3/repos/branches/#get-branch-protection - * Not Implemented. */ /* * iv. Update branch protection * https://developer.github.com/v3/repos/branches/#update-branch-protection - * Not implemented */ /* diff --git a/src/main/scala/gitbucket/core/controller/api/ApiRepositoryCommitControllerBase.scala b/src/main/scala/gitbucket/core/controller/api/ApiRepositoryCommitControllerBase.scala index ba22eaf..5455f9c 100644 --- a/src/main/scala/gitbucket/core/controller/api/ApiRepositoryCommitControllerBase.scala +++ b/src/main/scala/gitbucket/core/controller/api/ApiRepositoryCommitControllerBase.scala @@ -15,12 +15,11 @@ self: AccountService with CommitsService with ReferrerAuthenticator => /* * i. List commits on a repository + * https://developer.github.com/v3/repos/commits/#list-commits-on-a-repository */ /* * ii. Get a single commit - */ - /** * https://developer.github.com/v3/repos/commits/#get-a-single-commit */ get("/api/v3/repos/:owner/:repository/commits/:sha")(referrersOnly { repository => @@ -71,13 +70,16 @@ /* * iii. Get the SHA-1 of a commit reference + * https://developer.github.com/v3/repos/commits/#get-the-sha-1-of-a-commit-reference */ /* * iv. Compare two commits + * https://developer.github.com/v3/repos/commits/#compare-two-commits */ /* * v. Commit signature verification + * https://developer.github.com/v3/repos/commits/#commit-signature-verification */ } diff --git a/src/main/scala/gitbucket/core/controller/api/ApiRepositoryStatusControllerBase.scala b/src/main/scala/gitbucket/core/controller/api/ApiRepositoryStatusControllerBase.scala index b13b89d..787acda 100644 --- a/src/main/scala/gitbucket/core/controller/api/ApiRepositoryStatusControllerBase.scala +++ b/src/main/scala/gitbucket/core/controller/api/ApiRepositoryStatusControllerBase.scala @@ -8,6 +8,7 @@ trait ApiRepositoryStatusControllerBase extends ControllerBase { self: AccountService with CommitStatusService with ReferrerAuthenticator with WritableUsersAuthenticator => + /* * i. Create a status * https://developer.github.com/v3/repos/statuses/#create-a-status diff --git a/src/main/scala/gitbucket/core/controller/api/ApiUserControllerBase.scala b/src/main/scala/gitbucket/core/controller/api/ApiUserControllerBase.scala index 851141d..7c596fd 100644 --- a/src/main/scala/gitbucket/core/controller/api/ApiUserControllerBase.scala +++ b/src/main/scala/gitbucket/core/controller/api/ApiUserControllerBase.scala @@ -42,4 +42,5 @@ * v. Get all users * https://developer.github.com/v3/users/#get-all-users */ + }