diff --git a/routers/api/v1/admin/adopt.go b/routers/api/v1/admin/adopt.go index c2efed7490..52fe384413 100644 --- a/routers/api/v1/admin/adopt.go +++ b/routers/api/v1/admin/adopt.go @@ -65,7 +65,7 @@ func AdoptRepository(ctx *context.APIContext) { // parameters: // - name: owner // in: path - // description: owner of the repo + // description: username of the user or organization owning the repository // type: string // required: true // - name: repo @@ -129,7 +129,7 @@ func DeleteUnadoptedRepository(ctx *context.APIContext) { // parameters: // - name: owner // in: path - // description: owner of the repo + // description: username of the user or organization owning the repository // type: string // required: true // - name: repo diff --git a/routers/api/v1/misc/signing.go b/routers/api/v1/misc/signing.go index db70e04b8f..dd0d3ccc5f 100644 --- a/routers/api/v1/misc/signing.go +++ b/routers/api/v1/misc/signing.go @@ -52,7 +52,7 @@ func SigningKeyGPG(ctx *context.APIContext) { // parameters: // - name: owner // in: path - // description: owner of the repo + // description: username of the user or organization owning the repository // type: string // required: true // - name: repo @@ -89,7 +89,7 @@ func SigningKeySSH(ctx *context.APIContext) { // parameters: // - name: owner // in: path - // description: owner of the repo + // description: username of the user or organization owning the repository // type: string // required: true // - name: repo diff --git a/routers/api/v1/notify/repo.go b/routers/api/v1/notify/repo.go index e87054e26c..0a8b9d62ee 100644 --- a/routers/api/v1/notify/repo.go +++ b/routers/api/v1/notify/repo.go @@ -54,7 +54,7 @@ func ListRepoNotifications(ctx *context.APIContext) { // parameters: // - name: owner // in: path - // description: owner of the repo + // description: username of the user or organization owning the repository // type: string // required: true // - name: repo @@ -142,7 +142,7 @@ func ReadRepoNotifications(ctx *context.APIContext) { // parameters: // - name: owner // in: path - // description: owner of the repo + // description: username of the user or organization owning the repository // type: string // required: true // - name: repo diff --git a/routers/api/v1/packages/package.go b/routers/api/v1/packages/package.go index 41b7f2a43f..5e981f8255 100644 --- a/routers/api/v1/packages/package.go +++ b/routers/api/v1/packages/package.go @@ -28,7 +28,7 @@ func ListPackages(ctx *context.APIContext) { // parameters: // - name: owner // in: path - // description: owner of the packages + // description: username of the user or organization owning the packages // type: string // required: true // - name: page @@ -83,7 +83,7 @@ func GetPackage(ctx *context.APIContext) { // parameters: // - name: owner // in: path - // description: owner of the package + // description: username of the user or organization owning the package // type: string // required: true // - name: type @@ -124,7 +124,7 @@ func DeletePackage(ctx *context.APIContext) { // parameters: // - name: owner // in: path - // description: owner of the package + // description: username of the user or organization owning the package // type: string // required: true // - name: type @@ -166,7 +166,7 @@ func ListPackageFiles(ctx *context.APIContext) { // parameters: // - name: owner // in: path - // description: owner of the package + // description: username of the user or organization owning the package // type: string // required: true // - name: type @@ -208,7 +208,7 @@ func ListPackageVersions(ctx *context.APIContext) { // parameters: // - name: owner // in: path - // description: owner of the package + // description: username of the user or organization owning the package // type: string // required: true // - name: type @@ -264,7 +264,7 @@ func GetLatestPackageVersion(ctx *context.APIContext) { // parameters: // - name: owner // in: path - // description: owner of the package + // description: username of the user or organization owning the package // type: string // required: true // - name: type @@ -321,7 +321,7 @@ func LinkPackage(ctx *context.APIContext) { // parameters: // - name: owner // in: path - // description: owner of the package + // description: username of the user or organization owning the package // type: string // required: true // - name: type @@ -388,7 +388,7 @@ func UnlinkPackage(ctx *context.APIContext) { // parameters: // - name: owner // in: path - // description: owner of the package + // description: username of the user or organization owning the package // type: string // required: true // - name: type diff --git a/routers/api/v1/repo/action.go b/routers/api/v1/repo/action.go index a57db015f0..9a61e5d38d 100644 --- a/routers/api/v1/repo/action.go +++ b/routers/api/v1/repo/action.go @@ -46,7 +46,7 @@ func (Action) ListActionsSecrets(ctx *context.APIContext) { // parameters: // - name: owner // in: path - // description: owner of the repository + // description: username of the user or organization owning the repository // type: string // required: true // - name: repo @@ -106,7 +106,7 @@ func (Action) CreateOrUpdateSecret(ctx *context.APIContext) { // parameters: // - name: owner // in: path - // description: owner of the repository + // description: username of the user or organization owning the repository // type: string // required: true // - name: repo @@ -168,7 +168,7 @@ func (Action) DeleteSecret(ctx *context.APIContext) { // parameters: // - name: owner // in: path - // description: owner of the repository + // description: username of the user or organization owning the repository // type: string // required: true // - name: repo @@ -216,7 +216,7 @@ func (Action) GetVariable(ctx *context.APIContext) { // parameters: // - name: owner // in: path - // description: name of the owner + // description: username of the user or organization owning the repository // type: string // required: true // - name: repo @@ -270,7 +270,7 @@ func (Action) DeleteVariable(ctx *context.APIContext) { // parameters: // - name: owner // in: path - // description: name of the owner + // description: username of the user or organization owning the repository // type: string // required: true // - name: repo @@ -319,7 +319,7 @@ func (Action) CreateVariable(ctx *context.APIContext) { // parameters: // - name: owner // in: path - // description: name of the owner + // description: username of the user or organization owning the repository // type: string // required: true // - name: repo @@ -386,7 +386,7 @@ func (Action) UpdateVariable(ctx *context.APIContext) { // parameters: // - name: owner // in: path - // description: name of the owner + // description: username of the user or organization owning the repository // type: string // required: true // - name: repo @@ -458,7 +458,7 @@ func (Action) ListVariables(ctx *context.APIContext) { // parameters: // - name: owner // in: path - // description: name of the owner + // description: username of the user or organization owning the repository // type: string // required: true // - name: repo @@ -516,7 +516,7 @@ func (Action) GetRegistrationToken(ctx *context.APIContext) { // parameters: // - name: owner // in: path - // description: owner of the repo + // description: username of the user or organization owning the repository // type: string // required: true // - name: repo @@ -541,7 +541,7 @@ func (Action) CreateRegistrationToken(ctx *context.APIContext) { // parameters: // - name: owner // in: path - // description: owner of the repo + // description: username of the user or organization owning the repository // type: string // required: true // - name: repo @@ -566,7 +566,7 @@ func (Action) ListRunners(ctx *context.APIContext) { // parameters: // - name: owner // in: path - // description: owner of the repo + // description: username of the user or organization owning the repository // type: string // required: true // - name: repo @@ -594,7 +594,7 @@ func (Action) GetRunner(ctx *context.APIContext) { // parameters: // - name: owner // in: path - // description: owner of the repo + // description: username of the user or organization owning the repository // type: string // required: true // - name: repo @@ -627,7 +627,7 @@ func (Action) DeleteRunner(ctx *context.APIContext) { // parameters: // - name: owner // in: path - // description: owner of the repo + // description: username of the user or organization owning the repository // type: string // required: true // - name: repo @@ -778,7 +778,7 @@ func ListActionTasks(ctx *context.APIContext) { // parameters: // - name: owner // in: path - // description: owner of the repo + // description: username of the user or organization owning the repository // type: string // required: true // - name: repo @@ -842,7 +842,7 @@ func ActionsListRepositoryWorkflows(ctx *context.APIContext) { // parameters: // - name: owner // in: path - // description: owner of the repo + // description: username of the user or organization owning the repository // type: string // required: true // - name: repo @@ -882,7 +882,7 @@ func ActionsGetWorkflow(ctx *context.APIContext) { // parameters: // - name: owner // in: path - // description: owner of the repo + // description: username of the user or organization owning the repository // type: string // required: true // - name: repo @@ -932,7 +932,7 @@ func ActionsDisableWorkflow(ctx *context.APIContext) { // parameters: // - name: owner // in: path - // description: owner of the repo + // description: username of the user or organization owning the repository // type: string // required: true // - name: repo @@ -980,7 +980,7 @@ func ActionsDispatchWorkflow(ctx *context.APIContext) { // parameters: // - name: owner // in: path - // description: owner of the repo + // description: username of the user or organization owning the repository // type: string // required: true // - name: repo @@ -1059,7 +1059,7 @@ func ActionsEnableWorkflow(ctx *context.APIContext) { // parameters: // - name: owner // in: path - // description: owner of the repo + // description: username of the user or organization owning the repository // type: string // required: true // - name: repo @@ -1261,7 +1261,7 @@ func GetArtifactsOfRun(ctx *context.APIContext) { // parameters: // - name: owner // in: path - // description: name of the owner + // description: username of the user or organization owning the repository // type: string // required: true // - name: repo @@ -1330,7 +1330,7 @@ func DeleteActionRun(ctx *context.APIContext) { // parameters: // - name: owner // in: path - // description: name of the owner + // description: username of the user or organization owning the repository // type: string // required: true // - name: repo @@ -1382,7 +1382,7 @@ func GetArtifacts(ctx *context.APIContext) { // parameters: // - name: owner // in: path - // description: name of the owner + // description: username of the user or organization owning the repository // type: string // required: true // - name: repo @@ -1443,7 +1443,7 @@ func GetArtifact(ctx *context.APIContext) { // parameters: // - name: owner // in: path - // description: name of the owner + // description: username of the user or organization owning the repository // type: string // required: true // - name: repo @@ -1492,7 +1492,7 @@ func DeleteArtifact(ctx *context.APIContext) { // parameters: // - name: owner // in: path - // description: name of the owner + // description: username of the user or organization owning the repository // type: string // required: true // - name: repo @@ -1559,7 +1559,7 @@ func DownloadArtifact(ctx *context.APIContext) { // parameters: // - name: owner // in: path - // description: name of the owner + // description: username of the user or organization owning the repository // type: string // required: true // - name: repo diff --git a/routers/api/v1/repo/actions_run.go b/routers/api/v1/repo/actions_run.go index c6d18af6aa..012d97c2a0 100644 --- a/routers/api/v1/repo/actions_run.go +++ b/routers/api/v1/repo/actions_run.go @@ -21,7 +21,7 @@ func DownloadActionsRunJobLogs(ctx *context.APIContext) { // parameters: // - name: owner // in: path - // description: name of the owner + // description: username of the user or organization owning the repository // type: string // required: true // - name: repo diff --git a/routers/api/v1/repo/avatar.go b/routers/api/v1/repo/avatar.go index 593460586f..52a481c7f8 100644 --- a/routers/api/v1/repo/avatar.go +++ b/routers/api/v1/repo/avatar.go @@ -23,7 +23,7 @@ func UpdateAvatar(ctx *context.APIContext) { // parameters: // - name: owner // in: path - // description: owner of the repo + // description: username of the user or organization owning the repository // type: string // required: true // - name: repo @@ -66,7 +66,7 @@ func DeleteAvatar(ctx *context.APIContext) { // parameters: // - name: owner // in: path - // description: owner of the repo + // description: username of the user or organization owning the repository // type: string // required: true // - name: repo diff --git a/routers/api/v1/repo/blob.go b/routers/api/v1/repo/blob.go index 9a17fc1bbf..367ffa326e 100644 --- a/routers/api/v1/repo/blob.go +++ b/routers/api/v1/repo/blob.go @@ -20,7 +20,7 @@ func GetBlob(ctx *context.APIContext) { // parameters: // - name: owner // in: path - // description: owner of the repo + // description: username of the user or organization owning the repository // type: string // required: true // - name: repo diff --git a/routers/api/v1/repo/branch.go b/routers/api/v1/repo/branch.go index 9af958a5b7..aa4a9d2a94 100644 --- a/routers/api/v1/repo/branch.go +++ b/routers/api/v1/repo/branch.go @@ -38,7 +38,7 @@ func GetBranch(ctx *context.APIContext) { // parameters: // - name: owner // in: path - // description: owner of the repo + // description: username of the user or organization owning the repository // type: string // required: true // - name: repo @@ -99,7 +99,7 @@ func DeleteBranch(ctx *context.APIContext) { // parameters: // - name: owner // in: path - // description: owner of the repo + // description: username of the user or organization owning the repository // type: string // required: true // - name: repo @@ -179,7 +179,7 @@ func CreateBranch(ctx *context.APIContext) { // parameters: // - name: owner // in: path - // description: owner of the repo + // description: username of the user or organization owning the repository // type: string // required: true // - name: repo @@ -290,7 +290,7 @@ func ListBranches(ctx *context.APIContext) { // parameters: // - name: owner // in: path - // description: owner of the repo + // description: username of the user or organization owning the repository // type: string // required: true // - name: repo @@ -392,7 +392,7 @@ func UpdateBranch(ctx *context.APIContext) { // parameters: // - name: owner // in: path - // description: owner of the repo + // description: username of the user or organization owning the repository // type: string // required: true // - name: repo @@ -468,7 +468,7 @@ func GetBranchProtection(ctx *context.APIContext) { // parameters: // - name: owner // in: path - // description: owner of the repo + // description: username of the user or organization owning the repository // type: string // required: true // - name: repo @@ -512,7 +512,7 @@ func ListBranchProtections(ctx *context.APIContext) { // parameters: // - name: owner // in: path - // description: owner of the repo + // description: username of the user or organization owning the repository // type: string // required: true // - name: repo @@ -550,7 +550,7 @@ func CreateBranchProtection(ctx *context.APIContext) { // parameters: // - name: owner // in: path - // description: owner of the repo + // description: username of the user or organization owning the repository // type: string // required: true // - name: repo @@ -742,7 +742,7 @@ func EditBranchProtection(ctx *context.APIContext) { // parameters: // - name: owner // in: path - // description: owner of the repo + // description: username of the user or organization owning the repository // type: string // required: true // - name: repo @@ -1069,7 +1069,7 @@ func DeleteBranchProtection(ctx *context.APIContext) { // parameters: // - name: owner // in: path - // description: owner of the repo + // description: username of the user or organization owning the repository // type: string // required: true // - name: repo @@ -1120,7 +1120,7 @@ func UpdateBranchProtectionPriories(ctx *context.APIContext) { // parameters: // - name: owner // in: path - // description: owner of the repo + // description: username of the user or organization owning the repository // type: string // required: true // - name: repo @@ -1161,7 +1161,7 @@ func MergeUpstream(ctx *context.APIContext) { // parameters: // - name: owner // in: path - // description: owner of the repo + // description: username of the user or organization owning the repository // type: string // required: true // - name: repo diff --git a/routers/api/v1/repo/collaborators.go b/routers/api/v1/repo/collaborators.go index eed9c19fe1..19c0f3564a 100644 --- a/routers/api/v1/repo/collaborators.go +++ b/routers/api/v1/repo/collaborators.go @@ -33,7 +33,7 @@ func ListCollaborators(ctx *context.APIContext) { // parameters: // - name: owner // in: path - // description: owner of the repo + // description: username of the user or organization owning the repository // type: string // required: true // - name: repo @@ -83,7 +83,7 @@ func IsCollaborator(ctx *context.APIContext) { // parameters: // - name: owner // in: path - // description: owner of the repo + // description: username of the user or organization owning the repository // type: string // required: true // - name: repo @@ -135,7 +135,7 @@ func AddOrUpdateCollaborator(ctx *context.APIContext) { // parameters: // - name: owner // in: path - // description: owner of the repo + // description: username of the user or organization owning the repository // type: string // required: true // - name: repo @@ -206,7 +206,7 @@ func DeleteCollaborator(ctx *context.APIContext) { // parameters: // - name: owner // in: path - // description: owner of the repo + // description: username of the user or organization owning the repository // type: string // required: true // - name: repo @@ -254,7 +254,7 @@ func GetRepoPermissions(ctx *context.APIContext) { // parameters: // - name: owner // in: path - // description: owner of the repo + // description: username of the user or organization owning the repository // type: string // required: true // - name: repo @@ -310,7 +310,7 @@ func GetReviewers(ctx *context.APIContext) { // parameters: // - name: owner // in: path - // description: owner of the repo + // description: username of the user or organization owning the repository // type: string // required: true // - name: repo @@ -348,7 +348,7 @@ func GetAssignees(ctx *context.APIContext) { // parameters: // - name: owner // in: path - // description: owner of the repo + // description: username of the user or organization owning the repository // type: string // required: true // - name: repo diff --git a/routers/api/v1/repo/commits.go b/routers/api/v1/repo/commits.go index 6a93be624f..b90422f58d 100644 --- a/routers/api/v1/repo/commits.go +++ b/routers/api/v1/repo/commits.go @@ -30,7 +30,7 @@ func GetSingleCommit(ctx *context.APIContext) { // parameters: // - name: owner // in: path - // description: owner of the repo + // description: username of the user or organization owning the repository // type: string // required: true // - name: repo @@ -101,7 +101,7 @@ func GetAllCommits(ctx *context.APIContext) { // parameters: // - name: owner // in: path - // description: owner of the repo + // description: username of the user or organization owning the repository // type: string // required: true // - name: repo @@ -315,7 +315,7 @@ func DownloadCommitDiffOrPatch(ctx *context.APIContext) { // parameters: // - name: owner // in: path - // description: owner of the repo + // description: username of the user or organization owning the repository // type: string // required: true // - name: repo @@ -362,7 +362,7 @@ func GetCommitPullRequest(ctx *context.APIContext) { // parameters: // - name: owner // in: path - // description: owner of the repo + // description: username of the user or organization owning the repository // type: string // required: true // - name: repo diff --git a/routers/api/v1/repo/compare.go b/routers/api/v1/repo/compare.go index 6d427c8073..fe58f39eef 100644 --- a/routers/api/v1/repo/compare.go +++ b/routers/api/v1/repo/compare.go @@ -24,7 +24,7 @@ func CompareDiff(ctx *context.APIContext) { // parameters: // - name: owner // in: path - // description: owner of the repo + // description: username of the user or organization owning the repository // type: string // required: true // - name: repo diff --git a/routers/api/v1/repo/file.go b/routers/api/v1/repo/file.go index 69b5996222..6fc3678665 100644 --- a/routers/api/v1/repo/file.go +++ b/routers/api/v1/repo/file.go @@ -47,7 +47,7 @@ func GetRawFile(ctx *context.APIContext) { // parameters: // - name: owner // in: path - // description: owner of the repo + // description: username of the user or organization owning the repository // type: string // required: true // - name: repo @@ -100,7 +100,7 @@ func GetRawFileOrLFS(ctx *context.APIContext) { // parameters: // - name: owner // in: path - // description: owner of the repo + // description: username of the user or organization owning the repository // type: string // required: true // - name: repo @@ -263,7 +263,7 @@ func GetArchive(ctx *context.APIContext) { // parameters: // - name: owner // in: path - // description: owner of the repo + // description: username of the user or organization owning the repository // type: string // required: true // - name: repo @@ -362,7 +362,7 @@ func GetEditorconfig(ctx *context.APIContext) { // parameters: // - name: owner // in: path - // description: owner of the repo + // description: username of the user or organization owning the repository // type: string // required: true // - name: repo @@ -464,7 +464,7 @@ func ChangeFiles(ctx *context.APIContext) { // parameters: // - name: owner // in: path - // description: owner of the repo + // description: username of the user or organization owning the repository // type: string // required: true // - name: repo @@ -533,7 +533,7 @@ func CreateFile(ctx *context.APIContext) { // parameters: // - name: owner // in: path - // description: owner of the repo + // description: username of the user or organization owning the repository // type: string // required: true // - name: repo @@ -602,7 +602,7 @@ func UpdateFile(ctx *context.APIContext) { // parameters: // - name: owner // in: path - // description: owner of the repo + // description: username of the user or organization owning the repository // type: string // required: true // - name: repo @@ -724,7 +724,7 @@ func DeleteFile(ctx *context.APIContext) { // parameters: // - name: owner // in: path - // description: owner of the repo + // description: username of the user or organization owning the repository // type: string // required: true // - name: repo @@ -869,7 +869,7 @@ func GetContents(ctx *context.APIContext) { // parameters: // - name: owner // in: path - // description: owner of the repo + // description: username of the user or organization owning the repository // type: string // required: true // - name: repo @@ -929,7 +929,7 @@ func GetContentsList(ctx *context.APIContext) { // parameters: // - name: owner // in: path - // description: owner of the repo + // description: username of the user or organization owning the repository // type: string // required: true // - name: repo @@ -962,7 +962,7 @@ func GetFileContentsGet(ctx *context.APIContext) { // parameters: // - name: owner // in: path - // description: owner of the repo + // description: username of the user or organization owning the repository // type: string // required: true // - name: repo @@ -1004,7 +1004,7 @@ func GetFileContentsPost(ctx *context.APIContext) { // parameters: // - name: owner // in: path - // description: owner of the repo + // description: username of the user or organization owning the repository // type: string // required: true // - name: repo diff --git a/routers/api/v1/repo/fork.go b/routers/api/v1/repo/fork.go index 58f66954e1..4ec41c031d 100644 --- a/routers/api/v1/repo/fork.go +++ b/routers/api/v1/repo/fork.go @@ -33,7 +33,7 @@ func ListForks(ctx *context.APIContext) { // parameters: // - name: owner // in: path - // description: owner of the repo + // description: username of the user or organization owning the repository // type: string // required: true // - name: repo @@ -93,7 +93,7 @@ func CreateFork(ctx *context.APIContext) { // parameters: // - name: owner // in: path - // description: owner of the repo to fork + // description: username of the user or organization owning the repository to fork // type: string // required: true // - name: repo diff --git a/routers/api/v1/repo/git_hook.go b/routers/api/v1/repo/git_hook.go index 487c74e183..e3b8d0e370 100644 --- a/routers/api/v1/repo/git_hook.go +++ b/routers/api/v1/repo/git_hook.go @@ -24,7 +24,7 @@ func ListGitHooks(ctx *context.APIContext) { // parameters: // - name: owner // in: path - // description: owner of the repo + // description: username of the user or organization owning the repository // type: string // required: true // - name: repo @@ -61,7 +61,7 @@ func GetGitHook(ctx *context.APIContext) { // parameters: // - name: owner // in: path - // description: owner of the repo + // description: username of the user or organization owning the repository // type: string // required: true // - name: repo @@ -103,7 +103,7 @@ func EditGitHook(ctx *context.APIContext) { // parameters: // - name: owner // in: path - // description: owner of the repo + // description: username of the user or organization owning the repository // type: string // required: true // - name: repo @@ -157,7 +157,7 @@ func DeleteGitHook(ctx *context.APIContext) { // parameters: // - name: owner // in: path - // description: owner of the repo + // description: username of the user or organization owning the repository // type: string // required: true // - name: repo diff --git a/routers/api/v1/repo/git_ref.go b/routers/api/v1/repo/git_ref.go index f042e9e344..b42e5dfc6b 100644 --- a/routers/api/v1/repo/git_ref.go +++ b/routers/api/v1/repo/git_ref.go @@ -24,7 +24,7 @@ func GetGitAllRefs(ctx *context.APIContext) { // parameters: // - name: owner // in: path - // description: owner of the repo + // description: username of the user or organization owning the repository // type: string // required: true // - name: repo @@ -52,7 +52,7 @@ func GetGitRefs(ctx *context.APIContext) { // parameters: // - name: owner // in: path - // description: owner of the repo + // description: username of the user or organization owning the repository // type: string // required: true // - name: repo diff --git a/routers/api/v1/repo/hook.go b/routers/api/v1/repo/hook.go index ac47e15d64..c830d0b5a6 100644 --- a/routers/api/v1/repo/hook.go +++ b/routers/api/v1/repo/hook.go @@ -32,7 +32,7 @@ func ListHooks(ctx *context.APIContext) { // parameters: // - name: owner // in: path - // description: owner of the repo + // description: username of the user or organization owning the repository // type: string // required: true // - name: repo @@ -88,7 +88,7 @@ func GetHook(ctx *context.APIContext) { // parameters: // - name: owner // in: path - // description: owner of the repo + // description: username of the user or organization owning the repository // type: string // required: true // - name: repo @@ -132,7 +132,7 @@ func TestHook(ctx *context.APIContext) { // parameters: // - name: owner // in: path - // description: owner of the repo + // description: username of the user or organization owning the repository // type: string // required: true // - name: repo @@ -208,7 +208,7 @@ func CreateHook(ctx *context.APIContext) { // parameters: // - name: owner // in: path - // description: owner of the repo + // description: username of the user or organization owning the repository // type: string // required: true // - name: repo @@ -239,7 +239,7 @@ func EditHook(ctx *context.APIContext) { // parameters: // - name: owner // in: path - // description: owner of the repo + // description: username of the user or organization owning the repository // type: string // required: true // - name: repo @@ -277,7 +277,7 @@ func DeleteHook(ctx *context.APIContext) { // parameters: // - name: owner // in: path - // description: owner of the repo + // description: username of the user or organization owning the repository // type: string // required: true // - name: repo diff --git a/routers/api/v1/repo/issue.go b/routers/api/v1/repo/issue.go index d4a5872fd1..37a5fab8c1 100644 --- a/routers/api/v1/repo/issue.go +++ b/routers/api/v1/repo/issue.go @@ -336,7 +336,7 @@ func ListIssues(ctx *context.APIContext) { // parameters: // - name: owner // in: path - // description: owner of the repo + // description: username of the user or organization owning the repository // type: string // required: true // - name: repo @@ -593,7 +593,7 @@ func GetIssue(ctx *context.APIContext) { // parameters: // - name: owner // in: path - // description: owner of the repo + // description: username of the user or organization owning the repository // type: string // required: true // - name: repo @@ -641,7 +641,7 @@ func CreateIssue(ctx *context.APIContext) { // parameters: // - name: owner // in: path - // description: owner of the repo + // description: username of the user or organization owning the repository // type: string // required: true // - name: repo @@ -764,7 +764,7 @@ func EditIssue(ctx *context.APIContext) { // parameters: // - name: owner // in: path - // description: owner of the repo + // description: username of the user or organization owning the repository // type: string // required: true // - name: repo @@ -948,7 +948,7 @@ func DeleteIssue(ctx *context.APIContext) { // parameters: // - name: owner // in: path - // description: owner of the repo + // description: username of the user or organization owning the repository // type: string // required: true // - name: repo @@ -999,7 +999,7 @@ func UpdateIssueDeadline(ctx *context.APIContext) { // parameters: // - name: owner // in: path - // description: owner of the repo + // description: username of the user or organization owning the repository // type: string // required: true // - name: repo diff --git a/routers/api/v1/repo/issue_attachment.go b/routers/api/v1/repo/issue_attachment.go index 3f751a295c..f382926d8a 100644 --- a/routers/api/v1/repo/issue_attachment.go +++ b/routers/api/v1/repo/issue_attachment.go @@ -29,7 +29,7 @@ func GetIssueAttachment(ctx *context.APIContext) { // parameters: // - name: owner // in: path - // description: owner of the repo + // description: username of the user or organization owning the repository // type: string // required: true // - name: repo @@ -78,7 +78,7 @@ func ListIssueAttachments(ctx *context.APIContext) { // parameters: // - name: owner // in: path - // description: owner of the repo + // description: username of the user or organization owning the repository // type: string // required: true // - name: repo @@ -123,7 +123,7 @@ func CreateIssueAttachment(ctx *context.APIContext) { // parameters: // - name: owner // in: path - // description: owner of the repo + // description: username of the user or organization owning the repository // type: string // required: true // - name: repo @@ -218,7 +218,7 @@ func EditIssueAttachment(ctx *context.APIContext) { // parameters: // - name: owner // in: path - // description: owner of the repo + // description: username of the user or organization owning the repository // type: string // required: true // - name: repo @@ -285,7 +285,7 @@ func DeleteIssueAttachment(ctx *context.APIContext) { // parameters: // - name: owner // in: path - // description: owner of the repo + // description: username of the user or organization owning the repository // type: string // required: true // - name: repo diff --git a/routers/api/v1/repo/issue_comment.go b/routers/api/v1/repo/issue_comment.go index cc342a9313..61fe26cd4e 100644 --- a/routers/api/v1/repo/issue_comment.go +++ b/routers/api/v1/repo/issue_comment.go @@ -33,7 +33,7 @@ func ListIssueComments(ctx *context.APIContext) { // parameters: // - name: owner // in: path - // description: owner of the repo + // description: username of the user or organization owning the repository // type: string // required: true // - name: repo @@ -129,7 +129,7 @@ func ListIssueCommentsAndTimeline(ctx *context.APIContext) { // parameters: // - name: owner // in: path - // description: owner of the repo + // description: username of the user or organization owning the repository // type: string // required: true // - name: repo @@ -240,7 +240,7 @@ func ListRepoIssueComments(ctx *context.APIContext) { // parameters: // - name: owner // in: path - // description: owner of the repo + // description: username of the user or organization owning the repository // type: string // required: true // - name: repo @@ -351,7 +351,7 @@ func CreateIssueComment(ctx *context.APIContext) { // parameters: // - name: owner // in: path - // description: owner of the repo + // description: username of the user or organization owning the repository // type: string // required: true // - name: repo @@ -421,7 +421,7 @@ func GetIssueComment(ctx *context.APIContext) { // parameters: // - name: owner // in: path - // description: owner of the repo + // description: username of the user or organization owning the repository // type: string // required: true // - name: repo @@ -494,7 +494,7 @@ func EditIssueComment(ctx *context.APIContext) { // parameters: // - name: owner // in: path - // description: owner of the repo + // description: username of the user or organization owning the repository // type: string // required: true // - name: repo @@ -541,7 +541,7 @@ func EditIssueCommentDeprecated(ctx *context.APIContext) { // parameters: // - name: owner // in: path - // description: owner of the repo + // description: username of the user or organization owning the repository // type: string // required: true // - name: repo @@ -633,7 +633,7 @@ func DeleteIssueComment(ctx *context.APIContext) { // parameters: // - name: owner // in: path - // description: owner of the repo + // description: username of the user or organization owning the repository // type: string // required: true // - name: repo @@ -667,7 +667,7 @@ func DeleteIssueCommentDeprecated(ctx *context.APIContext) { // parameters: // - name: owner // in: path - // description: owner of the repo + // description: username of the user or organization owning the repository // type: string // required: true // - name: repo diff --git a/routers/api/v1/repo/issue_comment_attachment.go b/routers/api/v1/repo/issue_comment_attachment.go index 5f660c5750..80ddac8200 100644 --- a/routers/api/v1/repo/issue_comment_attachment.go +++ b/routers/api/v1/repo/issue_comment_attachment.go @@ -31,7 +31,7 @@ func GetIssueCommentAttachment(ctx *context.APIContext) { // parameters: // - name: owner // in: path - // description: owner of the repo + // description: username of the user or organization owning the repository // type: string // required: true // - name: repo @@ -84,7 +84,7 @@ func ListIssueCommentAttachments(ctx *context.APIContext) { // parameters: // - name: owner // in: path - // description: owner of the repo + // description: username of the user or organization owning the repository // type: string // required: true // - name: repo @@ -128,7 +128,7 @@ func CreateIssueCommentAttachment(ctx *context.APIContext) { // parameters: // - name: owner // in: path - // description: owner of the repo + // description: username of the user or organization owning the repository // type: string // required: true // - name: repo @@ -234,7 +234,7 @@ func EditIssueCommentAttachment(ctx *context.APIContext) { // parameters: // - name: owner // in: path - // description: owner of the repo + // description: username of the user or organization owning the repository // type: string // required: true // - name: repo @@ -298,7 +298,7 @@ func DeleteIssueCommentAttachment(ctx *context.APIContext) { // parameters: // - name: owner // in: path - // description: owner of the repo + // description: username of the user or organization owning the repository // type: string // required: true // - name: repo diff --git a/routers/api/v1/repo/issue_dependency.go b/routers/api/v1/repo/issue_dependency.go index 1b58beb7b6..4c8ea5999d 100644 --- a/routers/api/v1/repo/issue_dependency.go +++ b/routers/api/v1/repo/issue_dependency.go @@ -28,7 +28,7 @@ func GetIssueDependencies(ctx *context.APIContext) { // parameters: // - name: owner // in: path - // description: owner of the repo + // description: username of the user or organization owning the repository // type: string // required: true // - name: repo @@ -163,7 +163,7 @@ func CreateIssueDependency(ctx *context.APIContext) { // parameters: // - name: owner // in: path - // description: owner of the repo + // description: username of the user or organization owning the repository // type: string // required: true // - name: repo @@ -224,7 +224,7 @@ func RemoveIssueDependency(ctx *context.APIContext) { // parameters: // - name: owner // in: path - // description: owner of the repo + // description: username of the user or organization owning the repository // type: string // required: true // - name: repo @@ -285,7 +285,7 @@ func GetIssueBlocks(ctx *context.APIContext) { // parameters: // - name: owner // in: path - // description: owner of the repo + // description: username of the user or organization owning the repository // type: string // required: true // - name: repo @@ -388,7 +388,7 @@ func CreateIssueBlocking(ctx *context.APIContext) { // parameters: // - name: owner // in: path - // description: owner of the repo + // description: username of the user or organization owning the repository // type: string // required: true // - name: repo @@ -445,7 +445,7 @@ func RemoveIssueBlocking(ctx *context.APIContext) { // parameters: // - name: owner // in: path - // description: owner of the repo + // description: username of the user or organization owning the repository // type: string // required: true // - name: repo diff --git a/routers/api/v1/repo/issue_label.go b/routers/api/v1/repo/issue_label.go index d5eee2d469..b8a669f9aa 100644 --- a/routers/api/v1/repo/issue_label.go +++ b/routers/api/v1/repo/issue_label.go @@ -27,7 +27,7 @@ func ListIssueLabels(ctx *context.APIContext) { // parameters: // - name: owner // in: path - // description: owner of the repo + // description: username of the user or organization owning the repository // type: string // required: true // - name: repo @@ -77,7 +77,7 @@ func AddIssueLabels(ctx *context.APIContext) { // parameters: // - name: owner // in: path - // description: owner of the repo + // description: username of the user or organization owning the repository // type: string // required: true // - name: repo @@ -133,7 +133,7 @@ func DeleteIssueLabel(ctx *context.APIContext) { // parameters: // - name: owner // in: path - // description: owner of the repo + // description: username of the user or organization owning the repository // type: string // required: true // - name: repo @@ -208,7 +208,7 @@ func ReplaceIssueLabels(ctx *context.APIContext) { // parameters: // - name: owner // in: path - // description: owner of the repo + // description: username of the user or organization owning the repository // type: string // required: true // - name: repo @@ -263,7 +263,7 @@ func ClearIssueLabels(ctx *context.APIContext) { // parameters: // - name: owner // in: path - // description: owner of the repo + // description: username of the user or organization owning the repository // type: string // required: true // - name: repo diff --git a/routers/api/v1/repo/issue_lock.go b/routers/api/v1/repo/issue_lock.go index b9e5bcf6eb..295329ec37 100644 --- a/routers/api/v1/repo/issue_lock.go +++ b/routers/api/v1/repo/issue_lock.go @@ -25,7 +25,7 @@ func LockIssue(ctx *context.APIContext) { // parameters: // - name: owner // in: path - // description: owner of the repo + // description: username of the user or organization owning the repository // type: string // required: true // - name: repo @@ -97,7 +97,7 @@ func UnlockIssue(ctx *context.APIContext) { // parameters: // - name: owner // in: path - // description: owner of the repo + // description: username of the user or organization owning the repository // type: string // required: true // - name: repo diff --git a/routers/api/v1/repo/issue_pin.go b/routers/api/v1/repo/issue_pin.go index 71985ac765..054f583a10 100644 --- a/routers/api/v1/repo/issue_pin.go +++ b/routers/api/v1/repo/issue_pin.go @@ -20,7 +20,7 @@ func PinIssue(ctx *context.APIContext) { // parameters: // - name: owner // in: path - // description: owner of the repo + // description: username of the user or organization owning the repository // type: string // required: true // - name: repo @@ -77,7 +77,7 @@ func UnpinIssue(ctx *context.APIContext) { // parameters: // - name: owner // in: path - // description: owner of the repo + // description: username of the user or organization owning the repository // type: string // required: true // - name: repo @@ -132,7 +132,7 @@ func MoveIssuePin(ctx *context.APIContext) { // parameters: // - name: owner // in: path - // description: owner of the repo + // description: username of the user or organization owning the repository // type: string // required: true // - name: repo @@ -188,7 +188,7 @@ func ListPinnedIssues(ctx *context.APIContext) { // parameters: // - name: owner // in: path - // description: owner of the repo + // description: username of the user or organization owning the repository // type: string // required: true // - name: repo @@ -220,7 +220,7 @@ func ListPinnedPullRequests(ctx *context.APIContext) { // parameters: // - name: owner // in: path - // description: owner of the repo + // description: username of the user or organization owning the repository // type: string // required: true // - name: repo @@ -277,7 +277,7 @@ func AreNewIssuePinsAllowed(ctx *context.APIContext) { // parameters: // - name: owner // in: path - // description: owner of the repo + // description: username of the user or organization owning the repository // type: string // required: true // - name: repo diff --git a/routers/api/v1/repo/issue_reaction.go b/routers/api/v1/repo/issue_reaction.go index e535b5e009..9cf4986ec1 100644 --- a/routers/api/v1/repo/issue_reaction.go +++ b/routers/api/v1/repo/issue_reaction.go @@ -29,7 +29,7 @@ func GetIssueCommentReactions(ctx *context.APIContext) { // parameters: // - name: owner // in: path - // description: owner of the repo + // description: username of the user or organization owning the repository // type: string // required: true // - name: repo @@ -111,7 +111,7 @@ func PostIssueCommentReaction(ctx *context.APIContext) { // parameters: // - name: owner // in: path - // description: owner of the repo + // description: username of the user or organization owning the repository // type: string // required: true // - name: repo @@ -156,7 +156,7 @@ func DeleteIssueCommentReaction(ctx *context.APIContext) { // parameters: // - name: owner // in: path - // description: owner of the repo + // description: username of the user or organization owning the repository // type: string // required: true // - name: repo @@ -265,7 +265,7 @@ func GetIssueReactions(ctx *context.APIContext) { // parameters: // - name: owner // in: path - // description: owner of the repo + // description: username of the user or organization owning the repository // type: string // required: true // - name: repo @@ -346,7 +346,7 @@ func PostIssueReaction(ctx *context.APIContext) { // parameters: // - name: owner // in: path - // description: owner of the repo + // description: username of the user or organization owning the repository // type: string // required: true // - name: repo @@ -389,7 +389,7 @@ func DeleteIssueReaction(ctx *context.APIContext) { // parameters: // - name: owner // in: path - // description: owner of the repo + // description: username of the user or organization owning the repository // type: string // required: true // - name: repo diff --git a/routers/api/v1/repo/issue_stopwatch.go b/routers/api/v1/repo/issue_stopwatch.go index 0f28b9757d..c2f7f4190d 100644 --- a/routers/api/v1/repo/issue_stopwatch.go +++ b/routers/api/v1/repo/issue_stopwatch.go @@ -24,7 +24,7 @@ func StartIssueStopwatch(ctx *context.APIContext) { // parameters: // - name: owner // in: path - // description: owner of the repo + // description: username of the user or organization owning the repository // type: string // required: true // - name: repo @@ -76,7 +76,7 @@ func StopIssueStopwatch(ctx *context.APIContext) { // parameters: // - name: owner // in: path - // description: owner of the repo + // description: username of the user or organization owning the repository // type: string // required: true // - name: repo @@ -127,7 +127,7 @@ func DeleteIssueStopwatch(ctx *context.APIContext) { // parameters: // - name: owner // in: path - // description: owner of the repo + // description: username of the user or organization owning the repository // type: string // required: true // - name: repo diff --git a/routers/api/v1/repo/issue_subscription.go b/routers/api/v1/repo/issue_subscription.go index c89f228a06..8a42257590 100644 --- a/routers/api/v1/repo/issue_subscription.go +++ b/routers/api/v1/repo/issue_subscription.go @@ -27,7 +27,7 @@ func AddIssueSubscription(ctx *context.APIContext) { // parameters: // - name: owner // in: path - // description: owner of the repo + // description: username of the user or organization owning the repository // type: string // required: true // - name: repo @@ -71,7 +71,7 @@ func DelIssueSubscription(ctx *context.APIContext) { // parameters: // - name: owner // in: path - // description: owner of the repo + // description: username of the user or organization owning the repository // type: string // required: true // - name: repo @@ -165,7 +165,7 @@ func CheckIssueSubscription(ctx *context.APIContext) { // parameters: // - name: owner // in: path - // description: owner of the repo + // description: username of the user or organization owning the repository // type: string // required: true // - name: repo @@ -223,7 +223,7 @@ func GetIssueSubscribers(ctx *context.APIContext) { // parameters: // - name: owner // in: path - // description: owner of the repo + // description: username of the user or organization owning the repository // type: string // required: true // - name: repo diff --git a/routers/api/v1/repo/issue_tracked_time.go b/routers/api/v1/repo/issue_tracked_time.go index 171da272cc..b7ec837fff 100644 --- a/routers/api/v1/repo/issue_tracked_time.go +++ b/routers/api/v1/repo/issue_tracked_time.go @@ -29,7 +29,7 @@ func ListTrackedTimes(ctx *context.APIContext) { // parameters: // - name: owner // in: path - // description: owner of the repo + // description: username of the user or organization owning the repository // type: string // required: true // - name: repo @@ -153,7 +153,7 @@ func AddTime(ctx *context.APIContext) { // parameters: // - name: owner // in: path - // description: owner of the repo + // description: username of the user or organization owning the repository // type: string // required: true // - name: repo @@ -240,7 +240,7 @@ func ResetIssueTime(ctx *context.APIContext) { // parameters: // - name: owner // in: path - // description: owner of the repo + // description: username of the user or organization owning the repository // type: string // required: true // - name: repo @@ -307,7 +307,7 @@ func DeleteTime(ctx *context.APIContext) { // parameters: // - name: owner // in: path - // description: owner of the repo + // description: username of the user or organization owning the repository // type: string // required: true // - name: repo @@ -395,7 +395,7 @@ func ListTrackedTimesByUser(ctx *context.APIContext) { // parameters: // - name: owner // in: path - // description: owner of the repo + // description: username of the user or organization owning the repository // type: string // required: true // - name: repo @@ -468,7 +468,7 @@ func ListTrackedTimesByRepository(ctx *context.APIContext) { // parameters: // - name: owner // in: path - // description: owner of the repo + // description: username of the user or organization owning the repository // type: string // required: true // - name: repo diff --git a/routers/api/v1/repo/key.go b/routers/api/v1/repo/key.go index 8cb61e9e0c..593be2df3f 100644 --- a/routers/api/v1/repo/key.go +++ b/routers/api/v1/repo/key.go @@ -53,7 +53,7 @@ func ListDeployKeys(ctx *context.APIContext) { // parameters: // - name: owner // in: path - // description: owner of the repo + // description: username of the user or organization owning the repository // type: string // required: true // - name: repo @@ -123,7 +123,7 @@ func GetDeployKey(ctx *context.APIContext) { // parameters: // - name: owner // in: path - // description: owner of the repo + // description: username of the user or organization owning the repository // type: string // required: true // - name: repo @@ -211,7 +211,7 @@ func CreateDeployKey(ctx *context.APIContext) { // parameters: // - name: owner // in: path - // description: owner of the repo + // description: username of the user or organization owning the repository // type: string // required: true // - name: repo @@ -257,7 +257,7 @@ func DeleteDeploykey(ctx *context.APIContext) { // parameters: // - name: owner // in: path - // description: owner of the repo + // description: username of the user or organization owning the repository // type: string // required: true // - name: repo diff --git a/routers/api/v1/repo/label.go b/routers/api/v1/repo/label.go index 4f79d42595..9fe4313192 100644 --- a/routers/api/v1/repo/label.go +++ b/routers/api/v1/repo/label.go @@ -27,7 +27,7 @@ func ListLabels(ctx *context.APIContext) { // parameters: // - name: owner // in: path - // description: owner of the repo + // description: username of the user or organization owning the repository // type: string // required: true // - name: repo @@ -75,7 +75,7 @@ func GetLabel(ctx *context.APIContext) { // parameters: // - name: owner // in: path - // description: owner of the repo + // description: username of the user or organization owning the repository // type: string // required: true // - name: repo @@ -129,7 +129,7 @@ func CreateLabel(ctx *context.APIContext) { // parameters: // - name: owner // in: path - // description: owner of the repo + // description: username of the user or organization owning the repository // type: string // required: true // - name: repo @@ -185,7 +185,7 @@ func EditLabel(ctx *context.APIContext) { // parameters: // - name: owner // in: path - // description: owner of the repo + // description: username of the user or organization owning the repository // type: string // required: true // - name: repo @@ -256,7 +256,7 @@ func DeleteLabel(ctx *context.APIContext) { // parameters: // - name: owner // in: path - // description: owner of the repo + // description: username of the user or organization owning the repository // type: string // required: true // - name: repo diff --git a/routers/api/v1/repo/language.go b/routers/api/v1/repo/language.go index 00789983ce..edb16ee5bd 100644 --- a/routers/api/v1/repo/language.go +++ b/routers/api/v1/repo/language.go @@ -53,7 +53,7 @@ func GetLanguages(ctx *context.APIContext) { // parameters: // - name: owner // in: path - // description: owner of the repo + // description: username of the user or organization owning the repository // type: string // required: true // - name: repo diff --git a/routers/api/v1/repo/license.go b/routers/api/v1/repo/license.go index 3040815e8a..8a25d3d1b4 100644 --- a/routers/api/v1/repo/license.go +++ b/routers/api/v1/repo/license.go @@ -21,7 +21,7 @@ func GetLicenses(ctx *context.APIContext) { // parameters: // - name: owner // in: path - // description: owner of the repo + // description: username of the user or organization owning the repository // type: string // required: true // - name: repo diff --git a/routers/api/v1/repo/milestone.go b/routers/api/v1/repo/milestone.go index 33fa7c4b16..848cbc1813 100644 --- a/routers/api/v1/repo/milestone.go +++ b/routers/api/v1/repo/milestone.go @@ -30,7 +30,7 @@ func ListMilestones(ctx *context.APIContext) { // parameters: // - name: owner // in: path - // description: owner of the repo + // description: username of the user or organization owning the repository // type: string // required: true // - name: repo @@ -97,7 +97,7 @@ func GetMilestone(ctx *context.APIContext) { // parameters: // - name: owner // in: path - // description: owner of the repo + // description: username of the user or organization owning the repository // type: string // required: true // - name: repo @@ -136,7 +136,7 @@ func CreateMilestone(ctx *context.APIContext) { // parameters: // - name: owner // in: path - // description: owner of the repo + // description: username of the user or organization owning the repository // type: string // required: true // - name: repo @@ -191,7 +191,7 @@ func EditMilestone(ctx *context.APIContext) { // parameters: // - name: owner // in: path - // description: owner of the repo + // description: username of the user or organization owning the repository // type: string // required: true // - name: repo @@ -247,7 +247,7 @@ func DeleteMilestone(ctx *context.APIContext) { // parameters: // - name: owner // in: path - // description: owner of the repo + // description: username of the user or organization owning the repository // type: string // required: true // - name: repo diff --git a/routers/api/v1/repo/mirror.go b/routers/api/v1/repo/mirror.go index f11a1603c4..fec24c33c1 100644 --- a/routers/api/v1/repo/mirror.go +++ b/routers/api/v1/repo/mirror.go @@ -33,7 +33,7 @@ func MirrorSync(ctx *context.APIContext) { // parameters: // - name: owner // in: path - // description: owner of the repo to sync + // description: username of the user or organization owning the repository to sync // type: string // required: true // - name: repo @@ -84,7 +84,7 @@ func PushMirrorSync(ctx *context.APIContext) { // parameters: // - name: owner // in: path - // description: owner of the repo to sync + // description: username of the user or organization owning the repository to sync // type: string // required: true // - name: repo @@ -133,7 +133,7 @@ func ListPushMirrors(ctx *context.APIContext) { // parameters: // - name: owner // in: path - // description: owner of the repo + // description: username of the user or organization owning the repository // type: string // required: true // - name: repo @@ -194,7 +194,7 @@ func GetPushMirrorByName(ctx *context.APIContext) { // parameters: // - name: owner // in: path - // description: owner of the repo + // description: username of the user or organization owning the repository // type: string // required: true // - name: repo @@ -256,7 +256,7 @@ func AddPushMirror(ctx *context.APIContext) { // parameters: // - name: owner // in: path - // description: owner of the repo + // description: username of the user or organization owning the repository // type: string // required: true // - name: repo @@ -297,7 +297,7 @@ func DeletePushMirrorByRemoteName(ctx *context.APIContext) { // parameters: // - name: owner // in: path - // description: owner of the repo + // description: username of the user or organization owning the repository // type: string // required: true // - name: repo diff --git a/routers/api/v1/repo/notes.go b/routers/api/v1/repo/notes.go index 87efb1caf2..99a356f5c1 100644 --- a/routers/api/v1/repo/notes.go +++ b/routers/api/v1/repo/notes.go @@ -23,7 +23,7 @@ func GetNote(ctx *context.APIContext) { // parameters: // - name: owner // in: path - // description: owner of the repo + // description: username of the user or organization owning the repository // type: string // required: true // - name: repo diff --git a/routers/api/v1/repo/patch.go b/routers/api/v1/repo/patch.go index e9f5cf5d90..e74d472bbd 100644 --- a/routers/api/v1/repo/patch.go +++ b/routers/api/v1/repo/patch.go @@ -24,7 +24,7 @@ func ApplyDiffPatch(ctx *context.APIContext) { // parameters: // - name: owner // in: path - // description: owner of the repo + // description: username of the user or organization owning the repository // type: string // required: true // - name: repo diff --git a/routers/api/v1/repo/pull.go b/routers/api/v1/repo/pull.go index 2c194f9253..395501d447 100644 --- a/routers/api/v1/repo/pull.go +++ b/routers/api/v1/repo/pull.go @@ -52,7 +52,7 @@ func ListPullRequests(ctx *context.APIContext) { // parameters: // - name: owner // in: path - // description: Owner of the repo + // description: username of the user or organization owning the repository // type: string // required: true // - name: repo @@ -165,7 +165,7 @@ func GetPullRequest(ctx *context.APIContext) { // parameters: // - name: owner // in: path - // description: owner of the repo + // description: username of the user or organization owning the repository // type: string // required: true // - name: repo @@ -220,7 +220,7 @@ func GetPullRequestByBaseHead(ctx *context.APIContext) { // parameters: // - name: owner // in: path - // description: owner of the repo + // description: username of the user or organization owning the repository // type: string // required: true // - name: repo @@ -309,7 +309,7 @@ func DownloadPullDiffOrPatch(ctx *context.APIContext) { // parameters: // - name: owner // in: path - // description: owner of the repo + // description: username of the user or organization owning the repository // type: string // required: true // - name: repo @@ -374,7 +374,7 @@ func CreatePullRequest(ctx *context.APIContext) { // parameters: // - name: owner // in: path - // description: owner of the repo + // description: username of the user or organization owning the repository // type: string // required: true // - name: repo @@ -584,7 +584,7 @@ func EditPullRequest(ctx *context.APIContext) { // parameters: // - name: owner // in: path - // description: owner of the repo + // description: username of the user or organization owning the repository // type: string // required: true // - name: repo @@ -814,7 +814,7 @@ func IsPullRequestMerged(ctx *context.APIContext) { // parameters: // - name: owner // in: path - // description: owner of the repo + // description: username of the user or organization owning the repository // type: string // required: true // - name: repo @@ -860,7 +860,7 @@ func MergePullRequest(ctx *context.APIContext) { // parameters: // - name: owner // in: path - // description: owner of the repo + // description: username of the user or organization owning the repository // type: string // required: true // - name: repo @@ -1221,7 +1221,7 @@ func UpdatePullRequest(ctx *context.APIContext) { // parameters: // - name: owner // in: path - // description: owner of the repo + // description: username of the user or organization owning the repository // type: string // required: true // - name: repo @@ -1327,7 +1327,7 @@ func CancelScheduledAutoMerge(ctx *context.APIContext) { // parameters: // - name: owner // in: path - // description: owner of the repo + // description: username of the user or organization owning the repository // type: string // required: true // - name: repo @@ -1401,7 +1401,7 @@ func GetPullRequestCommits(ctx *context.APIContext) { // parameters: // - name: owner // in: path - // description: owner of the repo + // description: username of the user or organization owning the repository // type: string // required: true // - name: repo @@ -1523,7 +1523,7 @@ func GetPullRequestFiles(ctx *context.APIContext) { // parameters: // - name: owner // in: path - // description: owner of the repo + // description: username of the user or organization owning the repository // type: string // required: true // - name: repo diff --git a/routers/api/v1/repo/pull_review.go b/routers/api/v1/repo/pull_review.go index 9421a052db..d2254335bf 100644 --- a/routers/api/v1/repo/pull_review.go +++ b/routers/api/v1/repo/pull_review.go @@ -33,7 +33,7 @@ func ListPullReviews(ctx *context.APIContext) { // parameters: // - name: owner // in: path - // description: owner of the repo + // description: username of the user or organization owning the repository // type: string // required: true // - name: repo @@ -118,7 +118,7 @@ func GetPullReview(ctx *context.APIContext) { // parameters: // - name: owner // in: path - // description: owner of the repo + // description: username of the user or organization owning the repository // type: string // required: true // - name: repo @@ -168,7 +168,7 @@ func GetPullReviewComments(ctx *context.APIContext) { // parameters: // - name: owner // in: path - // description: owner of the repo + // description: username of the user or organization owning the repository // type: string // required: true // - name: repo @@ -218,7 +218,7 @@ func DeletePullReview(ctx *context.APIContext) { // parameters: // - name: owner // in: path - // description: owner of the repo + // description: username of the user or organization owning the repository // type: string // required: true // - name: repo @@ -278,7 +278,7 @@ func CreatePullReview(ctx *context.APIContext) { // parameters: // - name: owner // in: path - // description: owner of the repo + // description: username of the user or organization owning the repository // type: string // required: true // - name: repo @@ -399,7 +399,7 @@ func SubmitPullReview(ctx *context.APIContext) { // parameters: // - name: owner // in: path - // description: owner of the repo + // description: username of the user or organization owning the repository // type: string // required: true // - name: repo @@ -583,7 +583,7 @@ func CreateReviewRequests(ctx *context.APIContext) { // parameters: // - name: owner // in: path - // description: owner of the repo + // description: username of the user or organization owning the repository // type: string // required: true // - name: repo @@ -624,7 +624,7 @@ func DeleteReviewRequests(ctx *context.APIContext) { // parameters: // - name: owner // in: path - // description: owner of the repo + // description: username of the user or organization owning the repository // type: string // required: true // - name: repo @@ -802,7 +802,7 @@ func DismissPullReview(ctx *context.APIContext) { // parameters: // - name: owner // in: path - // description: owner of the repo + // description: username of the user or organization owning the repository // type: string // required: true // - name: repo @@ -850,7 +850,7 @@ func UnDismissPullReview(ctx *context.APIContext) { // parameters: // - name: owner // in: path - // description: owner of the repo + // description: username of the user or organization owning the repository // type: string // required: true // - name: repo diff --git a/routers/api/v1/repo/release.go b/routers/api/v1/repo/release.go index 272b395dfb..d5abacdac7 100644 --- a/routers/api/v1/repo/release.go +++ b/routers/api/v1/repo/release.go @@ -31,7 +31,7 @@ func GetRelease(ctx *context.APIContext) { // parameters: // - name: owner // in: path - // description: owner of the repo + // description: username of the user or organization owning the repository // type: string // required: true // - name: repo @@ -79,7 +79,7 @@ func GetLatestRelease(ctx *context.APIContext) { // parameters: // - name: owner // in: path - // description: owner of the repo + // description: username of the user or organization owning the repository // type: string // required: true // - name: repo @@ -120,7 +120,7 @@ func ListReleases(ctx *context.APIContext) { // parameters: // - name: owner // in: path - // description: owner of the repo + // description: username of the user or organization owning the repository // type: string // required: true // - name: repo @@ -197,7 +197,7 @@ func CreateRelease(ctx *context.APIContext) { // parameters: // - name: owner // in: path - // description: owner of the repo + // description: username of the user or organization owning the repository // type: string // required: true // - name: repo @@ -297,7 +297,7 @@ func EditRelease(ctx *context.APIContext) { // parameters: // - name: owner // in: path - // description: owner of the repo + // description: username of the user or organization owning the repository // type: string // required: true // - name: repo @@ -377,7 +377,7 @@ func DeleteRelease(ctx *context.APIContext) { // parameters: // - name: owner // in: path - // description: owner of the repo + // description: username of the user or organization owning the repository // type: string // required: true // - name: repo diff --git a/routers/api/v1/repo/release_attachment.go b/routers/api/v1/repo/release_attachment.go index defde81a1d..ceef973413 100644 --- a/routers/api/v1/repo/release_attachment.go +++ b/routers/api/v1/repo/release_attachment.go @@ -46,7 +46,7 @@ func GetReleaseAttachment(ctx *context.APIContext) { // parameters: // - name: owner // in: path - // description: owner of the repo + // description: username of the user or organization owning the repository // type: string // required: true // - name: repo @@ -106,7 +106,7 @@ func ListReleaseAttachments(ctx *context.APIContext) { // parameters: // - name: owner // in: path - // description: owner of the repo + // description: username of the user or organization owning the repository // type: string // required: true // - name: repo @@ -160,7 +160,7 @@ func CreateReleaseAttachment(ctx *context.APIContext) { // parameters: // - name: owner // in: path - // description: owner of the repo + // description: username of the user or organization owning the repository // type: string // required: true // - name: repo @@ -264,7 +264,7 @@ func EditReleaseAttachment(ctx *context.APIContext) { // parameters: // - name: owner // in: path - // description: owner of the repo + // description: username of the user or organization owning the repository // type: string // required: true // - name: repo @@ -345,7 +345,7 @@ func DeleteReleaseAttachment(ctx *context.APIContext) { // parameters: // - name: owner // in: path - // description: owner of the repo + // description: username of the user or organization owning the repository // type: string // required: true // - name: repo diff --git a/routers/api/v1/repo/release_tags.go b/routers/api/v1/repo/release_tags.go index b5e7d83b2a..49e950dd5e 100644 --- a/routers/api/v1/repo/release_tags.go +++ b/routers/api/v1/repo/release_tags.go @@ -22,7 +22,7 @@ func GetReleaseByTag(ctx *context.APIContext) { // parameters: // - name: owner // in: path - // description: owner of the repo + // description: username of the user or organization owning the repository // type: string // required: true // - name: repo @@ -73,7 +73,7 @@ func DeleteReleaseByTag(ctx *context.APIContext) { // parameters: // - name: owner // in: path - // description: owner of the repo + // description: username of the user or organization owning the repository // type: string // required: true // - name: repo diff --git a/routers/api/v1/repo/repo.go b/routers/api/v1/repo/repo.go index 292b267c01..78a01f4831 100644 --- a/routers/api/v1/repo/repo.go +++ b/routers/api/v1/repo/repo.go @@ -329,7 +329,7 @@ func Generate(ctx *context.APIContext) { // parameters: // - name: template_owner // in: path - // description: name of the template repository owner + // description: username of the user or organization to own the template repository // type: string // required: true // - name: template_repo @@ -533,7 +533,7 @@ func Get(ctx *context.APIContext) { // parameters: // - name: owner // in: path - // description: owner of the repo + // description: username of the user or organization owning the repository // type: string // required: true // - name: repo @@ -606,7 +606,7 @@ func Edit(ctx *context.APIContext) { // parameters: // - name: owner // in: path - // description: owner of the repo to edit + // description: username of the user or organization owning the repository to edit // type: string // required: true // - name: repo @@ -1137,7 +1137,7 @@ func Delete(ctx *context.APIContext) { // parameters: // - name: owner // in: path - // description: owner of the repo to delete + // description: username of the user or organization owning the repository to delete // type: string // required: true // - name: repo @@ -1188,7 +1188,7 @@ func GetIssueTemplates(ctx *context.APIContext) { // parameters: // - name: owner // in: path - // description: owner of the repo + // description: username of the user or organization owning the repository // type: string // required: true // - name: repo @@ -1218,7 +1218,7 @@ func GetIssueConfig(ctx *context.APIContext) { // parameters: // - name: owner // in: path - // description: owner of the repo + // description: username of the user or organization owning the repository // type: string // required: true // - name: repo @@ -1245,7 +1245,7 @@ func ValidateIssueConfig(ctx *context.APIContext) { // parameters: // - name: owner // in: path - // description: owner of the repo + // description: username of the user or organization owning the repository // type: string // required: true // - name: repo @@ -1276,7 +1276,7 @@ func ListRepoActivityFeeds(ctx *context.APIContext) { // parameters: // - name: owner // in: path - // description: owner of the repo + // description: username of the user or organization owning the repository // type: string // required: true // - name: repo diff --git a/routers/api/v1/repo/star.go b/routers/api/v1/repo/star.go index 46218e0e28..b59dace459 100644 --- a/routers/api/v1/repo/star.go +++ b/routers/api/v1/repo/star.go @@ -23,7 +23,7 @@ func ListStargazers(ctx *context.APIContext) { // parameters: // - name: owner // in: path - // description: owner of the repo + // description: username of the user or organization owning the repository // type: string // required: true // - name: repo diff --git a/routers/api/v1/repo/status.go b/routers/api/v1/repo/status.go index 40007ea1e5..90d97692b2 100644 --- a/routers/api/v1/repo/status.go +++ b/routers/api/v1/repo/status.go @@ -27,7 +27,7 @@ func NewCommitStatus(ctx *context.APIContext) { // parameters: // - name: owner // in: path - // description: owner of the repo + // description: username of the user or organization owning the repository // type: string // required: true // - name: repo @@ -82,7 +82,7 @@ func GetCommitStatuses(ctx *context.APIContext) { // parameters: // - name: owner // in: path - // description: owner of the repo + // description: username of the user or organization owning the repository // type: string // required: true // - name: repo @@ -136,7 +136,7 @@ func GetCommitStatusesByRef(ctx *context.APIContext) { // parameters: // - name: owner // in: path - // description: owner of the repo + // description: username of the user or organization owning the repository // type: string // required: true // - name: repo @@ -222,7 +222,7 @@ func GetCombinedCommitStatusByRef(ctx *context.APIContext) { // parameters: // - name: owner // in: path - // description: owner of the repo + // description: username of the user or organization owning the repository // type: string // required: true // - name: repo diff --git a/routers/api/v1/repo/subscriber.go b/routers/api/v1/repo/subscriber.go index 14f296a83d..20535b742c 100644 --- a/routers/api/v1/repo/subscriber.go +++ b/routers/api/v1/repo/subscriber.go @@ -23,7 +23,7 @@ func ListSubscribers(ctx *context.APIContext) { // parameters: // - name: owner // in: path - // description: owner of the repo + // description: username of the user or organization owning the repository // type: string // required: true // - name: repo diff --git a/routers/api/v1/repo/tag.go b/routers/api/v1/repo/tag.go index 9e77637282..d1393a40e7 100644 --- a/routers/api/v1/repo/tag.go +++ b/routers/api/v1/repo/tag.go @@ -31,7 +31,7 @@ func ListTags(ctx *context.APIContext) { // parameters: // - name: owner // in: path - // description: owner of the repo + // description: username of the user or organization owning the repository // type: string // required: true // - name: repo @@ -80,7 +80,7 @@ func GetAnnotatedTag(ctx *context.APIContext) { // parameters: // - name: owner // in: path - // description: owner of the repo + // description: username of the user or organization owning the repository // type: string // required: true // - name: repo @@ -128,7 +128,7 @@ func GetTag(ctx *context.APIContext) { // parameters: // - name: owner // in: path - // description: owner of the repo + // description: username of the user or organization owning the repository // type: string // required: true // - name: repo @@ -166,7 +166,7 @@ func CreateTag(ctx *context.APIContext) { // parameters: // - name: owner // in: path - // description: owner of the repo + // description: username of the user or organization owning the repository // type: string // required: true // - name: repo @@ -236,7 +236,7 @@ func DeleteTag(ctx *context.APIContext) { // parameters: // - name: owner // in: path - // description: owner of the repo + // description: username of the user or organization owning the repository // type: string // required: true // - name: repo @@ -301,7 +301,7 @@ func ListTagProtection(ctx *context.APIContext) { // parameters: // - name: owner // in: path - // description: owner of the repo + // description: username of the user or organization owning the repository // type: string // required: true // - name: repo @@ -337,7 +337,7 @@ func GetTagProtection(ctx *context.APIContext) { // parameters: // - name: owner // in: path - // description: owner of the repo + // description: username of the user or organization owning the repository // type: string // required: true // - name: repo @@ -384,7 +384,7 @@ func CreateTagProtection(ctx *context.APIContext) { // parameters: // - name: owner // in: path - // description: owner of the repo + // description: username of the user or organization owning the repository // type: string // required: true // - name: repo @@ -491,7 +491,7 @@ func EditTagProtection(ctx *context.APIContext) { // parameters: // - name: owner // in: path - // description: owner of the repo + // description: username of the user or organization owning the repository // type: string // required: true // - name: repo @@ -596,7 +596,7 @@ func DeleteTagProtection(ctx *context.APIContext) { // parameters: // - name: owner // in: path - // description: owner of the repo + // description: username of the user or organization owning the repository // type: string // required: true // - name: repo diff --git a/routers/api/v1/repo/teams.go b/routers/api/v1/repo/teams.go index 739a9e3892..da83aaf1b7 100644 --- a/routers/api/v1/repo/teams.go +++ b/routers/api/v1/repo/teams.go @@ -23,7 +23,7 @@ func ListTeams(ctx *context.APIContext) { // parameters: // - name: owner // in: path - // description: owner of the repo + // description: username of the user or organization owning the repository // type: string // required: true // - name: repo @@ -67,7 +67,7 @@ func IsTeam(ctx *context.APIContext) { // parameters: // - name: owner // in: path - // description: owner of the repo + // description: username of the user or organization owning the repository // type: string // required: true // - name: repo @@ -121,7 +121,7 @@ func AddTeam(ctx *context.APIContext) { // parameters: // - name: owner // in: path - // description: owner of the repo + // description: username of the user or organization owning the repository // type: string // required: true // - name: repo @@ -157,7 +157,7 @@ func DeleteTeam(ctx *context.APIContext) { // parameters: // - name: owner // in: path - // description: owner of the repo + // description: username of the user or organization owning the repository // type: string // required: true // - name: repo diff --git a/routers/api/v1/repo/topic.go b/routers/api/v1/repo/topic.go index 9c4c22e039..7620e6bb9d 100644 --- a/routers/api/v1/repo/topic.go +++ b/routers/api/v1/repo/topic.go @@ -27,7 +27,7 @@ func ListTopics(ctx *context.APIContext) { // parameters: // - name: owner // in: path - // description: owner of the repo + // description: username of the user or organization owning the repository // type: string // required: true // - name: repo @@ -81,7 +81,7 @@ func UpdateTopics(ctx *context.APIContext) { // parameters: // - name: owner // in: path - // description: owner of the repo + // description: username of the user or organization owning the repository // type: string // required: true // - name: repo @@ -141,7 +141,7 @@ func AddTopic(ctx *context.APIContext) { // parameters: // - name: owner // in: path - // description: owner of the repo + // description: username of the user or organization owning the repository // type: string // required: true // - name: repo @@ -208,7 +208,7 @@ func DeleteTopic(ctx *context.APIContext) { // parameters: // - name: owner // in: path - // description: owner of the repo + // description: username of the user or organization owning the repository // type: string // required: true // - name: repo diff --git a/routers/api/v1/repo/transfer.go b/routers/api/v1/repo/transfer.go index cbf3d10c39..66127134f9 100644 --- a/routers/api/v1/repo/transfer.go +++ b/routers/api/v1/repo/transfer.go @@ -32,7 +32,7 @@ func Transfer(ctx *context.APIContext) { // parameters: // - name: owner // in: path - // description: owner of the repo to transfer + // description: username of the user or organization owning the repository to transfer // type: string // required: true // - name: repo @@ -143,7 +143,7 @@ func AcceptTransfer(ctx *context.APIContext) { // parameters: // - name: owner // in: path - // description: owner of the repo to transfer + // description: username of the user or organization owning the repository to transfer // type: string // required: true // - name: repo @@ -187,7 +187,7 @@ func RejectTransfer(ctx *context.APIContext) { // parameters: // - name: owner // in: path - // description: owner of the repo to transfer + // description: username of the user or organization owning the repository to transfer // type: string // required: true // - name: repo diff --git a/routers/api/v1/repo/tree.go b/routers/api/v1/repo/tree.go index dfd69600fb..b794128c7e 100644 --- a/routers/api/v1/repo/tree.go +++ b/routers/api/v1/repo/tree.go @@ -20,7 +20,7 @@ func GetTree(ctx *context.APIContext) { // parameters: // - name: owner // in: path - // description: owner of the repo + // description: username of the user or organization owning the repository // type: string // required: true // - name: repo diff --git a/routers/api/v1/repo/wiki.go b/routers/api/v1/repo/wiki.go index 8e24ffa465..9aa976fbfb 100644 --- a/routers/api/v1/repo/wiki.go +++ b/routers/api/v1/repo/wiki.go @@ -32,7 +32,7 @@ func NewWikiPage(ctx *context.APIContext) { // parameters: // - name: owner // in: path - // description: owner of the repo + // description: username of the user or organization owning the repository // type: string // required: true // - name: repo @@ -105,7 +105,7 @@ func EditWikiPage(ctx *context.APIContext) { // parameters: // - name: owner // in: path - // description: owner of the repo + // description: username of the user or organization owning the repository // type: string // required: true // - name: repo @@ -219,7 +219,7 @@ func DeleteWikiPage(ctx *context.APIContext) { // parameters: // - name: owner // in: path - // description: owner of the repo + // description: username of the user or organization owning the repository // type: string // required: true // - name: repo @@ -268,7 +268,7 @@ func ListWikiPages(ctx *context.APIContext) { // parameters: // - name: owner // in: path - // description: owner of the repo + // description: username of the user or organization owning the repository // type: string // required: true // - name: repo @@ -347,7 +347,7 @@ func GetWikiPage(ctx *context.APIContext) { // parameters: // - name: owner // in: path - // description: owner of the repo + // description: username of the user or organization owning the repository // type: string // required: true // - name: repo @@ -385,7 +385,7 @@ func ListPageRevisions(ctx *context.APIContext) { // parameters: // - name: owner // in: path - // description: owner of the repo + // description: username of the user or organization owning the repository // type: string // required: true // - name: repo diff --git a/routers/api/v1/user/star.go b/routers/api/v1/user/star.go index ee5d63063b..7f1aeb0c37 100644 --- a/routers/api/v1/user/star.go +++ b/routers/api/v1/user/star.go @@ -119,7 +119,7 @@ func IsStarring(ctx *context.APIContext) { // parameters: // - name: owner // in: path - // description: owner of the repo + // description: username of the user or organization owning the repository // type: string // required: true // - name: repo @@ -150,7 +150,7 @@ func Star(ctx *context.APIContext) { // parameters: // - name: owner // in: path - // description: owner of the repo to star + // description: username of the user or organization owning the repository to star // type: string // required: true // - name: repo @@ -186,7 +186,7 @@ func Unstar(ctx *context.APIContext) { // parameters: // - name: owner // in: path - // description: owner of the repo to unstar + // description: username of the user or organization owning the repository to unstar // type: string // required: true // - name: repo diff --git a/routers/api/v1/user/watch.go b/routers/api/v1/user/watch.go index 844eac2c67..0742db7988 100644 --- a/routers/api/v1/user/watch.go +++ b/routers/api/v1/user/watch.go @@ -113,7 +113,7 @@ func IsWatching(ctx *context.APIContext) { // parameters: // - name: owner // in: path - // description: owner of the repo + // description: username of the user or organization owning the repository // type: string // required: true // - name: repo @@ -149,7 +149,7 @@ func Watch(ctx *context.APIContext) { // parameters: // - name: owner // in: path - // description: owner of the repo + // description: username of the user or organization owning the repository // type: string // required: true // - name: repo @@ -192,7 +192,7 @@ func Unwatch(ctx *context.APIContext) { // parameters: // - name: owner // in: path - // description: owner of the repo + // description: username of the user or organization owning the repository // type: string // required: true // - name: repo