mirror of
https://github.com/gitbucket/gitbucket.git
synced 2025-11-01 11:06:06 +01:00
fix comments
This commit is contained in:
@@ -61,13 +61,11 @@ trait ApiRepositoryBranchControllerBase extends ControllerBase {
|
||||
/*
|
||||
* 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
|
||||
*/
|
||||
|
||||
/*
|
||||
|
||||
@@ -15,12 +15,11 @@ trait ApiRepositoryCommitControllerBase extends ControllerBase {
|
||||
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 @@ trait ApiRepositoryCommitControllerBase extends ControllerBase {
|
||||
|
||||
/*
|
||||
* 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
|
||||
*/
|
||||
}
|
||||
|
||||
@@ -8,6 +8,7 @@ import gitbucket.core.util.{JGitUtil, ReferrerAuthenticator, WritableUsersAuthen
|
||||
|
||||
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
|
||||
|
||||
@@ -42,4 +42,5 @@ trait ApiUserControllerBase extends ControllerBase {
|
||||
* v. Get all users
|
||||
* https://developer.github.com/v3/users/#get-all-users
|
||||
*/
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user