mirror of
https://github.com/go-gitea/gitea.git
synced 2026-09-12 03:39:19 +02:00
added DeleteOrgRepos func
This commit is contained in:
@@ -440,3 +440,15 @@ type UpdateRepoAvatarOption struct {
|
||||
// image must be base64 encoded
|
||||
Image string `json:"image" binding:"Required"`
|
||||
}
|
||||
|
||||
type DeleteOrgReposResponse struct {
|
||||
SuccessCount int `json:"success_count"`
|
||||
FailureCount int `json:"failure_count"`
|
||||
Deleted []string `json:"deleted"`
|
||||
Failed []DeleteRepoFailure `json:"failed"`
|
||||
}
|
||||
|
||||
type DeleteRepoFailure struct {
|
||||
RepoName string `json:"repo_name"`
|
||||
Reason string `json:"reason"`
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user