Package build.cursed.genapi.forgejo.api
Class RepositoryApi
java.lang.Object
build.cursed.genapi.forgejo.api.RepositoryApi
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionacceptRepoTransfer(String owner, String repo) Accept a repo transferokhttp3.CallacceptRepoTransferAsync(String owner, String repo, ApiCallback<Repository> _callback) Accept a repo transfer (asynchronously)okhttp3.CallacceptRepoTransferCall(String owner, String repo, ApiCallback _callback) Build call for acceptRepoTransferacceptRepoTransferWithHttpInfo(String owner, String repo) Accept a repo transferGet an action runokhttp3.CallactionRunAsync(String owner, String repo, Long runId, ApiCallback<ActionRun> _callback) Get an action run (asynchronously)okhttp3.CallactionRunCall(String owner, String repo, Long runId, ApiCallback _callback) Build call for actionRunactionRunWithHttpInfo(String owner, String repo, Long runId) Get an action runCreate a repositoryokhttp3.CallcreateCurrentUserRepoAsync(CreateRepoOption body, ApiCallback<Repository> _callback) Create a repository (asynchronously)okhttp3.CallcreateCurrentUserRepoCall(CreateRepoOption body, ApiCallback _callback) Build call for createCurrentUserRepoCreate a repositorycreateFork(String owner, String repo, CreateForkOption body) Fork a repositoryokhttp3.CallcreateForkAsync(String owner, String repo, CreateForkOption body, ApiCallback<Repository> _callback) Fork a repository (asynchronously)okhttp3.CallcreateForkCall(String owner, String repo, CreateForkOption body, ApiCallback _callback) Build call for createForkcreateForkWithHttpInfo(String owner, String repo, CreateForkOption body) Fork a repositoryvoidcreateRepoVariable(String owner, String repo, String variablename, CreateVariableOption body) Create a repo-level variableokhttp3.CallcreateRepoVariableAsync(String owner, String repo, String variablename, CreateVariableOption body, ApiCallback<Void> _callback) Create a repo-level variable (asynchronously)okhttp3.CallcreateRepoVariableCall(String owner, String repo, String variablename, CreateVariableOption body, ApiCallback _callback) Build call for createRepoVariablecreateRepoVariableWithHttpInfo(String owner, String repo, String variablename, CreateVariableOption body) Create a repo-level variablevoiddeleteRepoRunner(String owner, String repo, String runnerId) Delete a particular runner that belongs to a repositoryokhttp3.CalldeleteRepoRunnerAsync(String owner, String repo, String runnerId, ApiCallback<Void> _callback) Delete a particular runner that belongs to a repository (asynchronously)okhttp3.CalldeleteRepoRunnerCall(String owner, String repo, String runnerId, ApiCallback _callback) Build call for deleteRepoRunnerdeleteRepoRunnerWithHttpInfo(String owner, String repo, String runnerId) Delete a particular runner that belongs to a repositoryvoiddeleteRepoSecret(String owner, String repo, String secretname) Delete a secret in a repositoryokhttp3.CalldeleteRepoSecretAsync(String owner, String repo, String secretname, ApiCallback<Void> _callback) Delete a secret in a repository (asynchronously)okhttp3.CalldeleteRepoSecretCall(String owner, String repo, String secretname, ApiCallback _callback) Build call for deleteRepoSecretdeleteRepoSecretWithHttpInfo(String owner, String repo, String secretname) Delete a secret in a repositoryvoiddeleteRepoVariable(String owner, String repo, String variablename) Delete a repo-level variableokhttp3.CalldeleteRepoVariableAsync(String owner, String repo, String variablename, ApiCallback<Void> _callback) Delete a repo-level variable (asynchronously)okhttp3.CalldeleteRepoVariableCall(String owner, String repo, String variablename, ApiCallback _callback) Build call for deleteRepoVariabledeleteRepoVariableWithHttpInfo(String owner, String repo, String variablename) Delete a repo-level variabledispatchWorkflow(String owner, String repo, String workflowfilename, DispatchWorkflowOption body) Dispatches a workflowokhttp3.CalldispatchWorkflowAsync(String owner, String repo, String workflowfilename, DispatchWorkflowOption body, ApiCallback<DispatchWorkflowRun> _callback) Dispatches a workflow (asynchronously)okhttp3.CalldispatchWorkflowCall(String owner, String repo, String workflowfilename, DispatchWorkflowOption body, ApiCallback _callback) Build call for dispatchWorkflowdispatchWorkflowWithHttpInfo(String owner, String repo, String workflowfilename, DispatchWorkflowOption body) Dispatches a workflowgenerateRepo(String templateOwner, String templateRepo, GenerateRepoOption body) Create a repository using a templateokhttp3.CallgenerateRepoAsync(String templateOwner, String templateRepo, GenerateRepoOption body, ApiCallback<Repository> _callback) Create a repository using a template (asynchronously)okhttp3.CallgenerateRepoCall(String templateOwner, String templateRepo, GenerateRepoOption body, ApiCallback _callback) Build call for generateRepogenerateRepoWithHttpInfo(String templateOwner, String templateRepo, GenerateRepoOption body) Create a repository using a templategetAnnotatedTag(String owner, String repo, String sha) Gets the tag object of an annotated tag (not lightweight tags)okhttp3.CallgetAnnotatedTagAsync(String owner, String repo, String sha, ApiCallback<AnnotatedTag> _callback) Gets the tag object of an annotated tag (not lightweight tags) (asynchronously)okhttp3.CallgetAnnotatedTagCall(String owner, String repo, String sha, ApiCallback _callback) Build call for getAnnotatedTaggetAnnotatedTagWithHttpInfo(String owner, String repo, String sha) Gets the tag object of an annotated tag (not lightweight tags)Gets the blob of a repository.okhttp3.CallgetBlobAsync(String owner, String repo, String sha, ApiCallback<GitBlob> _callback) Gets the blob of a repository.okhttp3.CallgetBlobCall(String owner, String repo, String sha, ApiCallback _callback) Build call for getBlobGets multiple blobs of a repository.okhttp3.CallgetBlobsAsync(String owner, String repo, String shas, ApiCallback<List<GitBlob>> _callback) Gets multiple blobs of a repository.okhttp3.CallgetBlobsCall(String owner, String repo, String shas, ApiCallback _callback) Build call for getBlobsgetBlobsWithHttpInfo(String owner, String repo, String shas) Gets multiple blobs of a repository.getBlobWithHttpInfo(String owner, String repo, String sha) Gets the blob of a repository.intgetRepoRunner(String owner, String repo, String runnerId) Get a particular runner that belongs to the repositoryokhttp3.CallgetRepoRunnerAsync(String owner, String repo, String runnerId, ApiCallback<ActionRunner> _callback) Get a particular runner that belongs to the repository (asynchronously)okhttp3.CallgetRepoRunnerCall(String owner, String repo, String runnerId, ApiCallback _callback) Build call for getRepoRunnerGet runners belonging to the repositoryokhttp3.CallgetRepoRunnersAsync(String owner, String repo, Boolean visible, Integer page, Integer limit, ApiCallback<List<ActionRunner>> _callback) Get runners belonging to the repository (asynchronously)okhttp3.CallgetRepoRunnersCall(String owner, String repo, Boolean visible, Integer page, Integer limit, ApiCallback _callback) Build call for getRepoRunnersGet runners belonging to the repositorygetRepoRunnerWithHttpInfo(String owner, String repo, String runnerId) Get a particular runner that belongs to the repositorygetRepoVariable(String owner, String repo, String variablename) Get a repo-level variableokhttp3.CallgetRepoVariableAsync(String owner, String repo, String variablename, ApiCallback<ActionVariable> _callback) Get a repo-level variable (asynchronously)okhttp3.CallgetRepoVariableCall(String owner, String repo, String variablename, ApiCallback _callback) Build call for getRepoVariablegetRepoVariablesList(String owner, String repo, Integer page, Integer limit) Get repo-level variables listokhttp3.CallgetRepoVariablesListAsync(String owner, String repo, Integer page, Integer limit, ApiCallback<List<ActionVariable>> _callback) Get repo-level variables list (asynchronously)okhttp3.CallgetRepoVariablesListCall(String owner, String repo, Integer page, Integer limit, ApiCallback _callback) Build call for getRepoVariablesListgetRepoVariablesListWithHttpInfo(String owner, String repo, Integer page, Integer limit) Get repo-level variables listgetRepoVariableWithHttpInfo(String owner, String repo, String variablename) Get a repo-level variableGets the tree of a repository.okhttp3.CallgetTreeAsync(String owner, String repo, String sha, Boolean recursive, Integer page, Integer perPage, ApiCallback<GitTreeResponse> _callback) Gets the tree of a repository.okhttp3.CallgetTreeCall(String owner, String repo, String sha, Boolean recursive, Integer page, Integer perPage, ApiCallback _callback) Build call for getTreegetTreeWithHttpInfo(String owner, String repo, String sha, Boolean recursive, Integer page, Integer perPage) Gets the tree of a repository.listActionRuns(String owner, String repo, Integer page, Integer limit, List<String> event, List<String> status, Long runNumber, String headSha, String ref, String workflowId) List a repository's action runsokhttp3.CalllistActionRunsAsync(String owner, String repo, Integer page, Integer limit, List<String> event, List<String> status, Long runNumber, String headSha, String ref, String workflowId, ApiCallback<ListActionRunResponse> _callback) List a repository's action runs (asynchronously)okhttp3.CalllistActionRunsCall(String owner, String repo, Integer page, Integer limit, List<String> event, List<String> status, Long runNumber, String headSha, String ref, String workflowId, ApiCallback _callback) Build call for listActionRunslistActionRunsWithHttpInfo(String owner, String repo, Integer page, Integer limit, List<String> event, List<String> status, Long runNumber, String headSha, String ref, String workflowId) List a repository's action runsList a repository's action tasksokhttp3.CalllistActionTasksAsync(String owner, String repo, Integer page, Integer limit, List<String> status, ApiCallback<ActionTaskResponse> _callback) List a repository's action tasks (asynchronously)okhttp3.CalllistActionTasksCall(String owner, String repo, Integer page, Integer limit, List<String> status, ApiCallback _callback) Build call for listActionTaskslistActionTasksWithHttpInfo(String owner, String repo, Integer page, Integer limit, List<String> status) List a repository's action tasksList a repository's forksokhttp3.CalllistForksAsync(String owner, String repo, Integer page, Integer limit, ApiCallback<List<Repository>> _callback) List a repository's forks (asynchronously)okhttp3.CalllistForksCall(String owner, String repo, Integer page, Integer limit, ApiCallback _callback) Build call for listForkslistForksWithHttpInfo(String owner, String repo, Integer page, Integer limit) List a repository's forksregisterRepoRunner(String owner, String repo, RegisterRunnerOptions body) Register a new repository-level runnerokhttp3.CallregisterRepoRunnerAsync(String owner, String repo, RegisterRunnerOptions body, ApiCallback<RegisterRunnerResponse> _callback) Register a new repository-level runner (asynchronously)okhttp3.CallregisterRepoRunnerCall(String owner, String repo, RegisterRunnerOptions body, ApiCallback _callback) Build call for registerRepoRunnerregisterRepoRunnerWithHttpInfo(String owner, String repo, RegisterRunnerOptions body) Register a new repository-level runnerrejectRepoTransfer(String owner, String repo) Reject a repo transferokhttp3.CallrejectRepoTransferAsync(String owner, String repo, ApiCallback<Repository> _callback) Reject a repo transfer (asynchronously)okhttp3.CallrejectRepoTransferCall(String owner, String repo, ApiCallback _callback) Build call for rejectRepoTransferrejectRepoTransferWithHttpInfo(String owner, String repo) Reject a repo transfervoidrepoAddCollaborator(String owner, String repo, String collaborator, AddCollaboratorOption body) Add a collaborator to a repositoryokhttp3.CallrepoAddCollaboratorAsync(String owner, String repo, String collaborator, AddCollaboratorOption body, ApiCallback<Void> _callback) Add a collaborator to a repository (asynchronously)okhttp3.CallrepoAddCollaboratorCall(String owner, String repo, String collaborator, AddCollaboratorOption body, ApiCallback _callback) Build call for repoAddCollaboratorrepoAddCollaboratorWithHttpInfo(String owner, String repo, String collaborator, AddCollaboratorOption body) Add a collaborator to a repositoryvoidrepoAddFlag(String owner, String repo, String flag) Add a flag to a repositoryokhttp3.CallrepoAddFlagAsync(String owner, String repo, String flag, ApiCallback<Void> _callback) Add a flag to a repository (asynchronously)okhttp3.CallrepoAddFlagCall(String owner, String repo, String flag, ApiCallback _callback) Build call for repoAddFlagrepoAddFlagWithHttpInfo(String owner, String repo, String flag) Add a flag to a repositoryrepoAddPushMirror(String owner, String repo, CreatePushMirrorOption body) Set up a new push mirror in a repositoryokhttp3.CallrepoAddPushMirrorAsync(String owner, String repo, CreatePushMirrorOption body, ApiCallback<PushMirror> _callback) Set up a new push mirror in a repository (asynchronously)okhttp3.CallrepoAddPushMirrorCall(String owner, String repo, CreatePushMirrorOption body, ApiCallback _callback) Build call for repoAddPushMirrorrepoAddPushMirrorWithHttpInfo(String owner, String repo, CreatePushMirrorOption body) Set up a new push mirror in a repositoryvoidrepoAddTeam(String owner, String repo, String team) Add a team to a repositoryokhttp3.CallrepoAddTeamAsync(String owner, String repo, String team, ApiCallback<Void> _callback) Add a team to a repository (asynchronously)okhttp3.CallrepoAddTeamCall(String owner, String repo, String team, ApiCallback _callback) Build call for repoAddTeamrepoAddTeamWithHttpInfo(String owner, String repo, String team) Add a team to a repositoryvoidrepoAddTopic(String owner, String repo, String topic) Add a topic to a repositoryokhttp3.CallrepoAddTopicAsync(String owner, String repo, String topic, ApiCallback<Void> _callback) Add a topic to a repository (asynchronously)okhttp3.CallrepoAddTopicCall(String owner, String repo, String topic, ApiCallback _callback) Build call for repoAddTopicrepoAddTopicWithHttpInfo(String owner, String repo, String topic) Add a topic to a repositoryrepoApplyDiffPatch(String owner, String repo, UpdateFileOptions body) Apply diff patch to repositoryokhttp3.CallrepoApplyDiffPatchAsync(String owner, String repo, UpdateFileOptions body, ApiCallback<FileResponse> _callback) Apply diff patch to repository (asynchronously)okhttp3.CallrepoApplyDiffPatchCall(String owner, String repo, UpdateFileOptions body, ApiCallback _callback) Build call for repoApplyDiffPatchrepoApplyDiffPatchWithHttpInfo(String owner, String repo, UpdateFileOptions body) Apply diff patch to repositoryvoidrepoCancelScheduledAutoMerge(String owner, String repo, Long index) Cancel the scheduled auto merge for the given pull requestokhttp3.CallrepoCancelScheduledAutoMergeAsync(String owner, String repo, Long index, ApiCallback<Void> _callback) Cancel the scheduled auto merge for the given pull request (asynchronously)okhttp3.CallrepoCancelScheduledAutoMergeCall(String owner, String repo, Long index, ApiCallback _callback) Build call for repoCancelScheduledAutoMergerepoCancelScheduledAutoMergeWithHttpInfo(String owner, String repo, Long index) Cancel the scheduled auto merge for the given pull requestrepoChangeFiles(String owner, String repo, ChangeFilesOptions body) Modify multiple files in a repositoryokhttp3.CallrepoChangeFilesAsync(String owner, String repo, ChangeFilesOptions body, ApiCallback<FilesResponse> _callback) Modify multiple files in a repository (asynchronously)okhttp3.CallrepoChangeFilesCall(String owner, String repo, ChangeFilesOptions body, ApiCallback _callback) Build call for repoChangeFilesrepoChangeFilesWithHttpInfo(String owner, String repo, ChangeFilesOptions body) Modify multiple files in a repositoryvoidrepoCheckCollaborator(String owner, String repo, String collaborator) Check if a user is a collaborator of a repository If the user is a collaborator, return 204.okhttp3.CallrepoCheckCollaboratorAsync(String owner, String repo, String collaborator, ApiCallback<Void> _callback) Check if a user is a collaborator of a repository (asynchronously) If the user is a collaborator, return 204.okhttp3.CallrepoCheckCollaboratorCall(String owner, String repo, String collaborator, ApiCallback _callback) Build call for repoCheckCollaboratorrepoCheckCollaboratorWithHttpInfo(String owner, String repo, String collaborator) Check if a user is a collaborator of a repository If the user is a collaborator, return 204.voidrepoCheckFlag(String owner, String repo, String flag) Check if a repository has a given flagokhttp3.CallrepoCheckFlagAsync(String owner, String repo, String flag, ApiCallback<Void> _callback) Check if a repository has a given flag (asynchronously)okhttp3.CallrepoCheckFlagCall(String owner, String repo, String flag, ApiCallback _callback) Build call for repoCheckFlagrepoCheckFlagWithHttpInfo(String owner, String repo, String flag) Check if a repository has a given flagrepoCheckTeam(String owner, String repo, String team) Check if a team is assigned to a repositoryokhttp3.CallrepoCheckTeamAsync(String owner, String repo, String team, ApiCallback<Team> _callback) Check if a team is assigned to a repository (asynchronously)okhttp3.CallrepoCheckTeamCall(String owner, String repo, String team, ApiCallback _callback) Build call for repoCheckTeamrepoCheckTeamWithHttpInfo(String owner, String repo, String team) Check if a team is assigned to a repositoryrepoCompareDiff(String owner, String repo, String basehead) Get commit comparison informationokhttp3.CallrepoCompareDiffAsync(String owner, String repo, String basehead, ApiCallback<Compare> _callback) Get commit comparison information (asynchronously)okhttp3.CallrepoCompareDiffCall(String owner, String repo, String basehead, ApiCallback _callback) Build call for repoCompareDiffrepoCompareDiffWithHttpInfo(String owner, String repo, String basehead) Get commit comparison informationrepoConvert(String owner, String repo) Convert a mirror repo to a normal repo.okhttp3.CallrepoConvertAsync(String owner, String repo, ApiCallback<Repository> _callback) Convert a mirror repo to a normal repo.okhttp3.CallrepoConvertCall(String owner, String repo, ApiCallback _callback) Build call for repoConvertrepoConvertWithHttpInfo(String owner, String repo) Convert a mirror repo to a normal repo.repoCreateBranch(String owner, String repo, CreateBranchRepoOption body) Create a branchokhttp3.CallrepoCreateBranchAsync(String owner, String repo, CreateBranchRepoOption body, ApiCallback<Branch> _callback) Create a branch (asynchronously)okhttp3.CallrepoCreateBranchCall(String owner, String repo, CreateBranchRepoOption body, ApiCallback _callback) Build call for repoCreateBranchrepoCreateBranchProtection(String owner, String repo, CreateBranchProtectionOption body) Create a branch protections for a repositoryokhttp3.CallrepoCreateBranchProtectionAsync(String owner, String repo, CreateBranchProtectionOption body, ApiCallback<BranchProtection> _callback) Create a branch protections for a repository (asynchronously)okhttp3.CallrepoCreateBranchProtectionCall(String owner, String repo, CreateBranchProtectionOption body, ApiCallback _callback) Build call for repoCreateBranchProtectionrepoCreateBranchProtectionWithHttpInfo(String owner, String repo, CreateBranchProtectionOption body) Create a branch protections for a repositoryrepoCreateBranchWithHttpInfo(String owner, String repo, CreateBranchRepoOption body) Create a branchrepoCreateFile(String owner, String repo, String filepath, CreateFileOptions body) Create a file in a repositoryokhttp3.CallrepoCreateFileAsync(String owner, String repo, String filepath, CreateFileOptions body, ApiCallback<FileResponse> _callback) Create a file in a repository (asynchronously)okhttp3.CallrepoCreateFileCall(String owner, String repo, String filepath, CreateFileOptions body, ApiCallback _callback) Build call for repoCreateFilerepoCreateFileWithHttpInfo(String owner, String repo, String filepath, CreateFileOptions body) Create a file in a repositoryrepoCreateHook(String owner, String repo, CreateHookOption body) Create a hookokhttp3.CallrepoCreateHookAsync(String owner, String repo, CreateHookOption body, ApiCallback<Hook> _callback) Create a hook (asynchronously)okhttp3.CallrepoCreateHookCall(String owner, String repo, CreateHookOption body, ApiCallback _callback) Build call for repoCreateHookrepoCreateHookWithHttpInfo(String owner, String repo, CreateHookOption body) Create a hookrepoCreateKey(String owner, String repo, CreateKeyOption body) Add a key to a repositoryokhttp3.CallrepoCreateKeyAsync(String owner, String repo, CreateKeyOption body, ApiCallback<DeployKey> _callback) Add a key to a repository (asynchronously)okhttp3.CallrepoCreateKeyCall(String owner, String repo, CreateKeyOption body, ApiCallback _callback) Build call for repoCreateKeyrepoCreateKeyWithHttpInfo(String owner, String repo, CreateKeyOption body) Add a key to a repositoryrepoCreatePullRequest(String owner, String repo, CreatePullRequestOption body) Create a pull requestokhttp3.CallrepoCreatePullRequestAsync(String owner, String repo, CreatePullRequestOption body, ApiCallback<PullRequest> _callback) Create a pull request (asynchronously)okhttp3.CallrepoCreatePullRequestCall(String owner, String repo, CreatePullRequestOption body, ApiCallback _callback) Build call for repoCreatePullRequestrepoCreatePullRequestWithHttpInfo(String owner, String repo, CreatePullRequestOption body) Create a pull requestrepoCreatePullReview(String owner, String repo, Long index, CreatePullReviewOptions body) Create a review to an pull requestokhttp3.CallrepoCreatePullReviewAsync(String owner, String repo, Long index, CreatePullReviewOptions body, ApiCallback<PullReview> _callback) Create a review to an pull request (asynchronously)okhttp3.CallrepoCreatePullReviewCall(String owner, String repo, Long index, CreatePullReviewOptions body, ApiCallback _callback) Build call for repoCreatePullReviewrepoCreatePullReviewComment(String owner, String repo, Long index, Long id, CreatePullReviewComment body) Add a new comment to a pull request reviewokhttp3.CallrepoCreatePullReviewCommentAsync(String owner, String repo, Long index, Long id, CreatePullReviewComment body, ApiCallback<PullReviewComment> _callback) Add a new comment to a pull request review (asynchronously)okhttp3.CallrepoCreatePullReviewCommentCall(String owner, String repo, Long index, Long id, CreatePullReviewComment body, ApiCallback _callback) Build call for repoCreatePullReviewCommentrepoCreatePullReviewCommentWithHttpInfo(String owner, String repo, Long index, Long id, CreatePullReviewComment body) Add a new comment to a pull request reviewrepoCreatePullReviewRequests(String owner, String repo, Long index, PullReviewRequestOptions body) Create review requests for a pull requestokhttp3.CallrepoCreatePullReviewRequestsAsync(String owner, String repo, Long index, PullReviewRequestOptions body, ApiCallback<List<PullReview>> _callback) Create review requests for a pull request (asynchronously)okhttp3.CallrepoCreatePullReviewRequestsCall(String owner, String repo, Long index, PullReviewRequestOptions body, ApiCallback _callback) Build call for repoCreatePullReviewRequestsrepoCreatePullReviewRequestsWithHttpInfo(String owner, String repo, Long index, PullReviewRequestOptions body) Create review requests for a pull requestrepoCreatePullReviewWithHttpInfo(String owner, String repo, Long index, CreatePullReviewOptions body) Create a review to an pull requestrepoCreateRelease(String owner, String repo, CreateReleaseOption body) Create a releaseokhttp3.CallrepoCreateReleaseAsync(String owner, String repo, CreateReleaseOption body, ApiCallback<Release> _callback) Create a release (asynchronously)repoCreateReleaseAttachment(String owner, String repo, Long id, String name, File attachment, String externalUrl) Create a release attachmentokhttp3.CallrepoCreateReleaseAttachmentAsync(String owner, String repo, Long id, String name, File attachment, String externalUrl, ApiCallback<Attachment> _callback) Create a release attachment (asynchronously)okhttp3.CallrepoCreateReleaseAttachmentCall(String owner, String repo, Long id, String name, File attachment, String externalUrl, ApiCallback _callback) Build call for repoCreateReleaseAttachmentrepoCreateReleaseAttachmentWithHttpInfo(String owner, String repo, Long id, String name, File attachment, String externalUrl) Create a release attachmentokhttp3.CallrepoCreateReleaseCall(String owner, String repo, CreateReleaseOption body, ApiCallback _callback) Build call for repoCreateReleaserepoCreateReleaseWithHttpInfo(String owner, String repo, CreateReleaseOption body) Create a releaserepoCreateStatus(String owner, String repo, String sha, CreateStatusOption body) Create a commit statusokhttp3.CallrepoCreateStatusAsync(String owner, String repo, String sha, CreateStatusOption body, ApiCallback<CommitStatus> _callback) Create a commit status (asynchronously)okhttp3.CallrepoCreateStatusCall(String owner, String repo, String sha, CreateStatusOption body, ApiCallback _callback) Build call for repoCreateStatusrepoCreateStatusWithHttpInfo(String owner, String repo, String sha, CreateStatusOption body) Create a commit statusrepoCreateTag(String owner, String repo, CreateTagOption body) Create a new git tag in a repositoryokhttp3.CallrepoCreateTagAsync(String owner, String repo, CreateTagOption body, ApiCallback<Tag> _callback) Create a new git tag in a repository (asynchronously)okhttp3.CallrepoCreateTagCall(String owner, String repo, CreateTagOption body, ApiCallback _callback) Build call for repoCreateTagrepoCreateTagProtection(String owner, String repo, CreateTagProtectionOption body) Create a tag protections for a repositoryokhttp3.CallrepoCreateTagProtectionAsync(String owner, String repo, CreateTagProtectionOption body, ApiCallback<TagProtection> _callback) Create a tag protections for a repository (asynchronously)okhttp3.CallrepoCreateTagProtectionCall(String owner, String repo, CreateTagProtectionOption body, ApiCallback _callback) Build call for repoCreateTagProtectionrepoCreateTagProtectionWithHttpInfo(String owner, String repo, CreateTagProtectionOption body) Create a tag protections for a repositoryrepoCreateTagWithHttpInfo(String owner, String repo, CreateTagOption body) Create a new git tag in a repositoryrepoCreateWikiPage(String owner, String repo, CreateWikiPageOptions body) Create a wiki pageokhttp3.CallrepoCreateWikiPageAsync(String owner, String repo, CreateWikiPageOptions body, ApiCallback<WikiPage> _callback) Create a wiki page (asynchronously)okhttp3.CallrepoCreateWikiPageCall(String owner, String repo, CreateWikiPageOptions body, ApiCallback _callback) Build call for repoCreateWikiPagerepoCreateWikiPageWithHttpInfo(String owner, String repo, CreateWikiPageOptions body) Create a wiki pagevoidrepoDelete(String owner, String repo) Delete a repositoryvoidrepoDeleteAllFlags(String owner, String repo) Remove all flags from a repositoryokhttp3.CallrepoDeleteAllFlagsAsync(String owner, String repo, ApiCallback<Void> _callback) Remove all flags from a repository (asynchronously)okhttp3.CallrepoDeleteAllFlagsCall(String owner, String repo, ApiCallback _callback) Build call for repoDeleteAllFlagsrepoDeleteAllFlagsWithHttpInfo(String owner, String repo) Remove all flags from a repositoryokhttp3.CallrepoDeleteAsync(String owner, String repo, ApiCallback<Void> _callback) Delete a repository (asynchronously)voidrepoDeleteAvatar(String owner, String repo) Delete a repository's avatarokhttp3.CallrepoDeleteAvatarAsync(String owner, String repo, ApiCallback<Void> _callback) Delete a repository's avatar (asynchronously)okhttp3.CallrepoDeleteAvatarCall(String owner, String repo, ApiCallback _callback) Build call for repoDeleteAvatarrepoDeleteAvatarWithHttpInfo(String owner, String repo) Delete a repository's avatarvoidrepoDeleteBranch(String owner, String repo, String branch) Delete a specific branch from a repositoryokhttp3.CallrepoDeleteBranchAsync(String owner, String repo, String branch, ApiCallback<Void> _callback) Delete a specific branch from a repository (asynchronously)okhttp3.CallrepoDeleteBranchCall(String owner, String repo, String branch, ApiCallback _callback) Build call for repoDeleteBranchvoidrepoDeleteBranchProtection(String owner, String repo, String name) Delete a specific branch protection for the repositoryokhttp3.CallrepoDeleteBranchProtectionAsync(String owner, String repo, String name, ApiCallback<Void> _callback) Delete a specific branch protection for the repository (asynchronously)okhttp3.CallrepoDeleteBranchProtectionCall(String owner, String repo, String name, ApiCallback _callback) Build call for repoDeleteBranchProtectionrepoDeleteBranchProtectionWithHttpInfo(String owner, String repo, String name) Delete a specific branch protection for the repositoryrepoDeleteBranchWithHttpInfo(String owner, String repo, String branch) Delete a specific branch from a repositoryokhttp3.CallrepoDeleteCall(String owner, String repo, ApiCallback _callback) Build call for repoDeletevoidrepoDeleteCollaborator(String owner, String repo, String collaborator) Delete a collaborator from a repositoryokhttp3.CallrepoDeleteCollaboratorAsync(String owner, String repo, String collaborator, ApiCallback<Void> _callback) Delete a collaborator from a repository (asynchronously)okhttp3.CallrepoDeleteCollaboratorCall(String owner, String repo, String collaborator, ApiCallback _callback) Build call for repoDeleteCollaboratorrepoDeleteCollaboratorWithHttpInfo(String owner, String repo, String collaborator) Delete a collaborator from a repositoryrepoDeleteFile(String owner, String repo, String filepath, DeleteFileOptions body) Delete a file in a repositoryokhttp3.CallrepoDeleteFileAsync(String owner, String repo, String filepath, DeleteFileOptions body, ApiCallback<FileDeleteResponse> _callback) Delete a file in a repository (asynchronously)okhttp3.CallrepoDeleteFileCall(String owner, String repo, String filepath, DeleteFileOptions body, ApiCallback _callback) Build call for repoDeleteFilerepoDeleteFileWithHttpInfo(String owner, String repo, String filepath, DeleteFileOptions body) Delete a file in a repositoryvoidrepoDeleteFlag(String owner, String repo, String flag) Remove a flag from a repositoryokhttp3.CallrepoDeleteFlagAsync(String owner, String repo, String flag, ApiCallback<Void> _callback) Remove a flag from a repository (asynchronously)okhttp3.CallrepoDeleteFlagCall(String owner, String repo, String flag, ApiCallback _callback) Build call for repoDeleteFlagrepoDeleteFlagWithHttpInfo(String owner, String repo, String flag) Remove a flag from a repositoryvoidrepoDeleteGitHook(String owner, String repo, String id) Delete a Git hook in a repositoryokhttp3.CallrepoDeleteGitHookAsync(String owner, String repo, String id, ApiCallback<Void> _callback) Delete a Git hook in a repository (asynchronously)okhttp3.CallrepoDeleteGitHookCall(String owner, String repo, String id, ApiCallback _callback) Build call for repoDeleteGitHookrepoDeleteGitHookWithHttpInfo(String owner, String repo, String id) Delete a Git hook in a repositoryvoidrepoDeleteHook(String owner, String repo, Long id) Delete a hook in a repositoryokhttp3.CallrepoDeleteHookAsync(String owner, String repo, Long id, ApiCallback<Void> _callback) Delete a hook in a repository (asynchronously)okhttp3.CallrepoDeleteHookCall(String owner, String repo, Long id, ApiCallback _callback) Build call for repoDeleteHookrepoDeleteHookWithHttpInfo(String owner, String repo, Long id) Delete a hook in a repositoryvoidrepoDeleteKey(String owner, String repo, Long id) Delete a key from a repositoryokhttp3.CallrepoDeleteKeyAsync(String owner, String repo, Long id, ApiCallback<Void> _callback) Delete a key from a repository (asynchronously)okhttp3.CallrepoDeleteKeyCall(String owner, String repo, Long id, ApiCallback _callback) Build call for repoDeleteKeyrepoDeleteKeyWithHttpInfo(String owner, String repo, Long id) Delete a key from a repositoryvoidrepoDeletePullReview(String owner, String repo, Long index, Long id) Delete a specific review from a pull requestokhttp3.CallrepoDeletePullReviewAsync(String owner, String repo, Long index, Long id, ApiCallback<Void> _callback) Delete a specific review from a pull request (asynchronously)okhttp3.CallrepoDeletePullReviewCall(String owner, String repo, Long index, Long id, ApiCallback _callback) Build call for repoDeletePullReviewvoidDelete a pull review commentokhttp3.CallrepoDeletePullReviewCommentAsync(String owner, String repo, Long index, Long id, Long comment, ApiCallback<Void> _callback) Delete a pull review comment (asynchronously)okhttp3.CallrepoDeletePullReviewCommentCall(String owner, String repo, Long index, Long id, Long comment, ApiCallback _callback) Build call for repoDeletePullReviewCommentrepoDeletePullReviewCommentWithHttpInfo(String owner, String repo, Long index, Long id, Long comment) Delete a pull review commentvoidrepoDeletePullReviewRequests(String owner, String repo, Long index, PullReviewRequestOptions body) Cancel review requests for a pull requestokhttp3.CallrepoDeletePullReviewRequestsAsync(String owner, String repo, Long index, PullReviewRequestOptions body, ApiCallback<Void> _callback) Cancel review requests for a pull request (asynchronously)okhttp3.CallrepoDeletePullReviewRequestsCall(String owner, String repo, Long index, PullReviewRequestOptions body, ApiCallback _callback) Build call for repoDeletePullReviewRequestsrepoDeletePullReviewRequestsWithHttpInfo(String owner, String repo, Long index, PullReviewRequestOptions body) Cancel review requests for a pull requestrepoDeletePullReviewWithHttpInfo(String owner, String repo, Long index, Long id) Delete a specific review from a pull requestvoidrepoDeletePushMirror(String owner, String repo, String name) Remove a push mirror from a repository by remoteNameokhttp3.CallrepoDeletePushMirrorAsync(String owner, String repo, String name, ApiCallback<Void> _callback) Remove a push mirror from a repository by remoteName (asynchronously)okhttp3.CallrepoDeletePushMirrorCall(String owner, String repo, String name, ApiCallback _callback) Build call for repoDeletePushMirrorrepoDeletePushMirrorWithHttpInfo(String owner, String repo, String name) Remove a push mirror from a repository by remoteNamevoidrepoDeleteRelease(String owner, String repo, Long id) Delete a releaseokhttp3.CallrepoDeleteReleaseAsync(String owner, String repo, Long id, ApiCallback<Void> _callback) Delete a release (asynchronously)voidrepoDeleteReleaseAttachment(String owner, String repo, Long id, Long attachmentId) Delete a release attachmentokhttp3.CallrepoDeleteReleaseAttachmentAsync(String owner, String repo, Long id, Long attachmentId, ApiCallback<Void> _callback) Delete a release attachment (asynchronously)okhttp3.CallrepoDeleteReleaseAttachmentCall(String owner, String repo, Long id, Long attachmentId, ApiCallback _callback) Build call for repoDeleteReleaseAttachmentrepoDeleteReleaseAttachmentWithHttpInfo(String owner, String repo, Long id, Long attachmentId) Delete a release attachmentvoidrepoDeleteReleaseByTag(String owner, String repo, String tag) Delete a release by tag nameokhttp3.CallrepoDeleteReleaseByTagAsync(String owner, String repo, String tag, ApiCallback<Void> _callback) Delete a release by tag name (asynchronously)okhttp3.CallrepoDeleteReleaseByTagCall(String owner, String repo, String tag, ApiCallback _callback) Build call for repoDeleteReleaseByTagrepoDeleteReleaseByTagWithHttpInfo(String owner, String repo, String tag) Delete a release by tag nameokhttp3.CallrepoDeleteReleaseCall(String owner, String repo, Long id, ApiCallback _callback) Build call for repoDeleteReleaserepoDeleteReleaseWithHttpInfo(String owner, String repo, Long id) Delete a releasevoidrepoDeleteTag(String owner, String repo, String tag) Delete a repository's tag by nameokhttp3.CallrepoDeleteTagAsync(String owner, String repo, String tag, ApiCallback<Void> _callback) Delete a repository's tag by name (asynchronously)okhttp3.CallrepoDeleteTagCall(String owner, String repo, String tag, ApiCallback _callback) Build call for repoDeleteTagvoidrepoDeleteTagProtection(String owner, String repo, Long id) Delete a specific tag protection for the repositoryokhttp3.CallrepoDeleteTagProtectionAsync(String owner, String repo, Long id, ApiCallback<Void> _callback) Delete a specific tag protection for the repository (asynchronously)okhttp3.CallrepoDeleteTagProtectionCall(String owner, String repo, Long id, ApiCallback _callback) Build call for repoDeleteTagProtectionrepoDeleteTagProtectionWithHttpInfo(String owner, String repo, Long id) Delete a specific tag protection for the repositoryrepoDeleteTagWithHttpInfo(String owner, String repo, String tag) Delete a repository's tag by namevoidrepoDeleteTeam(String owner, String repo, String team) Delete a team from a repositoryokhttp3.CallrepoDeleteTeamAsync(String owner, String repo, String team, ApiCallback<Void> _callback) Delete a team from a repository (asynchronously)okhttp3.CallrepoDeleteTeamCall(String owner, String repo, String team, ApiCallback _callback) Build call for repoDeleteTeamrepoDeleteTeamWithHttpInfo(String owner, String repo, String team) Delete a team from a repositoryvoidrepoDeleteTopic(String owner, String repo, String topic) Delete a topic from a repositoryokhttp3.CallrepoDeleteTopicAsync(String owner, String repo, String topic, ApiCallback<Void> _callback) Delete a topic from a repository (asynchronously)okhttp3.CallrepoDeleteTopicCall(String owner, String repo, String topic, ApiCallback _callback) Build call for repoDeleteTopicrepoDeleteTopicWithHttpInfo(String owner, String repo, String topic) Delete a topic from a repositoryvoidrepoDeleteWikiPage(String owner, String repo, String pageName) Delete a wiki pageokhttp3.CallrepoDeleteWikiPageAsync(String owner, String repo, String pageName, ApiCallback<Void> _callback) Delete a wiki page (asynchronously)okhttp3.CallrepoDeleteWikiPageCall(String owner, String repo, String pageName, ApiCallback _callback) Build call for repoDeleteWikiPagerepoDeleteWikiPageWithHttpInfo(String owner, String repo, String pageName) Delete a wiki pagerepoDeleteWithHttpInfo(String owner, String repo) Delete a repositoryrepoDismissPullReview(String owner, String repo, Long index, Long id, DismissPullReviewOptions body) Dismiss a review for a pull requestokhttp3.CallrepoDismissPullReviewAsync(String owner, String repo, Long index, Long id, DismissPullReviewOptions body, ApiCallback<PullReview> _callback) Dismiss a review for a pull request (asynchronously)okhttp3.CallrepoDismissPullReviewCall(String owner, String repo, Long index, Long id, DismissPullReviewOptions body, ApiCallback _callback) Build call for repoDismissPullReviewrepoDismissPullReviewWithHttpInfo(String owner, String repo, Long index, Long id, DismissPullReviewOptions body) Dismiss a review for a pull requestrepoDownloadCommitDiffOrPatch(String owner, String repo, String sha, String diffType) Get a commit's diff or patchokhttp3.CallrepoDownloadCommitDiffOrPatchAsync(String owner, String repo, String sha, String diffType, ApiCallback<String> _callback) Get a commit's diff or patch (asynchronously)okhttp3.CallrepoDownloadCommitDiffOrPatchCall(String owner, String repo, String sha, String diffType, ApiCallback _callback) Build call for repoDownloadCommitDiffOrPatchrepoDownloadCommitDiffOrPatchWithHttpInfo(String owner, String repo, String sha, String diffType) Get a commit's diff or patchGet a pull request diff or patchokhttp3.CallrepoDownloadPullDiffOrPatchAsync(String owner, String repo, Long index, String diffType, Boolean binary, ApiCallback<String> _callback) Get a pull request diff or patch (asynchronously)okhttp3.CallrepoDownloadPullDiffOrPatchCall(String owner, String repo, Long index, String diffType, Boolean binary, ApiCallback _callback) Build call for repoDownloadPullDiffOrPatchrepoDownloadPullDiffOrPatchWithHttpInfo(String owner, String repo, Long index, String diffType, Boolean binary) Get a pull request diff or patchrepoEdit(String owner, String repo, EditRepoOption body) Edit a repository's properties.okhttp3.CallrepoEditAsync(String owner, String repo, EditRepoOption body, ApiCallback<Repository> _callback) Edit a repository's properties.repoEditBranchProtection(String owner, String repo, String name, EditBranchProtectionOption body) Edit a branch protections for a repository.okhttp3.CallrepoEditBranchProtectionAsync(String owner, String repo, String name, EditBranchProtectionOption body, ApiCallback<BranchProtection> _callback) Edit a branch protections for a repository.okhttp3.CallrepoEditBranchProtectionCall(String owner, String repo, String name, EditBranchProtectionOption body, ApiCallback _callback) Build call for repoEditBranchProtectionrepoEditBranchProtectionWithHttpInfo(String owner, String repo, String name, EditBranchProtectionOption body) Edit a branch protections for a repository.okhttp3.CallrepoEditCall(String owner, String repo, EditRepoOption body, ApiCallback _callback) Build call for repoEditrepoEditGitHook(String owner, String repo, String id, EditGitHookOption body) Edit a Git hook in a repositoryokhttp3.CallrepoEditGitHookAsync(String owner, String repo, String id, EditGitHookOption body, ApiCallback<GitHook> _callback) Edit a Git hook in a repository (asynchronously)okhttp3.CallrepoEditGitHookCall(String owner, String repo, String id, EditGitHookOption body, ApiCallback _callback) Build call for repoEditGitHookrepoEditGitHookWithHttpInfo(String owner, String repo, String id, EditGitHookOption body) Edit a Git hook in a repositoryrepoEditHook(String owner, String repo, Long id, EditHookOption body) Edit a hook in a repositoryokhttp3.CallrepoEditHookAsync(String owner, String repo, Long id, EditHookOption body, ApiCallback<Hook> _callback) Edit a hook in a repository (asynchronously)okhttp3.CallrepoEditHookCall(String owner, String repo, Long id, EditHookOption body, ApiCallback _callback) Build call for repoEditHookrepoEditHookWithHttpInfo(String owner, String repo, Long id, EditHookOption body) Edit a hook in a repositoryrepoEditPullRequest(String owner, String repo, Long index, EditPullRequestOption body) Update a pull request.okhttp3.CallrepoEditPullRequestAsync(String owner, String repo, Long index, EditPullRequestOption body, ApiCallback<PullRequest> _callback) Update a pull request.okhttp3.CallrepoEditPullRequestCall(String owner, String repo, Long index, EditPullRequestOption body, ApiCallback _callback) Build call for repoEditPullRequestrepoEditPullRequestWithHttpInfo(String owner, String repo, Long index, EditPullRequestOption body) Update a pull request.repoEditRelease(String owner, String repo, Long id, EditReleaseOption body) Update a releaseokhttp3.CallrepoEditReleaseAsync(String owner, String repo, Long id, EditReleaseOption body, ApiCallback<Release> _callback) Update a release (asynchronously)repoEditReleaseAttachment(String owner, String repo, Long id, Long attachmentId, EditAttachmentOptions body) Edit a release attachmentokhttp3.CallrepoEditReleaseAttachmentAsync(String owner, String repo, Long id, Long attachmentId, EditAttachmentOptions body, ApiCallback<Attachment> _callback) Edit a release attachment (asynchronously)okhttp3.CallrepoEditReleaseAttachmentCall(String owner, String repo, Long id, Long attachmentId, EditAttachmentOptions body, ApiCallback _callback) Build call for repoEditReleaseAttachmentrepoEditReleaseAttachmentWithHttpInfo(String owner, String repo, Long id, Long attachmentId, EditAttachmentOptions body) Edit a release attachmentokhttp3.CallrepoEditReleaseCall(String owner, String repo, Long id, EditReleaseOption body, ApiCallback _callback) Build call for repoEditReleaserepoEditReleaseWithHttpInfo(String owner, String repo, Long id, EditReleaseOption body) Update a releaserepoEditTagProtection(String owner, String repo, Long id, EditTagProtectionOption body) Edit a tag protections for a repository.okhttp3.CallrepoEditTagProtectionAsync(String owner, String repo, Long id, EditTagProtectionOption body, ApiCallback<TagProtection> _callback) Edit a tag protections for a repository.okhttp3.CallrepoEditTagProtectionCall(String owner, String repo, Long id, EditTagProtectionOption body, ApiCallback _callback) Build call for repoEditTagProtectionrepoEditTagProtectionWithHttpInfo(String owner, String repo, Long id, EditTagProtectionOption body) Edit a tag protections for a repository.repoEditWikiPage(String owner, String repo, String pageName, CreateWikiPageOptions body) Edit a wiki pageokhttp3.CallrepoEditWikiPageAsync(String owner, String repo, String pageName, CreateWikiPageOptions body, ApiCallback<WikiPage> _callback) Edit a wiki page (asynchronously)okhttp3.CallrepoEditWikiPageCall(String owner, String repo, String pageName, CreateWikiPageOptions body, ApiCallback _callback) Build call for repoEditWikiPagerepoEditWikiPageWithHttpInfo(String owner, String repo, String pageName, CreateWikiPageOptions body) Edit a wiki pagerepoEditWithHttpInfo(String owner, String repo, EditRepoOption body) Edit a repository's properties.Get a repositoryrepoGetAllCommits(String owner, String repo, String sha, String path, Boolean stat, Boolean verification, Boolean files, Integer page, Integer limit, String not) Get a list of all commits from a repositoryokhttp3.CallrepoGetAllCommitsAsync(String owner, String repo, String sha, String path, Boolean stat, Boolean verification, Boolean files, Integer page, Integer limit, String not, ApiCallback<List<Commit>> _callback) Get a list of all commits from a repository (asynchronously)okhttp3.CallrepoGetAllCommitsCall(String owner, String repo, String sha, String path, Boolean stat, Boolean verification, Boolean files, Integer page, Integer limit, String not, ApiCallback _callback) Build call for repoGetAllCommitsrepoGetAllCommitsWithHttpInfo(String owner, String repo, String sha, String path, Boolean stat, Boolean verification, Boolean files, Integer page, Integer limit, String not) Get a list of all commits from a repositoryvoidrepoGetArchive(String owner, String repo, String archive) Get an archive of a repositoryokhttp3.CallrepoGetArchiveAsync(String owner, String repo, String archive, ApiCallback<Void> _callback) Get an archive of a repository (asynchronously)okhttp3.CallrepoGetArchiveCall(String owner, String repo, String archive, ApiCallback _callback) Build call for repoGetArchiverepoGetArchiveWithHttpInfo(String owner, String repo, String archive) Get an archive of a repositoryrepoGetAssignees(String owner, String repo) Return all users that have write access and can be assigned to issuesokhttp3.CallrepoGetAssigneesAsync(String owner, String repo, ApiCallback<List<User>> _callback) Return all users that have write access and can be assigned to issues (asynchronously)okhttp3.CallrepoGetAssigneesCall(String owner, String repo, ApiCallback _callback) Build call for repoGetAssigneesrepoGetAssigneesWithHttpInfo(String owner, String repo) Return all users that have write access and can be assigned to issuesokhttp3.CallrepoGetAsync(String owner, String repo, ApiCallback<Repository> _callback) Get a repository (asynchronously)repoGetBranch(String owner, String repo, String branch) Retrieve a specific branch from a repository, including its effective branch protectionokhttp3.CallrepoGetBranchAsync(String owner, String repo, String branch, ApiCallback<Branch> _callback) Retrieve a specific branch from a repository, including its effective branch protection (asynchronously)okhttp3.CallrepoGetBranchCall(String owner, String repo, String branch, ApiCallback _callback) Build call for repoGetBranchrepoGetBranchProtection(String owner, String repo, String name) Get a specific branch protection for the repositoryokhttp3.CallrepoGetBranchProtectionAsync(String owner, String repo, String name, ApiCallback<BranchProtection> _callback) Get a specific branch protection for the repository (asynchronously)okhttp3.CallrepoGetBranchProtectionCall(String owner, String repo, String name, ApiCallback _callback) Build call for repoGetBranchProtectionrepoGetBranchProtectionWithHttpInfo(String owner, String repo, String name) Get a specific branch protection for the repositoryrepoGetBranchWithHttpInfo(String owner, String repo, String branch) Retrieve a specific branch from a repository, including its effective branch protectionrepoGetByID(Long id) Get a repository by idokhttp3.CallrepoGetByIDAsync(Long id, ApiCallback<Repository> _callback) Get a repository by id (asynchronously)okhttp3.CallrepoGetByIDCall(Long id, ApiCallback _callback) Build call for repoGetByIDGet a repository by idokhttp3.CallrepoGetCall(String owner, String repo, ApiCallback _callback) Build call for repoGetGet a commit's combined status, by branch/tag/commit referenceokhttp3.CallrepoGetCombinedStatusByRefAsync(String owner, String repo, String ref, Integer page, Integer limit, ApiCallback<CombinedStatus> _callback) Get a commit's combined status, by branch/tag/commit reference (asynchronously)okhttp3.CallrepoGetCombinedStatusByRefCall(String owner, String repo, String ref, Integer page, Integer limit, ApiCallback _callback) Build call for repoGetCombinedStatusByRefrepoGetCombinedStatusByRefWithHttpInfo(String owner, String repo, String ref, Integer page, Integer limit) Get a commit's combined status, by branch/tag/commit referencerepoGetCommitPullRequest(String owner, String repo, String sha) Get the pull request of the commitokhttp3.CallrepoGetCommitPullRequestAsync(String owner, String repo, String sha, ApiCallback<PullRequest> _callback) Get the pull request of the commit (asynchronously)okhttp3.CallrepoGetCommitPullRequestCall(String owner, String repo, String sha, ApiCallback _callback) Build call for repoGetCommitPullRequestrepoGetCommitPullRequestWithHttpInfo(String owner, String repo, String sha) Get the pull request of the commitrepoGetContents(String owner, String repo, String filepath, String ref) Gets the metadata and contents (if a file) of an entry in a repository, or a list of entries if a dirokhttp3.CallrepoGetContentsAsync(String owner, String repo, String filepath, String ref, ApiCallback<ContentsResponse> _callback) Gets the metadata and contents (if a file) of an entry in a repository, or a list of entries if a dir (asynchronously)okhttp3.CallrepoGetContentsCall(String owner, String repo, String filepath, String ref, ApiCallback _callback) Build call for repoGetContentsrepoGetContentsList(String owner, String repo, String ref) Gets the metadata of all the entries of the root dirokhttp3.CallrepoGetContentsListAsync(String owner, String repo, String ref, ApiCallback<List<ContentsResponse>> _callback) Gets the metadata of all the entries of the root dir (asynchronously)okhttp3.CallrepoGetContentsListCall(String owner, String repo, String ref, ApiCallback _callback) Build call for repoGetContentsListrepoGetContentsListWithHttpInfo(String owner, String repo, String ref) Gets the metadata of all the entries of the root dirrepoGetContentsWithHttpInfo(String owner, String repo, String filepath, String ref) Gets the metadata and contents (if a file) of an entry in a repository, or a list of entries if a dirrepoGetEditorConfig(String owner, String repo, String filepath, String ref) Get the EditorConfig definitions of a file in a repositoryokhttp3.CallrepoGetEditorConfigAsync(String owner, String repo, String filepath, String ref, ApiCallback<Map<String, String>> _callback) Get the EditorConfig definitions of a file in a repository (asynchronously)okhttp3.CallrepoGetEditorConfigCall(String owner, String repo, String filepath, String ref, ApiCallback _callback) Build call for repoGetEditorConfigrepoGetEditorConfigWithHttpInfo(String owner, String repo, String filepath, String ref) Get the EditorConfig definitions of a file in a repositoryrepoGetGitHook(String owner, String repo, String id) Get a Git hookokhttp3.CallrepoGetGitHookAsync(String owner, String repo, String id, ApiCallback<GitHook> _callback) Get a Git hook (asynchronously)okhttp3.CallrepoGetGitHookCall(String owner, String repo, String id, ApiCallback _callback) Build call for repoGetGitHookrepoGetGitHookWithHttpInfo(String owner, String repo, String id) Get a Git hookrepoGetHook(String owner, String repo, Long id) Get a hookokhttp3.CallrepoGetHookAsync(String owner, String repo, Long id, ApiCallback<Hook> _callback) Get a hook (asynchronously)okhttp3.CallrepoGetHookCall(String owner, String repo, Long id, ApiCallback _callback) Build call for repoGetHookrepoGetHookWithHttpInfo(String owner, String repo, Long id) Get a hookrepoGetIssueConfig(String owner, String repo) Returns the issue config for a repookhttp3.CallrepoGetIssueConfigAsync(String owner, String repo, ApiCallback<IssueConfig> _callback) Returns the issue config for a repo (asynchronously)okhttp3.CallrepoGetIssueConfigCall(String owner, String repo, ApiCallback _callback) Build call for repoGetIssueConfigrepoGetIssueConfigWithHttpInfo(String owner, String repo) Returns the issue config for a reporepoGetIssueTemplates(String owner, String repo) Get available issue templates for a repositoryokhttp3.CallrepoGetIssueTemplatesAsync(String owner, String repo, ApiCallback<List<IssueTemplate>> _callback) Get available issue templates for a repository (asynchronously)okhttp3.CallrepoGetIssueTemplatesCall(String owner, String repo, ApiCallback _callback) Build call for repoGetIssueTemplatesrepoGetIssueTemplatesWithHttpInfo(String owner, String repo) Get available issue templates for a repositoryrepoGetKey(String owner, String repo, Long id) Get a repository's key by idokhttp3.CallrepoGetKeyAsync(String owner, String repo, Long id, ApiCallback<DeployKey> _callback) Get a repository's key by id (asynchronously)okhttp3.CallrepoGetKeyCall(String owner, String repo, Long id, ApiCallback _callback) Build call for repoGetKeyrepoGetKeyWithHttpInfo(String owner, String repo, Long id) Get a repository's key by idrepoGetLanguages(String owner, String repo) Get languages and number of bytes of code writtenokhttp3.CallrepoGetLanguagesAsync(String owner, String repo, ApiCallback<Map<String, Long>> _callback) Get languages and number of bytes of code written (asynchronously)okhttp3.CallrepoGetLanguagesCall(String owner, String repo, ApiCallback _callback) Build call for repoGetLanguagesrepoGetLanguagesWithHttpInfo(String owner, String repo) Get languages and number of bytes of code writtenrepoGetLatestRelease(String owner, String repo) Gets the most recent non-prerelease, non-draft release of a repository, sorted by created_atokhttp3.CallrepoGetLatestReleaseAsync(String owner, String repo, ApiCallback<Release> _callback) Gets the most recent non-prerelease, non-draft release of a repository, sorted by created_at (asynchronously)okhttp3.CallrepoGetLatestReleaseCall(String owner, String repo, ApiCallback _callback) Build call for repoGetLatestReleaserepoGetLatestReleaseWithHttpInfo(String owner, String repo) Gets the most recent non-prerelease, non-draft release of a repository, sorted by created_atGet a note corresponding to a single commit from a repositoryokhttp3.CallrepoGetNoteAsync(String owner, String repo, String sha, Boolean verification, Boolean files, ApiCallback<Note> _callback) Get a note corresponding to a single commit from a repository (asynchronously)okhttp3.CallrepoGetNoteCall(String owner, String repo, String sha, Boolean verification, Boolean files, ApiCallback _callback) Build call for repoGetNoteGet a note corresponding to a single commit from a repositoryrepoGetPullRequest(String owner, String repo, Long index) Get a pull requestokhttp3.CallrepoGetPullRequestAsync(String owner, String repo, Long index, ApiCallback<PullRequest> _callback) Get a pull request (asynchronously)repoGetPullRequestByBaseHead(String owner, String repo, String base, String head) Get a pull request by base and headokhttp3.CallrepoGetPullRequestByBaseHeadAsync(String owner, String repo, String base, String head, ApiCallback<PullRequest> _callback) Get a pull request by base and head (asynchronously)okhttp3.CallrepoGetPullRequestByBaseHeadCall(String owner, String repo, String base, String head, ApiCallback _callback) Build call for repoGetPullRequestByBaseHeadrepoGetPullRequestByBaseHeadWithHttpInfo(String owner, String repo, String base, String head) Get a pull request by base and headokhttp3.CallrepoGetPullRequestCall(String owner, String repo, Long index, ApiCallback _callback) Build call for repoGetPullRequestrepoGetPullRequestCommits(String owner, String repo, Long index, Integer page, Integer limit, Boolean verification, Boolean files) Get commits for a pull requestokhttp3.CallrepoGetPullRequestCommitsAsync(String owner, String repo, Long index, Integer page, Integer limit, Boolean verification, Boolean files, ApiCallback<List<Commit>> _callback) Get commits for a pull request (asynchronously)okhttp3.CallrepoGetPullRequestCommitsCall(String owner, String repo, Long index, Integer page, Integer limit, Boolean verification, Boolean files, ApiCallback _callback) Build call for repoGetPullRequestCommitsrepoGetPullRequestCommitsWithHttpInfo(String owner, String repo, Long index, Integer page, Integer limit, Boolean verification, Boolean files) Get commits for a pull requestrepoGetPullRequestFiles(String owner, String repo, Long index, String skipTo, String whitespace, Integer page, Integer limit) Get changed files for a pull requestokhttp3.CallrepoGetPullRequestFilesAsync(String owner, String repo, Long index, String skipTo, String whitespace, Integer page, Integer limit, ApiCallback<List<ChangedFile>> _callback) Get changed files for a pull request (asynchronously)okhttp3.CallrepoGetPullRequestFilesCall(String owner, String repo, Long index, String skipTo, String whitespace, Integer page, Integer limit, ApiCallback _callback) Build call for repoGetPullRequestFilesrepoGetPullRequestFilesWithHttpInfo(String owner, String repo, Long index, String skipTo, String whitespace, Integer page, Integer limit) Get changed files for a pull requestrepoGetPullRequestWithHttpInfo(String owner, String repo, Long index) Get a pull requestrepoGetPullReview(String owner, String repo, Long index, Long id) Get a specific review for a pull requestokhttp3.CallrepoGetPullReviewAsync(String owner, String repo, Long index, Long id, ApiCallback<PullReview> _callback) Get a specific review for a pull request (asynchronously)okhttp3.CallrepoGetPullReviewCall(String owner, String repo, Long index, Long id, ApiCallback _callback) Build call for repoGetPullReviewGet a pull review commentokhttp3.CallrepoGetPullReviewCommentAsync(String owner, String repo, Long index, Long id, Long comment, ApiCallback<PullReviewComment> _callback) Get a pull review comment (asynchronously)okhttp3.CallrepoGetPullReviewCommentCall(String owner, String repo, Long index, Long id, Long comment, ApiCallback _callback) Build call for repoGetPullReviewCommentrepoGetPullReviewComments(String owner, String repo, Long index, Long id) Get a specific review for a pull requestokhttp3.CallrepoGetPullReviewCommentsAsync(String owner, String repo, Long index, Long id, ApiCallback<List<PullReviewComment>> _callback) Get a specific review for a pull request (asynchronously)okhttp3.CallrepoGetPullReviewCommentsCall(String owner, String repo, Long index, Long id, ApiCallback _callback) Build call for repoGetPullReviewCommentsrepoGetPullReviewCommentsWithHttpInfo(String owner, String repo, Long index, Long id) Get a specific review for a pull requestGet a pull review commentrepoGetPullReviewWithHttpInfo(String owner, String repo, Long index, Long id) Get a specific review for a pull requestrepoGetPushMirrorByRemoteName(String owner, String repo, String name) Get push mirror of the repository by remoteNameokhttp3.CallrepoGetPushMirrorByRemoteNameAsync(String owner, String repo, String name, ApiCallback<PushMirror> _callback) Get push mirror of the repository by remoteName (asynchronously)okhttp3.CallrepoGetPushMirrorByRemoteNameCall(String owner, String repo, String name, ApiCallback _callback) Build call for repoGetPushMirrorByRemoteNamerepoGetPushMirrorByRemoteNameWithHttpInfo(String owner, String repo, String name) Get push mirror of the repository by remoteNamerepoGetRawFile(String owner, String repo, String filepath, String ref) Get a file from a repositoryokhttp3.CallrepoGetRawFileAsync(String owner, String repo, String filepath, String ref, ApiCallback<File> _callback) Get a file from a repository (asynchronously)okhttp3.CallrepoGetRawFileCall(String owner, String repo, String filepath, String ref, ApiCallback _callback) Build call for repoGetRawFilerepoGetRawFileOrLFS(String owner, String repo, String filepath, String ref) Get a file or it's LFS object from a repositoryokhttp3.CallrepoGetRawFileOrLFSAsync(String owner, String repo, String filepath, String ref, ApiCallback<File> _callback) Get a file or it's LFS object from a repository (asynchronously)okhttp3.CallrepoGetRawFileOrLFSCall(String owner, String repo, String filepath, String ref, ApiCallback _callback) Build call for repoGetRawFileOrLFSrepoGetRawFileOrLFSWithHttpInfo(String owner, String repo, String filepath, String ref) Get a file or it's LFS object from a repositoryrepoGetRawFileWithHttpInfo(String owner, String repo, String filepath, String ref) Get a file from a repositoryrepoGetRelease(String owner, String repo, Long id) Get a releaseokhttp3.CallrepoGetReleaseAsync(String owner, String repo, Long id, ApiCallback<Release> _callback) Get a release (asynchronously)repoGetReleaseAttachment(String owner, String repo, Long id, Long attachmentId) Get a release attachmentokhttp3.CallrepoGetReleaseAttachmentAsync(String owner, String repo, Long id, Long attachmentId, ApiCallback<Attachment> _callback) Get a release attachment (asynchronously)okhttp3.CallrepoGetReleaseAttachmentCall(String owner, String repo, Long id, Long attachmentId, ApiCallback _callback) Build call for repoGetReleaseAttachmentrepoGetReleaseAttachmentWithHttpInfo(String owner, String repo, Long id, Long attachmentId) Get a release attachmentrepoGetReleaseByTag(String owner, String repo, String tag) Get a release by tag nameokhttp3.CallrepoGetReleaseByTagAsync(String owner, String repo, String tag, ApiCallback<Release> _callback) Get a release by tag name (asynchronously)okhttp3.CallrepoGetReleaseByTagCall(String owner, String repo, String tag, ApiCallback _callback) Build call for repoGetReleaseByTagrepoGetReleaseByTagWithHttpInfo(String owner, String repo, String tag) Get a release by tag nameokhttp3.CallrepoGetReleaseCall(String owner, String repo, Long id, ApiCallback _callback) Build call for repoGetReleaserepoGetReleaseWithHttpInfo(String owner, String repo, Long id) Get a releaserepoGetRepoPermissions(String owner, String repo, String collaborator) Get repository permissions for a userokhttp3.CallrepoGetRepoPermissionsAsync(String owner, String repo, String collaborator, ApiCallback<RepoCollaboratorPermission> _callback) Get repository permissions for a user (asynchronously)okhttp3.CallrepoGetRepoPermissionsCall(String owner, String repo, String collaborator, ApiCallback _callback) Build call for repoGetRepoPermissionsrepoGetRepoPermissionsWithHttpInfo(String owner, String repo, String collaborator) Get repository permissions for a userrepoGetReviewers(String owner, String repo) Return all users that can be requested to review in this repookhttp3.CallrepoGetReviewersAsync(String owner, String repo, ApiCallback<List<User>> _callback) Return all users that can be requested to review in this repo (asynchronously)okhttp3.CallrepoGetReviewersCall(String owner, String repo, ApiCallback _callback) Build call for repoGetReviewersrepoGetReviewersWithHttpInfo(String owner, String repo) Return all users that can be requested to review in this reporepoGetRunnerRegistrationToken(String owner, String repo) Deprecated.okhttp3.CallrepoGetRunnerRegistrationTokenAsync(String owner, String repo, ApiCallback<RegistrationToken> _callback) Deprecated.okhttp3.CallrepoGetRunnerRegistrationTokenCall(String owner, String repo, ApiCallback _callback) Deprecated.repoGetRunnerRegistrationTokenWithHttpInfo(String owner, String repo) Deprecated.repoGetSingleCommit(String owner, String repo, String sha, Boolean stat, Boolean verification, Boolean files) Get a single commit from a repositoryokhttp3.CallrepoGetSingleCommitAsync(String owner, String repo, String sha, Boolean stat, Boolean verification, Boolean files, ApiCallback<Commit> _callback) Get a single commit from a repository (asynchronously)okhttp3.CallrepoGetSingleCommitCall(String owner, String repo, String sha, Boolean stat, Boolean verification, Boolean files, ApiCallback _callback) Build call for repoGetSingleCommitrepoGetSingleCommitWithHttpInfo(String owner, String repo, String sha, Boolean stat, Boolean verification, Boolean files) Get a single commit from a repositoryrepoGetTag(String owner, String repo, String tag) Get the tag of a repository by tag nameokhttp3.CallrepoGetTagAsync(String owner, String repo, String tag, ApiCallback<Tag> _callback) Get the tag of a repository by tag name (asynchronously)okhttp3.CallrepoGetTagCall(String owner, String repo, String tag, ApiCallback _callback) Build call for repoGetTagrepoGetTagProtection(String owner, String repo, Long id) Get a specific tag protection for the repositoryokhttp3.CallrepoGetTagProtectionAsync(String owner, String repo, Long id, ApiCallback<TagProtection> _callback) Get a specific tag protection for the repository (asynchronously)okhttp3.CallrepoGetTagProtectionCall(String owner, String repo, Long id, ApiCallback _callback) Build call for repoGetTagProtectionrepoGetTagProtectionWithHttpInfo(String owner, String repo, Long id) Get a specific tag protection for the repositoryrepoGetTagWithHttpInfo(String owner, String repo, String tag) Get the tag of a repository by tag namerepoGetWikiPage(String owner, String repo, String pageName) Get a wiki pageokhttp3.CallrepoGetWikiPageAsync(String owner, String repo, String pageName, ApiCallback<WikiPage> _callback) Get a wiki page (asynchronously)okhttp3.CallrepoGetWikiPageCall(String owner, String repo, String pageName, ApiCallback _callback) Build call for repoGetWikiPagerepoGetWikiPageRevisions(String owner, String repo, String pageName, Integer page) Get revisions of a wiki pageokhttp3.CallrepoGetWikiPageRevisionsAsync(String owner, String repo, String pageName, Integer page, ApiCallback<WikiCommitList> _callback) Get revisions of a wiki page (asynchronously)okhttp3.CallrepoGetWikiPageRevisionsCall(String owner, String repo, String pageName, Integer page, ApiCallback _callback) Build call for repoGetWikiPageRevisionsrepoGetWikiPageRevisionsWithHttpInfo(String owner, String repo, String pageName, Integer page) Get revisions of a wiki pagerepoGetWikiPages(String owner, String repo, Integer page, Integer limit) Get all wiki pagesokhttp3.CallrepoGetWikiPagesAsync(String owner, String repo, Integer page, Integer limit, ApiCallback<List<WikiPageMetaData>> _callback) Get all wiki pages (asynchronously)okhttp3.CallrepoGetWikiPagesCall(String owner, String repo, Integer page, Integer limit, ApiCallback _callback) Build call for repoGetWikiPagesrepoGetWikiPagesWithHttpInfo(String owner, String repo, Integer page, Integer limit) Get all wiki pagesrepoGetWikiPageWithHttpInfo(String owner, String repo, String pageName) Get a wiki pagerepoGetWithHttpInfo(String owner, String repo) Get a repositoryrepoListActionsSecrets(String owner, String repo, Integer page, Integer limit) List an repo's actions secretsokhttp3.CallrepoListActionsSecretsAsync(String owner, String repo, Integer page, Integer limit, ApiCallback<List<Secret>> _callback) List an repo's actions secrets (asynchronously)okhttp3.CallrepoListActionsSecretsCall(String owner, String repo, Integer page, Integer limit, ApiCallback _callback) Build call for repoListActionsSecretsrepoListActionsSecretsWithHttpInfo(String owner, String repo, Integer page, Integer limit) List an repo's actions secretsList a repository's activity feedsokhttp3.CallrepoListActivityFeedsAsync(String owner, String repo, LocalDate date, Integer page, Integer limit, ApiCallback<List<Activity>> _callback) List a repository's activity feeds (asynchronously)okhttp3.CallrepoListActivityFeedsCall(String owner, String repo, LocalDate date, Integer page, Integer limit, ApiCallback _callback) Build call for repoListActivityFeedsrepoListActivityFeedsWithHttpInfo(String owner, String repo, LocalDate date, Integer page, Integer limit) List a repository's activity feedsrepoListAllGitRefs(String owner, String repo) Get specified ref or filtered repository's refsokhttp3.CallrepoListAllGitRefsAsync(String owner, String repo, ApiCallback<List<Reference>> _callback) Get specified ref or filtered repository's refs (asynchronously)okhttp3.CallrepoListAllGitRefsCall(String owner, String repo, ApiCallback _callback) Build call for repoListAllGitRefsrepoListAllGitRefsWithHttpInfo(String owner, String repo) Get specified ref or filtered repository's refsrepoListBranches(String owner, String repo, Integer page, Integer limit) List a repository's branchesokhttp3.CallrepoListBranchesAsync(String owner, String repo, Integer page, Integer limit, ApiCallback<List<Branch>> _callback) List a repository's branches (asynchronously)okhttp3.CallrepoListBranchesCall(String owner, String repo, Integer page, Integer limit, ApiCallback _callback) Build call for repoListBranchesrepoListBranchesWithHttpInfo(String owner, String repo, Integer page, Integer limit) List a repository's branchesrepoListBranchProtection(String owner, String repo) List branch protections for a repositoryokhttp3.CallrepoListBranchProtectionAsync(String owner, String repo, ApiCallback<List<BranchProtection>> _callback) List branch protections for a repository (asynchronously)okhttp3.CallrepoListBranchProtectionCall(String owner, String repo, ApiCallback _callback) Build call for repoListBranchProtectionrepoListBranchProtectionWithHttpInfo(String owner, String repo) List branch protections for a repositoryrepoListCollaborators(String owner, String repo, Integer page, Integer limit) List a repository's collaboratorsokhttp3.CallrepoListCollaboratorsAsync(String owner, String repo, Integer page, Integer limit, ApiCallback<List<User>> _callback) List a repository's collaborators (asynchronously)okhttp3.CallrepoListCollaboratorsCall(String owner, String repo, Integer page, Integer limit, ApiCallback _callback) Build call for repoListCollaboratorsrepoListCollaboratorsWithHttpInfo(String owner, String repo, Integer page, Integer limit) List a repository's collaboratorsrepoListFlags(String owner, String repo) List a repository's flagsokhttp3.CallrepoListFlagsAsync(String owner, String repo, ApiCallback<List<String>> _callback) List a repository's flags (asynchronously)okhttp3.CallrepoListFlagsCall(String owner, String repo, ApiCallback _callback) Build call for repoListFlagsrepoListFlagsWithHttpInfo(String owner, String repo) List a repository's flagsrepoListGitHooks(String owner, String repo) List the Git hooks in a repositoryokhttp3.CallrepoListGitHooksAsync(String owner, String repo, ApiCallback<List<GitHook>> _callback) List the Git hooks in a repository (asynchronously)okhttp3.CallrepoListGitHooksCall(String owner, String repo, ApiCallback _callback) Build call for repoListGitHooksrepoListGitHooksWithHttpInfo(String owner, String repo) List the Git hooks in a repositoryrepoListGitRefs(String owner, String repo, String ref) Get specified ref or filtered repository's refsokhttp3.CallrepoListGitRefsAsync(String owner, String repo, String ref, ApiCallback<List<Reference>> _callback) Get specified ref or filtered repository's refs (asynchronously)okhttp3.CallrepoListGitRefsCall(String owner, String repo, String ref, ApiCallback _callback) Build call for repoListGitRefsrepoListGitRefsWithHttpInfo(String owner, String repo, String ref) Get specified ref or filtered repository's refsrepoListHooks(String owner, String repo, Integer page, Integer limit) List the hooks in a repositoryokhttp3.CallrepoListHooksAsync(String owner, String repo, Integer page, Integer limit, ApiCallback<List<Hook>> _callback) List the hooks in a repository (asynchronously)okhttp3.CallrepoListHooksCall(String owner, String repo, Integer page, Integer limit, ApiCallback _callback) Build call for repoListHooksrepoListHooksWithHttpInfo(String owner, String repo, Integer page, Integer limit) List the hooks in a repositoryrepoListKeys(String owner, String repo, Integer keyId, String fingerprint, Integer page, Integer limit) List a repository's keysokhttp3.CallrepoListKeysAsync(String owner, String repo, Integer keyId, String fingerprint, Integer page, Integer limit, ApiCallback<List<DeployKey>> _callback) List a repository's keys (asynchronously)okhttp3.CallrepoListKeysCall(String owner, String repo, Integer keyId, String fingerprint, Integer page, Integer limit, ApiCallback _callback) Build call for repoListKeysrepoListKeysWithHttpInfo(String owner, String repo, Integer keyId, String fingerprint, Integer page, Integer limit) List a repository's keysrepoListPinnedIssues(String owner, String repo) List a repo's pinned issuesokhttp3.CallrepoListPinnedIssuesAsync(String owner, String repo, ApiCallback<List<Issue>> _callback) List a repo's pinned issues (asynchronously)okhttp3.CallrepoListPinnedIssuesCall(String owner, String repo, ApiCallback _callback) Build call for repoListPinnedIssuesrepoListPinnedIssuesWithHttpInfo(String owner, String repo) List a repo's pinned issuesrepoListPinnedPullRequests(String owner, String repo) List a repo's pinned pull requestsokhttp3.CallrepoListPinnedPullRequestsAsync(String owner, String repo, ApiCallback<List<PullRequest>> _callback) List a repo's pinned pull requests (asynchronously)okhttp3.CallrepoListPinnedPullRequestsCall(String owner, String repo, ApiCallback _callback) Build call for repoListPinnedPullRequestsrepoListPinnedPullRequestsWithHttpInfo(String owner, String repo) List a repo's pinned pull requestsrepoListPullRequests(String owner, String repo, String state, String sort, Long milestone, List<Long> labels, String poster, Integer page, Integer limit) List a repo's pull requests.okhttp3.CallrepoListPullRequestsAsync(String owner, String repo, String state, String sort, Long milestone, List<Long> labels, String poster, Integer page, Integer limit, ApiCallback<List<PullRequest>> _callback) List a repo's pull requests.okhttp3.CallrepoListPullRequestsCall(String owner, String repo, String state, String sort, Long milestone, List<Long> labels, String poster, Integer page, Integer limit, ApiCallback _callback) Build call for repoListPullRequestsrepoListPullRequestsWithHttpInfo(String owner, String repo, String state, String sort, Long milestone, List<Long> labels, String poster, Integer page, Integer limit) List a repo's pull requests.List all reviews for a pull requestokhttp3.CallrepoListPullReviewsAsync(String owner, String repo, Long index, Integer page, Integer limit, ApiCallback<List<PullReview>> _callback) List all reviews for a pull request (asynchronously)okhttp3.CallrepoListPullReviewsCall(String owner, String repo, Long index, Integer page, Integer limit, ApiCallback _callback) Build call for repoListPullReviewsList all reviews for a pull requestrepoListPushMirrors(String owner, String repo, Integer page, Integer limit) Get all push mirrors of the repositoryokhttp3.CallrepoListPushMirrorsAsync(String owner, String repo, Integer page, Integer limit, ApiCallback<List<PushMirror>> _callback) Get all push mirrors of the repository (asynchronously)okhttp3.CallrepoListPushMirrorsCall(String owner, String repo, Integer page, Integer limit, ApiCallback _callback) Build call for repoListPushMirrorsrepoListPushMirrorsWithHttpInfo(String owner, String repo, Integer page, Integer limit) Get all push mirrors of the repositoryrepoListReleaseAttachments(String owner, String repo, Long id) List release's attachmentsokhttp3.CallrepoListReleaseAttachmentsAsync(String owner, String repo, Long id, ApiCallback<List<Attachment>> _callback) List release's attachments (asynchronously)okhttp3.CallrepoListReleaseAttachmentsCall(String owner, String repo, Long id, ApiCallback _callback) Build call for repoListReleaseAttachmentsrepoListReleaseAttachmentsWithHttpInfo(String owner, String repo, Long id) List release's attachmentsrepoListReleases(String owner, String repo, Boolean draft, Boolean preRelease, String q, Integer page, Integer limit) List a repo's releasesokhttp3.CallrepoListReleasesAsync(String owner, String repo, Boolean draft, Boolean preRelease, String q, Integer page, Integer limit, ApiCallback<List<Release>> _callback) List a repo's releases (asynchronously)okhttp3.CallrepoListReleasesCall(String owner, String repo, Boolean draft, Boolean preRelease, String q, Integer page, Integer limit, ApiCallback _callback) Build call for repoListReleasesrepoListReleasesWithHttpInfo(String owner, String repo, Boolean draft, Boolean preRelease, String q, Integer page, Integer limit) List a repo's releasesrepoListStargazers(String owner, String repo, Integer page, Integer limit) List a repo's stargazersokhttp3.CallrepoListStargazersAsync(String owner, String repo, Integer page, Integer limit, ApiCallback<List<User>> _callback) List a repo's stargazers (asynchronously)okhttp3.CallrepoListStargazersCall(String owner, String repo, Integer page, Integer limit, ApiCallback _callback) Build call for repoListStargazersrepoListStargazersWithHttpInfo(String owner, String repo, Integer page, Integer limit) List a repo's stargazersrepoListStatuses(String owner, String repo, String sha, String sort, String state, Integer page, Integer limit) Get a commit's statusesokhttp3.CallrepoListStatusesAsync(String owner, String repo, String sha, String sort, String state, Integer page, Integer limit, ApiCallback<List<CommitStatus>> _callback) Get a commit's statuses (asynchronously)repoListStatusesByRef(String owner, String repo, String ref, String sort, String state, Integer page, Integer limit) Get a commit's statuses, by branch/tag/commit referenceokhttp3.CallrepoListStatusesByRefAsync(String owner, String repo, String ref, String sort, String state, Integer page, Integer limit, ApiCallback<List<CommitStatus>> _callback) Get a commit's statuses, by branch/tag/commit reference (asynchronously)okhttp3.CallrepoListStatusesByRefCall(String owner, String repo, String ref, String sort, String state, Integer page, Integer limit, ApiCallback _callback) Build call for repoListStatusesByRefrepoListStatusesByRefWithHttpInfo(String owner, String repo, String ref, String sort, String state, Integer page, Integer limit) Get a commit's statuses, by branch/tag/commit referenceokhttp3.CallrepoListStatusesCall(String owner, String repo, String sha, String sort, String state, Integer page, Integer limit, ApiCallback _callback) Build call for repoListStatusesrepoListStatusesWithHttpInfo(String owner, String repo, String sha, String sort, String state, Integer page, Integer limit) Get a commit's statusesrepoListSubscribers(String owner, String repo, Integer page, Integer limit) List a repo's watchersokhttp3.CallrepoListSubscribersAsync(String owner, String repo, Integer page, Integer limit, ApiCallback<List<User>> _callback) List a repo's watchers (asynchronously)okhttp3.CallrepoListSubscribersCall(String owner, String repo, Integer page, Integer limit, ApiCallback _callback) Build call for repoListSubscribersrepoListSubscribersWithHttpInfo(String owner, String repo, Integer page, Integer limit) List a repo's watchersrepoListTagProtection(String owner, String repo) List tag protections for a repositoryokhttp3.CallrepoListTagProtectionAsync(String owner, String repo, ApiCallback<List<TagProtection>> _callback) List tag protections for a repository (asynchronously)okhttp3.CallrepoListTagProtectionCall(String owner, String repo, ApiCallback _callback) Build call for repoListTagProtectionrepoListTagProtectionWithHttpInfo(String owner, String repo) List tag protections for a repositoryrepoListTags(String owner, String repo, Integer page, Integer limit) List a repository's tagsokhttp3.CallrepoListTagsAsync(String owner, String repo, Integer page, Integer limit, ApiCallback<List<Tag>> _callback) List a repository's tags (asynchronously)okhttp3.CallrepoListTagsCall(String owner, String repo, Integer page, Integer limit, ApiCallback _callback) Build call for repoListTagsrepoListTagsWithHttpInfo(String owner, String repo, Integer page, Integer limit) List a repository's tagsrepoListTeams(String owner, String repo) List a repository's teamsokhttp3.CallrepoListTeamsAsync(String owner, String repo, ApiCallback<List<Team>> _callback) List a repository's teams (asynchronously)okhttp3.CallrepoListTeamsCall(String owner, String repo, ApiCallback _callback) Build call for repoListTeamsrepoListTeamsWithHttpInfo(String owner, String repo) List a repository's teamsrepoListTopics(String owner, String repo, Integer page, Integer limit) Get list of topics that a repository hasokhttp3.CallrepoListTopicsAsync(String owner, String repo, Integer page, Integer limit, ApiCallback<TopicName> _callback) Get list of topics that a repository has (asynchronously)okhttp3.CallrepoListTopicsCall(String owner, String repo, Integer page, Integer limit, ApiCallback _callback) Build call for repoListTopicsrepoListTopicsWithHttpInfo(String owner, String repo, Integer page, Integer limit) Get list of topics that a repository hasvoidrepoMergePullRequest(String owner, String repo, Long index, MergePullRequestOption body) Merge a pull requestokhttp3.CallrepoMergePullRequestAsync(String owner, String repo, Long index, MergePullRequestOption body, ApiCallback<Void> _callback) Merge a pull request (asynchronously)okhttp3.CallrepoMergePullRequestCall(String owner, String repo, Long index, MergePullRequestOption body, ApiCallback _callback) Build call for repoMergePullRequestrepoMergePullRequestWithHttpInfo(String owner, String repo, Long index, MergePullRequestOption body) Merge a pull requestMigrate a remote git repositoryokhttp3.CallrepoMigrateAsync(MigrateRepoOptions body, ApiCallback<Repository> _callback) Migrate a remote git repository (asynchronously)okhttp3.CallrepoMigrateCall(MigrateRepoOptions body, ApiCallback _callback) Build call for repoMigrateMigrate a remote git repositoryvoidrepoMirrorSync(String owner, String repo) Sync a mirrored repositoryokhttp3.CallrepoMirrorSyncAsync(String owner, String repo, ApiCallback<Void> _callback) Sync a mirrored repository (asynchronously)okhttp3.CallrepoMirrorSyncCall(String owner, String repo, ApiCallback _callback) Build call for repoMirrorSyncrepoMirrorSyncWithHttpInfo(String owner, String repo) Sync a mirrored repositoryrepoNewPinAllowed(String owner, String repo) Returns if new Issue Pins are allowedokhttp3.CallrepoNewPinAllowedAsync(String owner, String repo, ApiCallback<NewIssuePinsAllowed> _callback) Returns if new Issue Pins are allowed (asynchronously)okhttp3.CallrepoNewPinAllowedCall(String owner, String repo, ApiCallback _callback) Build call for repoNewPinAllowedrepoNewPinAllowedWithHttpInfo(String owner, String repo) Returns if new Issue Pins are allowedvoidrepoPullRequestIsMerged(String owner, String repo, Long index) Check if a pull request has been mergedokhttp3.CallrepoPullRequestIsMergedAsync(String owner, String repo, Long index, ApiCallback<Void> _callback) Check if a pull request has been merged (asynchronously)okhttp3.CallrepoPullRequestIsMergedCall(String owner, String repo, Long index, ApiCallback _callback) Build call for repoPullRequestIsMergedrepoPullRequestIsMergedWithHttpInfo(String owner, String repo, Long index) Check if a pull request has been mergedvoidrepoPushMirrorSync(String owner, String repo) Sync all push mirrored repositoryokhttp3.CallrepoPushMirrorSyncAsync(String owner, String repo, ApiCallback<Void> _callback) Sync all push mirrored repository (asynchronously)okhttp3.CallrepoPushMirrorSyncCall(String owner, String repo, ApiCallback _callback) Build call for repoPushMirrorSyncrepoPushMirrorSyncWithHttpInfo(String owner, String repo) Sync all push mirrored repositoryvoidrepoRemoveNote(String owner, String repo, String sha) Removes a note corresponding to a single commit from a repositoryokhttp3.CallrepoRemoveNoteAsync(String owner, String repo, String sha, ApiCallback<Void> _callback) Removes a note corresponding to a single commit from a repository (asynchronously)okhttp3.CallrepoRemoveNoteCall(String owner, String repo, String sha, ApiCallback _callback) Build call for repoRemoveNoterepoRemoveNoteWithHttpInfo(String owner, String repo, String sha) Removes a note corresponding to a single commit from a repositoryvoidrepoReplaceAllFlags(String owner, String repo, ReplaceFlagsOption body) Replace all flags of a repositoryokhttp3.CallrepoReplaceAllFlagsAsync(String owner, String repo, ReplaceFlagsOption body, ApiCallback<Void> _callback) Replace all flags of a repository (asynchronously)okhttp3.CallrepoReplaceAllFlagsCall(String owner, String repo, ReplaceFlagsOption body, ApiCallback _callback) Build call for repoReplaceAllFlagsrepoReplaceAllFlagsWithHttpInfo(String owner, String repo, ReplaceFlagsOption body) Replace all flags of a repositoryrepoSearch(String q, Boolean topic, Boolean includeDesc, Long uid, Long priorityOwnerId, Long teamId, Long starredBy, Boolean _private, Boolean isPrivate, Boolean template, Boolean archived, String mode, Boolean exclusive, String sort, String order, Integer page, Integer limit) Search for repositoriesokhttp3.CallrepoSearchAsync(String q, Boolean topic, Boolean includeDesc, Long uid, Long priorityOwnerId, Long teamId, Long starredBy, Boolean _private, Boolean isPrivate, Boolean template, Boolean archived, String mode, Boolean exclusive, String sort, String order, Integer page, Integer limit, ApiCallback<SearchResults> _callback) Search for repositories (asynchronously)okhttp3.CallrepoSearchCall(String q, Boolean topic, Boolean includeDesc, Long uid, Long priorityOwnerId, Long teamId, Long starredBy, Boolean _private, Boolean isPrivate, Boolean template, Boolean archived, String mode, Boolean exclusive, String sort, String order, Integer page, Integer limit, ApiCallback _callback) Build call for repoSearchrepoSearchRunJobs(String owner, String repo, String labels) Search for repository's action jobs according filter conditionsokhttp3.CallrepoSearchRunJobsAsync(String owner, String repo, String labels, ApiCallback<List<ActionRunJob>> _callback) Search for repository's action jobs according filter conditions (asynchronously)okhttp3.CallrepoSearchRunJobsCall(String owner, String repo, String labels, ApiCallback _callback) Build call for repoSearchRunJobsrepoSearchRunJobsWithHttpInfo(String owner, String repo, String labels) Search for repository's action jobs according filter conditionsrepoSearchWithHttpInfo(String q, Boolean topic, Boolean includeDesc, Long uid, Long priorityOwnerId, Long teamId, Long starredBy, Boolean _private, Boolean isPrivate, Boolean template, Boolean archived, String mode, Boolean exclusive, String sort, String order, Integer page, Integer limit) Search for repositoriesrepoSetNote(String owner, String repo, String sha, NoteOptions body) Set a note corresponding to a single commit from a repositoryokhttp3.CallrepoSetNoteAsync(String owner, String repo, String sha, NoteOptions body, ApiCallback<Note> _callback) Set a note corresponding to a single commit from a repository (asynchronously)okhttp3.CallrepoSetNoteCall(String owner, String repo, String sha, NoteOptions body, ApiCallback _callback) Build call for repoSetNoterepoSetNoteWithHttpInfo(String owner, String repo, String sha, NoteOptions body) Set a note corresponding to a single commit from a repositoryrepoSigningKey(String owner, String repo) Get signing-key.gpg for given repositoryokhttp3.CallrepoSigningKeyAsync(String owner, String repo, ApiCallback<String> _callback) Get signing-key.gpg for given repository (asynchronously)okhttp3.CallrepoSigningKeyCall(String owner, String repo, ApiCallback _callback) Build call for repoSigningKeyrepoSigningKeyWithHttpInfo(String owner, String repo) Get signing-key.gpg for given repositoryrepoSubmitPullReview(String owner, String repo, Long index, Long id, SubmitPullReviewOptions body) Submit a pending review to an pull requestokhttp3.CallrepoSubmitPullReviewAsync(String owner, String repo, Long index, Long id, SubmitPullReviewOptions body, ApiCallback<PullReview> _callback) Submit a pending review to an pull request (asynchronously)okhttp3.CallrepoSubmitPullReviewCall(String owner, String repo, Long index, Long id, SubmitPullReviewOptions body, ApiCallback _callback) Build call for repoSubmitPullReviewrepoSubmitPullReviewWithHttpInfo(String owner, String repo, Long index, Long id, SubmitPullReviewOptions body) Submit a pending review to an pull requestvoidrepoSyncForkBranch(String owner, String repo, String branch) Syncs a fork branch with the base branchokhttp3.CallrepoSyncForkBranchAsync(String owner, String repo, String branch, ApiCallback<Void> _callback) Syncs a fork branch with the base branch (asynchronously)okhttp3.CallrepoSyncForkBranchCall(String owner, String repo, String branch, ApiCallback _callback) Build call for repoSyncForkBranchrepoSyncForkBranchInfo(String owner, String repo, String branch) Gets information about syncing a fork branch with the base branchokhttp3.CallrepoSyncForkBranchInfoAsync(String owner, String repo, String branch, ApiCallback<SyncForkInfo> _callback) Gets information about syncing a fork branch with the base branch (asynchronously)okhttp3.CallrepoSyncForkBranchInfoCall(String owner, String repo, String branch, ApiCallback _callback) Build call for repoSyncForkBranchInforepoSyncForkBranchInfoWithHttpInfo(String owner, String repo, String branch) Gets information about syncing a fork branch with the base branchrepoSyncForkBranchWithHttpInfo(String owner, String repo, String branch) Syncs a fork branch with the base branchvoidrepoSyncForkDefault(String owner, String repo) Syncs the default branch of a fork with the base branchokhttp3.CallrepoSyncForkDefaultAsync(String owner, String repo, ApiCallback<Void> _callback) Syncs the default branch of a fork with the base branch (asynchronously)okhttp3.CallrepoSyncForkDefaultCall(String owner, String repo, ApiCallback _callback) Build call for repoSyncForkDefaultrepoSyncForkDefaultInfo(String owner, String repo) Gets information about syncing the fork default branch with the base branchokhttp3.CallrepoSyncForkDefaultInfoAsync(String owner, String repo, ApiCallback<SyncForkInfo> _callback) Gets information about syncing the fork default branch with the base branch (asynchronously)okhttp3.CallrepoSyncForkDefaultInfoCall(String owner, String repo, ApiCallback _callback) Build call for repoSyncForkDefaultInforepoSyncForkDefaultInfoWithHttpInfo(String owner, String repo) Gets information about syncing the fork default branch with the base branchrepoSyncForkDefaultWithHttpInfo(String owner, String repo) Syncs the default branch of a fork with the base branchvoidrepoTestHook(String owner, String repo, Long id, String ref) Test a push webhookokhttp3.CallrepoTestHookAsync(String owner, String repo, Long id, String ref, ApiCallback<Void> _callback) Test a push webhook (asynchronously)okhttp3.CallrepoTestHookCall(String owner, String repo, Long id, String ref, ApiCallback _callback) Build call for repoTestHookrepoTestHookWithHttpInfo(String owner, String repo, Long id, String ref) Test a push webhookrepoTrackedTimes(String owner, String repo, String user, OffsetDateTime since, OffsetDateTime before, Integer page, Integer limit) List a repo's tracked timesokhttp3.CallrepoTrackedTimesAsync(String owner, String repo, String user, OffsetDateTime since, OffsetDateTime before, Integer page, Integer limit, ApiCallback<List<TrackedTime>> _callback) List a repo's tracked times (asynchronously)okhttp3.CallrepoTrackedTimesCall(String owner, String repo, String user, OffsetDateTime since, OffsetDateTime before, Integer page, Integer limit, ApiCallback _callback) Build call for repoTrackedTimesrepoTrackedTimesWithHttpInfo(String owner, String repo, String user, OffsetDateTime since, OffsetDateTime before, Integer page, Integer limit) List a repo's tracked timesrepoTransfer(String owner, String repo, TransferRepoOption body) Transfer a repo ownershipokhttp3.CallrepoTransferAsync(String owner, String repo, TransferRepoOption body, ApiCallback<Repository> _callback) Transfer a repo ownership (asynchronously)okhttp3.CallrepoTransferCall(String owner, String repo, TransferRepoOption body, ApiCallback _callback) Build call for repoTransferrepoTransferWithHttpInfo(String owner, String repo, TransferRepoOption body) Transfer a repo ownershiprepoUnDismissPullReview(String owner, String repo, Long index, Long id) Cancel to dismiss a review for a pull requestokhttp3.CallrepoUnDismissPullReviewAsync(String owner, String repo, Long index, Long id, ApiCallback<PullReview> _callback) Cancel to dismiss a review for a pull request (asynchronously)okhttp3.CallrepoUnDismissPullReviewCall(String owner, String repo, Long index, Long id, ApiCallback _callback) Build call for repoUnDismissPullReviewrepoUnDismissPullReviewWithHttpInfo(String owner, String repo, Long index, Long id) Cancel to dismiss a review for a pull requestvoidrepoUpdateAvatar(String owner, String repo, UpdateRepoAvatarOption body) Update a repository's avatarokhttp3.CallrepoUpdateAvatarAsync(String owner, String repo, UpdateRepoAvatarOption body, ApiCallback<Void> _callback) Update a repository's avatar (asynchronously)okhttp3.CallrepoUpdateAvatarCall(String owner, String repo, UpdateRepoAvatarOption body, ApiCallback _callback) Build call for repoUpdateAvatarrepoUpdateAvatarWithHttpInfo(String owner, String repo, UpdateRepoAvatarOption body) Update a repository's avatarvoidrepoUpdateBranch(String owner, String repo, String branch, UpdateBranchRepoOption body) Update a branchokhttp3.CallrepoUpdateBranchAsync(String owner, String repo, String branch, UpdateBranchRepoOption body, ApiCallback<Void> _callback) Update a branch (asynchronously)okhttp3.CallrepoUpdateBranchCall(String owner, String repo, String branch, UpdateBranchRepoOption body, ApiCallback _callback) Build call for repoUpdateBranchrepoUpdateBranchWithHttpInfo(String owner, String repo, String branch, UpdateBranchRepoOption body) Update a branchrepoUpdateFile(String owner, String repo, String filepath, UpdateFileOptions body) Update a file in a repositoryokhttp3.CallrepoUpdateFileAsync(String owner, String repo, String filepath, UpdateFileOptions body, ApiCallback<FileResponse> _callback) Update a file in a repository (asynchronously)okhttp3.CallrepoUpdateFileCall(String owner, String repo, String filepath, UpdateFileOptions body, ApiCallback _callback) Build call for repoUpdateFilerepoUpdateFileWithHttpInfo(String owner, String repo, String filepath, UpdateFileOptions body) Update a file in a repositoryvoidrepoUpdatePullRequest(String owner, String repo, Long index, String style) Merge PR's baseBranch into headBranchokhttp3.CallrepoUpdatePullRequestAsync(String owner, String repo, Long index, String style, ApiCallback<Void> _callback) Merge PR's baseBranch into headBranch (asynchronously)okhttp3.CallrepoUpdatePullRequestCall(String owner, String repo, Long index, String style, ApiCallback _callback) Build call for repoUpdatePullRequestrepoUpdatePullRequestWithHttpInfo(String owner, String repo, Long index, String style) Merge PR's baseBranch into headBranchvoidrepoUpdateTopics(String owner, String repo, RepoTopicOptions body) Replace list of topics for a repositoryokhttp3.CallrepoUpdateTopicsAsync(String owner, String repo, RepoTopicOptions body, ApiCallback<Void> _callback) Replace list of topics for a repository (asynchronously)okhttp3.CallrepoUpdateTopicsCall(String owner, String repo, RepoTopicOptions body, ApiCallback _callback) Build call for repoUpdateTopicsrepoUpdateTopicsWithHttpInfo(String owner, String repo, RepoTopicOptions body) Replace list of topics for a repositoryrepoValidateIssueConfig(String owner, String repo) Returns the validation information for a issue configokhttp3.CallrepoValidateIssueConfigAsync(String owner, String repo, ApiCallback<IssueConfigValidation> _callback) Returns the validation information for a issue config (asynchronously)okhttp3.CallrepoValidateIssueConfigCall(String owner, String repo, ApiCallback _callback) Build call for repoValidateIssueConfigrepoValidateIssueConfigWithHttpInfo(String owner, String repo) Returns the validation information for a issue configvoidsetApiClient(ApiClient apiClient) voidsetCustomBaseUrl(String customBaseUrl) voidsetHostIndex(int hostIndex) topicSearch(String q, Integer page, Integer limit) Search for topics by keywordokhttp3.CalltopicSearchAsync(String q, Integer page, Integer limit, ApiCallback<TopicSearchResults> _callback) Search for topics by keyword (asynchronously)okhttp3.CalltopicSearchCall(String q, Integer page, Integer limit, ApiCallback _callback) Build call for topicSearchtopicSearchWithHttpInfo(String q, Integer page, Integer limit) Search for topics by keywordvoidupdateRepoSecret(String owner, String repo, String secretname, CreateOrUpdateSecretOption body) Create or Update a secret value in a repositoryokhttp3.CallupdateRepoSecretAsync(String owner, String repo, String secretname, CreateOrUpdateSecretOption body, ApiCallback<Void> _callback) Create or Update a secret value in a repository (asynchronously)okhttp3.CallupdateRepoSecretCall(String owner, String repo, String secretname, CreateOrUpdateSecretOption body, ApiCallback _callback) Build call for updateRepoSecretupdateRepoSecretWithHttpInfo(String owner, String repo, String secretname, CreateOrUpdateSecretOption body) Create or Update a secret value in a repositoryvoidupdateRepoVariable(String owner, String repo, String variablename, UpdateVariableOption body) Update a repo-level variableokhttp3.CallupdateRepoVariableAsync(String owner, String repo, String variablename, UpdateVariableOption body, ApiCallback<Void> _callback) Update a repo-level variable (asynchronously)okhttp3.CallupdateRepoVariableCall(String owner, String repo, String variablename, UpdateVariableOption body, ApiCallback _callback) Build call for updateRepoVariableupdateRepoVariableWithHttpInfo(String owner, String repo, String variablename, UpdateVariableOption body) Update a repo-level variableuserCurrentCheckSubscription(String owner, String repo) Check if the current user is watching a repookhttp3.CalluserCurrentCheckSubscriptionAsync(String owner, String repo, ApiCallback<WatchInfo> _callback) Check if the current user is watching a repo (asynchronously)okhttp3.CalluserCurrentCheckSubscriptionCall(String owner, String repo, ApiCallback _callback) Build call for userCurrentCheckSubscriptionuserCurrentCheckSubscriptionWithHttpInfo(String owner, String repo) Check if the current user is watching a repovoiduserCurrentDeleteSubscription(String owner, String repo) Unwatch a repookhttp3.CalluserCurrentDeleteSubscriptionAsync(String owner, String repo, ApiCallback<Void> _callback) Unwatch a repo (asynchronously)okhttp3.CalluserCurrentDeleteSubscriptionCall(String owner, String repo, ApiCallback _callback) Build call for userCurrentDeleteSubscriptionuserCurrentDeleteSubscriptionWithHttpInfo(String owner, String repo) Unwatch a repouserCurrentPutSubscription(String owner, String repo) Watch a repookhttp3.CalluserCurrentPutSubscriptionAsync(String owner, String repo, ApiCallback<WatchInfo> _callback) Watch a repo (asynchronously)okhttp3.CalluserCurrentPutSubscriptionCall(String owner, String repo, ApiCallback _callback) Build call for userCurrentPutSubscriptionuserCurrentPutSubscriptionWithHttpInfo(String owner, String repo) Watch a repouserTrackedTimes(String owner, String repo, String user) Deprecated.okhttp3.CalluserTrackedTimesAsync(String owner, String repo, String user, ApiCallback<List<TrackedTime>> _callback) Deprecated.okhttp3.CalluserTrackedTimesCall(String owner, String repo, String user, ApiCallback _callback) Deprecated.userTrackedTimesWithHttpInfo(String owner, String repo, String user) Deprecated.
-
Constructor Details
-
RepositoryApi
public RepositoryApi() -
RepositoryApi
-
-
Method Details
-
getApiClient
-
setApiClient
-
getHostIndex
public int getHostIndex() -
setHostIndex
public void setHostIndex(int hostIndex) -
getCustomBaseUrl
-
setCustomBaseUrl
-
acceptRepoTransferCall
public okhttp3.Call acceptRepoTransferCall(@Nonnull String owner, @Nonnull String repo, ApiCallback _callback) throws ApiException Build call for acceptRepoTransfer- Parameters:
owner- owner of the repo to transfer (required)repo- name of the repo to transfer (required)_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object- Http Response Details
Response Details Status Code Description Response Headers 202 Repository - 403 APIForbiddenError is a forbidden error response - 404 APINotFound is a not found error response - 413 QuotaExceeded * user_id -
* message -
* username -
-
acceptRepoTransfer
public Repository acceptRepoTransfer(@Nonnull String owner, @Nonnull String repo) throws ApiException Accept a repo transfer- Parameters:
owner- owner of the repo to transfer (required)repo- name of the repo to transfer (required)- Returns:
- Repository
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details
Response Details Status Code Description Response Headers 202 Repository - 403 APIForbiddenError is a forbidden error response - 404 APINotFound is a not found error response - 413 QuotaExceeded * user_id -
* message -
* username -
-
acceptRepoTransferWithHttpInfo
public ApiResponse<Repository> acceptRepoTransferWithHttpInfo(@Nonnull String owner, @Nonnull String repo) throws ApiException Accept a repo transfer- Parameters:
owner- owner of the repo to transfer (required)repo- name of the repo to transfer (required)- Returns:
- ApiResponse<Repository>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details
Response Details Status Code Description Response Headers 202 Repository - 403 APIForbiddenError is a forbidden error response - 404 APINotFound is a not found error response - 413 QuotaExceeded * user_id -
* message -
* username -
-
acceptRepoTransferAsync
public okhttp3.Call acceptRepoTransferAsync(@Nonnull String owner, @Nonnull String repo, ApiCallback<Repository> _callback) throws ApiException Accept a repo transfer (asynchronously)- Parameters:
owner- owner of the repo to transfer (required)repo- name of the repo to transfer (required)_callback- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException- If fail to process the API call, e.g. serializing the request body object- Http Response Details
Response Details Status Code Description Response Headers 202 Repository - 403 APIForbiddenError is a forbidden error response - 404 APINotFound is a not found error response - 413 QuotaExceeded * user_id -
* message -
* username -
-
actionRunCall
public okhttp3.Call actionRunCall(@Nonnull String owner, @Nonnull String repo, @Nonnull Long runId, ApiCallback _callback) throws ApiException Build call for actionRun- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)runId- id of the action run (required)_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object- Http Response Details
Response Details Status Code Description Response Headers 200 ActionRun - 400 APIError is error format response - 403 APIForbiddenError is a forbidden error response - 404 APINotFound is a not found error response -
-
actionRun
public ActionRun actionRun(@Nonnull String owner, @Nonnull String repo, @Nonnull Long runId) throws ApiException Get an action run- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)runId- id of the action run (required)- Returns:
- ActionRun
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details
Response Details Status Code Description Response Headers 200 ActionRun - 400 APIError is error format response - 403 APIForbiddenError is a forbidden error response - 404 APINotFound is a not found error response -
-
actionRunWithHttpInfo
public ApiResponse<ActionRun> actionRunWithHttpInfo(@Nonnull String owner, @Nonnull String repo, @Nonnull Long runId) throws ApiException Get an action run- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)runId- id of the action run (required)- Returns:
- ApiResponse<ActionRun>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details
Response Details Status Code Description Response Headers 200 ActionRun - 400 APIError is error format response - 403 APIForbiddenError is a forbidden error response - 404 APINotFound is a not found error response -
-
actionRunAsync
public okhttp3.Call actionRunAsync(@Nonnull String owner, @Nonnull String repo, @Nonnull Long runId, ApiCallback<ActionRun> _callback) throws ApiException Get an action run (asynchronously)- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)runId- id of the action run (required)_callback- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException- If fail to process the API call, e.g. serializing the request body object- Http Response Details
Response Details Status Code Description Response Headers 200 ActionRun - 400 APIError is error format response - 403 APIForbiddenError is a forbidden error response - 404 APINotFound is a not found error response -
-
createCurrentUserRepoCall
public okhttp3.Call createCurrentUserRepoCall(@Nullable CreateRepoOption body, ApiCallback _callback) throws ApiException Build call for createCurrentUserRepo- Parameters:
body- (optional)_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object- Http Response Details
Response Details Status Code Description Response Headers 201 Repository - 400 APIError is error format response - 401 APIUnauthorizedError is a unauthorized error response - 403 APIForbiddenError is a forbidden error response - 409 The repository with the same name already exists. - 413 QuotaExceeded * user_id -
* message -
* username -
422 APIValidationError is error format response related to input validation -
-
createCurrentUserRepo
Create a repository- Parameters:
body- (optional)- Returns:
- Repository
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details
Response Details Status Code Description Response Headers 201 Repository - 400 APIError is error format response - 401 APIUnauthorizedError is a unauthorized error response - 403 APIForbiddenError is a forbidden error response - 409 The repository with the same name already exists. - 413 QuotaExceeded * user_id -
* message -
* username -
422 APIValidationError is error format response related to input validation -
-
createCurrentUserRepoWithHttpInfo
public ApiResponse<Repository> createCurrentUserRepoWithHttpInfo(@Nullable CreateRepoOption body) throws ApiException Create a repository- Parameters:
body- (optional)- Returns:
- ApiResponse<Repository>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details
Response Details Status Code Description Response Headers 201 Repository - 400 APIError is error format response - 401 APIUnauthorizedError is a unauthorized error response - 403 APIForbiddenError is a forbidden error response - 409 The repository with the same name already exists. - 413 QuotaExceeded * user_id -
* message -
* username -
422 APIValidationError is error format response related to input validation -
-
createCurrentUserRepoAsync
public okhttp3.Call createCurrentUserRepoAsync(@Nullable CreateRepoOption body, ApiCallback<Repository> _callback) throws ApiException Create a repository (asynchronously)- Parameters:
body- (optional)_callback- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException- If fail to process the API call, e.g. serializing the request body object- Http Response Details
Response Details Status Code Description Response Headers 201 Repository - 400 APIError is error format response - 401 APIUnauthorizedError is a unauthorized error response - 403 APIForbiddenError is a forbidden error response - 409 The repository with the same name already exists. - 413 QuotaExceeded * user_id -
* message -
* username -
422 APIValidationError is error format response related to input validation -
-
createForkCall
public okhttp3.Call createForkCall(@Nonnull String owner, @Nonnull String repo, @Nullable CreateForkOption body, ApiCallback _callback) throws ApiException Build call for createFork- Parameters:
owner- owner of the repo to fork (required)repo- name of the repo to fork (required)body- (optional)_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object- Http Response Details
Response Details Status Code Description Response Headers 202 Repository - 403 APIForbiddenError is a forbidden error response - 404 APINotFound is a not found error response - 409 The repository with the same name already exists. - 413 QuotaExceeded * user_id -
* message -
* username -
422 APIValidationError is error format response related to input validation -
-
createFork
public Repository createFork(@Nonnull String owner, @Nonnull String repo, @Nullable CreateForkOption body) throws ApiException Fork a repository- Parameters:
owner- owner of the repo to fork (required)repo- name of the repo to fork (required)body- (optional)- Returns:
- Repository
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details
Response Details Status Code Description Response Headers 202 Repository - 403 APIForbiddenError is a forbidden error response - 404 APINotFound is a not found error response - 409 The repository with the same name already exists. - 413 QuotaExceeded * user_id -
* message -
* username -
422 APIValidationError is error format response related to input validation -
-
createForkWithHttpInfo
public ApiResponse<Repository> createForkWithHttpInfo(@Nonnull String owner, @Nonnull String repo, @Nullable CreateForkOption body) throws ApiException Fork a repository- Parameters:
owner- owner of the repo to fork (required)repo- name of the repo to fork (required)body- (optional)- Returns:
- ApiResponse<Repository>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details
Response Details Status Code Description Response Headers 202 Repository - 403 APIForbiddenError is a forbidden error response - 404 APINotFound is a not found error response - 409 The repository with the same name already exists. - 413 QuotaExceeded * user_id -
* message -
* username -
422 APIValidationError is error format response related to input validation -
-
createForkAsync
public okhttp3.Call createForkAsync(@Nonnull String owner, @Nonnull String repo, @Nullable CreateForkOption body, ApiCallback<Repository> _callback) throws ApiException Fork a repository (asynchronously)- Parameters:
owner- owner of the repo to fork (required)repo- name of the repo to fork (required)body- (optional)_callback- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException- If fail to process the API call, e.g. serializing the request body object- Http Response Details
Response Details Status Code Description Response Headers 202 Repository - 403 APIForbiddenError is a forbidden error response - 404 APINotFound is a not found error response - 409 The repository with the same name already exists. - 413 QuotaExceeded * user_id -
* message -
* username -
422 APIValidationError is error format response related to input validation -
-
createRepoVariableCall
public okhttp3.Call createRepoVariableCall(@Nonnull String owner, @Nonnull String repo, @Nonnull String variablename, @Nullable CreateVariableOption body, ApiCallback _callback) throws ApiException Build call for createRepoVariable- Parameters:
owner- name of the owner (required)repo- name of the repository (required)variablename- name of the variable (required)body- (optional)_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object- Http Response Details
Response Details Status Code Description Response Headers 201 response when creating a repo-level variable - 204 response when creating a repo-level variable - 400 APIError is error format response - 404 APINotFound is a not found error response -
-
createRepoVariable
public void createRepoVariable(@Nonnull String owner, @Nonnull String repo, @Nonnull String variablename, @Nullable CreateVariableOption body) throws ApiException Create a repo-level variable- Parameters:
owner- name of the owner (required)repo- name of the repository (required)variablename- name of the variable (required)body- (optional)- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details
Response Details Status Code Description Response Headers 201 response when creating a repo-level variable - 204 response when creating a repo-level variable - 400 APIError is error format response - 404 APINotFound is a not found error response -
-
createRepoVariableWithHttpInfo
public ApiResponse<Void> createRepoVariableWithHttpInfo(@Nonnull String owner, @Nonnull String repo, @Nonnull String variablename, @Nullable CreateVariableOption body) throws ApiException Create a repo-level variable- Parameters:
owner- name of the owner (required)repo- name of the repository (required)variablename- name of the variable (required)body- (optional)- Returns:
- ApiResponse<Void>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details
Response Details Status Code Description Response Headers 201 response when creating a repo-level variable - 204 response when creating a repo-level variable - 400 APIError is error format response - 404 APINotFound is a not found error response -
-
createRepoVariableAsync
public okhttp3.Call createRepoVariableAsync(@Nonnull String owner, @Nonnull String repo, @Nonnull String variablename, @Nullable CreateVariableOption body, ApiCallback<Void> _callback) throws ApiException Create a repo-level variable (asynchronously)- Parameters:
owner- name of the owner (required)repo- name of the repository (required)variablename- name of the variable (required)body- (optional)_callback- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException- If fail to process the API call, e.g. serializing the request body object- Http Response Details
Response Details Status Code Description Response Headers 201 response when creating a repo-level variable - 204 response when creating a repo-level variable - 400 APIError is error format response - 404 APINotFound is a not found error response -
-
deleteRepoRunnerCall
public okhttp3.Call deleteRepoRunnerCall(@Nonnull String owner, @Nonnull String repo, @Nonnull String runnerId, ApiCallback _callback) throws ApiException Build call for deleteRepoRunner- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)runnerId- ID of the runner (required)_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object- Http Response Details
Response Details Status Code Description Response Headers 204 runner has been deleted - 400 APIError is error format response - 404 APINotFound is a not found error response -
-
deleteRepoRunner
public void deleteRepoRunner(@Nonnull String owner, @Nonnull String repo, @Nonnull String runnerId) throws ApiException Delete a particular runner that belongs to a repository- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)runnerId- ID of the runner (required)- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details
Response Details Status Code Description Response Headers 204 runner has been deleted - 400 APIError is error format response - 404 APINotFound is a not found error response -
-
deleteRepoRunnerWithHttpInfo
public ApiResponse<Void> deleteRepoRunnerWithHttpInfo(@Nonnull String owner, @Nonnull String repo, @Nonnull String runnerId) throws ApiException Delete a particular runner that belongs to a repository- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)runnerId- ID of the runner (required)- Returns:
- ApiResponse<Void>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details
Response Details Status Code Description Response Headers 204 runner has been deleted - 400 APIError is error format response - 404 APINotFound is a not found error response -
-
deleteRepoRunnerAsync
public okhttp3.Call deleteRepoRunnerAsync(@Nonnull String owner, @Nonnull String repo, @Nonnull String runnerId, ApiCallback<Void> _callback) throws ApiException Delete a particular runner that belongs to a repository (asynchronously)- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)runnerId- ID of the runner (required)_callback- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException- If fail to process the API call, e.g. serializing the request body object- Http Response Details
Response Details Status Code Description Response Headers 204 runner has been deleted - 400 APIError is error format response - 404 APINotFound is a not found error response -
-
deleteRepoSecretCall
public okhttp3.Call deleteRepoSecretCall(@Nonnull String owner, @Nonnull String repo, @Nonnull String secretname, ApiCallback _callback) throws ApiException Build call for deleteRepoSecret- Parameters:
owner- owner of the repository (required)repo- name of the repository (required)secretname- name of the secret (required)_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object- Http Response Details
Response Details Status Code Description Response Headers 204 delete one secret of the organization - 400 APIError is error format response - 404 APINotFound is a not found error response -
-
deleteRepoSecret
public void deleteRepoSecret(@Nonnull String owner, @Nonnull String repo, @Nonnull String secretname) throws ApiException Delete a secret in a repository- Parameters:
owner- owner of the repository (required)repo- name of the repository (required)secretname- name of the secret (required)- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details
Response Details Status Code Description Response Headers 204 delete one secret of the organization - 400 APIError is error format response - 404 APINotFound is a not found error response -
-
deleteRepoSecretWithHttpInfo
public ApiResponse<Void> deleteRepoSecretWithHttpInfo(@Nonnull String owner, @Nonnull String repo, @Nonnull String secretname) throws ApiException Delete a secret in a repository- Parameters:
owner- owner of the repository (required)repo- name of the repository (required)secretname- name of the secret (required)- Returns:
- ApiResponse<Void>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details
Response Details Status Code Description Response Headers 204 delete one secret of the organization - 400 APIError is error format response - 404 APINotFound is a not found error response -
-
deleteRepoSecretAsync
public okhttp3.Call deleteRepoSecretAsync(@Nonnull String owner, @Nonnull String repo, @Nonnull String secretname, ApiCallback<Void> _callback) throws ApiException Delete a secret in a repository (asynchronously)- Parameters:
owner- owner of the repository (required)repo- name of the repository (required)secretname- name of the secret (required)_callback- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException- If fail to process the API call, e.g. serializing the request body object- Http Response Details
Response Details Status Code Description Response Headers 204 delete one secret of the organization - 400 APIError is error format response - 404 APINotFound is a not found error response -
-
deleteRepoVariableCall
public okhttp3.Call deleteRepoVariableCall(@Nonnull String owner, @Nonnull String repo, @Nonnull String variablename, ApiCallback _callback) throws ApiException Build call for deleteRepoVariable- Parameters:
owner- name of the owner (required)repo- name of the repository (required)variablename- name of the variable (required)_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object- Http Response Details
Response Details Status Code Description Response Headers 204 response when deleting a variable - 400 APIError is error format response - 404 APINotFound is a not found error response -
-
deleteRepoVariable
public void deleteRepoVariable(@Nonnull String owner, @Nonnull String repo, @Nonnull String variablename) throws ApiException Delete a repo-level variable- Parameters:
owner- name of the owner (required)repo- name of the repository (required)variablename- name of the variable (required)- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details
Response Details Status Code Description Response Headers 204 response when deleting a variable - 400 APIError is error format response - 404 APINotFound is a not found error response -
-
deleteRepoVariableWithHttpInfo
public ApiResponse<Void> deleteRepoVariableWithHttpInfo(@Nonnull String owner, @Nonnull String repo, @Nonnull String variablename) throws ApiException Delete a repo-level variable- Parameters:
owner- name of the owner (required)repo- name of the repository (required)variablename- name of the variable (required)- Returns:
- ApiResponse<Void>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details
Response Details Status Code Description Response Headers 204 response when deleting a variable - 400 APIError is error format response - 404 APINotFound is a not found error response -
-
deleteRepoVariableAsync
public okhttp3.Call deleteRepoVariableAsync(@Nonnull String owner, @Nonnull String repo, @Nonnull String variablename, ApiCallback<Void> _callback) throws ApiException Delete a repo-level variable (asynchronously)- Parameters:
owner- name of the owner (required)repo- name of the repository (required)variablename- name of the variable (required)_callback- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException- If fail to process the API call, e.g. serializing the request body object- Http Response Details
Response Details Status Code Description Response Headers 204 response when deleting a variable - 400 APIError is error format response - 404 APINotFound is a not found error response -
-
dispatchWorkflowCall
public okhttp3.Call dispatchWorkflowCall(@Nonnull String owner, @Nonnull String repo, @Nonnull String workflowfilename, @Nullable DispatchWorkflowOption body, ApiCallback _callback) throws ApiException Build call for dispatchWorkflow- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)workflowfilename- name of the workflow (required)body- (optional)_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object- Http Response Details
Response Details Status Code Description Response Headers 201 DispatchWorkflowRun is a Workflow Run after dispatching - 204 APIEmpty is an empty response - 404 APINotFound is a not found error response -
-
dispatchWorkflow
public DispatchWorkflowRun dispatchWorkflow(@Nonnull String owner, @Nonnull String repo, @Nonnull String workflowfilename, @Nullable DispatchWorkflowOption body) throws ApiException Dispatches a workflow- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)workflowfilename- name of the workflow (required)body- (optional)- Returns:
- DispatchWorkflowRun
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details
Response Details Status Code Description Response Headers 201 DispatchWorkflowRun is a Workflow Run after dispatching - 204 APIEmpty is an empty response - 404 APINotFound is a not found error response -
-
dispatchWorkflowWithHttpInfo
public ApiResponse<DispatchWorkflowRun> dispatchWorkflowWithHttpInfo(@Nonnull String owner, @Nonnull String repo, @Nonnull String workflowfilename, @Nullable DispatchWorkflowOption body) throws ApiException Dispatches a workflow- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)workflowfilename- name of the workflow (required)body- (optional)- Returns:
- ApiResponse<DispatchWorkflowRun>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details
Response Details Status Code Description Response Headers 201 DispatchWorkflowRun is a Workflow Run after dispatching - 204 APIEmpty is an empty response - 404 APINotFound is a not found error response -
-
dispatchWorkflowAsync
public okhttp3.Call dispatchWorkflowAsync(@Nonnull String owner, @Nonnull String repo, @Nonnull String workflowfilename, @Nullable DispatchWorkflowOption body, ApiCallback<DispatchWorkflowRun> _callback) throws ApiException Dispatches a workflow (asynchronously)- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)workflowfilename- name of the workflow (required)body- (optional)_callback- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException- If fail to process the API call, e.g. serializing the request body object- Http Response Details
Response Details Status Code Description Response Headers 201 DispatchWorkflowRun is a Workflow Run after dispatching - 204 APIEmpty is an empty response - 404 APINotFound is a not found error response -
-
generateRepoCall
public okhttp3.Call generateRepoCall(@Nonnull String templateOwner, @Nonnull String templateRepo, @Nullable GenerateRepoOption body, ApiCallback _callback) throws ApiException Build call for generateRepo- Parameters:
templateOwner- name of the template repository owner (required)templateRepo- name of the template repository (required)body- (optional)_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object- Http Response Details
Response Details Status Code Description Response Headers 201 Repository - 403 APIForbiddenError is a forbidden error response - 404 APINotFound is a not found error response - 409 The repository with the same name already exists. - 413 QuotaExceeded * user_id -
* message -
* username -
422 APIValidationError is error format response related to input validation -
-
generateRepo
public Repository generateRepo(@Nonnull String templateOwner, @Nonnull String templateRepo, @Nullable GenerateRepoOption body) throws ApiException Create a repository using a template- Parameters:
templateOwner- name of the template repository owner (required)templateRepo- name of the template repository (required)body- (optional)- Returns:
- Repository
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details
Response Details Status Code Description Response Headers 201 Repository - 403 APIForbiddenError is a forbidden error response - 404 APINotFound is a not found error response - 409 The repository with the same name already exists. - 413 QuotaExceeded * user_id -
* message -
* username -
422 APIValidationError is error format response related to input validation -
-
generateRepoWithHttpInfo
public ApiResponse<Repository> generateRepoWithHttpInfo(@Nonnull String templateOwner, @Nonnull String templateRepo, @Nullable GenerateRepoOption body) throws ApiException Create a repository using a template- Parameters:
templateOwner- name of the template repository owner (required)templateRepo- name of the template repository (required)body- (optional)- Returns:
- ApiResponse<Repository>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details
Response Details Status Code Description Response Headers 201 Repository - 403 APIForbiddenError is a forbidden error response - 404 APINotFound is a not found error response - 409 The repository with the same name already exists. - 413 QuotaExceeded * user_id -
* message -
* username -
422 APIValidationError is error format response related to input validation -
-
generateRepoAsync
public okhttp3.Call generateRepoAsync(@Nonnull String templateOwner, @Nonnull String templateRepo, @Nullable GenerateRepoOption body, ApiCallback<Repository> _callback) throws ApiException Create a repository using a template (asynchronously)- Parameters:
templateOwner- name of the template repository owner (required)templateRepo- name of the template repository (required)body- (optional)_callback- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException- If fail to process the API call, e.g. serializing the request body object- Http Response Details
Response Details Status Code Description Response Headers 201 Repository - 403 APIForbiddenError is a forbidden error response - 404 APINotFound is a not found error response - 409 The repository with the same name already exists. - 413 QuotaExceeded * user_id -
* message -
* username -
422 APIValidationError is error format response related to input validation -
-
getAnnotatedTagCall
public okhttp3.Call getAnnotatedTagCall(@Nonnull String owner, @Nonnull String repo, @Nonnull String sha, ApiCallback _callback) throws ApiException Build call for getAnnotatedTag- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)sha- sha of the tag. The Git tags API only supports annotated tag objects, not lightweight tags. (required)_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object- Http Response Details
Response Details Status Code Description Response Headers 200 AnnotatedTag - 400 APIError is error format response - 404 APINotFound is a not found error response -
-
getAnnotatedTag
public AnnotatedTag getAnnotatedTag(@Nonnull String owner, @Nonnull String repo, @Nonnull String sha) throws ApiException Gets the tag object of an annotated tag (not lightweight tags)- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)sha- sha of the tag. The Git tags API only supports annotated tag objects, not lightweight tags. (required)- Returns:
- AnnotatedTag
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details
Response Details Status Code Description Response Headers 200 AnnotatedTag - 400 APIError is error format response - 404 APINotFound is a not found error response -
-
getAnnotatedTagWithHttpInfo
public ApiResponse<AnnotatedTag> getAnnotatedTagWithHttpInfo(@Nonnull String owner, @Nonnull String repo, @Nonnull String sha) throws ApiException Gets the tag object of an annotated tag (not lightweight tags)- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)sha- sha of the tag. The Git tags API only supports annotated tag objects, not lightweight tags. (required)- Returns:
- ApiResponse<AnnotatedTag>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details
Response Details Status Code Description Response Headers 200 AnnotatedTag - 400 APIError is error format response - 404 APINotFound is a not found error response -
-
getAnnotatedTagAsync
public okhttp3.Call getAnnotatedTagAsync(@Nonnull String owner, @Nonnull String repo, @Nonnull String sha, ApiCallback<AnnotatedTag> _callback) throws ApiException Gets the tag object of an annotated tag (not lightweight tags) (asynchronously)- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)sha- sha of the tag. The Git tags API only supports annotated tag objects, not lightweight tags. (required)_callback- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException- If fail to process the API call, e.g. serializing the request body object- Http Response Details
Response Details Status Code Description Response Headers 200 AnnotatedTag - 400 APIError is error format response - 404 APINotFound is a not found error response -
-
getBlobCall
public okhttp3.Call getBlobCall(@Nonnull String owner, @Nonnull String repo, @Nonnull String sha, ApiCallback _callback) throws ApiException Build call for getBlob- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)sha- sha of the blob to retrieve (required)_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object- Http Response Details
Response Details Status Code Description Response Headers 200 GitBlob - 400 APIError is error format response - 404 APINotFound is a not found error response -
-
getBlob
public GitBlob getBlob(@Nonnull String owner, @Nonnull String repo, @Nonnull String sha) throws ApiException Gets the blob of a repository.- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)sha- sha of the blob to retrieve (required)- Returns:
- GitBlob
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details
Response Details Status Code Description Response Headers 200 GitBlob - 400 APIError is error format response - 404 APINotFound is a not found error response -
-
getBlobWithHttpInfo
public ApiResponse<GitBlob> getBlobWithHttpInfo(@Nonnull String owner, @Nonnull String repo, @Nonnull String sha) throws ApiException Gets the blob of a repository.- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)sha- sha of the blob to retrieve (required)- Returns:
- ApiResponse<GitBlob>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details
Response Details Status Code Description Response Headers 200 GitBlob - 400 APIError is error format response - 404 APINotFound is a not found error response -
-
getBlobAsync
public okhttp3.Call getBlobAsync(@Nonnull String owner, @Nonnull String repo, @Nonnull String sha, ApiCallback<GitBlob> _callback) throws ApiException Gets the blob of a repository. (asynchronously)- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)sha- sha of the blob to retrieve (required)_callback- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException- If fail to process the API call, e.g. serializing the request body object- Http Response Details
Response Details Status Code Description Response Headers 200 GitBlob - 400 APIError is error format response - 404 APINotFound is a not found error response -
-
getBlobsCall
public okhttp3.Call getBlobsCall(@Nonnull String owner, @Nonnull String repo, @Nonnull String shas, ApiCallback _callback) throws ApiException Build call for getBlobs- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)shas- a comma separated list of blob-sha (mind the overall URL-length limit of ~2,083 chars) (required)_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object- Http Response Details
Response Details Status Code Description Response Headers 200 GitBlobList - 400 APIError is error format response -
-
getBlobs
public List<GitBlob> getBlobs(@Nonnull String owner, @Nonnull String repo, @Nonnull String shas) throws ApiException Gets multiple blobs of a repository.- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)shas- a comma separated list of blob-sha (mind the overall URL-length limit of ~2,083 chars) (required)- Returns:
- List<GitBlob>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details
Response Details Status Code Description Response Headers 200 GitBlobList - 400 APIError is error format response -
-
getBlobsWithHttpInfo
public ApiResponse<List<GitBlob>> getBlobsWithHttpInfo(@Nonnull String owner, @Nonnull String repo, @Nonnull String shas) throws ApiException Gets multiple blobs of a repository.- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)shas- a comma separated list of blob-sha (mind the overall URL-length limit of ~2,083 chars) (required)- Returns:
- ApiResponse<List<GitBlob>>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details
Response Details Status Code Description Response Headers 200 GitBlobList - 400 APIError is error format response -
-
getBlobsAsync
public okhttp3.Call getBlobsAsync(@Nonnull String owner, @Nonnull String repo, @Nonnull String shas, ApiCallback<List<GitBlob>> _callback) throws ApiException Gets multiple blobs of a repository. (asynchronously)- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)shas- a comma separated list of blob-sha (mind the overall URL-length limit of ~2,083 chars) (required)_callback- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException- If fail to process the API call, e.g. serializing the request body object- Http Response Details
Response Details Status Code Description Response Headers 200 GitBlobList - 400 APIError is error format response -
-
getRepoRunnerCall
public okhttp3.Call getRepoRunnerCall(@Nonnull String owner, @Nonnull String repo, @Nonnull String runnerId, ApiCallback _callback) throws ApiException Build call for getRepoRunner- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)runnerId- ID of the runner (required)_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object- Http Response Details
Response Details Status Code Description Response Headers 200 ActionRunner represents a runner - 400 APIError is error format response - 404 APINotFound is a not found error response -
-
getRepoRunner
public ActionRunner getRepoRunner(@Nonnull String owner, @Nonnull String repo, @Nonnull String runnerId) throws ApiException Get a particular runner that belongs to the repository- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)runnerId- ID of the runner (required)- Returns:
- ActionRunner
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details
Response Details Status Code Description Response Headers 200 ActionRunner represents a runner - 400 APIError is error format response - 404 APINotFound is a not found error response -
-
getRepoRunnerWithHttpInfo
public ApiResponse<ActionRunner> getRepoRunnerWithHttpInfo(@Nonnull String owner, @Nonnull String repo, @Nonnull String runnerId) throws ApiException Get a particular runner that belongs to the repository- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)runnerId- ID of the runner (required)- Returns:
- ApiResponse<ActionRunner>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details
Response Details Status Code Description Response Headers 200 ActionRunner represents a runner - 400 APIError is error format response - 404 APINotFound is a not found error response -
-
getRepoRunnerAsync
public okhttp3.Call getRepoRunnerAsync(@Nonnull String owner, @Nonnull String repo, @Nonnull String runnerId, ApiCallback<ActionRunner> _callback) throws ApiException Get a particular runner that belongs to the repository (asynchronously)- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)runnerId- ID of the runner (required)_callback- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException- If fail to process the API call, e.g. serializing the request body object- Http Response Details
Response Details Status Code Description Response Headers 200 ActionRunner represents a runner - 400 APIError is error format response - 404 APINotFound is a not found error response -
-
getRepoRunnersCall
public okhttp3.Call getRepoRunnersCall(@Nonnull String owner, @Nonnull String repo, @Nullable Boolean visible, @Nullable Integer page, @Nullable Integer limit, ApiCallback _callback) throws ApiException Build call for getRepoRunners- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)visible- whether to include all visible runners (true) or only those that are directly owned by the repository (false) (optional)page- page number of results to return (1-based) (optional)limit- page size of results (optional)_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object- Http Response Details
Response Details Status Code Description Response Headers 200 ActionRunnerList is a list of Forgejo Action runners * X-Total-Count - The total number of access tokens
* Link - Links to other pages, if any
400 APIError is error format response - 404 APINotFound is a not found error response -
-
getRepoRunners
public List<ActionRunner> getRepoRunners(@Nonnull String owner, @Nonnull String repo, @Nullable Boolean visible, @Nullable Integer page, @Nullable Integer limit) throws ApiException Get runners belonging to the repository- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)visible- whether to include all visible runners (true) or only those that are directly owned by the repository (false) (optional)page- page number of results to return (1-based) (optional)limit- page size of results (optional)- Returns:
- List<ActionRunner>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details
Response Details Status Code Description Response Headers 200 ActionRunnerList is a list of Forgejo Action runners * X-Total-Count - The total number of access tokens
* Link - Links to other pages, if any
400 APIError is error format response - 404 APINotFound is a not found error response -
-
getRepoRunnersWithHttpInfo
public ApiResponse<List<ActionRunner>> getRepoRunnersWithHttpInfo(@Nonnull String owner, @Nonnull String repo, @Nullable Boolean visible, @Nullable Integer page, @Nullable Integer limit) throws ApiException Get runners belonging to the repository- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)visible- whether to include all visible runners (true) or only those that are directly owned by the repository (false) (optional)page- page number of results to return (1-based) (optional)limit- page size of results (optional)- Returns:
- ApiResponse<List<ActionRunner>>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details
Response Details Status Code Description Response Headers 200 ActionRunnerList is a list of Forgejo Action runners * X-Total-Count - The total number of access tokens
* Link - Links to other pages, if any
400 APIError is error format response - 404 APINotFound is a not found error response -
-
getRepoRunnersAsync
public okhttp3.Call getRepoRunnersAsync(@Nonnull String owner, @Nonnull String repo, @Nullable Boolean visible, @Nullable Integer page, @Nullable Integer limit, ApiCallback<List<ActionRunner>> _callback) throws ApiException Get runners belonging to the repository (asynchronously)- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)visible- whether to include all visible runners (true) or only those that are directly owned by the repository (false) (optional)page- page number of results to return (1-based) (optional)limit- page size of results (optional)_callback- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException- If fail to process the API call, e.g. serializing the request body object- Http Response Details
Response Details Status Code Description Response Headers 200 ActionRunnerList is a list of Forgejo Action runners * X-Total-Count - The total number of access tokens
* Link - Links to other pages, if any
400 APIError is error format response - 404 APINotFound is a not found error response -
-
getRepoVariableCall
public okhttp3.Call getRepoVariableCall(@Nonnull String owner, @Nonnull String repo, @Nonnull String variablename, ApiCallback _callback) throws ApiException Build call for getRepoVariable- Parameters:
owner- name of the owner (required)repo- name of the repository (required)variablename- name of the variable (required)_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object- Http Response Details
Response Details Status Code Description Response Headers 200 ActionVariable - 400 APIError is error format response - 404 APINotFound is a not found error response -
-
getRepoVariable
public ActionVariable getRepoVariable(@Nonnull String owner, @Nonnull String repo, @Nonnull String variablename) throws ApiException Get a repo-level variable- Parameters:
owner- name of the owner (required)repo- name of the repository (required)variablename- name of the variable (required)- Returns:
- ActionVariable
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details
Response Details Status Code Description Response Headers 200 ActionVariable - 400 APIError is error format response - 404 APINotFound is a not found error response -
-
getRepoVariableWithHttpInfo
public ApiResponse<ActionVariable> getRepoVariableWithHttpInfo(@Nonnull String owner, @Nonnull String repo, @Nonnull String variablename) throws ApiException Get a repo-level variable- Parameters:
owner- name of the owner (required)repo- name of the repository (required)variablename- name of the variable (required)- Returns:
- ApiResponse<ActionVariable>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details
Response Details Status Code Description Response Headers 200 ActionVariable - 400 APIError is error format response - 404 APINotFound is a not found error response -
-
getRepoVariableAsync
public okhttp3.Call getRepoVariableAsync(@Nonnull String owner, @Nonnull String repo, @Nonnull String variablename, ApiCallback<ActionVariable> _callback) throws ApiException Get a repo-level variable (asynchronously)- Parameters:
owner- name of the owner (required)repo- name of the repository (required)variablename- name of the variable (required)_callback- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException- If fail to process the API call, e.g. serializing the request body object- Http Response Details
Response Details Status Code Description Response Headers 200 ActionVariable - 400 APIError is error format response - 404 APINotFound is a not found error response -
-
getRepoVariablesListCall
public okhttp3.Call getRepoVariablesListCall(@Nonnull String owner, @Nonnull String repo, @Nullable Integer page, @Nullable Integer limit, ApiCallback _callback) throws ApiException Build call for getRepoVariablesList- Parameters:
owner- name of the owner (required)repo- name of the repository (required)page- page number of results to return (1-based) (optional)limit- page size of results (optional)_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object- Http Response Details
Response Details Status Code Description Response Headers 200 VariableList * X-Total-Count - The total number of access tokens
400 APIError is error format response - 404 APINotFound is a not found error response -
-
getRepoVariablesList
public List<ActionVariable> getRepoVariablesList(@Nonnull String owner, @Nonnull String repo, @Nullable Integer page, @Nullable Integer limit) throws ApiException Get repo-level variables list- Parameters:
owner- name of the owner (required)repo- name of the repository (required)page- page number of results to return (1-based) (optional)limit- page size of results (optional)- Returns:
- List<ActionVariable>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details
Response Details Status Code Description Response Headers 200 VariableList * X-Total-Count - The total number of access tokens
400 APIError is error format response - 404 APINotFound is a not found error response -
-
getRepoVariablesListWithHttpInfo
public ApiResponse<List<ActionVariable>> getRepoVariablesListWithHttpInfo(@Nonnull String owner, @Nonnull String repo, @Nullable Integer page, @Nullable Integer limit) throws ApiException Get repo-level variables list- Parameters:
owner- name of the owner (required)repo- name of the repository (required)page- page number of results to return (1-based) (optional)limit- page size of results (optional)- Returns:
- ApiResponse<List<ActionVariable>>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details
Response Details Status Code Description Response Headers 200 VariableList * X-Total-Count - The total number of access tokens
400 APIError is error format response - 404 APINotFound is a not found error response -
-
getRepoVariablesListAsync
public okhttp3.Call getRepoVariablesListAsync(@Nonnull String owner, @Nonnull String repo, @Nullable Integer page, @Nullable Integer limit, ApiCallback<List<ActionVariable>> _callback) throws ApiException Get repo-level variables list (asynchronously)- Parameters:
owner- name of the owner (required)repo- name of the repository (required)page- page number of results to return (1-based) (optional)limit- page size of results (optional)_callback- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException- If fail to process the API call, e.g. serializing the request body object- Http Response Details
Response Details Status Code Description Response Headers 200 VariableList * X-Total-Count - The total number of access tokens
400 APIError is error format response - 404 APINotFound is a not found error response -
-
getTreeCall
public okhttp3.Call getTreeCall(@Nonnull String owner, @Nonnull String repo, @Nonnull String sha, @Nullable Boolean recursive, @Nullable Integer page, @Nullable Integer perPage, ApiCallback _callback) throws ApiException Build call for getTree- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)sha- sha of the commit (required)recursive- show all directories and files (optional)page- page number; the 'truncated' field in the response will be true if there are still more items after this page, false if the last page (optional)perPage- number of items per page (optional)_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object- Http Response Details
Response Details Status Code Description Response Headers 200 GitTreeResponse - 400 APIError is error format response - 404 APINotFound is a not found error response -
-
getTree
public GitTreeResponse getTree(@Nonnull String owner, @Nonnull String repo, @Nonnull String sha, @Nullable Boolean recursive, @Nullable Integer page, @Nullable Integer perPage) throws ApiException Gets the tree of a repository.- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)sha- sha of the commit (required)recursive- show all directories and files (optional)page- page number; the 'truncated' field in the response will be true if there are still more items after this page, false if the last page (optional)perPage- number of items per page (optional)- Returns:
- GitTreeResponse
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details
Response Details Status Code Description Response Headers 200 GitTreeResponse - 400 APIError is error format response - 404 APINotFound is a not found error response -
-
getTreeWithHttpInfo
public ApiResponse<GitTreeResponse> getTreeWithHttpInfo(@Nonnull String owner, @Nonnull String repo, @Nonnull String sha, @Nullable Boolean recursive, @Nullable Integer page, @Nullable Integer perPage) throws ApiException Gets the tree of a repository.- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)sha- sha of the commit (required)recursive- show all directories and files (optional)page- page number; the 'truncated' field in the response will be true if there are still more items after this page, false if the last page (optional)perPage- number of items per page (optional)- Returns:
- ApiResponse<GitTreeResponse>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details
Response Details Status Code Description Response Headers 200 GitTreeResponse - 400 APIError is error format response - 404 APINotFound is a not found error response -
-
getTreeAsync
public okhttp3.Call getTreeAsync(@Nonnull String owner, @Nonnull String repo, @Nonnull String sha, @Nullable Boolean recursive, @Nullable Integer page, @Nullable Integer perPage, ApiCallback<GitTreeResponse> _callback) throws ApiException Gets the tree of a repository. (asynchronously)- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)sha- sha of the commit (required)recursive- show all directories and files (optional)page- page number; the 'truncated' field in the response will be true if there are still more items after this page, false if the last page (optional)perPage- number of items per page (optional)_callback- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException- If fail to process the API call, e.g. serializing the request body object- Http Response Details
Response Details Status Code Description Response Headers 200 GitTreeResponse - 400 APIError is error format response - 404 APINotFound is a not found error response -
-
listActionRunsCall
public okhttp3.Call listActionRunsCall(@Nonnull String owner, @Nonnull String repo, @Nullable Integer page, @Nullable Integer limit, @Nullable List<String> event, @Nullable List<String> status, @Nullable Long runNumber, @Nullable String headSha, @Nullable String ref, @Nullable String workflowId, ApiCallback _callback) throws ApiException Build call for listActionRuns- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)page- page number of results to return (1-based) (optional)limit- page size of results, default maximum page size is 50 (optional)event- Returns workflow run triggered by the specified events. For example, `push`, `pull_request` or `workflow_dispatch`. (optional)status- Returns workflow runs with the check run status or conclusion that is specified. For example, a conclusion can be success or a status can be in_progress. Only Forgejo Actions can set a status of waiting, pending, or requested. (optional)runNumber- Returns the workflow run associated with the run number. (optional)headSha- Only returns workflow runs that are associated with the specified head_sha. (optional)ref- Only return workflow runs that involve the given Git reference, for example, `refs/heads/main`. (optional)workflowId- Only return workflow runs that involve the given workflow ID. (optional)_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object- Http Response Details
Response Details Status Code Description Response Headers 200 ActionRunList - 400 APIError is error format response - 403 APIForbiddenError is a forbidden error response -
-
listActionRuns
public ListActionRunResponse listActionRuns(@Nonnull String owner, @Nonnull String repo, @Nullable Integer page, @Nullable Integer limit, @Nullable List<String> event, @Nullable List<String> status, @Nullable Long runNumber, @Nullable String headSha, @Nullable String ref, @Nullable String workflowId) throws ApiException List a repository's action runs- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)page- page number of results to return (1-based) (optional)limit- page size of results, default maximum page size is 50 (optional)event- Returns workflow run triggered by the specified events. For example, `push`, `pull_request` or `workflow_dispatch`. (optional)status- Returns workflow runs with the check run status or conclusion that is specified. For example, a conclusion can be success or a status can be in_progress. Only Forgejo Actions can set a status of waiting, pending, or requested. (optional)runNumber- Returns the workflow run associated with the run number. (optional)headSha- Only returns workflow runs that are associated with the specified head_sha. (optional)ref- Only return workflow runs that involve the given Git reference, for example, `refs/heads/main`. (optional)workflowId- Only return workflow runs that involve the given workflow ID. (optional)- Returns:
- ListActionRunResponse
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details
Response Details Status Code Description Response Headers 200 ActionRunList - 400 APIError is error format response - 403 APIForbiddenError is a forbidden error response -
-
listActionRunsWithHttpInfo
public ApiResponse<ListActionRunResponse> listActionRunsWithHttpInfo(@Nonnull String owner, @Nonnull String repo, @Nullable Integer page, @Nullable Integer limit, @Nullable List<String> event, @Nullable List<String> status, @Nullable Long runNumber, @Nullable String headSha, @Nullable String ref, @Nullable String workflowId) throws ApiException List a repository's action runs- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)page- page number of results to return (1-based) (optional)limit- page size of results, default maximum page size is 50 (optional)event- Returns workflow run triggered by the specified events. For example, `push`, `pull_request` or `workflow_dispatch`. (optional)status- Returns workflow runs with the check run status or conclusion that is specified. For example, a conclusion can be success or a status can be in_progress. Only Forgejo Actions can set a status of waiting, pending, or requested. (optional)runNumber- Returns the workflow run associated with the run number. (optional)headSha- Only returns workflow runs that are associated with the specified head_sha. (optional)ref- Only return workflow runs that involve the given Git reference, for example, `refs/heads/main`. (optional)workflowId- Only return workflow runs that involve the given workflow ID. (optional)- Returns:
- ApiResponse<ListActionRunResponse>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details
Response Details Status Code Description Response Headers 200 ActionRunList - 400 APIError is error format response - 403 APIForbiddenError is a forbidden error response -
-
listActionRunsAsync
public okhttp3.Call listActionRunsAsync(@Nonnull String owner, @Nonnull String repo, @Nullable Integer page, @Nullable Integer limit, @Nullable List<String> event, @Nullable List<String> status, @Nullable Long runNumber, @Nullable String headSha, @Nullable String ref, @Nullable String workflowId, ApiCallback<ListActionRunResponse> _callback) throws ApiException List a repository's action runs (asynchronously)- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)page- page number of results to return (1-based) (optional)limit- page size of results, default maximum page size is 50 (optional)event- Returns workflow run triggered by the specified events. For example, `push`, `pull_request` or `workflow_dispatch`. (optional)status- Returns workflow runs with the check run status or conclusion that is specified. For example, a conclusion can be success or a status can be in_progress. Only Forgejo Actions can set a status of waiting, pending, or requested. (optional)runNumber- Returns the workflow run associated with the run number. (optional)headSha- Only returns workflow runs that are associated with the specified head_sha. (optional)ref- Only return workflow runs that involve the given Git reference, for example, `refs/heads/main`. (optional)workflowId- Only return workflow runs that involve the given workflow ID. (optional)_callback- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException- If fail to process the API call, e.g. serializing the request body object- Http Response Details
Response Details Status Code Description Response Headers 200 ActionRunList - 400 APIError is error format response - 403 APIForbiddenError is a forbidden error response -
-
listActionTasksCall
public okhttp3.Call listActionTasksCall(@Nonnull String owner, @Nonnull String repo, @Nullable Integer page, @Nullable Integer limit, @Nullable List<String> status, ApiCallback _callback) throws ApiException Build call for listActionTasks- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)page- page number of results to return (1-based) (optional)limit- page size of results, default maximum page size is 50 (optional)status- Returns workflow tasks with the check run status or conclusion that is specified. For example, a conclusion can be success or a status can be in_progress. (optional)_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object- Http Response Details
Response Details Status Code Description Response Headers 200 TasksList - 400 APIError is error format response - 403 APIForbiddenError is a forbidden error response - 404 APINotFound is a not found error response - 409 APIConflict is a conflict empty response - 422 APIValidationError is error format response related to input validation -
-
listActionTasks
public ActionTaskResponse listActionTasks(@Nonnull String owner, @Nonnull String repo, @Nullable Integer page, @Nullable Integer limit, @Nullable List<String> status) throws ApiException List a repository's action tasks- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)page- page number of results to return (1-based) (optional)limit- page size of results, default maximum page size is 50 (optional)status- Returns workflow tasks with the check run status or conclusion that is specified. For example, a conclusion can be success or a status can be in_progress. (optional)- Returns:
- ActionTaskResponse
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details
Response Details Status Code Description Response Headers 200 TasksList - 400 APIError is error format response - 403 APIForbiddenError is a forbidden error response - 404 APINotFound is a not found error response - 409 APIConflict is a conflict empty response - 422 APIValidationError is error format response related to input validation -
-
listActionTasksWithHttpInfo
public ApiResponse<ActionTaskResponse> listActionTasksWithHttpInfo(@Nonnull String owner, @Nonnull String repo, @Nullable Integer page, @Nullable Integer limit, @Nullable List<String> status) throws ApiException List a repository's action tasks- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)page- page number of results to return (1-based) (optional)limit- page size of results, default maximum page size is 50 (optional)status- Returns workflow tasks with the check run status or conclusion that is specified. For example, a conclusion can be success or a status can be in_progress. (optional)- Returns:
- ApiResponse<ActionTaskResponse>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details
Response Details Status Code Description Response Headers 200 TasksList - 400 APIError is error format response - 403 APIForbiddenError is a forbidden error response - 404 APINotFound is a not found error response - 409 APIConflict is a conflict empty response - 422 APIValidationError is error format response related to input validation -
-
listActionTasksAsync
public okhttp3.Call listActionTasksAsync(@Nonnull String owner, @Nonnull String repo, @Nullable Integer page, @Nullable Integer limit, @Nullable List<String> status, ApiCallback<ActionTaskResponse> _callback) throws ApiException List a repository's action tasks (asynchronously)- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)page- page number of results to return (1-based) (optional)limit- page size of results, default maximum page size is 50 (optional)status- Returns workflow tasks with the check run status or conclusion that is specified. For example, a conclusion can be success or a status can be in_progress. (optional)_callback- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException- If fail to process the API call, e.g. serializing the request body object- Http Response Details
Response Details Status Code Description Response Headers 200 TasksList - 400 APIError is error format response - 403 APIForbiddenError is a forbidden error response - 404 APINotFound is a not found error response - 409 APIConflict is a conflict empty response - 422 APIValidationError is error format response related to input validation -
-
listForksCall
public okhttp3.Call listForksCall(@Nonnull String owner, @Nonnull String repo, @Nullable Integer page, @Nullable Integer limit, ApiCallback _callback) throws ApiException Build call for listForks- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)page- page number of results to return (1-based) (optional)limit- page size of results (optional)_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object- Http Response Details
Response Details Status Code Description Response Headers 200 RepositoryList * X-Total-Count - The total number of access tokens
404 APINotFound is a not found error response -
-
listForks
public List<Repository> listForks(@Nonnull String owner, @Nonnull String repo, @Nullable Integer page, @Nullable Integer limit) throws ApiException List a repository's forks- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)page- page number of results to return (1-based) (optional)limit- page size of results (optional)- Returns:
- List<Repository>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details
Response Details Status Code Description Response Headers 200 RepositoryList * X-Total-Count - The total number of access tokens
404 APINotFound is a not found error response -
-
listForksWithHttpInfo
public ApiResponse<List<Repository>> listForksWithHttpInfo(@Nonnull String owner, @Nonnull String repo, @Nullable Integer page, @Nullable Integer limit) throws ApiException List a repository's forks- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)page- page number of results to return (1-based) (optional)limit- page size of results (optional)- Returns:
- ApiResponse<List<Repository>>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details
Response Details Status Code Description Response Headers 200 RepositoryList * X-Total-Count - The total number of access tokens
404 APINotFound is a not found error response -
-
listForksAsync
public okhttp3.Call listForksAsync(@Nonnull String owner, @Nonnull String repo, @Nullable Integer page, @Nullable Integer limit, ApiCallback<List<Repository>> _callback) throws ApiException List a repository's forks (asynchronously)- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)page- page number of results to return (1-based) (optional)limit- page size of results (optional)_callback- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException- If fail to process the API call, e.g. serializing the request body object- Http Response Details
Response Details Status Code Description Response Headers 200 RepositoryList * X-Total-Count - The total number of access tokens
404 APINotFound is a not found error response -
-
registerRepoRunnerCall
public okhttp3.Call registerRepoRunnerCall(@Nonnull String owner, @Nonnull String repo, @Nullable RegisterRunnerOptions body, ApiCallback _callback) throws ApiException Build call for registerRepoRunner- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)body- (optional)_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object- Http Response Details
Response Details Status Code Description Response Headers 201 RegisterRunnerResponse contains the details of the just registered runner. - 400 APIError is error format response - 401 APIUnauthorizedError is a unauthorized error response - 404 APINotFound is a not found error response -
-
registerRepoRunner
public RegisterRunnerResponse registerRepoRunner(@Nonnull String owner, @Nonnull String repo, @Nullable RegisterRunnerOptions body) throws ApiException Register a new repository-level runner- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)body- (optional)- Returns:
- RegisterRunnerResponse
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details
Response Details Status Code Description Response Headers 201 RegisterRunnerResponse contains the details of the just registered runner. - 400 APIError is error format response - 401 APIUnauthorizedError is a unauthorized error response - 404 APINotFound is a not found error response -
-
registerRepoRunnerWithHttpInfo
public ApiResponse<RegisterRunnerResponse> registerRepoRunnerWithHttpInfo(@Nonnull String owner, @Nonnull String repo, @Nullable RegisterRunnerOptions body) throws ApiException Register a new repository-level runner- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)body- (optional)- Returns:
- ApiResponse<RegisterRunnerResponse>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details
Response Details Status Code Description Response Headers 201 RegisterRunnerResponse contains the details of the just registered runner. - 400 APIError is error format response - 401 APIUnauthorizedError is a unauthorized error response - 404 APINotFound is a not found error response -
-
registerRepoRunnerAsync
public okhttp3.Call registerRepoRunnerAsync(@Nonnull String owner, @Nonnull String repo, @Nullable RegisterRunnerOptions body, ApiCallback<RegisterRunnerResponse> _callback) throws ApiException Register a new repository-level runner (asynchronously)- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)body- (optional)_callback- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException- If fail to process the API call, e.g. serializing the request body object- Http Response Details
Response Details Status Code Description Response Headers 201 RegisterRunnerResponse contains the details of the just registered runner. - 400 APIError is error format response - 401 APIUnauthorizedError is a unauthorized error response - 404 APINotFound is a not found error response -
-
rejectRepoTransferCall
public okhttp3.Call rejectRepoTransferCall(@Nonnull String owner, @Nonnull String repo, ApiCallback _callback) throws ApiException Build call for rejectRepoTransfer- Parameters:
owner- owner of the repo to transfer (required)repo- name of the repo to transfer (required)_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object- Http Response Details
Response Details Status Code Description Response Headers 200 Repository - 403 APIForbiddenError is a forbidden error response - 404 APINotFound is a not found error response -
-
rejectRepoTransfer
public Repository rejectRepoTransfer(@Nonnull String owner, @Nonnull String repo) throws ApiException Reject a repo transfer- Parameters:
owner- owner of the repo to transfer (required)repo- name of the repo to transfer (required)- Returns:
- Repository
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details
Response Details Status Code Description Response Headers 200 Repository - 403 APIForbiddenError is a forbidden error response - 404 APINotFound is a not found error response -
-
rejectRepoTransferWithHttpInfo
public ApiResponse<Repository> rejectRepoTransferWithHttpInfo(@Nonnull String owner, @Nonnull String repo) throws ApiException Reject a repo transfer- Parameters:
owner- owner of the repo to transfer (required)repo- name of the repo to transfer (required)- Returns:
- ApiResponse<Repository>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details
Response Details Status Code Description Response Headers 200 Repository - 403 APIForbiddenError is a forbidden error response - 404 APINotFound is a not found error response -
-
rejectRepoTransferAsync
public okhttp3.Call rejectRepoTransferAsync(@Nonnull String owner, @Nonnull String repo, ApiCallback<Repository> _callback) throws ApiException Reject a repo transfer (asynchronously)- Parameters:
owner- owner of the repo to transfer (required)repo- name of the repo to transfer (required)_callback- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException- If fail to process the API call, e.g. serializing the request body object- Http Response Details
Response Details Status Code Description Response Headers 200 Repository - 403 APIForbiddenError is a forbidden error response - 404 APINotFound is a not found error response -
-
repoAddCollaboratorCall
public okhttp3.Call repoAddCollaboratorCall(@Nonnull String owner, @Nonnull String repo, @Nonnull String collaborator, @Nullable AddCollaboratorOption body, ApiCallback _callback) throws ApiException Build call for repoAddCollaborator- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)collaborator- username of the collaborator to add (required)body- (optional)_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object- Http Response Details
Response Details Status Code Description Response Headers 204 APIEmpty is an empty response - 403 APIForbiddenError is a forbidden error response - 404 APINotFound is a not found error response - 422 APIValidationError is error format response related to input validation -
-
repoAddCollaborator
public void repoAddCollaborator(@Nonnull String owner, @Nonnull String repo, @Nonnull String collaborator, @Nullable AddCollaboratorOption body) throws ApiException Add a collaborator to a repository- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)collaborator- username of the collaborator to add (required)body- (optional)- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details
Response Details Status Code Description Response Headers 204 APIEmpty is an empty response - 403 APIForbiddenError is a forbidden error response - 404 APINotFound is a not found error response - 422 APIValidationError is error format response related to input validation -
-
repoAddCollaboratorWithHttpInfo
public ApiResponse<Void> repoAddCollaboratorWithHttpInfo(@Nonnull String owner, @Nonnull String repo, @Nonnull String collaborator, @Nullable AddCollaboratorOption body) throws ApiException Add a collaborator to a repository- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)collaborator- username of the collaborator to add (required)body- (optional)- Returns:
- ApiResponse<Void>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details
Response Details Status Code Description Response Headers 204 APIEmpty is an empty response - 403 APIForbiddenError is a forbidden error response - 404 APINotFound is a not found error response - 422 APIValidationError is error format response related to input validation -
-
repoAddCollaboratorAsync
public okhttp3.Call repoAddCollaboratorAsync(@Nonnull String owner, @Nonnull String repo, @Nonnull String collaborator, @Nullable AddCollaboratorOption body, ApiCallback<Void> _callback) throws ApiException Add a collaborator to a repository (asynchronously)- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)collaborator- username of the collaborator to add (required)body- (optional)_callback- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException- If fail to process the API call, e.g. serializing the request body object- Http Response Details
Response Details Status Code Description Response Headers 204 APIEmpty is an empty response - 403 APIForbiddenError is a forbidden error response - 404 APINotFound is a not found error response - 422 APIValidationError is error format response related to input validation -
-
repoAddFlagCall
public okhttp3.Call repoAddFlagCall(@Nonnull String owner, @Nonnull String repo, @Nonnull String flag, ApiCallback _callback) throws ApiException Build call for repoAddFlag- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)flag- name of the flag (required)_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object- Http Response Details
Response Details Status Code Description Response Headers 204 APIEmpty is an empty response - 403 APIForbiddenError is a forbidden error response - 404 APINotFound is a not found error response -
-
repoAddFlag
public void repoAddFlag(@Nonnull String owner, @Nonnull String repo, @Nonnull String flag) throws ApiException Add a flag to a repository- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)flag- name of the flag (required)- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details
Response Details Status Code Description Response Headers 204 APIEmpty is an empty response - 403 APIForbiddenError is a forbidden error response - 404 APINotFound is a not found error response -
-
repoAddFlagWithHttpInfo
public ApiResponse<Void> repoAddFlagWithHttpInfo(@Nonnull String owner, @Nonnull String repo, @Nonnull String flag) throws ApiException Add a flag to a repository- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)flag- name of the flag (required)- Returns:
- ApiResponse<Void>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details
Response Details Status Code Description Response Headers 204 APIEmpty is an empty response - 403 APIForbiddenError is a forbidden error response - 404 APINotFound is a not found error response -
-
repoAddFlagAsync
public okhttp3.Call repoAddFlagAsync(@Nonnull String owner, @Nonnull String repo, @Nonnull String flag, ApiCallback<Void> _callback) throws ApiException Add a flag to a repository (asynchronously)- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)flag- name of the flag (required)_callback- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException- If fail to process the API call, e.g. serializing the request body object- Http Response Details
Response Details Status Code Description Response Headers 204 APIEmpty is an empty response - 403 APIForbiddenError is a forbidden error response - 404 APINotFound is a not found error response -
-
repoAddPushMirrorCall
public okhttp3.Call repoAddPushMirrorCall(@Nonnull String owner, @Nonnull String repo, @Nullable CreatePushMirrorOption body, ApiCallback _callback) throws ApiException Build call for repoAddPushMirror- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)body- (optional)_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object- Http Response Details
Response Details Status Code Description Response Headers 200 PushMirror - 400 APIError is error format response - 403 APIForbiddenError is a forbidden error response - 404 APINotFound is a not found error response - 413 QuotaExceeded * user_id -
* message -
* username -
-
repoAddPushMirror
public PushMirror repoAddPushMirror(@Nonnull String owner, @Nonnull String repo, @Nullable CreatePushMirrorOption body) throws ApiException Set up a new push mirror in a repository- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)body- (optional)- Returns:
- PushMirror
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details
Response Details Status Code Description Response Headers 200 PushMirror - 400 APIError is error format response - 403 APIForbiddenError is a forbidden error response - 404 APINotFound is a not found error response - 413 QuotaExceeded * user_id -
* message -
* username -
-
repoAddPushMirrorWithHttpInfo
public ApiResponse<PushMirror> repoAddPushMirrorWithHttpInfo(@Nonnull String owner, @Nonnull String repo, @Nullable CreatePushMirrorOption body) throws ApiException Set up a new push mirror in a repository- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)body- (optional)- Returns:
- ApiResponse<PushMirror>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details
Response Details Status Code Description Response Headers 200 PushMirror - 400 APIError is error format response - 403 APIForbiddenError is a forbidden error response - 404 APINotFound is a not found error response - 413 QuotaExceeded * user_id -
* message -
* username -
-
repoAddPushMirrorAsync
public okhttp3.Call repoAddPushMirrorAsync(@Nonnull String owner, @Nonnull String repo, @Nullable CreatePushMirrorOption body, ApiCallback<PushMirror> _callback) throws ApiException Set up a new push mirror in a repository (asynchronously)- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)body- (optional)_callback- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException- If fail to process the API call, e.g. serializing the request body object- Http Response Details
Response Details Status Code Description Response Headers 200 PushMirror - 400 APIError is error format response - 403 APIForbiddenError is a forbidden error response - 404 APINotFound is a not found error response - 413 QuotaExceeded * user_id -
* message -
* username -
-
repoAddTeamCall
public okhttp3.Call repoAddTeamCall(@Nonnull String owner, @Nonnull String repo, @Nonnull String team, ApiCallback _callback) throws ApiException Build call for repoAddTeam- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)team- team name (required)_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object- Http Response Details
Response Details Status Code Description Response Headers 204 APIEmpty is an empty response - 404 APINotFound is a not found error response - 405 APIError is error format response - 422 APIValidationError is error format response related to input validation -
-
repoAddTeam
public void repoAddTeam(@Nonnull String owner, @Nonnull String repo, @Nonnull String team) throws ApiException Add a team to a repository- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)team- team name (required)- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details
Response Details Status Code Description Response Headers 204 APIEmpty is an empty response - 404 APINotFound is a not found error response - 405 APIError is error format response - 422 APIValidationError is error format response related to input validation -
-
repoAddTeamWithHttpInfo
public ApiResponse<Void> repoAddTeamWithHttpInfo(@Nonnull String owner, @Nonnull String repo, @Nonnull String team) throws ApiException Add a team to a repository- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)team- team name (required)- Returns:
- ApiResponse<Void>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details
Response Details Status Code Description Response Headers 204 APIEmpty is an empty response - 404 APINotFound is a not found error response - 405 APIError is error format response - 422 APIValidationError is error format response related to input validation -
-
repoAddTeamAsync
public okhttp3.Call repoAddTeamAsync(@Nonnull String owner, @Nonnull String repo, @Nonnull String team, ApiCallback<Void> _callback) throws ApiException Add a team to a repository (asynchronously)- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)team- team name (required)_callback- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException- If fail to process the API call, e.g. serializing the request body object- Http Response Details
Response Details Status Code Description Response Headers 204 APIEmpty is an empty response - 404 APINotFound is a not found error response - 405 APIError is error format response - 422 APIValidationError is error format response related to input validation -
-
repoAddTopicCall
public okhttp3.Call repoAddTopicCall(@Nonnull String owner, @Nonnull String repo, @Nonnull String topic, ApiCallback _callback) throws ApiException Build call for repoAddTopic- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)topic- name of the topic to add (required)_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object- Http Response Details
Response Details Status Code Description Response Headers 204 APIEmpty is an empty response - 404 APINotFound is a not found error response - 422 APIInvalidTopicsError is error format response to invalid topics -
-
repoAddTopic
public void repoAddTopic(@Nonnull String owner, @Nonnull String repo, @Nonnull String topic) throws ApiException Add a topic to a repository- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)topic- name of the topic to add (required)- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details
Response Details Status Code Description Response Headers 204 APIEmpty is an empty response - 404 APINotFound is a not found error response - 422 APIInvalidTopicsError is error format response to invalid topics -
-
repoAddTopicWithHttpInfo
public ApiResponse<Void> repoAddTopicWithHttpInfo(@Nonnull String owner, @Nonnull String repo, @Nonnull String topic) throws ApiException Add a topic to a repository- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)topic- name of the topic to add (required)- Returns:
- ApiResponse<Void>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details
Response Details Status Code Description Response Headers 204 APIEmpty is an empty response - 404 APINotFound is a not found error response - 422 APIInvalidTopicsError is error format response to invalid topics -
-
repoAddTopicAsync
public okhttp3.Call repoAddTopicAsync(@Nonnull String owner, @Nonnull String repo, @Nonnull String topic, ApiCallback<Void> _callback) throws ApiException Add a topic to a repository (asynchronously)- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)topic- name of the topic to add (required)_callback- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException- If fail to process the API call, e.g. serializing the request body object- Http Response Details
Response Details Status Code Description Response Headers 204 APIEmpty is an empty response - 404 APINotFound is a not found error response - 422 APIInvalidTopicsError is error format response to invalid topics -
-
repoApplyDiffPatchCall
public okhttp3.Call repoApplyDiffPatchCall(@Nonnull String owner, @Nonnull String repo, @Nonnull UpdateFileOptions body, ApiCallback _callback) throws ApiException Build call for repoApplyDiffPatch- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)body- (required)_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object- Http Response Details
Response Details Status Code Description Response Headers 200 FileResponse - 404 APINotFound is a not found error response - 413 QuotaExceeded * user_id -
* message -
* username -
423 APIRepoArchivedError is an error that is raised when an archived repo should be modified -
-
repoApplyDiffPatch
public FileResponse repoApplyDiffPatch(@Nonnull String owner, @Nonnull String repo, @Nonnull UpdateFileOptions body) throws ApiException Apply diff patch to repository- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)body- (required)- Returns:
- FileResponse
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details
Response Details Status Code Description Response Headers 200 FileResponse - 404 APINotFound is a not found error response - 413 QuotaExceeded * user_id -
* message -
* username -
423 APIRepoArchivedError is an error that is raised when an archived repo should be modified -
-
repoApplyDiffPatchWithHttpInfo
public ApiResponse<FileResponse> repoApplyDiffPatchWithHttpInfo(@Nonnull String owner, @Nonnull String repo, @Nonnull UpdateFileOptions body) throws ApiException Apply diff patch to repository- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)body- (required)- Returns:
- ApiResponse<FileResponse>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details
Response Details Status Code Description Response Headers 200 FileResponse - 404 APINotFound is a not found error response - 413 QuotaExceeded * user_id -
* message -
* username -
423 APIRepoArchivedError is an error that is raised when an archived repo should be modified -
-
repoApplyDiffPatchAsync
public okhttp3.Call repoApplyDiffPatchAsync(@Nonnull String owner, @Nonnull String repo, @Nonnull UpdateFileOptions body, ApiCallback<FileResponse> _callback) throws ApiException Apply diff patch to repository (asynchronously)- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)body- (required)_callback- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException- If fail to process the API call, e.g. serializing the request body object- Http Response Details
Response Details Status Code Description Response Headers 200 FileResponse - 404 APINotFound is a not found error response - 413 QuotaExceeded * user_id -
* message -
* username -
423 APIRepoArchivedError is an error that is raised when an archived repo should be modified -
-
repoCancelScheduledAutoMergeCall
public okhttp3.Call repoCancelScheduledAutoMergeCall(@Nonnull String owner, @Nonnull String repo, @Nonnull Long index, ApiCallback _callback) throws ApiException Build call for repoCancelScheduledAutoMerge- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)index- index of the pull request to merge (required)_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object- Http Response Details
Response Details Status Code Description Response Headers 204 APIEmpty is an empty response - 403 APIForbiddenError is a forbidden error response - 404 APINotFound is a not found error response - 423 APIRepoArchivedError is an error that is raised when an archived repo should be modified -
-
repoCancelScheduledAutoMerge
public void repoCancelScheduledAutoMerge(@Nonnull String owner, @Nonnull String repo, @Nonnull Long index) throws ApiException Cancel the scheduled auto merge for the given pull request- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)index- index of the pull request to merge (required)- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details
Response Details Status Code Description Response Headers 204 APIEmpty is an empty response - 403 APIForbiddenError is a forbidden error response - 404 APINotFound is a not found error response - 423 APIRepoArchivedError is an error that is raised when an archived repo should be modified -
-
repoCancelScheduledAutoMergeWithHttpInfo
public ApiResponse<Void> repoCancelScheduledAutoMergeWithHttpInfo(@Nonnull String owner, @Nonnull String repo, @Nonnull Long index) throws ApiException Cancel the scheduled auto merge for the given pull request- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)index- index of the pull request to merge (required)- Returns:
- ApiResponse<Void>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details
Response Details Status Code Description Response Headers 204 APIEmpty is an empty response - 403 APIForbiddenError is a forbidden error response - 404 APINotFound is a not found error response - 423 APIRepoArchivedError is an error that is raised when an archived repo should be modified -
-
repoCancelScheduledAutoMergeAsync
public okhttp3.Call repoCancelScheduledAutoMergeAsync(@Nonnull String owner, @Nonnull String repo, @Nonnull Long index, ApiCallback<Void> _callback) throws ApiException Cancel the scheduled auto merge for the given pull request (asynchronously)- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)index- index of the pull request to merge (required)_callback- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException- If fail to process the API call, e.g. serializing the request body object- Http Response Details
Response Details Status Code Description Response Headers 204 APIEmpty is an empty response - 403 APIForbiddenError is a forbidden error response - 404 APINotFound is a not found error response - 423 APIRepoArchivedError is an error that is raised when an archived repo should be modified -
-
repoChangeFilesCall
public okhttp3.Call repoChangeFilesCall(@Nonnull String owner, @Nonnull String repo, @Nonnull ChangeFilesOptions body, ApiCallback _callback) throws ApiException Build call for repoChangeFiles- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)body- (required)_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object- Http Response Details
Response Details Status Code Description Response Headers 201 FilesResponse - 403 APIError is error format response - 404 APINotFound is a not found error response - 409 APIConflict is a conflict empty response - 413 QuotaExceeded * user_id -
* message -
* username -
422 APIError is error format response - 423 APIRepoArchivedError is an error that is raised when an archived repo should be modified -
-
repoChangeFiles
public FilesResponse repoChangeFiles(@Nonnull String owner, @Nonnull String repo, @Nonnull ChangeFilesOptions body) throws ApiException Modify multiple files in a repository- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)body- (required)- Returns:
- FilesResponse
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details
Response Details Status Code Description Response Headers 201 FilesResponse - 403 APIError is error format response - 404 APINotFound is a not found error response - 409 APIConflict is a conflict empty response - 413 QuotaExceeded * user_id -
* message -
* username -
422 APIError is error format response - 423 APIRepoArchivedError is an error that is raised when an archived repo should be modified -
-
repoChangeFilesWithHttpInfo
public ApiResponse<FilesResponse> repoChangeFilesWithHttpInfo(@Nonnull String owner, @Nonnull String repo, @Nonnull ChangeFilesOptions body) throws ApiException Modify multiple files in a repository- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)body- (required)- Returns:
- ApiResponse<FilesResponse>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details
Response Details Status Code Description Response Headers 201 FilesResponse - 403 APIError is error format response - 404 APINotFound is a not found error response - 409 APIConflict is a conflict empty response - 413 QuotaExceeded * user_id -
* message -
* username -
422 APIError is error format response - 423 APIRepoArchivedError is an error that is raised when an archived repo should be modified -
-
repoChangeFilesAsync
public okhttp3.Call repoChangeFilesAsync(@Nonnull String owner, @Nonnull String repo, @Nonnull ChangeFilesOptions body, ApiCallback<FilesResponse> _callback) throws ApiException Modify multiple files in a repository (asynchronously)- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)body- (required)_callback- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException- If fail to process the API call, e.g. serializing the request body object- Http Response Details
Response Details Status Code Description Response Headers 201 FilesResponse - 403 APIError is error format response - 404 APINotFound is a not found error response - 409 APIConflict is a conflict empty response - 413 QuotaExceeded * user_id -
* message -
* username -
422 APIError is error format response - 423 APIRepoArchivedError is an error that is raised when an archived repo should be modified -
-
repoCheckCollaboratorCall
public okhttp3.Call repoCheckCollaboratorCall(@Nonnull String owner, @Nonnull String repo, @Nonnull String collaborator, ApiCallback _callback) throws ApiException Build call for repoCheckCollaborator- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)collaborator- username of the collaborator (required)_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object- Http Response Details
Response Details Status Code Description Response Headers 204 APIEmpty is an empty response - 404 APINotFound is a not found error response - 422 APIValidationError is error format response related to input validation -
-
repoCheckCollaborator
public void repoCheckCollaborator(@Nonnull String owner, @Nonnull String repo, @Nonnull String collaborator) throws ApiException Check if a user is a collaborator of a repository If the user is a collaborator, return 204. If the user is not a collaborator, return 404.- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)collaborator- username of the collaborator (required)- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details
Response Details Status Code Description Response Headers 204 APIEmpty is an empty response - 404 APINotFound is a not found error response - 422 APIValidationError is error format response related to input validation -
-
repoCheckCollaboratorWithHttpInfo
public ApiResponse<Void> repoCheckCollaboratorWithHttpInfo(@Nonnull String owner, @Nonnull String repo, @Nonnull String collaborator) throws ApiException Check if a user is a collaborator of a repository If the user is a collaborator, return 204. If the user is not a collaborator, return 404.- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)collaborator- username of the collaborator (required)- Returns:
- ApiResponse<Void>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details
Response Details Status Code Description Response Headers 204 APIEmpty is an empty response - 404 APINotFound is a not found error response - 422 APIValidationError is error format response related to input validation -
-
repoCheckCollaboratorAsync
public okhttp3.Call repoCheckCollaboratorAsync(@Nonnull String owner, @Nonnull String repo, @Nonnull String collaborator, ApiCallback<Void> _callback) throws ApiException Check if a user is a collaborator of a repository (asynchronously) If the user is a collaborator, return 204. If the user is not a collaborator, return 404.- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)collaborator- username of the collaborator (required)_callback- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException- If fail to process the API call, e.g. serializing the request body object- Http Response Details
Response Details Status Code Description Response Headers 204 APIEmpty is an empty response - 404 APINotFound is a not found error response - 422 APIValidationError is error format response related to input validation -
-
repoCheckFlagCall
public okhttp3.Call repoCheckFlagCall(@Nonnull String owner, @Nonnull String repo, @Nonnull String flag, ApiCallback _callback) throws ApiException Build call for repoCheckFlag- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)flag- name of the flag (required)_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object- Http Response Details
Response Details Status Code Description Response Headers 204 APIEmpty is an empty response - 403 APIForbiddenError is a forbidden error response - 404 APINotFound is a not found error response -
-
repoCheckFlag
public void repoCheckFlag(@Nonnull String owner, @Nonnull String repo, @Nonnull String flag) throws ApiException Check if a repository has a given flag- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)flag- name of the flag (required)- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details
Response Details Status Code Description Response Headers 204 APIEmpty is an empty response - 403 APIForbiddenError is a forbidden error response - 404 APINotFound is a not found error response -
-
repoCheckFlagWithHttpInfo
public ApiResponse<Void> repoCheckFlagWithHttpInfo(@Nonnull String owner, @Nonnull String repo, @Nonnull String flag) throws ApiException Check if a repository has a given flag- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)flag- name of the flag (required)- Returns:
- ApiResponse<Void>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details
Response Details Status Code Description Response Headers 204 APIEmpty is an empty response - 403 APIForbiddenError is a forbidden error response - 404 APINotFound is a not found error response -
-
repoCheckFlagAsync
public okhttp3.Call repoCheckFlagAsync(@Nonnull String owner, @Nonnull String repo, @Nonnull String flag, ApiCallback<Void> _callback) throws ApiException Check if a repository has a given flag (asynchronously)- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)flag- name of the flag (required)_callback- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException- If fail to process the API call, e.g. serializing the request body object- Http Response Details
Response Details Status Code Description Response Headers 204 APIEmpty is an empty response - 403 APIForbiddenError is a forbidden error response - 404 APINotFound is a not found error response -
-
repoCheckTeamCall
public okhttp3.Call repoCheckTeamCall(@Nonnull String owner, @Nonnull String repo, @Nonnull String team, ApiCallback _callback) throws ApiException Build call for repoCheckTeam- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)team- team name (required)_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object- Http Response Details
Response Details Status Code Description Response Headers 200 Team - 404 APINotFound is a not found error response - 405 APIError is error format response -
-
repoCheckTeam
public Team repoCheckTeam(@Nonnull String owner, @Nonnull String repo, @Nonnull String team) throws ApiException Check if a team is assigned to a repository- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)team- team name (required)- Returns:
- Team
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details
Response Details Status Code Description Response Headers 200 Team - 404 APINotFound is a not found error response - 405 APIError is error format response -
-
repoCheckTeamWithHttpInfo
public ApiResponse<Team> repoCheckTeamWithHttpInfo(@Nonnull String owner, @Nonnull String repo, @Nonnull String team) throws ApiException Check if a team is assigned to a repository- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)team- team name (required)- Returns:
- ApiResponse<Team>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details
Response Details Status Code Description Response Headers 200 Team - 404 APINotFound is a not found error response - 405 APIError is error format response -
-
repoCheckTeamAsync
public okhttp3.Call repoCheckTeamAsync(@Nonnull String owner, @Nonnull String repo, @Nonnull String team, ApiCallback<Team> _callback) throws ApiException Check if a team is assigned to a repository (asynchronously)- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)team- team name (required)_callback- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException- If fail to process the API call, e.g. serializing the request body object- Http Response Details
Response Details Status Code Description Response Headers 200 Team - 404 APINotFound is a not found error response - 405 APIError is error format response -
-
repoCompareDiffCall
public okhttp3.Call repoCompareDiffCall(@Nonnull String owner, @Nonnull String repo, @Nonnull String basehead, ApiCallback _callback) throws ApiException Build call for repoCompareDiff- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)basehead- compare two branches or commits (required)_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object- Http Response Details
Response Details Status Code Description Response Headers 200 - 404 APINotFound is a not found error response -
-
repoCompareDiff
public Compare repoCompareDiff(@Nonnull String owner, @Nonnull String repo, @Nonnull String basehead) throws ApiException Get commit comparison information- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)basehead- compare two branches or commits (required)- Returns:
- Compare
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details
Response Details Status Code Description Response Headers 200 - 404 APINotFound is a not found error response -
-
repoCompareDiffWithHttpInfo
public ApiResponse<Compare> repoCompareDiffWithHttpInfo(@Nonnull String owner, @Nonnull String repo, @Nonnull String basehead) throws ApiException Get commit comparison information- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)basehead- compare two branches or commits (required)- Returns:
- ApiResponse<Compare>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details
Response Details Status Code Description Response Headers 200 - 404 APINotFound is a not found error response -
-
repoCompareDiffAsync
public okhttp3.Call repoCompareDiffAsync(@Nonnull String owner, @Nonnull String repo, @Nonnull String basehead, ApiCallback<Compare> _callback) throws ApiException Get commit comparison information (asynchronously)- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)basehead- compare two branches or commits (required)_callback- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException- If fail to process the API call, e.g. serializing the request body object- Http Response Details
Response Details Status Code Description Response Headers 200 - 404 APINotFound is a not found error response -
-
repoConvertCall
public okhttp3.Call repoConvertCall(@Nonnull String owner, @Nonnull String repo, ApiCallback _callback) throws ApiException Build call for repoConvert- Parameters:
owner- owner of the repo to convert (required)repo- name of the repo to convert (required)_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object- Http Response Details
Response Details Status Code Description Response Headers 200 Repository - 403 APIForbiddenError is a forbidden error response - 404 APINotFound is a not found error response - 422 APIValidationError is error format response related to input validation -
-
repoConvert
Convert a mirror repo to a normal repo.- Parameters:
owner- owner of the repo to convert (required)repo- name of the repo to convert (required)- Returns:
- Repository
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details
Response Details Status Code Description Response Headers 200 Repository - 403 APIForbiddenError is a forbidden error response - 404 APINotFound is a not found error response - 422 APIValidationError is error format response related to input validation -
-
repoConvertWithHttpInfo
public ApiResponse<Repository> repoConvertWithHttpInfo(@Nonnull String owner, @Nonnull String repo) throws ApiException Convert a mirror repo to a normal repo.- Parameters:
owner- owner of the repo to convert (required)repo- name of the repo to convert (required)- Returns:
- ApiResponse<Repository>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details
Response Details Status Code Description Response Headers 200 Repository - 403 APIForbiddenError is a forbidden error response - 404 APINotFound is a not found error response - 422 APIValidationError is error format response related to input validation -
-
repoConvertAsync
public okhttp3.Call repoConvertAsync(@Nonnull String owner, @Nonnull String repo, ApiCallback<Repository> _callback) throws ApiException Convert a mirror repo to a normal repo. (asynchronously)- Parameters:
owner- owner of the repo to convert (required)repo- name of the repo to convert (required)_callback- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException- If fail to process the API call, e.g. serializing the request body object- Http Response Details
Response Details Status Code Description Response Headers 200 Repository - 403 APIForbiddenError is a forbidden error response - 404 APINotFound is a not found error response - 422 APIValidationError is error format response related to input validation -
-
repoCreateBranchCall
public okhttp3.Call repoCreateBranchCall(@Nonnull String owner, @Nonnull String repo, @Nullable CreateBranchRepoOption body, ApiCallback _callback) throws ApiException Build call for repoCreateBranch- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)body- (optional)_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object- Http Response Details
Response Details Status Code Description Response Headers 201 Branch - 403 The branch is archived or a mirror. - 404 The old branch does not exist. - 409 The branch with the same name already exists. - 413 QuotaExceeded * user_id -
* message -
* username -
423 APIRepoArchivedError is an error that is raised when an archived repo should be modified -
-
repoCreateBranch
public Branch repoCreateBranch(@Nonnull String owner, @Nonnull String repo, @Nullable CreateBranchRepoOption body) throws ApiException Create a branch- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)body- (optional)- Returns:
- Branch
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details
Response Details Status Code Description Response Headers 201 Branch - 403 The branch is archived or a mirror. - 404 The old branch does not exist. - 409 The branch with the same name already exists. - 413 QuotaExceeded * user_id -
* message -
* username -
423 APIRepoArchivedError is an error that is raised when an archived repo should be modified -
-
repoCreateBranchWithHttpInfo
public ApiResponse<Branch> repoCreateBranchWithHttpInfo(@Nonnull String owner, @Nonnull String repo, @Nullable CreateBranchRepoOption body) throws ApiException Create a branch- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)body- (optional)- Returns:
- ApiResponse<Branch>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details
Response Details Status Code Description Response Headers 201 Branch - 403 The branch is archived or a mirror. - 404 The old branch does not exist. - 409 The branch with the same name already exists. - 413 QuotaExceeded * user_id -
* message -
* username -
423 APIRepoArchivedError is an error that is raised when an archived repo should be modified -
-
repoCreateBranchAsync
public okhttp3.Call repoCreateBranchAsync(@Nonnull String owner, @Nonnull String repo, @Nullable CreateBranchRepoOption body, ApiCallback<Branch> _callback) throws ApiException Create a branch (asynchronously)- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)body- (optional)_callback- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException- If fail to process the API call, e.g. serializing the request body object- Http Response Details
Response Details Status Code Description Response Headers 201 Branch - 403 The branch is archived or a mirror. - 404 The old branch does not exist. - 409 The branch with the same name already exists. - 413 QuotaExceeded * user_id -
* message -
* username -
423 APIRepoArchivedError is an error that is raised when an archived repo should be modified -
-
repoCreateBranchProtectionCall
public okhttp3.Call repoCreateBranchProtectionCall(@Nonnull String owner, @Nonnull String repo, @Nullable CreateBranchProtectionOption body, ApiCallback _callback) throws ApiException Build call for repoCreateBranchProtection- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)body- (optional)_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object- Http Response Details
Response Details Status Code Description Response Headers 201 BranchProtection - 403 APIForbiddenError is a forbidden error response - 404 APINotFound is a not found error response - 422 APIValidationError is error format response related to input validation - 423 APIRepoArchivedError is an error that is raised when an archived repo should be modified -
-
repoCreateBranchProtection
public BranchProtection repoCreateBranchProtection(@Nonnull String owner, @Nonnull String repo, @Nullable CreateBranchProtectionOption body) throws ApiException Create a branch protections for a repository- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)body- (optional)- Returns:
- BranchProtection
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details
Response Details Status Code Description Response Headers 201 BranchProtection - 403 APIForbiddenError is a forbidden error response - 404 APINotFound is a not found error response - 422 APIValidationError is error format response related to input validation - 423 APIRepoArchivedError is an error that is raised when an archived repo should be modified -
-
repoCreateBranchProtectionWithHttpInfo
public ApiResponse<BranchProtection> repoCreateBranchProtectionWithHttpInfo(@Nonnull String owner, @Nonnull String repo, @Nullable CreateBranchProtectionOption body) throws ApiException Create a branch protections for a repository- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)body- (optional)- Returns:
- ApiResponse<BranchProtection>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details
Response Details Status Code Description Response Headers 201 BranchProtection - 403 APIForbiddenError is a forbidden error response - 404 APINotFound is a not found error response - 422 APIValidationError is error format response related to input validation - 423 APIRepoArchivedError is an error that is raised when an archived repo should be modified -
-
repoCreateBranchProtectionAsync
public okhttp3.Call repoCreateBranchProtectionAsync(@Nonnull String owner, @Nonnull String repo, @Nullable CreateBranchProtectionOption body, ApiCallback<BranchProtection> _callback) throws ApiException Create a branch protections for a repository (asynchronously)- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)body- (optional)_callback- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException- If fail to process the API call, e.g. serializing the request body object- Http Response Details
Response Details Status Code Description Response Headers 201 BranchProtection - 403 APIForbiddenError is a forbidden error response - 404 APINotFound is a not found error response - 422 APIValidationError is error format response related to input validation - 423 APIRepoArchivedError is an error that is raised when an archived repo should be modified -
-
repoCreateFileCall
public okhttp3.Call repoCreateFileCall(@Nonnull String owner, @Nonnull String repo, @Nonnull String filepath, @Nonnull CreateFileOptions body, ApiCallback _callback) throws ApiException Build call for repoCreateFile- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)filepath- path of the file to create (required)body- (required)_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object- Http Response Details
Response Details Status Code Description Response Headers 201 FileResponse - 403 APIError is error format response - 404 APINotFound is a not found error response - 409 APIConflict is a conflict empty response - 413 QuotaExceeded * user_id -
* message -
* username -
422 APIError is error format response - 423 APIRepoArchivedError is an error that is raised when an archived repo should be modified -
-
repoCreateFile
public FileResponse repoCreateFile(@Nonnull String owner, @Nonnull String repo, @Nonnull String filepath, @Nonnull CreateFileOptions body) throws ApiException Create a file in a repository- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)filepath- path of the file to create (required)body- (required)- Returns:
- FileResponse
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details
Response Details Status Code Description Response Headers 201 FileResponse - 403 APIError is error format response - 404 APINotFound is a not found error response - 409 APIConflict is a conflict empty response - 413 QuotaExceeded * user_id -
* message -
* username -
422 APIError is error format response - 423 APIRepoArchivedError is an error that is raised when an archived repo should be modified -
-
repoCreateFileWithHttpInfo
public ApiResponse<FileResponse> repoCreateFileWithHttpInfo(@Nonnull String owner, @Nonnull String repo, @Nonnull String filepath, @Nonnull CreateFileOptions body) throws ApiException Create a file in a repository- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)filepath- path of the file to create (required)body- (required)- Returns:
- ApiResponse<FileResponse>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details
Response Details Status Code Description Response Headers 201 FileResponse - 403 APIError is error format response - 404 APINotFound is a not found error response - 409 APIConflict is a conflict empty response - 413 QuotaExceeded * user_id -
* message -
* username -
422 APIError is error format response - 423 APIRepoArchivedError is an error that is raised when an archived repo should be modified -
-
repoCreateFileAsync
public okhttp3.Call repoCreateFileAsync(@Nonnull String owner, @Nonnull String repo, @Nonnull String filepath, @Nonnull CreateFileOptions body, ApiCallback<FileResponse> _callback) throws ApiException Create a file in a repository (asynchronously)- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)filepath- path of the file to create (required)body- (required)_callback- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException- If fail to process the API call, e.g. serializing the request body object- Http Response Details
Response Details Status Code Description Response Headers 201 FileResponse - 403 APIError is error format response - 404 APINotFound is a not found error response - 409 APIConflict is a conflict empty response - 413 QuotaExceeded * user_id -
* message -
* username -
422 APIError is error format response - 423 APIRepoArchivedError is an error that is raised when an archived repo should be modified -
-
repoCreateHookCall
public okhttp3.Call repoCreateHookCall(@Nonnull String owner, @Nonnull String repo, @Nullable CreateHookOption body, ApiCallback _callback) throws ApiException Build call for repoCreateHook- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)body- (optional)_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object- Http Response Details
Response Details Status Code Description Response Headers 201 Hook - 404 APINotFound is a not found error response -
-
repoCreateHook
public Hook repoCreateHook(@Nonnull String owner, @Nonnull String repo, @Nullable CreateHookOption body) throws ApiException Create a hook- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)body- (optional)- Returns:
- Hook
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details
Response Details Status Code Description Response Headers 201 Hook - 404 APINotFound is a not found error response -
-
repoCreateHookWithHttpInfo
public ApiResponse<Hook> repoCreateHookWithHttpInfo(@Nonnull String owner, @Nonnull String repo, @Nullable CreateHookOption body) throws ApiException Create a hook- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)body- (optional)- Returns:
- ApiResponse<Hook>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details
Response Details Status Code Description Response Headers 201 Hook - 404 APINotFound is a not found error response -
-
repoCreateHookAsync
public okhttp3.Call repoCreateHookAsync(@Nonnull String owner, @Nonnull String repo, @Nullable CreateHookOption body, ApiCallback<Hook> _callback) throws ApiException Create a hook (asynchronously)- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)body- (optional)_callback- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException- If fail to process the API call, e.g. serializing the request body object- Http Response Details
Response Details Status Code Description Response Headers 201 Hook - 404 APINotFound is a not found error response -
-
repoCreateKeyCall
public okhttp3.Call repoCreateKeyCall(@Nonnull String owner, @Nonnull String repo, @Nullable CreateKeyOption body, ApiCallback _callback) throws ApiException Build call for repoCreateKey- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)body- (optional)_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object- Http Response Details
Response Details Status Code Description Response Headers 201 DeployKey - 404 APINotFound is a not found error response - 422 APIValidationError is error format response related to input validation -
-
repoCreateKey
public DeployKey repoCreateKey(@Nonnull String owner, @Nonnull String repo, @Nullable CreateKeyOption body) throws ApiException Add a key to a repository- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)body- (optional)- Returns:
- DeployKey
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details
Response Details Status Code Description Response Headers 201 DeployKey - 404 APINotFound is a not found error response - 422 APIValidationError is error format response related to input validation -
-
repoCreateKeyWithHttpInfo
public ApiResponse<DeployKey> repoCreateKeyWithHttpInfo(@Nonnull String owner, @Nonnull String repo, @Nullable CreateKeyOption body) throws ApiException Add a key to a repository- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)body- (optional)- Returns:
- ApiResponse<DeployKey>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details
Response Details Status Code Description Response Headers 201 DeployKey - 404 APINotFound is a not found error response - 422 APIValidationError is error format response related to input validation -
-
repoCreateKeyAsync
public okhttp3.Call repoCreateKeyAsync(@Nonnull String owner, @Nonnull String repo, @Nullable CreateKeyOption body, ApiCallback<DeployKey> _callback) throws ApiException Add a key to a repository (asynchronously)- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)body- (optional)_callback- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException- If fail to process the API call, e.g. serializing the request body object- Http Response Details
Response Details Status Code Description Response Headers 201 DeployKey - 404 APINotFound is a not found error response - 422 APIValidationError is error format response related to input validation -
-
repoCreatePullRequestCall
public okhttp3.Call repoCreatePullRequestCall(@Nonnull String owner, @Nonnull String repo, @Nullable CreatePullRequestOption body, ApiCallback _callback) throws ApiException Build call for repoCreatePullRequest- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)body- (optional)_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object- Http Response Details
Response Details Status Code Description Response Headers 201 PullRequest - 404 APINotFound is a not found error response - 409 APIError is error format response - 413 QuotaExceeded * user_id -
* message -
* username -
422 APIValidationError is error format response related to input validation - 423 APIRepoArchivedError is an error that is raised when an archived repo should be modified -
-
repoCreatePullRequest
public PullRequest repoCreatePullRequest(@Nonnull String owner, @Nonnull String repo, @Nullable CreatePullRequestOption body) throws ApiException Create a pull request- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)body- (optional)- Returns:
- PullRequest
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details
Response Details Status Code Description Response Headers 201 PullRequest - 404 APINotFound is a not found error response - 409 APIError is error format response - 413 QuotaExceeded * user_id -
* message -
* username -
422 APIValidationError is error format response related to input validation - 423 APIRepoArchivedError is an error that is raised when an archived repo should be modified -
-
repoCreatePullRequestWithHttpInfo
public ApiResponse<PullRequest> repoCreatePullRequestWithHttpInfo(@Nonnull String owner, @Nonnull String repo, @Nullable CreatePullRequestOption body) throws ApiException Create a pull request- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)body- (optional)- Returns:
- ApiResponse<PullRequest>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details
Response Details Status Code Description Response Headers 201 PullRequest - 404 APINotFound is a not found error response - 409 APIError is error format response - 413 QuotaExceeded * user_id -
* message -
* username -
422 APIValidationError is error format response related to input validation - 423 APIRepoArchivedError is an error that is raised when an archived repo should be modified -
-
repoCreatePullRequestAsync
public okhttp3.Call repoCreatePullRequestAsync(@Nonnull String owner, @Nonnull String repo, @Nullable CreatePullRequestOption body, ApiCallback<PullRequest> _callback) throws ApiException Create a pull request (asynchronously)- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)body- (optional)_callback- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException- If fail to process the API call, e.g. serializing the request body object- Http Response Details
Response Details Status Code Description Response Headers 201 PullRequest - 404 APINotFound is a not found error response - 409 APIError is error format response - 413 QuotaExceeded * user_id -
* message -
* username -
422 APIValidationError is error format response related to input validation - 423 APIRepoArchivedError is an error that is raised when an archived repo should be modified -
-
repoCreatePullReviewCall
public okhttp3.Call repoCreatePullReviewCall(@Nonnull String owner, @Nonnull String repo, @Nonnull Long index, @Nonnull CreatePullReviewOptions body, ApiCallback _callback) throws ApiException Build call for repoCreatePullReview- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)index- index of the pull request (required)body- (required)_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object- Http Response Details
Response Details Status Code Description Response Headers 200 PullReview - 404 APINotFound is a not found error response - 422 APIValidationError is error format response related to input validation -
-
repoCreatePullReview
public PullReview repoCreatePullReview(@Nonnull String owner, @Nonnull String repo, @Nonnull Long index, @Nonnull CreatePullReviewOptions body) throws ApiException Create a review to an pull request- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)index- index of the pull request (required)body- (required)- Returns:
- PullReview
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details
Response Details Status Code Description Response Headers 200 PullReview - 404 APINotFound is a not found error response - 422 APIValidationError is error format response related to input validation -
-
repoCreatePullReviewWithHttpInfo
public ApiResponse<PullReview> repoCreatePullReviewWithHttpInfo(@Nonnull String owner, @Nonnull String repo, @Nonnull Long index, @Nonnull CreatePullReviewOptions body) throws ApiException Create a review to an pull request- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)index- index of the pull request (required)body- (required)- Returns:
- ApiResponse<PullReview>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details
Response Details Status Code Description Response Headers 200 PullReview - 404 APINotFound is a not found error response - 422 APIValidationError is error format response related to input validation -
-
repoCreatePullReviewAsync
public okhttp3.Call repoCreatePullReviewAsync(@Nonnull String owner, @Nonnull String repo, @Nonnull Long index, @Nonnull CreatePullReviewOptions body, ApiCallback<PullReview> _callback) throws ApiException Create a review to an pull request (asynchronously)- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)index- index of the pull request (required)body- (required)_callback- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException- If fail to process the API call, e.g. serializing the request body object- Http Response Details
Response Details Status Code Description Response Headers 200 PullReview - 404 APINotFound is a not found error response - 422 APIValidationError is error format response related to input validation -
-
repoCreatePullReviewCommentCall
public okhttp3.Call repoCreatePullReviewCommentCall(@Nonnull String owner, @Nonnull String repo, @Nonnull Long index, @Nonnull Long id, @Nonnull CreatePullReviewComment body, ApiCallback _callback) throws ApiException Build call for repoCreatePullReviewComment- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)index- index of the pull request (required)id- id of the review (required)body- (required)_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object- Http Response Details
Response Details Status Code Description Response Headers 200 PullComment - 404 APINotFound is a not found error response - 422 APIValidationError is error format response related to input validation -
-
repoCreatePullReviewComment
public PullReviewComment repoCreatePullReviewComment(@Nonnull String owner, @Nonnull String repo, @Nonnull Long index, @Nonnull Long id, @Nonnull CreatePullReviewComment body) throws ApiException Add a new comment to a pull request review- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)index- index of the pull request (required)id- id of the review (required)body- (required)- Returns:
- PullReviewComment
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details
Response Details Status Code Description Response Headers 200 PullComment - 404 APINotFound is a not found error response - 422 APIValidationError is error format response related to input validation -
-
repoCreatePullReviewCommentWithHttpInfo
public ApiResponse<PullReviewComment> repoCreatePullReviewCommentWithHttpInfo(@Nonnull String owner, @Nonnull String repo, @Nonnull Long index, @Nonnull Long id, @Nonnull CreatePullReviewComment body) throws ApiException Add a new comment to a pull request review- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)index- index of the pull request (required)id- id of the review (required)body- (required)- Returns:
- ApiResponse<PullReviewComment>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details
Response Details Status Code Description Response Headers 200 PullComment - 404 APINotFound is a not found error response - 422 APIValidationError is error format response related to input validation -
-
repoCreatePullReviewCommentAsync
public okhttp3.Call repoCreatePullReviewCommentAsync(@Nonnull String owner, @Nonnull String repo, @Nonnull Long index, @Nonnull Long id, @Nonnull CreatePullReviewComment body, ApiCallback<PullReviewComment> _callback) throws ApiException Add a new comment to a pull request review (asynchronously)- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)index- index of the pull request (required)id- id of the review (required)body- (required)_callback- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException- If fail to process the API call, e.g. serializing the request body object- Http Response Details
Response Details Status Code Description Response Headers 200 PullComment - 404 APINotFound is a not found error response - 422 APIValidationError is error format response related to input validation -
-
repoCreatePullReviewRequestsCall
public okhttp3.Call repoCreatePullReviewRequestsCall(@Nonnull String owner, @Nonnull String repo, @Nonnull Long index, @Nonnull PullReviewRequestOptions body, ApiCallback _callback) throws ApiException Build call for repoCreatePullReviewRequests- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)index- index of the pull request (required)body- (required)_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object- Http Response Details
Response Details Status Code Description Response Headers 201 PullReviewListWithoutPagination - Review requests without pagination headers - 403 APIForbiddenError is a forbidden error response - 404 APINotFound is a not found error response - 422 APIValidationError is error format response related to input validation -
-
repoCreatePullReviewRequests
public List<PullReview> repoCreatePullReviewRequests(@Nonnull String owner, @Nonnull String repo, @Nonnull Long index, @Nonnull PullReviewRequestOptions body) throws ApiException Create review requests for a pull request- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)index- index of the pull request (required)body- (required)- Returns:
- List<PullReview>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details
Response Details Status Code Description Response Headers 201 PullReviewListWithoutPagination - Review requests without pagination headers - 403 APIForbiddenError is a forbidden error response - 404 APINotFound is a not found error response - 422 APIValidationError is error format response related to input validation -
-
repoCreatePullReviewRequestsWithHttpInfo
public ApiResponse<List<PullReview>> repoCreatePullReviewRequestsWithHttpInfo(@Nonnull String owner, @Nonnull String repo, @Nonnull Long index, @Nonnull PullReviewRequestOptions body) throws ApiException Create review requests for a pull request- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)index- index of the pull request (required)body- (required)- Returns:
- ApiResponse<List<PullReview>>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details
Response Details Status Code Description Response Headers 201 PullReviewListWithoutPagination - Review requests without pagination headers - 403 APIForbiddenError is a forbidden error response - 404 APINotFound is a not found error response - 422 APIValidationError is error format response related to input validation -
-
repoCreatePullReviewRequestsAsync
public okhttp3.Call repoCreatePullReviewRequestsAsync(@Nonnull String owner, @Nonnull String repo, @Nonnull Long index, @Nonnull PullReviewRequestOptions body, ApiCallback<List<PullReview>> _callback) throws ApiException Create review requests for a pull request (asynchronously)- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)index- index of the pull request (required)body- (required)_callback- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException- If fail to process the API call, e.g. serializing the request body object- Http Response Details
Response Details Status Code Description Response Headers 201 PullReviewListWithoutPagination - Review requests without pagination headers - 403 APIForbiddenError is a forbidden error response - 404 APINotFound is a not found error response - 422 APIValidationError is error format response related to input validation -
-
repoCreateReleaseCall
public okhttp3.Call repoCreateReleaseCall(@Nonnull String owner, @Nonnull String repo, @Nullable CreateReleaseOption body, ApiCallback _callback) throws ApiException Build call for repoCreateRelease- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)body- (optional)_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object- Http Response Details
Response Details Status Code Description Response Headers 201 Release - 404 APINotFound is a not found error response - 409 APIError is error format response - 422 APIValidationError is error format response related to input validation -
-
repoCreateRelease
public Release repoCreateRelease(@Nonnull String owner, @Nonnull String repo, @Nullable CreateReleaseOption body) throws ApiException Create a release- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)body- (optional)- Returns:
- Release
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details
Response Details Status Code Description Response Headers 201 Release - 404 APINotFound is a not found error response - 409 APIError is error format response - 422 APIValidationError is error format response related to input validation -
-
repoCreateReleaseWithHttpInfo
public ApiResponse<Release> repoCreateReleaseWithHttpInfo(@Nonnull String owner, @Nonnull String repo, @Nullable CreateReleaseOption body) throws ApiException Create a release- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)body- (optional)- Returns:
- ApiResponse<Release>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details
Response Details Status Code Description Response Headers 201 Release - 404 APINotFound is a not found error response - 409 APIError is error format response - 422 APIValidationError is error format response related to input validation -
-
repoCreateReleaseAsync
public okhttp3.Call repoCreateReleaseAsync(@Nonnull String owner, @Nonnull String repo, @Nullable CreateReleaseOption body, ApiCallback<Release> _callback) throws ApiException Create a release (asynchronously)- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)body- (optional)_callback- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException- If fail to process the API call, e.g. serializing the request body object- Http Response Details
Response Details Status Code Description Response Headers 201 Release - 404 APINotFound is a not found error response - 409 APIError is error format response - 422 APIValidationError is error format response related to input validation -
-
repoCreateReleaseAttachmentCall
public okhttp3.Call repoCreateReleaseAttachmentCall(@Nonnull String owner, @Nonnull String repo, @Nonnull Long id, @Nullable String name, @Nullable File attachment, @Nullable String externalUrl, ApiCallback _callback) throws ApiException Build call for repoCreateReleaseAttachment- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)id- id of the release (required)name- name of the attachment (optional)attachment- attachment to upload (this parameter is incompatible with `external_url`) (optional)externalUrl- url to external asset (this parameter is incompatible with `attachment`) (optional)_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object- Http Response Details
Response Details Status Code Description Response Headers 201 Attachment - 400 APIError is error format response - 404 APINotFound is a not found error response - 413 QuotaExceeded * user_id -
* message -
* username -
-
repoCreateReleaseAttachment
public Attachment repoCreateReleaseAttachment(@Nonnull String owner, @Nonnull String repo, @Nonnull Long id, @Nullable String name, @Nullable File attachment, @Nullable String externalUrl) throws ApiException Create a release attachment- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)id- id of the release (required)name- name of the attachment (optional)attachment- attachment to upload (this parameter is incompatible with `external_url`) (optional)externalUrl- url to external asset (this parameter is incompatible with `attachment`) (optional)- Returns:
- Attachment
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details
Response Details Status Code Description Response Headers 201 Attachment - 400 APIError is error format response - 404 APINotFound is a not found error response - 413 QuotaExceeded * user_id -
* message -
* username -
-
repoCreateReleaseAttachmentWithHttpInfo
public ApiResponse<Attachment> repoCreateReleaseAttachmentWithHttpInfo(@Nonnull String owner, @Nonnull String repo, @Nonnull Long id, @Nullable String name, @Nullable File attachment, @Nullable String externalUrl) throws ApiException Create a release attachment- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)id- id of the release (required)name- name of the attachment (optional)attachment- attachment to upload (this parameter is incompatible with `external_url`) (optional)externalUrl- url to external asset (this parameter is incompatible with `attachment`) (optional)- Returns:
- ApiResponse<Attachment>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details
Response Details Status Code Description Response Headers 201 Attachment - 400 APIError is error format response - 404 APINotFound is a not found error response - 413 QuotaExceeded * user_id -
* message -
* username -
-
repoCreateReleaseAttachmentAsync
public okhttp3.Call repoCreateReleaseAttachmentAsync(@Nonnull String owner, @Nonnull String repo, @Nonnull Long id, @Nullable String name, @Nullable File attachment, @Nullable String externalUrl, ApiCallback<Attachment> _callback) throws ApiException Create a release attachment (asynchronously)- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)id- id of the release (required)name- name of the attachment (optional)attachment- attachment to upload (this parameter is incompatible with `external_url`) (optional)externalUrl- url to external asset (this parameter is incompatible with `attachment`) (optional)_callback- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException- If fail to process the API call, e.g. serializing the request body object- Http Response Details
Response Details Status Code Description Response Headers 201 Attachment - 400 APIError is error format response - 404 APINotFound is a not found error response - 413 QuotaExceeded * user_id -
* message -
* username -
-
repoCreateStatusCall
public okhttp3.Call repoCreateStatusCall(@Nonnull String owner, @Nonnull String repo, @Nonnull String sha, @Nullable CreateStatusOption body, ApiCallback _callback) throws ApiException Build call for repoCreateStatus- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)sha- sha of the commit (required)body- (optional)_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object- Http Response Details
Response Details Status Code Description Response Headers 201 CommitStatus - 400 APIError is error format response - 404 APINotFound is a not found error response -
-
repoCreateStatus
public CommitStatus repoCreateStatus(@Nonnull String owner, @Nonnull String repo, @Nonnull String sha, @Nullable CreateStatusOption body) throws ApiException Create a commit status- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)sha- sha of the commit (required)body- (optional)- Returns:
- CommitStatus
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details
Response Details Status Code Description Response Headers 201 CommitStatus - 400 APIError is error format response - 404 APINotFound is a not found error response -
-
repoCreateStatusWithHttpInfo
public ApiResponse<CommitStatus> repoCreateStatusWithHttpInfo(@Nonnull String owner, @Nonnull String repo, @Nonnull String sha, @Nullable CreateStatusOption body) throws ApiException Create a commit status- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)sha- sha of the commit (required)body- (optional)- Returns:
- ApiResponse<CommitStatus>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details
Response Details Status Code Description Response Headers 201 CommitStatus - 400 APIError is error format response - 404 APINotFound is a not found error response -
-
repoCreateStatusAsync
public okhttp3.Call repoCreateStatusAsync(@Nonnull String owner, @Nonnull String repo, @Nonnull String sha, @Nullable CreateStatusOption body, ApiCallback<CommitStatus> _callback) throws ApiException Create a commit status (asynchronously)- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)sha- sha of the commit (required)body- (optional)_callback- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException- If fail to process the API call, e.g. serializing the request body object- Http Response Details
Response Details Status Code Description Response Headers 201 CommitStatus - 400 APIError is error format response - 404 APINotFound is a not found error response -
-
repoCreateTagCall
public okhttp3.Call repoCreateTagCall(@Nonnull String owner, @Nonnull String repo, @Nullable CreateTagOption body, ApiCallback _callback) throws ApiException Build call for repoCreateTag- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)body- (optional)_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object- Http Response Details
Response Details Status Code Description Response Headers 201 Tag - 404 APINotFound is a not found error response - 405 APIEmpty is an empty response - 409 APIConflict is a conflict empty response - 413 QuotaExceeded * user_id -
* message -
* username -
422 APIValidationError is error format response related to input validation - 423 APIRepoArchivedError is an error that is raised when an archived repo should be modified -
-
repoCreateTag
public Tag repoCreateTag(@Nonnull String owner, @Nonnull String repo, @Nullable CreateTagOption body) throws ApiException Create a new git tag in a repository- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)body- (optional)- Returns:
- Tag
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details
Response Details Status Code Description Response Headers 201 Tag - 404 APINotFound is a not found error response - 405 APIEmpty is an empty response - 409 APIConflict is a conflict empty response - 413 QuotaExceeded * user_id -
* message -
* username -
422 APIValidationError is error format response related to input validation - 423 APIRepoArchivedError is an error that is raised when an archived repo should be modified -
-
repoCreateTagWithHttpInfo
public ApiResponse<Tag> repoCreateTagWithHttpInfo(@Nonnull String owner, @Nonnull String repo, @Nullable CreateTagOption body) throws ApiException Create a new git tag in a repository- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)body- (optional)- Returns:
- ApiResponse<Tag>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details
Response Details Status Code Description Response Headers 201 Tag - 404 APINotFound is a not found error response - 405 APIEmpty is an empty response - 409 APIConflict is a conflict empty response - 413 QuotaExceeded * user_id -
* message -
* username -
422 APIValidationError is error format response related to input validation - 423 APIRepoArchivedError is an error that is raised when an archived repo should be modified -
-
repoCreateTagAsync
public okhttp3.Call repoCreateTagAsync(@Nonnull String owner, @Nonnull String repo, @Nullable CreateTagOption body, ApiCallback<Tag> _callback) throws ApiException Create a new git tag in a repository (asynchronously)- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)body- (optional)_callback- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException- If fail to process the API call, e.g. serializing the request body object- Http Response Details
Response Details Status Code Description Response Headers 201 Tag - 404 APINotFound is a not found error response - 405 APIEmpty is an empty response - 409 APIConflict is a conflict empty response - 413 QuotaExceeded * user_id -
* message -
* username -
422 APIValidationError is error format response related to input validation - 423 APIRepoArchivedError is an error that is raised when an archived repo should be modified -
-
repoCreateTagProtectionCall
public okhttp3.Call repoCreateTagProtectionCall(@Nonnull String owner, @Nonnull String repo, @Nullable CreateTagProtectionOption body, ApiCallback _callback) throws ApiException Build call for repoCreateTagProtection- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)body- (optional)_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object- Http Response Details
Response Details Status Code Description Response Headers 201 TagProtection - 403 APIForbiddenError is a forbidden error response - 404 APINotFound is a not found error response - 422 APIValidationError is error format response related to input validation - 423 APIRepoArchivedError is an error that is raised when an archived repo should be modified -
-
repoCreateTagProtection
public TagProtection repoCreateTagProtection(@Nonnull String owner, @Nonnull String repo, @Nullable CreateTagProtectionOption body) throws ApiException Create a tag protections for a repository- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)body- (optional)- Returns:
- TagProtection
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details
Response Details Status Code Description Response Headers 201 TagProtection - 403 APIForbiddenError is a forbidden error response - 404 APINotFound is a not found error response - 422 APIValidationError is error format response related to input validation - 423 APIRepoArchivedError is an error that is raised when an archived repo should be modified -
-
repoCreateTagProtectionWithHttpInfo
public ApiResponse<TagProtection> repoCreateTagProtectionWithHttpInfo(@Nonnull String owner, @Nonnull String repo, @Nullable CreateTagProtectionOption body) throws ApiException Create a tag protections for a repository- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)body- (optional)- Returns:
- ApiResponse<TagProtection>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details
Response Details Status Code Description Response Headers 201 TagProtection - 403 APIForbiddenError is a forbidden error response - 404 APINotFound is a not found error response - 422 APIValidationError is error format response related to input validation - 423 APIRepoArchivedError is an error that is raised when an archived repo should be modified -
-
repoCreateTagProtectionAsync
public okhttp3.Call repoCreateTagProtectionAsync(@Nonnull String owner, @Nonnull String repo, @Nullable CreateTagProtectionOption body, ApiCallback<TagProtection> _callback) throws ApiException Create a tag protections for a repository (asynchronously)- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)body- (optional)_callback- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException- If fail to process the API call, e.g. serializing the request body object- Http Response Details
Response Details Status Code Description Response Headers 201 TagProtection - 403 APIForbiddenError is a forbidden error response - 404 APINotFound is a not found error response - 422 APIValidationError is error format response related to input validation - 423 APIRepoArchivedError is an error that is raised when an archived repo should be modified -
-
repoCreateWikiPageCall
public okhttp3.Call repoCreateWikiPageCall(@Nonnull String owner, @Nonnull String repo, @Nullable CreateWikiPageOptions body, ApiCallback _callback) throws ApiException Build call for repoCreateWikiPage- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)body- (optional)_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object- Http Response Details
Response Details Status Code Description Response Headers 201 WikiPage - 400 APIError is error format response - 403 APIForbiddenError is a forbidden error response - 404 APINotFound is a not found error response - 413 QuotaExceeded * user_id -
* message -
* username -
423 APIRepoArchivedError is an error that is raised when an archived repo should be modified -
-
repoCreateWikiPage
public WikiPage repoCreateWikiPage(@Nonnull String owner, @Nonnull String repo, @Nullable CreateWikiPageOptions body) throws ApiException Create a wiki page- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)body- (optional)- Returns:
- WikiPage
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details
Response Details Status Code Description Response Headers 201 WikiPage - 400 APIError is error format response - 403 APIForbiddenError is a forbidden error response - 404 APINotFound is a not found error response - 413 QuotaExceeded * user_id -
* message -
* username -
423 APIRepoArchivedError is an error that is raised when an archived repo should be modified -
-
repoCreateWikiPageWithHttpInfo
public ApiResponse<WikiPage> repoCreateWikiPageWithHttpInfo(@Nonnull String owner, @Nonnull String repo, @Nullable CreateWikiPageOptions body) throws ApiException Create a wiki page- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)body- (optional)- Returns:
- ApiResponse<WikiPage>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details
Response Details Status Code Description Response Headers 201 WikiPage - 400 APIError is error format response - 403 APIForbiddenError is a forbidden error response - 404 APINotFound is a not found error response - 413 QuotaExceeded * user_id -
* message -
* username -
423 APIRepoArchivedError is an error that is raised when an archived repo should be modified -
-
repoCreateWikiPageAsync
public okhttp3.Call repoCreateWikiPageAsync(@Nonnull String owner, @Nonnull String repo, @Nullable CreateWikiPageOptions body, ApiCallback<WikiPage> _callback) throws ApiException Create a wiki page (asynchronously)- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)body- (optional)_callback- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException- If fail to process the API call, e.g. serializing the request body object- Http Response Details
Response Details Status Code Description Response Headers 201 WikiPage - 400 APIError is error format response - 403 APIForbiddenError is a forbidden error response - 404 APINotFound is a not found error response - 413 QuotaExceeded * user_id -
* message -
* username -
423 APIRepoArchivedError is an error that is raised when an archived repo should be modified -
-
repoDeleteCall
public okhttp3.Call repoDeleteCall(@Nonnull String owner, @Nonnull String repo, ApiCallback _callback) throws ApiException Build call for repoDelete- Parameters:
owner- owner of the repo to delete (required)repo- name of the repo to delete (required)_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object- Http Response Details
Response Details Status Code Description Response Headers 204 APIEmpty is an empty response - 403 APIForbiddenError is a forbidden error response - 404 APINotFound is a not found error response -
-
repoDelete
Delete a repository- Parameters:
owner- owner of the repo to delete (required)repo- name of the repo to delete (required)- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details
Response Details Status Code Description Response Headers 204 APIEmpty is an empty response - 403 APIForbiddenError is a forbidden error response - 404 APINotFound is a not found error response -
-
repoDeleteWithHttpInfo
public ApiResponse<Void> repoDeleteWithHttpInfo(@Nonnull String owner, @Nonnull String repo) throws ApiException Delete a repository- Parameters:
owner- owner of the repo to delete (required)repo- name of the repo to delete (required)- Returns:
- ApiResponse<Void>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details
Response Details Status Code Description Response Headers 204 APIEmpty is an empty response - 403 APIForbiddenError is a forbidden error response - 404 APINotFound is a not found error response -
-
repoDeleteAsync
public okhttp3.Call repoDeleteAsync(@Nonnull String owner, @Nonnull String repo, ApiCallback<Void> _callback) throws ApiException Delete a repository (asynchronously)- Parameters:
owner- owner of the repo to delete (required)repo- name of the repo to delete (required)_callback- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException- If fail to process the API call, e.g. serializing the request body object- Http Response Details
Response Details Status Code Description Response Headers 204 APIEmpty is an empty response - 403 APIForbiddenError is a forbidden error response - 404 APINotFound is a not found error response -
-
repoDeleteAllFlagsCall
public okhttp3.Call repoDeleteAllFlagsCall(@Nonnull String owner, @Nonnull String repo, ApiCallback _callback) throws ApiException Build call for repoDeleteAllFlags- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object- Http Response Details
Response Details Status Code Description Response Headers 204 APIEmpty is an empty response - 403 APIForbiddenError is a forbidden error response - 404 APINotFound is a not found error response -
-
repoDeleteAllFlags
Remove all flags from a repository- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details
Response Details Status Code Description Response Headers 204 APIEmpty is an empty response - 403 APIForbiddenError is a forbidden error response - 404 APINotFound is a not found error response -
-
repoDeleteAllFlagsWithHttpInfo
public ApiResponse<Void> repoDeleteAllFlagsWithHttpInfo(@Nonnull String owner, @Nonnull String repo) throws ApiException Remove all flags from a repository- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)- Returns:
- ApiResponse<Void>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details
Response Details Status Code Description Response Headers 204 APIEmpty is an empty response - 403 APIForbiddenError is a forbidden error response - 404 APINotFound is a not found error response -
-
repoDeleteAllFlagsAsync
public okhttp3.Call repoDeleteAllFlagsAsync(@Nonnull String owner, @Nonnull String repo, ApiCallback<Void> _callback) throws ApiException Remove all flags from a repository (asynchronously)- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)_callback- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException- If fail to process the API call, e.g. serializing the request body object- Http Response Details
Response Details Status Code Description Response Headers 204 APIEmpty is an empty response - 403 APIForbiddenError is a forbidden error response - 404 APINotFound is a not found error response -
-
repoDeleteAvatarCall
public okhttp3.Call repoDeleteAvatarCall(@Nonnull String owner, @Nonnull String repo, ApiCallback _callback) throws ApiException Build call for repoDeleteAvatar- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object- Http Response Details
Response Details Status Code Description Response Headers 204 APIEmpty is an empty response - 404 APINotFound is a not found error response -
-
repoDeleteAvatar
Delete a repository's avatar- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details
Response Details Status Code Description Response Headers 204 APIEmpty is an empty response - 404 APINotFound is a not found error response -
-
repoDeleteAvatarWithHttpInfo
public ApiResponse<Void> repoDeleteAvatarWithHttpInfo(@Nonnull String owner, @Nonnull String repo) throws ApiException Delete a repository's avatar- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)- Returns:
- ApiResponse<Void>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details
Response Details Status Code Description Response Headers 204 APIEmpty is an empty response - 404 APINotFound is a not found error response -
-
repoDeleteAvatarAsync
public okhttp3.Call repoDeleteAvatarAsync(@Nonnull String owner, @Nonnull String repo, ApiCallback<Void> _callback) throws ApiException Delete a repository's avatar (asynchronously)- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)_callback- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException- If fail to process the API call, e.g. serializing the request body object- Http Response Details
Response Details Status Code Description Response Headers 204 APIEmpty is an empty response - 404 APINotFound is a not found error response -
-
repoDeleteBranchCall
public okhttp3.Call repoDeleteBranchCall(@Nonnull String owner, @Nonnull String repo, @Nonnull String branch, ApiCallback _callback) throws ApiException Build call for repoDeleteBranch- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)branch- branch to delete (required)_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object- Http Response Details
Response Details Status Code Description Response Headers 204 APIEmpty is an empty response - 403 APIError is error format response - 404 APINotFound is a not found error response - 423 APIRepoArchivedError is an error that is raised when an archived repo should be modified -
-
repoDeleteBranch
public void repoDeleteBranch(@Nonnull String owner, @Nonnull String repo, @Nonnull String branch) throws ApiException Delete a specific branch from a repository- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)branch- branch to delete (required)- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details
Response Details Status Code Description Response Headers 204 APIEmpty is an empty response - 403 APIError is error format response - 404 APINotFound is a not found error response - 423 APIRepoArchivedError is an error that is raised when an archived repo should be modified -
-
repoDeleteBranchWithHttpInfo
public ApiResponse<Void> repoDeleteBranchWithHttpInfo(@Nonnull String owner, @Nonnull String repo, @Nonnull String branch) throws ApiException Delete a specific branch from a repository- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)branch- branch to delete (required)- Returns:
- ApiResponse<Void>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details
Response Details Status Code Description Response Headers 204 APIEmpty is an empty response - 403 APIError is error format response - 404 APINotFound is a not found error response - 423 APIRepoArchivedError is an error that is raised when an archived repo should be modified -
-
repoDeleteBranchAsync
public okhttp3.Call repoDeleteBranchAsync(@Nonnull String owner, @Nonnull String repo, @Nonnull String branch, ApiCallback<Void> _callback) throws ApiException Delete a specific branch from a repository (asynchronously)- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)branch- branch to delete (required)_callback- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException- If fail to process the API call, e.g. serializing the request body object- Http Response Details
Response Details Status Code Description Response Headers 204 APIEmpty is an empty response - 403 APIError is error format response - 404 APINotFound is a not found error response - 423 APIRepoArchivedError is an error that is raised when an archived repo should be modified -
-
repoDeleteBranchProtectionCall
public okhttp3.Call repoDeleteBranchProtectionCall(@Nonnull String owner, @Nonnull String repo, @Nonnull String name, ApiCallback _callback) throws ApiException Build call for repoDeleteBranchProtection- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)name- name of protected branch (required)_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object- Http Response Details
Response Details Status Code Description Response Headers 204 APIEmpty is an empty response - 404 APINotFound is a not found error response -
-
repoDeleteBranchProtection
public void repoDeleteBranchProtection(@Nonnull String owner, @Nonnull String repo, @Nonnull String name) throws ApiException Delete a specific branch protection for the repository- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)name- name of protected branch (required)- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details
Response Details Status Code Description Response Headers 204 APIEmpty is an empty response - 404 APINotFound is a not found error response -
-
repoDeleteBranchProtectionWithHttpInfo
public ApiResponse<Void> repoDeleteBranchProtectionWithHttpInfo(@Nonnull String owner, @Nonnull String repo, @Nonnull String name) throws ApiException Delete a specific branch protection for the repository- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)name- name of protected branch (required)- Returns:
- ApiResponse<Void>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details
Response Details Status Code Description Response Headers 204 APIEmpty is an empty response - 404 APINotFound is a not found error response -
-
repoDeleteBranchProtectionAsync
public okhttp3.Call repoDeleteBranchProtectionAsync(@Nonnull String owner, @Nonnull String repo, @Nonnull String name, ApiCallback<Void> _callback) throws ApiException Delete a specific branch protection for the repository (asynchronously)- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)name- name of protected branch (required)_callback- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException- If fail to process the API call, e.g. serializing the request body object- Http Response Details
Response Details Status Code Description Response Headers 204 APIEmpty is an empty response - 404 APINotFound is a not found error response -
-
repoDeleteCollaboratorCall
public okhttp3.Call repoDeleteCollaboratorCall(@Nonnull String owner, @Nonnull String repo, @Nonnull String collaborator, ApiCallback _callback) throws ApiException Build call for repoDeleteCollaborator- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)collaborator- username of the collaborator to delete (required)_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object- Http Response Details
Response Details Status Code Description Response Headers 204 APIEmpty is an empty response - 404 APINotFound is a not found error response - 422 APIValidationError is error format response related to input validation -
-
repoDeleteCollaborator
public void repoDeleteCollaborator(@Nonnull String owner, @Nonnull String repo, @Nonnull String collaborator) throws ApiException Delete a collaborator from a repository- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)collaborator- username of the collaborator to delete (required)- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details
Response Details Status Code Description Response Headers 204 APIEmpty is an empty response - 404 APINotFound is a not found error response - 422 APIValidationError is error format response related to input validation -
-
repoDeleteCollaboratorWithHttpInfo
public ApiResponse<Void> repoDeleteCollaboratorWithHttpInfo(@Nonnull String owner, @Nonnull String repo, @Nonnull String collaborator) throws ApiException Delete a collaborator from a repository- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)collaborator- username of the collaborator to delete (required)- Returns:
- ApiResponse<Void>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details
Response Details Status Code Description Response Headers 204 APIEmpty is an empty response - 404 APINotFound is a not found error response - 422 APIValidationError is error format response related to input validation -
-
repoDeleteCollaboratorAsync
public okhttp3.Call repoDeleteCollaboratorAsync(@Nonnull String owner, @Nonnull String repo, @Nonnull String collaborator, ApiCallback<Void> _callback) throws ApiException Delete a collaborator from a repository (asynchronously)- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)collaborator- username of the collaborator to delete (required)_callback- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException- If fail to process the API call, e.g. serializing the request body object- Http Response Details
Response Details Status Code Description Response Headers 204 APIEmpty is an empty response - 404 APINotFound is a not found error response - 422 APIValidationError is error format response related to input validation -
-
repoDeleteFileCall
public okhttp3.Call repoDeleteFileCall(@Nonnull String owner, @Nonnull String repo, @Nonnull String filepath, @Nonnull DeleteFileOptions body, ApiCallback _callback) throws ApiException Build call for repoDeleteFile- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)filepath- path of the file to delete (required)body- (required)_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object- Http Response Details
Response Details Status Code Description Response Headers 200 FileDeleteResponse - 400 APIError is error format response - 403 APIError is error format response - 404 APIError is error format response - 413 QuotaExceeded * user_id -
* message -
* username -
423 APIRepoArchivedError is an error that is raised when an archived repo should be modified -
-
repoDeleteFile
public FileDeleteResponse repoDeleteFile(@Nonnull String owner, @Nonnull String repo, @Nonnull String filepath, @Nonnull DeleteFileOptions body) throws ApiException Delete a file in a repository- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)filepath- path of the file to delete (required)body- (required)- Returns:
- FileDeleteResponse
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details
Response Details Status Code Description Response Headers 200 FileDeleteResponse - 400 APIError is error format response - 403 APIError is error format response - 404 APIError is error format response - 413 QuotaExceeded * user_id -
* message -
* username -
423 APIRepoArchivedError is an error that is raised when an archived repo should be modified -
-
repoDeleteFileWithHttpInfo
public ApiResponse<FileDeleteResponse> repoDeleteFileWithHttpInfo(@Nonnull String owner, @Nonnull String repo, @Nonnull String filepath, @Nonnull DeleteFileOptions body) throws ApiException Delete a file in a repository- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)filepath- path of the file to delete (required)body- (required)- Returns:
- ApiResponse<FileDeleteResponse>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details
Response Details Status Code Description Response Headers 200 FileDeleteResponse - 400 APIError is error format response - 403 APIError is error format response - 404 APIError is error format response - 413 QuotaExceeded * user_id -
* message -
* username -
423 APIRepoArchivedError is an error that is raised when an archived repo should be modified -
-
repoDeleteFileAsync
public okhttp3.Call repoDeleteFileAsync(@Nonnull String owner, @Nonnull String repo, @Nonnull String filepath, @Nonnull DeleteFileOptions body, ApiCallback<FileDeleteResponse> _callback) throws ApiException Delete a file in a repository (asynchronously)- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)filepath- path of the file to delete (required)body- (required)_callback- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException- If fail to process the API call, e.g. serializing the request body object- Http Response Details
Response Details Status Code Description Response Headers 200 FileDeleteResponse - 400 APIError is error format response - 403 APIError is error format response - 404 APIError is error format response - 413 QuotaExceeded * user_id -
* message -
* username -
423 APIRepoArchivedError is an error that is raised when an archived repo should be modified -
-
repoDeleteFlagCall
public okhttp3.Call repoDeleteFlagCall(@Nonnull String owner, @Nonnull String repo, @Nonnull String flag, ApiCallback _callback) throws ApiException Build call for repoDeleteFlag- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)flag- name of the flag (required)_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object- Http Response Details
Response Details Status Code Description Response Headers 204 APIEmpty is an empty response - 403 APIForbiddenError is a forbidden error response - 404 APINotFound is a not found error response -
-
repoDeleteFlag
public void repoDeleteFlag(@Nonnull String owner, @Nonnull String repo, @Nonnull String flag) throws ApiException Remove a flag from a repository- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)flag- name of the flag (required)- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details
Response Details Status Code Description Response Headers 204 APIEmpty is an empty response - 403 APIForbiddenError is a forbidden error response - 404 APINotFound is a not found error response -
-
repoDeleteFlagWithHttpInfo
public ApiResponse<Void> repoDeleteFlagWithHttpInfo(@Nonnull String owner, @Nonnull String repo, @Nonnull String flag) throws ApiException Remove a flag from a repository- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)flag- name of the flag (required)- Returns:
- ApiResponse<Void>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details
Response Details Status Code Description Response Headers 204 APIEmpty is an empty response - 403 APIForbiddenError is a forbidden error response - 404 APINotFound is a not found error response -
-
repoDeleteFlagAsync
public okhttp3.Call repoDeleteFlagAsync(@Nonnull String owner, @Nonnull String repo, @Nonnull String flag, ApiCallback<Void> _callback) throws ApiException Remove a flag from a repository (asynchronously)- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)flag- name of the flag (required)_callback- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException- If fail to process the API call, e.g. serializing the request body object- Http Response Details
Response Details Status Code Description Response Headers 204 APIEmpty is an empty response - 403 APIForbiddenError is a forbidden error response - 404 APINotFound is a not found error response -
-
repoDeleteGitHookCall
public okhttp3.Call repoDeleteGitHookCall(@Nonnull String owner, @Nonnull String repo, @Nonnull String id, ApiCallback _callback) throws ApiException Build call for repoDeleteGitHook- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)id- id of the hook to get (required)_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object- Http Response Details
Response Details Status Code Description Response Headers 204 APIEmpty is an empty response - 404 APINotFound is a not found error response -
-
repoDeleteGitHook
public void repoDeleteGitHook(@Nonnull String owner, @Nonnull String repo, @Nonnull String id) throws ApiException Delete a Git hook in a repository- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)id- id of the hook to get (required)- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details
Response Details Status Code Description Response Headers 204 APIEmpty is an empty response - 404 APINotFound is a not found error response -
-
repoDeleteGitHookWithHttpInfo
public ApiResponse<Void> repoDeleteGitHookWithHttpInfo(@Nonnull String owner, @Nonnull String repo, @Nonnull String id) throws ApiException Delete a Git hook in a repository- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)id- id of the hook to get (required)- Returns:
- ApiResponse<Void>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details
Response Details Status Code Description Response Headers 204 APIEmpty is an empty response - 404 APINotFound is a not found error response -
-
repoDeleteGitHookAsync
public okhttp3.Call repoDeleteGitHookAsync(@Nonnull String owner, @Nonnull String repo, @Nonnull String id, ApiCallback<Void> _callback) throws ApiException Delete a Git hook in a repository (asynchronously)- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)id- id of the hook to get (required)_callback- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException- If fail to process the API call, e.g. serializing the request body object- Http Response Details
Response Details Status Code Description Response Headers 204 APIEmpty is an empty response - 404 APINotFound is a not found error response -
-
repoDeleteHookCall
public okhttp3.Call repoDeleteHookCall(@Nonnull String owner, @Nonnull String repo, @Nonnull Long id, ApiCallback _callback) throws ApiException Build call for repoDeleteHook- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)id- id of the hook to delete (required)_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object- Http Response Details
Response Details Status Code Description Response Headers 204 APIEmpty is an empty response - 404 APINotFound is a not found error response -
-
repoDeleteHook
public void repoDeleteHook(@Nonnull String owner, @Nonnull String repo, @Nonnull Long id) throws ApiException Delete a hook in a repository- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)id- id of the hook to delete (required)- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details
Response Details Status Code Description Response Headers 204 APIEmpty is an empty response - 404 APINotFound is a not found error response -
-
repoDeleteHookWithHttpInfo
public ApiResponse<Void> repoDeleteHookWithHttpInfo(@Nonnull String owner, @Nonnull String repo, @Nonnull Long id) throws ApiException Delete a hook in a repository- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)id- id of the hook to delete (required)- Returns:
- ApiResponse<Void>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details
Response Details Status Code Description Response Headers 204 APIEmpty is an empty response - 404 APINotFound is a not found error response -
-
repoDeleteHookAsync
public okhttp3.Call repoDeleteHookAsync(@Nonnull String owner, @Nonnull String repo, @Nonnull Long id, ApiCallback<Void> _callback) throws ApiException Delete a hook in a repository (asynchronously)- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)id- id of the hook to delete (required)_callback- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException- If fail to process the API call, e.g. serializing the request body object- Http Response Details
Response Details Status Code Description Response Headers 204 APIEmpty is an empty response - 404 APINotFound is a not found error response -
-
repoDeleteKeyCall
public okhttp3.Call repoDeleteKeyCall(@Nonnull String owner, @Nonnull String repo, @Nonnull Long id, ApiCallback _callback) throws ApiException Build call for repoDeleteKey- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)id- id of the key to delete (required)_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object- Http Response Details
Response Details Status Code Description Response Headers 204 APIEmpty is an empty response - 403 APIForbiddenError is a forbidden error response - 404 APINotFound is a not found error response -
-
repoDeleteKey
public void repoDeleteKey(@Nonnull String owner, @Nonnull String repo, @Nonnull Long id) throws ApiException Delete a key from a repository- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)id- id of the key to delete (required)- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details
Response Details Status Code Description Response Headers 204 APIEmpty is an empty response - 403 APIForbiddenError is a forbidden error response - 404 APINotFound is a not found error response -
-
repoDeleteKeyWithHttpInfo
public ApiResponse<Void> repoDeleteKeyWithHttpInfo(@Nonnull String owner, @Nonnull String repo, @Nonnull Long id) throws ApiException Delete a key from a repository- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)id- id of the key to delete (required)- Returns:
- ApiResponse<Void>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details
Response Details Status Code Description Response Headers 204 APIEmpty is an empty response - 403 APIForbiddenError is a forbidden error response - 404 APINotFound is a not found error response -
-
repoDeleteKeyAsync
public okhttp3.Call repoDeleteKeyAsync(@Nonnull String owner, @Nonnull String repo, @Nonnull Long id, ApiCallback<Void> _callback) throws ApiException Delete a key from a repository (asynchronously)- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)id- id of the key to delete (required)_callback- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException- If fail to process the API call, e.g. serializing the request body object- Http Response Details
Response Details Status Code Description Response Headers 204 APIEmpty is an empty response - 403 APIForbiddenError is a forbidden error response - 404 APINotFound is a not found error response -
-
repoDeletePullReviewCall
public okhttp3.Call repoDeletePullReviewCall(@Nonnull String owner, @Nonnull String repo, @Nonnull Long index, @Nonnull Long id, ApiCallback _callback) throws ApiException Build call for repoDeletePullReview- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)index- index of the pull request (required)id- id of the review (required)_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object- Http Response Details
Response Details Status Code Description Response Headers 204 APIEmpty is an empty response - 403 APIForbiddenError is a forbidden error response - 404 APINotFound is a not found error response -
-
repoDeletePullReview
public void repoDeletePullReview(@Nonnull String owner, @Nonnull String repo, @Nonnull Long index, @Nonnull Long id) throws ApiException Delete a specific review from a pull request- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)index- index of the pull request (required)id- id of the review (required)- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details
Response Details Status Code Description Response Headers 204 APIEmpty is an empty response - 403 APIForbiddenError is a forbidden error response - 404 APINotFound is a not found error response -
-
repoDeletePullReviewWithHttpInfo
public ApiResponse<Void> repoDeletePullReviewWithHttpInfo(@Nonnull String owner, @Nonnull String repo, @Nonnull Long index, @Nonnull Long id) throws ApiException Delete a specific review from a pull request- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)index- index of the pull request (required)id- id of the review (required)- Returns:
- ApiResponse<Void>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details
Response Details Status Code Description Response Headers 204 APIEmpty is an empty response - 403 APIForbiddenError is a forbidden error response - 404 APINotFound is a not found error response -
-
repoDeletePullReviewAsync
public okhttp3.Call repoDeletePullReviewAsync(@Nonnull String owner, @Nonnull String repo, @Nonnull Long index, @Nonnull Long id, ApiCallback<Void> _callback) throws ApiException Delete a specific review from a pull request (asynchronously)- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)index- index of the pull request (required)id- id of the review (required)_callback- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException- If fail to process the API call, e.g. serializing the request body object- Http Response Details
Response Details Status Code Description Response Headers 204 APIEmpty is an empty response - 403 APIForbiddenError is a forbidden error response - 404 APINotFound is a not found error response -
-
repoDeletePullReviewCommentCall
public okhttp3.Call repoDeletePullReviewCommentCall(@Nonnull String owner, @Nonnull String repo, @Nonnull Long index, @Nonnull Long id, @Nonnull Long comment, ApiCallback _callback) throws ApiException Build call for repoDeletePullReviewComment- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)index- index of the pull request (required)id- id of the review (required)comment- id of the comment (required)_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object- Http Response Details
Response Details Status Code Description Response Headers 204 APIEmpty is an empty response - 403 APIForbiddenError is a forbidden error response - 404 APINotFound is a not found error response -
-
repoDeletePullReviewComment
public void repoDeletePullReviewComment(@Nonnull String owner, @Nonnull String repo, @Nonnull Long index, @Nonnull Long id, @Nonnull Long comment) throws ApiException Delete a pull review comment- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)index- index of the pull request (required)id- id of the review (required)comment- id of the comment (required)- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details
Response Details Status Code Description Response Headers 204 APIEmpty is an empty response - 403 APIForbiddenError is a forbidden error response - 404 APINotFound is a not found error response -
-
repoDeletePullReviewCommentWithHttpInfo
public ApiResponse<Void> repoDeletePullReviewCommentWithHttpInfo(@Nonnull String owner, @Nonnull String repo, @Nonnull Long index, @Nonnull Long id, @Nonnull Long comment) throws ApiException Delete a pull review comment- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)index- index of the pull request (required)id- id of the review (required)comment- id of the comment (required)- Returns:
- ApiResponse<Void>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details
Response Details Status Code Description Response Headers 204 APIEmpty is an empty response - 403 APIForbiddenError is a forbidden error response - 404 APINotFound is a not found error response -
-
repoDeletePullReviewCommentAsync
public okhttp3.Call repoDeletePullReviewCommentAsync(@Nonnull String owner, @Nonnull String repo, @Nonnull Long index, @Nonnull Long id, @Nonnull Long comment, ApiCallback<Void> _callback) throws ApiException Delete a pull review comment (asynchronously)- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)index- index of the pull request (required)id- id of the review (required)comment- id of the comment (required)_callback- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException- If fail to process the API call, e.g. serializing the request body object- Http Response Details
Response Details Status Code Description Response Headers 204 APIEmpty is an empty response - 403 APIForbiddenError is a forbidden error response - 404 APINotFound is a not found error response -
-
repoDeletePullReviewRequestsCall
public okhttp3.Call repoDeletePullReviewRequestsCall(@Nonnull String owner, @Nonnull String repo, @Nonnull Long index, @Nonnull PullReviewRequestOptions body, ApiCallback _callback) throws ApiException Build call for repoDeletePullReviewRequests- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)index- index of the pull request (required)body- (required)_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object- Http Response Details
Response Details Status Code Description Response Headers 204 APIEmpty is an empty response - 403 APIForbiddenError is a forbidden error response - 404 APINotFound is a not found error response - 422 APIValidationError is error format response related to input validation -
-
repoDeletePullReviewRequests
public void repoDeletePullReviewRequests(@Nonnull String owner, @Nonnull String repo, @Nonnull Long index, @Nonnull PullReviewRequestOptions body) throws ApiException Cancel review requests for a pull request- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)index- index of the pull request (required)body- (required)- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details
Response Details Status Code Description Response Headers 204 APIEmpty is an empty response - 403 APIForbiddenError is a forbidden error response - 404 APINotFound is a not found error response - 422 APIValidationError is error format response related to input validation -
-
repoDeletePullReviewRequestsWithHttpInfo
public ApiResponse<Void> repoDeletePullReviewRequestsWithHttpInfo(@Nonnull String owner, @Nonnull String repo, @Nonnull Long index, @Nonnull PullReviewRequestOptions body) throws ApiException Cancel review requests for a pull request- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)index- index of the pull request (required)body- (required)- Returns:
- ApiResponse<Void>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details
Response Details Status Code Description Response Headers 204 APIEmpty is an empty response - 403 APIForbiddenError is a forbidden error response - 404 APINotFound is a not found error response - 422 APIValidationError is error format response related to input validation -
-
repoDeletePullReviewRequestsAsync
public okhttp3.Call repoDeletePullReviewRequestsAsync(@Nonnull String owner, @Nonnull String repo, @Nonnull Long index, @Nonnull PullReviewRequestOptions body, ApiCallback<Void> _callback) throws ApiException Cancel review requests for a pull request (asynchronously)- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)index- index of the pull request (required)body- (required)_callback- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException- If fail to process the API call, e.g. serializing the request body object- Http Response Details
Response Details Status Code Description Response Headers 204 APIEmpty is an empty response - 403 APIForbiddenError is a forbidden error response - 404 APINotFound is a not found error response - 422 APIValidationError is error format response related to input validation -
-
repoDeletePushMirrorCall
public okhttp3.Call repoDeletePushMirrorCall(@Nonnull String owner, @Nonnull String repo, @Nonnull String name, ApiCallback _callback) throws ApiException Build call for repoDeletePushMirror- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)name- remote name of the pushMirror (required)_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object- Http Response Details
Response Details Status Code Description Response Headers 204 APIEmpty is an empty response - 400 APIError is error format response - 404 APINotFound is a not found error response -
-
repoDeletePushMirror
public void repoDeletePushMirror(@Nonnull String owner, @Nonnull String repo, @Nonnull String name) throws ApiException Remove a push mirror from a repository by remoteName- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)name- remote name of the pushMirror (required)- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details
Response Details Status Code Description Response Headers 204 APIEmpty is an empty response - 400 APIError is error format response - 404 APINotFound is a not found error response -
-
repoDeletePushMirrorWithHttpInfo
public ApiResponse<Void> repoDeletePushMirrorWithHttpInfo(@Nonnull String owner, @Nonnull String repo, @Nonnull String name) throws ApiException Remove a push mirror from a repository by remoteName- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)name- remote name of the pushMirror (required)- Returns:
- ApiResponse<Void>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details
Response Details Status Code Description Response Headers 204 APIEmpty is an empty response - 400 APIError is error format response - 404 APINotFound is a not found error response -
-
repoDeletePushMirrorAsync
public okhttp3.Call repoDeletePushMirrorAsync(@Nonnull String owner, @Nonnull String repo, @Nonnull String name, ApiCallback<Void> _callback) throws ApiException Remove a push mirror from a repository by remoteName (asynchronously)- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)name- remote name of the pushMirror (required)_callback- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException- If fail to process the API call, e.g. serializing the request body object- Http Response Details
Response Details Status Code Description Response Headers 204 APIEmpty is an empty response - 400 APIError is error format response - 404 APINotFound is a not found error response -
-
repoDeleteReleaseCall
public okhttp3.Call repoDeleteReleaseCall(@Nonnull String owner, @Nonnull String repo, @Nonnull Long id, ApiCallback _callback) throws ApiException Build call for repoDeleteRelease- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)id- id of the release to delete (required)_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object- Http Response Details
Response Details Status Code Description Response Headers 204 APIEmpty is an empty response - 404 APINotFound is a not found error response - 422 APIValidationError is error format response related to input validation -
-
repoDeleteRelease
public void repoDeleteRelease(@Nonnull String owner, @Nonnull String repo, @Nonnull Long id) throws ApiException Delete a release- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)id- id of the release to delete (required)- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details
Response Details Status Code Description Response Headers 204 APIEmpty is an empty response - 404 APINotFound is a not found error response - 422 APIValidationError is error format response related to input validation -
-
repoDeleteReleaseWithHttpInfo
public ApiResponse<Void> repoDeleteReleaseWithHttpInfo(@Nonnull String owner, @Nonnull String repo, @Nonnull Long id) throws ApiException Delete a release- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)id- id of the release to delete (required)- Returns:
- ApiResponse<Void>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details
Response Details Status Code Description Response Headers 204 APIEmpty is an empty response - 404 APINotFound is a not found error response - 422 APIValidationError is error format response related to input validation -
-
repoDeleteReleaseAsync
public okhttp3.Call repoDeleteReleaseAsync(@Nonnull String owner, @Nonnull String repo, @Nonnull Long id, ApiCallback<Void> _callback) throws ApiException Delete a release (asynchronously)- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)id- id of the release to delete (required)_callback- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException- If fail to process the API call, e.g. serializing the request body object- Http Response Details
Response Details Status Code Description Response Headers 204 APIEmpty is an empty response - 404 APINotFound is a not found error response - 422 APIValidationError is error format response related to input validation -
-
repoDeleteReleaseAttachmentCall
public okhttp3.Call repoDeleteReleaseAttachmentCall(@Nonnull String owner, @Nonnull String repo, @Nonnull Long id, @Nonnull Long attachmentId, ApiCallback _callback) throws ApiException Build call for repoDeleteReleaseAttachment- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)id- id of the release (required)attachmentId- id of the attachment to delete (required)_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object- Http Response Details
Response Details Status Code Description Response Headers 204 APIEmpty is an empty response - 404 APINotFound is a not found error response -
-
repoDeleteReleaseAttachment
public void repoDeleteReleaseAttachment(@Nonnull String owner, @Nonnull String repo, @Nonnull Long id, @Nonnull Long attachmentId) throws ApiException Delete a release attachment- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)id- id of the release (required)attachmentId- id of the attachment to delete (required)- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details
Response Details Status Code Description Response Headers 204 APIEmpty is an empty response - 404 APINotFound is a not found error response -
-
repoDeleteReleaseAttachmentWithHttpInfo
public ApiResponse<Void> repoDeleteReleaseAttachmentWithHttpInfo(@Nonnull String owner, @Nonnull String repo, @Nonnull Long id, @Nonnull Long attachmentId) throws ApiException Delete a release attachment- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)id- id of the release (required)attachmentId- id of the attachment to delete (required)- Returns:
- ApiResponse<Void>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details
Response Details Status Code Description Response Headers 204 APIEmpty is an empty response - 404 APINotFound is a not found error response -
-
repoDeleteReleaseAttachmentAsync
public okhttp3.Call repoDeleteReleaseAttachmentAsync(@Nonnull String owner, @Nonnull String repo, @Nonnull Long id, @Nonnull Long attachmentId, ApiCallback<Void> _callback) throws ApiException Delete a release attachment (asynchronously)- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)id- id of the release (required)attachmentId- id of the attachment to delete (required)_callback- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException- If fail to process the API call, e.g. serializing the request body object- Http Response Details
Response Details Status Code Description Response Headers 204 APIEmpty is an empty response - 404 APINotFound is a not found error response -
-
repoDeleteReleaseByTagCall
public okhttp3.Call repoDeleteReleaseByTagCall(@Nonnull String owner, @Nonnull String repo, @Nonnull String tag, ApiCallback _callback) throws ApiException Build call for repoDeleteReleaseByTag- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)tag- tag name of the release to delete (required)_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object- Http Response Details
Response Details Status Code Description Response Headers 204 APIEmpty is an empty response - 404 APINotFound is a not found error response - 422 APIValidationError is error format response related to input validation -
-
repoDeleteReleaseByTag
public void repoDeleteReleaseByTag(@Nonnull String owner, @Nonnull String repo, @Nonnull String tag) throws ApiException Delete a release by tag name- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)tag- tag name of the release to delete (required)- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details
Response Details Status Code Description Response Headers 204 APIEmpty is an empty response - 404 APINotFound is a not found error response - 422 APIValidationError is error format response related to input validation -
-
repoDeleteReleaseByTagWithHttpInfo
public ApiResponse<Void> repoDeleteReleaseByTagWithHttpInfo(@Nonnull String owner, @Nonnull String repo, @Nonnull String tag) throws ApiException Delete a release by tag name- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)tag- tag name of the release to delete (required)- Returns:
- ApiResponse<Void>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details
Response Details Status Code Description Response Headers 204 APIEmpty is an empty response - 404 APINotFound is a not found error response - 422 APIValidationError is error format response related to input validation -
-
repoDeleteReleaseByTagAsync
public okhttp3.Call repoDeleteReleaseByTagAsync(@Nonnull String owner, @Nonnull String repo, @Nonnull String tag, ApiCallback<Void> _callback) throws ApiException Delete a release by tag name (asynchronously)- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)tag- tag name of the release to delete (required)_callback- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException- If fail to process the API call, e.g. serializing the request body object- Http Response Details
Response Details Status Code Description Response Headers 204 APIEmpty is an empty response - 404 APINotFound is a not found error response - 422 APIValidationError is error format response related to input validation -
-
repoDeleteTagCall
public okhttp3.Call repoDeleteTagCall(@Nonnull String owner, @Nonnull String repo, @Nonnull String tag, ApiCallback _callback) throws ApiException Build call for repoDeleteTag- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)tag- name of tag to delete (required)_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object- Http Response Details
Response Details Status Code Description Response Headers 204 APIEmpty is an empty response - 404 APINotFound is a not found error response - 405 APIEmpty is an empty response - 409 APIConflict is a conflict empty response - 422 APIValidationError is error format response related to input validation - 423 APIRepoArchivedError is an error that is raised when an archived repo should be modified -
-
repoDeleteTag
public void repoDeleteTag(@Nonnull String owner, @Nonnull String repo, @Nonnull String tag) throws ApiException Delete a repository's tag by name- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)tag- name of tag to delete (required)- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details
Response Details Status Code Description Response Headers 204 APIEmpty is an empty response - 404 APINotFound is a not found error response - 405 APIEmpty is an empty response - 409 APIConflict is a conflict empty response - 422 APIValidationError is error format response related to input validation - 423 APIRepoArchivedError is an error that is raised when an archived repo should be modified -
-
repoDeleteTagWithHttpInfo
public ApiResponse<Void> repoDeleteTagWithHttpInfo(@Nonnull String owner, @Nonnull String repo, @Nonnull String tag) throws ApiException Delete a repository's tag by name- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)tag- name of tag to delete (required)- Returns:
- ApiResponse<Void>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details
Response Details Status Code Description Response Headers 204 APIEmpty is an empty response - 404 APINotFound is a not found error response - 405 APIEmpty is an empty response - 409 APIConflict is a conflict empty response - 422 APIValidationError is error format response related to input validation - 423 APIRepoArchivedError is an error that is raised when an archived repo should be modified -
-
repoDeleteTagAsync
public okhttp3.Call repoDeleteTagAsync(@Nonnull String owner, @Nonnull String repo, @Nonnull String tag, ApiCallback<Void> _callback) throws ApiException Delete a repository's tag by name (asynchronously)- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)tag- name of tag to delete (required)_callback- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException- If fail to process the API call, e.g. serializing the request body object- Http Response Details
Response Details Status Code Description Response Headers 204 APIEmpty is an empty response - 404 APINotFound is a not found error response - 405 APIEmpty is an empty response - 409 APIConflict is a conflict empty response - 422 APIValidationError is error format response related to input validation - 423 APIRepoArchivedError is an error that is raised when an archived repo should be modified -
-
repoDeleteTagProtectionCall
public okhttp3.Call repoDeleteTagProtectionCall(@Nonnull String owner, @Nonnull String repo, @Nonnull Long id, ApiCallback _callback) throws ApiException Build call for repoDeleteTagProtection- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)id- id of protected tag (required)_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object- Http Response Details
Response Details Status Code Description Response Headers 204 APIEmpty is an empty response - 404 APINotFound is a not found error response -
-
repoDeleteTagProtection
public void repoDeleteTagProtection(@Nonnull String owner, @Nonnull String repo, @Nonnull Long id) throws ApiException Delete a specific tag protection for the repository- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)id- id of protected tag (required)- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details
Response Details Status Code Description Response Headers 204 APIEmpty is an empty response - 404 APINotFound is a not found error response -
-
repoDeleteTagProtectionWithHttpInfo
public ApiResponse<Void> repoDeleteTagProtectionWithHttpInfo(@Nonnull String owner, @Nonnull String repo, @Nonnull Long id) throws ApiException Delete a specific tag protection for the repository- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)id- id of protected tag (required)- Returns:
- ApiResponse<Void>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details
Response Details Status Code Description Response Headers 204 APIEmpty is an empty response - 404 APINotFound is a not found error response -
-
repoDeleteTagProtectionAsync
public okhttp3.Call repoDeleteTagProtectionAsync(@Nonnull String owner, @Nonnull String repo, @Nonnull Long id, ApiCallback<Void> _callback) throws ApiException Delete a specific tag protection for the repository (asynchronously)- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)id- id of protected tag (required)_callback- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException- If fail to process the API call, e.g. serializing the request body object- Http Response Details
Response Details Status Code Description Response Headers 204 APIEmpty is an empty response - 404 APINotFound is a not found error response -
-
repoDeleteTeamCall
public okhttp3.Call repoDeleteTeamCall(@Nonnull String owner, @Nonnull String repo, @Nonnull String team, ApiCallback _callback) throws ApiException Build call for repoDeleteTeam- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)team- team name (required)_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object- Http Response Details
Response Details Status Code Description Response Headers 204 APIEmpty is an empty response - 404 APINotFound is a not found error response - 405 APIError is error format response - 422 APIValidationError is error format response related to input validation -
-
repoDeleteTeam
public void repoDeleteTeam(@Nonnull String owner, @Nonnull String repo, @Nonnull String team) throws ApiException Delete a team from a repository- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)team- team name (required)- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details
Response Details Status Code Description Response Headers 204 APIEmpty is an empty response - 404 APINotFound is a not found error response - 405 APIError is error format response - 422 APIValidationError is error format response related to input validation -
-
repoDeleteTeamWithHttpInfo
public ApiResponse<Void> repoDeleteTeamWithHttpInfo(@Nonnull String owner, @Nonnull String repo, @Nonnull String team) throws ApiException Delete a team from a repository- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)team- team name (required)- Returns:
- ApiResponse<Void>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details
Response Details Status Code Description Response Headers 204 APIEmpty is an empty response - 404 APINotFound is a not found error response - 405 APIError is error format response - 422 APIValidationError is error format response related to input validation -
-
repoDeleteTeamAsync
public okhttp3.Call repoDeleteTeamAsync(@Nonnull String owner, @Nonnull String repo, @Nonnull String team, ApiCallback<Void> _callback) throws ApiException Delete a team from a repository (asynchronously)- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)team- team name (required)_callback- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException- If fail to process the API call, e.g. serializing the request body object- Http Response Details
Response Details Status Code Description Response Headers 204 APIEmpty is an empty response - 404 APINotFound is a not found error response - 405 APIError is error format response - 422 APIValidationError is error format response related to input validation -
-
repoDeleteTopicCall
public okhttp3.Call repoDeleteTopicCall(@Nonnull String owner, @Nonnull String repo, @Nonnull String topic, ApiCallback _callback) throws ApiException Build call for repoDeleteTopic- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)topic- name of the topic to delete (required)_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object- Http Response Details
Response Details Status Code Description Response Headers 204 APIEmpty is an empty response - 404 APINotFound is a not found error response - 422 APIInvalidTopicsError is error format response to invalid topics -
-
repoDeleteTopic
public void repoDeleteTopic(@Nonnull String owner, @Nonnull String repo, @Nonnull String topic) throws ApiException Delete a topic from a repository- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)topic- name of the topic to delete (required)- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details
Response Details Status Code Description Response Headers 204 APIEmpty is an empty response - 404 APINotFound is a not found error response - 422 APIInvalidTopicsError is error format response to invalid topics -
-
repoDeleteTopicWithHttpInfo
public ApiResponse<Void> repoDeleteTopicWithHttpInfo(@Nonnull String owner, @Nonnull String repo, @Nonnull String topic) throws ApiException Delete a topic from a repository- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)topic- name of the topic to delete (required)- Returns:
- ApiResponse<Void>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details
Response Details Status Code Description Response Headers 204 APIEmpty is an empty response - 404 APINotFound is a not found error response - 422 APIInvalidTopicsError is error format response to invalid topics -
-
repoDeleteTopicAsync
public okhttp3.Call repoDeleteTopicAsync(@Nonnull String owner, @Nonnull String repo, @Nonnull String topic, ApiCallback<Void> _callback) throws ApiException Delete a topic from a repository (asynchronously)- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)topic- name of the topic to delete (required)_callback- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException- If fail to process the API call, e.g. serializing the request body object- Http Response Details
Response Details Status Code Description Response Headers 204 APIEmpty is an empty response - 404 APINotFound is a not found error response - 422 APIInvalidTopicsError is error format response to invalid topics -
-
repoDeleteWikiPageCall
public okhttp3.Call repoDeleteWikiPageCall(@Nonnull String owner, @Nonnull String repo, @Nonnull String pageName, ApiCallback _callback) throws ApiException Build call for repoDeleteWikiPage- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)pageName- name of the page (required)_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object- Http Response Details
Response Details Status Code Description Response Headers 204 APIEmpty is an empty response - 403 APIForbiddenError is a forbidden error response - 404 APINotFound is a not found error response - 423 APIRepoArchivedError is an error that is raised when an archived repo should be modified -
-
repoDeleteWikiPage
public void repoDeleteWikiPage(@Nonnull String owner, @Nonnull String repo, @Nonnull String pageName) throws ApiException Delete a wiki page- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)pageName- name of the page (required)- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details
Response Details Status Code Description Response Headers 204 APIEmpty is an empty response - 403 APIForbiddenError is a forbidden error response - 404 APINotFound is a not found error response - 423 APIRepoArchivedError is an error that is raised when an archived repo should be modified -
-
repoDeleteWikiPageWithHttpInfo
public ApiResponse<Void> repoDeleteWikiPageWithHttpInfo(@Nonnull String owner, @Nonnull String repo, @Nonnull String pageName) throws ApiException Delete a wiki page- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)pageName- name of the page (required)- Returns:
- ApiResponse<Void>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details
Response Details Status Code Description Response Headers 204 APIEmpty is an empty response - 403 APIForbiddenError is a forbidden error response - 404 APINotFound is a not found error response - 423 APIRepoArchivedError is an error that is raised when an archived repo should be modified -
-
repoDeleteWikiPageAsync
public okhttp3.Call repoDeleteWikiPageAsync(@Nonnull String owner, @Nonnull String repo, @Nonnull String pageName, ApiCallback<Void> _callback) throws ApiException Delete a wiki page (asynchronously)- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)pageName- name of the page (required)_callback- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException- If fail to process the API call, e.g. serializing the request body object- Http Response Details
Response Details Status Code Description Response Headers 204 APIEmpty is an empty response - 403 APIForbiddenError is a forbidden error response - 404 APINotFound is a not found error response - 423 APIRepoArchivedError is an error that is raised when an archived repo should be modified -
-
repoDismissPullReviewCall
public okhttp3.Call repoDismissPullReviewCall(@Nonnull String owner, @Nonnull String repo, @Nonnull Long index, @Nonnull Long id, @Nonnull DismissPullReviewOptions body, ApiCallback _callback) throws ApiException Build call for repoDismissPullReview- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)index- index of the pull request (required)id- id of the review (required)body- (required)_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object- Http Response Details
Response Details Status Code Description Response Headers 200 PullReview - 403 APIForbiddenError is a forbidden error response - 404 APINotFound is a not found error response - 422 APIValidationError is error format response related to input validation -
-
repoDismissPullReview
public PullReview repoDismissPullReview(@Nonnull String owner, @Nonnull String repo, @Nonnull Long index, @Nonnull Long id, @Nonnull DismissPullReviewOptions body) throws ApiException Dismiss a review for a pull request- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)index- index of the pull request (required)id- id of the review (required)body- (required)- Returns:
- PullReview
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details
Response Details Status Code Description Response Headers 200 PullReview - 403 APIForbiddenError is a forbidden error response - 404 APINotFound is a not found error response - 422 APIValidationError is error format response related to input validation -
-
repoDismissPullReviewWithHttpInfo
public ApiResponse<PullReview> repoDismissPullReviewWithHttpInfo(@Nonnull String owner, @Nonnull String repo, @Nonnull Long index, @Nonnull Long id, @Nonnull DismissPullReviewOptions body) throws ApiException Dismiss a review for a pull request- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)index- index of the pull request (required)id- id of the review (required)body- (required)- Returns:
- ApiResponse<PullReview>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details
Response Details Status Code Description Response Headers 200 PullReview - 403 APIForbiddenError is a forbidden error response - 404 APINotFound is a not found error response - 422 APIValidationError is error format response related to input validation -
-
repoDismissPullReviewAsync
public okhttp3.Call repoDismissPullReviewAsync(@Nonnull String owner, @Nonnull String repo, @Nonnull Long index, @Nonnull Long id, @Nonnull DismissPullReviewOptions body, ApiCallback<PullReview> _callback) throws ApiException Dismiss a review for a pull request (asynchronously)- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)index- index of the pull request (required)id- id of the review (required)body- (required)_callback- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException- If fail to process the API call, e.g. serializing the request body object- Http Response Details
Response Details Status Code Description Response Headers 200 PullReview - 403 APIForbiddenError is a forbidden error response - 404 APINotFound is a not found error response - 422 APIValidationError is error format response related to input validation -
-
repoDownloadCommitDiffOrPatchCall
public okhttp3.Call repoDownloadCommitDiffOrPatchCall(@Nonnull String owner, @Nonnull String repo, @Nonnull String sha, @Nonnull String diffType, ApiCallback _callback) throws ApiException Build call for repoDownloadCommitDiffOrPatch- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)sha- SHA of the commit to get (required)diffType- whether the output is diff or patch (required)_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object- Http Response Details
Response Details Status Code Description Response Headers 200 APIString is a string response - 404 APINotFound is a not found error response -
-
repoDownloadCommitDiffOrPatch
public String repoDownloadCommitDiffOrPatch(@Nonnull String owner, @Nonnull String repo, @Nonnull String sha, @Nonnull String diffType) throws ApiException Get a commit's diff or patch- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)sha- SHA of the commit to get (required)diffType- whether the output is diff or patch (required)- Returns:
- String
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details
Response Details Status Code Description Response Headers 200 APIString is a string response - 404 APINotFound is a not found error response -
-
repoDownloadCommitDiffOrPatchWithHttpInfo
public ApiResponse<String> repoDownloadCommitDiffOrPatchWithHttpInfo(@Nonnull String owner, @Nonnull String repo, @Nonnull String sha, @Nonnull String diffType) throws ApiException Get a commit's diff or patch- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)sha- SHA of the commit to get (required)diffType- whether the output is diff or patch (required)- Returns:
- ApiResponse<String>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details
Response Details Status Code Description Response Headers 200 APIString is a string response - 404 APINotFound is a not found error response -
-
repoDownloadCommitDiffOrPatchAsync
public okhttp3.Call repoDownloadCommitDiffOrPatchAsync(@Nonnull String owner, @Nonnull String repo, @Nonnull String sha, @Nonnull String diffType, ApiCallback<String> _callback) throws ApiException Get a commit's diff or patch (asynchronously)- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)sha- SHA of the commit to get (required)diffType- whether the output is diff or patch (required)_callback- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException- If fail to process the API call, e.g. serializing the request body object- Http Response Details
Response Details Status Code Description Response Headers 200 APIString is a string response - 404 APINotFound is a not found error response -
-
repoDownloadPullDiffOrPatchCall
public okhttp3.Call repoDownloadPullDiffOrPatchCall(@Nonnull String owner, @Nonnull String repo, @Nonnull Long index, @Nonnull String diffType, @Nullable Boolean binary, ApiCallback _callback) throws ApiException Build call for repoDownloadPullDiffOrPatch- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)index- index of the pull request to get (required)diffType- whether the output is diff or patch (required)binary- whether to include binary file changes. if true, the diff is applicable with `git apply` (optional)_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object- Http Response Details
Response Details Status Code Description Response Headers 200 APIString is a string response - 404 APINotFound is a not found error response -
-
repoDownloadPullDiffOrPatch
public String repoDownloadPullDiffOrPatch(@Nonnull String owner, @Nonnull String repo, @Nonnull Long index, @Nonnull String diffType, @Nullable Boolean binary) throws ApiException Get a pull request diff or patch- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)index- index of the pull request to get (required)diffType- whether the output is diff or patch (required)binary- whether to include binary file changes. if true, the diff is applicable with `git apply` (optional)- Returns:
- String
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details
Response Details Status Code Description Response Headers 200 APIString is a string response - 404 APINotFound is a not found error response -
-
repoDownloadPullDiffOrPatchWithHttpInfo
public ApiResponse<String> repoDownloadPullDiffOrPatchWithHttpInfo(@Nonnull String owner, @Nonnull String repo, @Nonnull Long index, @Nonnull String diffType, @Nullable Boolean binary) throws ApiException Get a pull request diff or patch- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)index- index of the pull request to get (required)diffType- whether the output is diff or patch (required)binary- whether to include binary file changes. if true, the diff is applicable with `git apply` (optional)- Returns:
- ApiResponse<String>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details
Response Details Status Code Description Response Headers 200 APIString is a string response - 404 APINotFound is a not found error response -
-
repoDownloadPullDiffOrPatchAsync
public okhttp3.Call repoDownloadPullDiffOrPatchAsync(@Nonnull String owner, @Nonnull String repo, @Nonnull Long index, @Nonnull String diffType, @Nullable Boolean binary, ApiCallback<String> _callback) throws ApiException Get a pull request diff or patch (asynchronously)- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)index- index of the pull request to get (required)diffType- whether the output is diff or patch (required)binary- whether to include binary file changes. if true, the diff is applicable with `git apply` (optional)_callback- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException- If fail to process the API call, e.g. serializing the request body object- Http Response Details
Response Details Status Code Description Response Headers 200 APIString is a string response - 404 APINotFound is a not found error response -
-
repoEditCall
public okhttp3.Call repoEditCall(@Nonnull String owner, @Nonnull String repo, @Nullable EditRepoOption body, ApiCallback _callback) throws ApiException Build call for repoEdit- Parameters:
owner- owner of the repo to edit (required)repo- name of the repo to edit (required)body- Properties of a repo that you can edit (optional)_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object- Http Response Details
Response Details Status Code Description Response Headers 200 Repository - 403 APIForbiddenError is a forbidden error response - 404 APINotFound is a not found error response - 422 APIValidationError is error format response related to input validation -
-
repoEdit
public Repository repoEdit(@Nonnull String owner, @Nonnull String repo, @Nullable EditRepoOption body) throws ApiException Edit a repository's properties. Only fields that are set will be changed.- Parameters:
owner- owner of the repo to edit (required)repo- name of the repo to edit (required)body- Properties of a repo that you can edit (optional)- Returns:
- Repository
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details
Response Details Status Code Description Response Headers 200 Repository - 403 APIForbiddenError is a forbidden error response - 404 APINotFound is a not found error response - 422 APIValidationError is error format response related to input validation -
-
repoEditWithHttpInfo
public ApiResponse<Repository> repoEditWithHttpInfo(@Nonnull String owner, @Nonnull String repo, @Nullable EditRepoOption body) throws ApiException Edit a repository's properties. Only fields that are set will be changed.- Parameters:
owner- owner of the repo to edit (required)repo- name of the repo to edit (required)body- Properties of a repo that you can edit (optional)- Returns:
- ApiResponse<Repository>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details
Response Details Status Code Description Response Headers 200 Repository - 403 APIForbiddenError is a forbidden error response - 404 APINotFound is a not found error response - 422 APIValidationError is error format response related to input validation -
-
repoEditAsync
public okhttp3.Call repoEditAsync(@Nonnull String owner, @Nonnull String repo, @Nullable EditRepoOption body, ApiCallback<Repository> _callback) throws ApiException Edit a repository's properties. Only fields that are set will be changed. (asynchronously)- Parameters:
owner- owner of the repo to edit (required)repo- name of the repo to edit (required)body- Properties of a repo that you can edit (optional)_callback- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException- If fail to process the API call, e.g. serializing the request body object- Http Response Details
Response Details Status Code Description Response Headers 200 Repository - 403 APIForbiddenError is a forbidden error response - 404 APINotFound is a not found error response - 422 APIValidationError is error format response related to input validation -
-
repoEditBranchProtectionCall
public okhttp3.Call repoEditBranchProtectionCall(@Nonnull String owner, @Nonnull String repo, @Nonnull String name, @Nullable EditBranchProtectionOption body, ApiCallback _callback) throws ApiException Build call for repoEditBranchProtection- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)name- name of protected branch (required)body- (optional)_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object- Http Response Details
Response Details Status Code Description Response Headers 200 BranchProtection - 404 APINotFound is a not found error response - 422 APIValidationError is error format response related to input validation - 423 APIRepoArchivedError is an error that is raised when an archived repo should be modified -
-
repoEditBranchProtection
public BranchProtection repoEditBranchProtection(@Nonnull String owner, @Nonnull String repo, @Nonnull String name, @Nullable EditBranchProtectionOption body) throws ApiException Edit a branch protections for a repository. Only fields that are set will be changed- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)name- name of protected branch (required)body- (optional)- Returns:
- BranchProtection
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details
Response Details Status Code Description Response Headers 200 BranchProtection - 404 APINotFound is a not found error response - 422 APIValidationError is error format response related to input validation - 423 APIRepoArchivedError is an error that is raised when an archived repo should be modified -
-
repoEditBranchProtectionWithHttpInfo
public ApiResponse<BranchProtection> repoEditBranchProtectionWithHttpInfo(@Nonnull String owner, @Nonnull String repo, @Nonnull String name, @Nullable EditBranchProtectionOption body) throws ApiException Edit a branch protections for a repository. Only fields that are set will be changed- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)name- name of protected branch (required)body- (optional)- Returns:
- ApiResponse<BranchProtection>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details
Response Details Status Code Description Response Headers 200 BranchProtection - 404 APINotFound is a not found error response - 422 APIValidationError is error format response related to input validation - 423 APIRepoArchivedError is an error that is raised when an archived repo should be modified -
-
repoEditBranchProtectionAsync
public okhttp3.Call repoEditBranchProtectionAsync(@Nonnull String owner, @Nonnull String repo, @Nonnull String name, @Nullable EditBranchProtectionOption body, ApiCallback<BranchProtection> _callback) throws ApiException Edit a branch protections for a repository. Only fields that are set will be changed (asynchronously)- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)name- name of protected branch (required)body- (optional)_callback- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException- If fail to process the API call, e.g. serializing the request body object- Http Response Details
Response Details Status Code Description Response Headers 200 BranchProtection - 404 APINotFound is a not found error response - 422 APIValidationError is error format response related to input validation - 423 APIRepoArchivedError is an error that is raised when an archived repo should be modified -
-
repoEditGitHookCall
public okhttp3.Call repoEditGitHookCall(@Nonnull String owner, @Nonnull String repo, @Nonnull String id, @Nullable EditGitHookOption body, ApiCallback _callback) throws ApiException Build call for repoEditGitHook- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)id- id of the hook to get (required)body- (optional)_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object- Http Response Details
Response Details Status Code Description Response Headers 200 GitHook - 404 APINotFound is a not found error response -
-
repoEditGitHook
public GitHook repoEditGitHook(@Nonnull String owner, @Nonnull String repo, @Nonnull String id, @Nullable EditGitHookOption body) throws ApiException Edit a Git hook in a repository- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)id- id of the hook to get (required)body- (optional)- Returns:
- GitHook
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details
Response Details Status Code Description Response Headers 200 GitHook - 404 APINotFound is a not found error response -
-
repoEditGitHookWithHttpInfo
public ApiResponse<GitHook> repoEditGitHookWithHttpInfo(@Nonnull String owner, @Nonnull String repo, @Nonnull String id, @Nullable EditGitHookOption body) throws ApiException Edit a Git hook in a repository- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)id- id of the hook to get (required)body- (optional)- Returns:
- ApiResponse<GitHook>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details
Response Details Status Code Description Response Headers 200 GitHook - 404 APINotFound is a not found error response -
-
repoEditGitHookAsync
public okhttp3.Call repoEditGitHookAsync(@Nonnull String owner, @Nonnull String repo, @Nonnull String id, @Nullable EditGitHookOption body, ApiCallback<GitHook> _callback) throws ApiException Edit a Git hook in a repository (asynchronously)- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)id- id of the hook to get (required)body- (optional)_callback- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException- If fail to process the API call, e.g. serializing the request body object- Http Response Details
Response Details Status Code Description Response Headers 200 GitHook - 404 APINotFound is a not found error response -
-
repoEditHookCall
public okhttp3.Call repoEditHookCall(@Nonnull String owner, @Nonnull String repo, @Nonnull Long id, @Nullable EditHookOption body, ApiCallback _callback) throws ApiException Build call for repoEditHook- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)id- index of the hook (required)body- (optional)_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object- Http Response Details
Response Details Status Code Description Response Headers 200 Hook - 404 APINotFound is a not found error response -
-
repoEditHook
public Hook repoEditHook(@Nonnull String owner, @Nonnull String repo, @Nonnull Long id, @Nullable EditHookOption body) throws ApiException Edit a hook in a repository- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)id- index of the hook (required)body- (optional)- Returns:
- Hook
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details
Response Details Status Code Description Response Headers 200 Hook - 404 APINotFound is a not found error response -
-
repoEditHookWithHttpInfo
public ApiResponse<Hook> repoEditHookWithHttpInfo(@Nonnull String owner, @Nonnull String repo, @Nonnull Long id, @Nullable EditHookOption body) throws ApiException Edit a hook in a repository- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)id- index of the hook (required)body- (optional)- Returns:
- ApiResponse<Hook>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details
Response Details Status Code Description Response Headers 200 Hook - 404 APINotFound is a not found error response -
-
repoEditHookAsync
public okhttp3.Call repoEditHookAsync(@Nonnull String owner, @Nonnull String repo, @Nonnull Long id, @Nullable EditHookOption body, ApiCallback<Hook> _callback) throws ApiException Edit a hook in a repository (asynchronously)- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)id- index of the hook (required)body- (optional)_callback- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException- If fail to process the API call, e.g. serializing the request body object- Http Response Details
Response Details Status Code Description Response Headers 200 Hook - 404 APINotFound is a not found error response -
-
repoEditPullRequestCall
public okhttp3.Call repoEditPullRequestCall(@Nonnull String owner, @Nonnull String repo, @Nonnull Long index, @Nullable EditPullRequestOption body, ApiCallback _callback) throws ApiException Build call for repoEditPullRequest- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)index- index of the pull request to edit (required)body- (optional)_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object- Http Response Details
Response Details Status Code Description Response Headers 201 PullRequest - 403 APIForbiddenError is a forbidden error response - 404 APINotFound is a not found error response - 409 APIError is error format response - 412 APIError is error format response - 422 APIValidationError is error format response related to input validation -
-
repoEditPullRequest
public PullRequest repoEditPullRequest(@Nonnull String owner, @Nonnull String repo, @Nonnull Long index, @Nullable EditPullRequestOption body) throws ApiException Update a pull request. If using deadline only the date will be taken into account, and time of day ignored.- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)index- index of the pull request to edit (required)body- (optional)- Returns:
- PullRequest
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details
Response Details Status Code Description Response Headers 201 PullRequest - 403 APIForbiddenError is a forbidden error response - 404 APINotFound is a not found error response - 409 APIError is error format response - 412 APIError is error format response - 422 APIValidationError is error format response related to input validation -
-
repoEditPullRequestWithHttpInfo
public ApiResponse<PullRequest> repoEditPullRequestWithHttpInfo(@Nonnull String owner, @Nonnull String repo, @Nonnull Long index, @Nullable EditPullRequestOption body) throws ApiException Update a pull request. If using deadline only the date will be taken into account, and time of day ignored.- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)index- index of the pull request to edit (required)body- (optional)- Returns:
- ApiResponse<PullRequest>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details
Response Details Status Code Description Response Headers 201 PullRequest - 403 APIForbiddenError is a forbidden error response - 404 APINotFound is a not found error response - 409 APIError is error format response - 412 APIError is error format response - 422 APIValidationError is error format response related to input validation -
-
repoEditPullRequestAsync
public okhttp3.Call repoEditPullRequestAsync(@Nonnull String owner, @Nonnull String repo, @Nonnull Long index, @Nullable EditPullRequestOption body, ApiCallback<PullRequest> _callback) throws ApiException Update a pull request. If using deadline only the date will be taken into account, and time of day ignored. (asynchronously)- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)index- index of the pull request to edit (required)body- (optional)_callback- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException- If fail to process the API call, e.g. serializing the request body object- Http Response Details
Response Details Status Code Description Response Headers 201 PullRequest - 403 APIForbiddenError is a forbidden error response - 404 APINotFound is a not found error response - 409 APIError is error format response - 412 APIError is error format response - 422 APIValidationError is error format response related to input validation -
-
repoEditReleaseCall
public okhttp3.Call repoEditReleaseCall(@Nonnull String owner, @Nonnull String repo, @Nonnull Long id, @Nullable EditReleaseOption body, ApiCallback _callback) throws ApiException Build call for repoEditRelease- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)id- id of the release to edit (required)body- (optional)_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object- Http Response Details
Response Details Status Code Description Response Headers 200 Release - 404 APINotFound is a not found error response -
-
repoEditRelease
public Release repoEditRelease(@Nonnull String owner, @Nonnull String repo, @Nonnull Long id, @Nullable EditReleaseOption body) throws ApiException Update a release- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)id- id of the release to edit (required)body- (optional)- Returns:
- Release
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details
Response Details Status Code Description Response Headers 200 Release - 404 APINotFound is a not found error response -
-
repoEditReleaseWithHttpInfo
public ApiResponse<Release> repoEditReleaseWithHttpInfo(@Nonnull String owner, @Nonnull String repo, @Nonnull Long id, @Nullable EditReleaseOption body) throws ApiException Update a release- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)id- id of the release to edit (required)body- (optional)- Returns:
- ApiResponse<Release>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details
Response Details Status Code Description Response Headers 200 Release - 404 APINotFound is a not found error response -
-
repoEditReleaseAsync
public okhttp3.Call repoEditReleaseAsync(@Nonnull String owner, @Nonnull String repo, @Nonnull Long id, @Nullable EditReleaseOption body, ApiCallback<Release> _callback) throws ApiException Update a release (asynchronously)- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)id- id of the release to edit (required)body- (optional)_callback- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException- If fail to process the API call, e.g. serializing the request body object- Http Response Details
Response Details Status Code Description Response Headers 200 Release - 404 APINotFound is a not found error response -
-
repoEditReleaseAttachmentCall
public okhttp3.Call repoEditReleaseAttachmentCall(@Nonnull String owner, @Nonnull String repo, @Nonnull Long id, @Nonnull Long attachmentId, @Nullable EditAttachmentOptions body, ApiCallback _callback) throws ApiException Build call for repoEditReleaseAttachment- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)id- id of the release (required)attachmentId- id of the attachment to edit (required)body- (optional)_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object- Http Response Details
Response Details Status Code Description Response Headers 201 Attachment - 404 APINotFound is a not found error response - 413 QuotaExceeded * user_id -
* message -
* username -
-
repoEditReleaseAttachment
public Attachment repoEditReleaseAttachment(@Nonnull String owner, @Nonnull String repo, @Nonnull Long id, @Nonnull Long attachmentId, @Nullable EditAttachmentOptions body) throws ApiException Edit a release attachment- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)id- id of the release (required)attachmentId- id of the attachment to edit (required)body- (optional)- Returns:
- Attachment
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details
Response Details Status Code Description Response Headers 201 Attachment - 404 APINotFound is a not found error response - 413 QuotaExceeded * user_id -
* message -
* username -
-
repoEditReleaseAttachmentWithHttpInfo
public ApiResponse<Attachment> repoEditReleaseAttachmentWithHttpInfo(@Nonnull String owner, @Nonnull String repo, @Nonnull Long id, @Nonnull Long attachmentId, @Nullable EditAttachmentOptions body) throws ApiException Edit a release attachment- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)id- id of the release (required)attachmentId- id of the attachment to edit (required)body- (optional)- Returns:
- ApiResponse<Attachment>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details
Response Details Status Code Description Response Headers 201 Attachment - 404 APINotFound is a not found error response - 413 QuotaExceeded * user_id -
* message -
* username -
-
repoEditReleaseAttachmentAsync
public okhttp3.Call repoEditReleaseAttachmentAsync(@Nonnull String owner, @Nonnull String repo, @Nonnull Long id, @Nonnull Long attachmentId, @Nullable EditAttachmentOptions body, ApiCallback<Attachment> _callback) throws ApiException Edit a release attachment (asynchronously)- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)id- id of the release (required)attachmentId- id of the attachment to edit (required)body- (optional)_callback- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException- If fail to process the API call, e.g. serializing the request body object- Http Response Details
Response Details Status Code Description Response Headers 201 Attachment - 404 APINotFound is a not found error response - 413 QuotaExceeded * user_id -
* message -
* username -
-
repoEditTagProtectionCall
public okhttp3.Call repoEditTagProtectionCall(@Nonnull String owner, @Nonnull String repo, @Nonnull Long id, @Nullable EditTagProtectionOption body, ApiCallback _callback) throws ApiException Build call for repoEditTagProtection- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)id- id of protected tag (required)body- (optional)_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object- Http Response Details
Response Details Status Code Description Response Headers 200 TagProtection - 404 APINotFound is a not found error response - 422 APIValidationError is error format response related to input validation - 423 APIRepoArchivedError is an error that is raised when an archived repo should be modified -
-
repoEditTagProtection
public TagProtection repoEditTagProtection(@Nonnull String owner, @Nonnull String repo, @Nonnull Long id, @Nullable EditTagProtectionOption body) throws ApiException Edit a tag protections for a repository. Only fields that are set will be changed- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)id- id of protected tag (required)body- (optional)- Returns:
- TagProtection
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details
Response Details Status Code Description Response Headers 200 TagProtection - 404 APINotFound is a not found error response - 422 APIValidationError is error format response related to input validation - 423 APIRepoArchivedError is an error that is raised when an archived repo should be modified -
-
repoEditTagProtectionWithHttpInfo
public ApiResponse<TagProtection> repoEditTagProtectionWithHttpInfo(@Nonnull String owner, @Nonnull String repo, @Nonnull Long id, @Nullable EditTagProtectionOption body) throws ApiException Edit a tag protections for a repository. Only fields that are set will be changed- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)id- id of protected tag (required)body- (optional)- Returns:
- ApiResponse<TagProtection>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details
Response Details Status Code Description Response Headers 200 TagProtection - 404 APINotFound is a not found error response - 422 APIValidationError is error format response related to input validation - 423 APIRepoArchivedError is an error that is raised when an archived repo should be modified -
-
repoEditTagProtectionAsync
public okhttp3.Call repoEditTagProtectionAsync(@Nonnull String owner, @Nonnull String repo, @Nonnull Long id, @Nullable EditTagProtectionOption body, ApiCallback<TagProtection> _callback) throws ApiException Edit a tag protections for a repository. Only fields that are set will be changed (asynchronously)- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)id- id of protected tag (required)body- (optional)_callback- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException- If fail to process the API call, e.g. serializing the request body object- Http Response Details
Response Details Status Code Description Response Headers 200 TagProtection - 404 APINotFound is a not found error response - 422 APIValidationError is error format response related to input validation - 423 APIRepoArchivedError is an error that is raised when an archived repo should be modified -
-
repoEditWikiPageCall
public okhttp3.Call repoEditWikiPageCall(@Nonnull String owner, @Nonnull String repo, @Nonnull String pageName, @Nullable CreateWikiPageOptions body, ApiCallback _callback) throws ApiException Build call for repoEditWikiPage- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)pageName- name of the page (required)body- (optional)_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object- Http Response Details
Response Details Status Code Description Response Headers 200 WikiPage - 400 APIError is error format response - 403 APIForbiddenError is a forbidden error response - 404 APINotFound is a not found error response - 413 QuotaExceeded * user_id -
* message -
* username -
423 APIRepoArchivedError is an error that is raised when an archived repo should be modified -
-
repoEditWikiPage
public WikiPage repoEditWikiPage(@Nonnull String owner, @Nonnull String repo, @Nonnull String pageName, @Nullable CreateWikiPageOptions body) throws ApiException Edit a wiki page- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)pageName- name of the page (required)body- (optional)- Returns:
- WikiPage
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details
Response Details Status Code Description Response Headers 200 WikiPage - 400 APIError is error format response - 403 APIForbiddenError is a forbidden error response - 404 APINotFound is a not found error response - 413 QuotaExceeded * user_id -
* message -
* username -
423 APIRepoArchivedError is an error that is raised when an archived repo should be modified -
-
repoEditWikiPageWithHttpInfo
public ApiResponse<WikiPage> repoEditWikiPageWithHttpInfo(@Nonnull String owner, @Nonnull String repo, @Nonnull String pageName, @Nullable CreateWikiPageOptions body) throws ApiException Edit a wiki page- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)pageName- name of the page (required)body- (optional)- Returns:
- ApiResponse<WikiPage>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details
Response Details Status Code Description Response Headers 200 WikiPage - 400 APIError is error format response - 403 APIForbiddenError is a forbidden error response - 404 APINotFound is a not found error response - 413 QuotaExceeded * user_id -
* message -
* username -
423 APIRepoArchivedError is an error that is raised when an archived repo should be modified -
-
repoEditWikiPageAsync
public okhttp3.Call repoEditWikiPageAsync(@Nonnull String owner, @Nonnull String repo, @Nonnull String pageName, @Nullable CreateWikiPageOptions body, ApiCallback<WikiPage> _callback) throws ApiException Edit a wiki page (asynchronously)- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)pageName- name of the page (required)body- (optional)_callback- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException- If fail to process the API call, e.g. serializing the request body object- Http Response Details
Response Details Status Code Description Response Headers 200 WikiPage - 400 APIError is error format response - 403 APIForbiddenError is a forbidden error response - 404 APINotFound is a not found error response - 413 QuotaExceeded * user_id -
* message -
* username -
423 APIRepoArchivedError is an error that is raised when an archived repo should be modified -
-
repoGetCall
public okhttp3.Call repoGetCall(@Nonnull String owner, @Nonnull String repo, ApiCallback _callback) throws ApiException Build call for repoGet- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object- Http Response Details
Response Details Status Code Description Response Headers 200 Repository - 404 APINotFound is a not found error response -
-
repoGet
Get a repository- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)- Returns:
- Repository
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details
Response Details Status Code Description Response Headers 200 Repository - 404 APINotFound is a not found error response -
-
repoGetWithHttpInfo
public ApiResponse<Repository> repoGetWithHttpInfo(@Nonnull String owner, @Nonnull String repo) throws ApiException Get a repository- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)- Returns:
- ApiResponse<Repository>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details
Response Details Status Code Description Response Headers 200 Repository - 404 APINotFound is a not found error response -
-
repoGetAsync
public okhttp3.Call repoGetAsync(@Nonnull String owner, @Nonnull String repo, ApiCallback<Repository> _callback) throws ApiException Get a repository (asynchronously)- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)_callback- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException- If fail to process the API call, e.g. serializing the request body object- Http Response Details
Response Details Status Code Description Response Headers 200 Repository - 404 APINotFound is a not found error response -
-
repoGetAllCommitsCall
public okhttp3.Call repoGetAllCommitsCall(@Nonnull String owner, @Nonnull String repo, @Nullable String sha, @Nullable String path, @Nullable Boolean stat, @Nullable Boolean verification, @Nullable Boolean files, @Nullable Integer page, @Nullable Integer limit, @Nullable String not, ApiCallback _callback) throws ApiException Build call for repoGetAllCommits- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)sha- SHA or branch to start listing commits from (usually 'master') (optional)path- filepath of a file/dir (optional)stat- include diff stats for every commit (disable for speedup, default 'true') (optional)verification- include verification for every commit (disable for speedup, default 'true') (optional)files- include a list of affected files for every commit (disable for speedup, default 'true') (optional)page- page number of results to return (1-based) (optional)limit- page size of results (ignored if used with 'path') (optional)not- commits that match the given specifier will not be listed. (optional)_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object- Http Response Details
Response Details Status Code Description Response Headers 200 CommitList - 404 APINotFound is a not found error response - 409 EmptyRepository -
-
repoGetAllCommits
public List<Commit> repoGetAllCommits(@Nonnull String owner, @Nonnull String repo, @Nullable String sha, @Nullable String path, @Nullable Boolean stat, @Nullable Boolean verification, @Nullable Boolean files, @Nullable Integer page, @Nullable Integer limit, @Nullable String not) throws ApiException Get a list of all commits from a repository- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)sha- SHA or branch to start listing commits from (usually 'master') (optional)path- filepath of a file/dir (optional)stat- include diff stats for every commit (disable for speedup, default 'true') (optional)verification- include verification for every commit (disable for speedup, default 'true') (optional)files- include a list of affected files for every commit (disable for speedup, default 'true') (optional)page- page number of results to return (1-based) (optional)limit- page size of results (ignored if used with 'path') (optional)not- commits that match the given specifier will not be listed. (optional)- Returns:
- List<Commit>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details
Response Details Status Code Description Response Headers 200 CommitList - 404 APINotFound is a not found error response - 409 EmptyRepository -
-
repoGetAllCommitsWithHttpInfo
public ApiResponse<List<Commit>> repoGetAllCommitsWithHttpInfo(@Nonnull String owner, @Nonnull String repo, @Nullable String sha, @Nullable String path, @Nullable Boolean stat, @Nullable Boolean verification, @Nullable Boolean files, @Nullable Integer page, @Nullable Integer limit, @Nullable String not) throws ApiException Get a list of all commits from a repository- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)sha- SHA or branch to start listing commits from (usually 'master') (optional)path- filepath of a file/dir (optional)stat- include diff stats for every commit (disable for speedup, default 'true') (optional)verification- include verification for every commit (disable for speedup, default 'true') (optional)files- include a list of affected files for every commit (disable for speedup, default 'true') (optional)page- page number of results to return (1-based) (optional)limit- page size of results (ignored if used with 'path') (optional)not- commits that match the given specifier will not be listed. (optional)- Returns:
- ApiResponse<List<Commit>>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details
Response Details Status Code Description Response Headers 200 CommitList - 404 APINotFound is a not found error response - 409 EmptyRepository -
-
repoGetAllCommitsAsync
public okhttp3.Call repoGetAllCommitsAsync(@Nonnull String owner, @Nonnull String repo, @Nullable String sha, @Nullable String path, @Nullable Boolean stat, @Nullable Boolean verification, @Nullable Boolean files, @Nullable Integer page, @Nullable Integer limit, @Nullable String not, ApiCallback<List<Commit>> _callback) throws ApiException Get a list of all commits from a repository (asynchronously)- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)sha- SHA or branch to start listing commits from (usually 'master') (optional)path- filepath of a file/dir (optional)stat- include diff stats for every commit (disable for speedup, default 'true') (optional)verification- include verification for every commit (disable for speedup, default 'true') (optional)files- include a list of affected files for every commit (disable for speedup, default 'true') (optional)page- page number of results to return (1-based) (optional)limit- page size of results (ignored if used with 'path') (optional)not- commits that match the given specifier will not be listed. (optional)_callback- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException- If fail to process the API call, e.g. serializing the request body object- Http Response Details
Response Details Status Code Description Response Headers 200 CommitList - 404 APINotFound is a not found error response - 409 EmptyRepository -
-
repoGetArchiveCall
public okhttp3.Call repoGetArchiveCall(@Nonnull String owner, @Nonnull String repo, @Nonnull String archive, ApiCallback _callback) throws ApiException Build call for repoGetArchive- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)archive- the git reference for download with attached archive format (e.g. master.zip) (required)_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object- Http Response Details
Response Details Status Code Description Response Headers 200 success - 404 APINotFound is a not found error response -
-
repoGetArchive
public void repoGetArchive(@Nonnull String owner, @Nonnull String repo, @Nonnull String archive) throws ApiException Get an archive of a repository- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)archive- the git reference for download with attached archive format (e.g. master.zip) (required)- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details
Response Details Status Code Description Response Headers 200 success - 404 APINotFound is a not found error response -
-
repoGetArchiveWithHttpInfo
public ApiResponse<Void> repoGetArchiveWithHttpInfo(@Nonnull String owner, @Nonnull String repo, @Nonnull String archive) throws ApiException Get an archive of a repository- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)archive- the git reference for download with attached archive format (e.g. master.zip) (required)- Returns:
- ApiResponse<Void>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details
Response Details Status Code Description Response Headers 200 success - 404 APINotFound is a not found error response -
-
repoGetArchiveAsync
public okhttp3.Call repoGetArchiveAsync(@Nonnull String owner, @Nonnull String repo, @Nonnull String archive, ApiCallback<Void> _callback) throws ApiException Get an archive of a repository (asynchronously)- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)archive- the git reference for download with attached archive format (e.g. master.zip) (required)_callback- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException- If fail to process the API call, e.g. serializing the request body object- Http Response Details
Response Details Status Code Description Response Headers 200 success - 404 APINotFound is a not found error response -
-
repoGetAssigneesCall
public okhttp3.Call repoGetAssigneesCall(@Nonnull String owner, @Nonnull String repo, ApiCallback _callback) throws ApiException Build call for repoGetAssignees- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object- Http Response Details
Response Details Status Code Description Response Headers 200 UserList - 404 APINotFound is a not found error response -
-
repoGetAssignees
Return all users that have write access and can be assigned to issues- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)- Returns:
- List<User>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details
Response Details Status Code Description Response Headers 200 UserList - 404 APINotFound is a not found error response -
-
repoGetAssigneesWithHttpInfo
public ApiResponse<List<User>> repoGetAssigneesWithHttpInfo(@Nonnull String owner, @Nonnull String repo) throws ApiException Return all users that have write access and can be assigned to issues- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)- Returns:
- ApiResponse<List<User>>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details
Response Details Status Code Description Response Headers 200 UserList - 404 APINotFound is a not found error response -
-
repoGetAssigneesAsync
public okhttp3.Call repoGetAssigneesAsync(@Nonnull String owner, @Nonnull String repo, ApiCallback<List<User>> _callback) throws ApiException Return all users that have write access and can be assigned to issues (asynchronously)- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)_callback- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException- If fail to process the API call, e.g. serializing the request body object- Http Response Details
Response Details Status Code Description Response Headers 200 UserList - 404 APINotFound is a not found error response -
-
repoGetBranchCall
public okhttp3.Call repoGetBranchCall(@Nonnull String owner, @Nonnull String repo, @Nonnull String branch, ApiCallback _callback) throws ApiException Build call for repoGetBranch- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)branch- branch to get (required)_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object- Http Response Details
Response Details Status Code Description Response Headers 200 Branch - 404 APINotFound is a not found error response -
-
repoGetBranch
public Branch repoGetBranch(@Nonnull String owner, @Nonnull String repo, @Nonnull String branch) throws ApiException Retrieve a specific branch from a repository, including its effective branch protection- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)branch- branch to get (required)- Returns:
- Branch
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details
Response Details Status Code Description Response Headers 200 Branch - 404 APINotFound is a not found error response -
-
repoGetBranchWithHttpInfo
public ApiResponse<Branch> repoGetBranchWithHttpInfo(@Nonnull String owner, @Nonnull String repo, @Nonnull String branch) throws ApiException Retrieve a specific branch from a repository, including its effective branch protection- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)branch- branch to get (required)- Returns:
- ApiResponse<Branch>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details
Response Details Status Code Description Response Headers 200 Branch - 404 APINotFound is a not found error response -
-
repoGetBranchAsync
public okhttp3.Call repoGetBranchAsync(@Nonnull String owner, @Nonnull String repo, @Nonnull String branch, ApiCallback<Branch> _callback) throws ApiException Retrieve a specific branch from a repository, including its effective branch protection (asynchronously)- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)branch- branch to get (required)_callback- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException- If fail to process the API call, e.g. serializing the request body object- Http Response Details
Response Details Status Code Description Response Headers 200 Branch - 404 APINotFound is a not found error response -
-
repoGetBranchProtectionCall
public okhttp3.Call repoGetBranchProtectionCall(@Nonnull String owner, @Nonnull String repo, @Nonnull String name, ApiCallback _callback) throws ApiException Build call for repoGetBranchProtection- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)name- name of protected branch (required)_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object- Http Response Details
Response Details Status Code Description Response Headers 200 BranchProtection - 404 APINotFound is a not found error response -
-
repoGetBranchProtection
public BranchProtection repoGetBranchProtection(@Nonnull String owner, @Nonnull String repo, @Nonnull String name) throws ApiException Get a specific branch protection for the repository- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)name- name of protected branch (required)- Returns:
- BranchProtection
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details
Response Details Status Code Description Response Headers 200 BranchProtection - 404 APINotFound is a not found error response -
-
repoGetBranchProtectionWithHttpInfo
public ApiResponse<BranchProtection> repoGetBranchProtectionWithHttpInfo(@Nonnull String owner, @Nonnull String repo, @Nonnull String name) throws ApiException Get a specific branch protection for the repository- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)name- name of protected branch (required)- Returns:
- ApiResponse<BranchProtection>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details
Response Details Status Code Description Response Headers 200 BranchProtection - 404 APINotFound is a not found error response -
-
repoGetBranchProtectionAsync
public okhttp3.Call repoGetBranchProtectionAsync(@Nonnull String owner, @Nonnull String repo, @Nonnull String name, ApiCallback<BranchProtection> _callback) throws ApiException Get a specific branch protection for the repository (asynchronously)- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)name- name of protected branch (required)_callback- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException- If fail to process the API call, e.g. serializing the request body object- Http Response Details
Response Details Status Code Description Response Headers 200 BranchProtection - 404 APINotFound is a not found error response -
-
repoGetByIDCall
Build call for repoGetByID- Parameters:
id- id of the repo to get (required)_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object- Http Response Details
Response Details Status Code Description Response Headers 200 Repository - 404 APINotFound is a not found error response -
-
repoGetByID
Get a repository by id- Parameters:
id- id of the repo to get (required)- Returns:
- Repository
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details
Response Details Status Code Description Response Headers 200 Repository - 404 APINotFound is a not found error response -
-
repoGetByIDWithHttpInfo
Get a repository by id- Parameters:
id- id of the repo to get (required)- Returns:
- ApiResponse<Repository>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details
Response Details Status Code Description Response Headers 200 Repository - 404 APINotFound is a not found error response -
-
repoGetByIDAsync
public okhttp3.Call repoGetByIDAsync(@Nonnull Long id, ApiCallback<Repository> _callback) throws ApiException Get a repository by id (asynchronously)- Parameters:
id- id of the repo to get (required)_callback- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException- If fail to process the API call, e.g. serializing the request body object- Http Response Details
Response Details Status Code Description Response Headers 200 Repository - 404 APINotFound is a not found error response -
-
repoGetCombinedStatusByRefCall
public okhttp3.Call repoGetCombinedStatusByRefCall(@Nonnull String owner, @Nonnull String repo, @Nonnull String ref, @Nullable Integer page, @Nullable Integer limit, ApiCallback _callback) throws ApiException Build call for repoGetCombinedStatusByRef- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)ref- name of branch/tag/commit (required)page- page number of results to return (1-based) (optional)limit- page size of results (optional)_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object- Http Response Details
Response Details Status Code Description Response Headers 200 CombinedStatus - 400 APIError is error format response - 404 APINotFound is a not found error response -
-
repoGetCombinedStatusByRef
public CombinedStatus repoGetCombinedStatusByRef(@Nonnull String owner, @Nonnull String repo, @Nonnull String ref, @Nullable Integer page, @Nullable Integer limit) throws ApiException Get a commit's combined status, by branch/tag/commit reference- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)ref- name of branch/tag/commit (required)page- page number of results to return (1-based) (optional)limit- page size of results (optional)- Returns:
- CombinedStatus
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details
Response Details Status Code Description Response Headers 200 CombinedStatus - 400 APIError is error format response - 404 APINotFound is a not found error response -
-
repoGetCombinedStatusByRefWithHttpInfo
public ApiResponse<CombinedStatus> repoGetCombinedStatusByRefWithHttpInfo(@Nonnull String owner, @Nonnull String repo, @Nonnull String ref, @Nullable Integer page, @Nullable Integer limit) throws ApiException Get a commit's combined status, by branch/tag/commit reference- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)ref- name of branch/tag/commit (required)page- page number of results to return (1-based) (optional)limit- page size of results (optional)- Returns:
- ApiResponse<CombinedStatus>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details
Response Details Status Code Description Response Headers 200 CombinedStatus - 400 APIError is error format response - 404 APINotFound is a not found error response -
-
repoGetCombinedStatusByRefAsync
public okhttp3.Call repoGetCombinedStatusByRefAsync(@Nonnull String owner, @Nonnull String repo, @Nonnull String ref, @Nullable Integer page, @Nullable Integer limit, ApiCallback<CombinedStatus> _callback) throws ApiException Get a commit's combined status, by branch/tag/commit reference (asynchronously)- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)ref- name of branch/tag/commit (required)page- page number of results to return (1-based) (optional)limit- page size of results (optional)_callback- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException- If fail to process the API call, e.g. serializing the request body object- Http Response Details
Response Details Status Code Description Response Headers 200 CombinedStatus - 400 APIError is error format response - 404 APINotFound is a not found error response -
-
repoGetCommitPullRequestCall
public okhttp3.Call repoGetCommitPullRequestCall(@Nonnull String owner, @Nonnull String repo, @Nonnull String sha, ApiCallback _callback) throws ApiException Build call for repoGetCommitPullRequest- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)sha- SHA of the commit to get (required)_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object- Http Response Details
Response Details Status Code Description Response Headers 200 PullRequest - 404 APINotFound is a not found error response -
-
repoGetCommitPullRequest
public PullRequest repoGetCommitPullRequest(@Nonnull String owner, @Nonnull String repo, @Nonnull String sha) throws ApiException Get the pull request of the commit- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)sha- SHA of the commit to get (required)- Returns:
- PullRequest
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details
Response Details Status Code Description Response Headers 200 PullRequest - 404 APINotFound is a not found error response -
-
repoGetCommitPullRequestWithHttpInfo
public ApiResponse<PullRequest> repoGetCommitPullRequestWithHttpInfo(@Nonnull String owner, @Nonnull String repo, @Nonnull String sha) throws ApiException Get the pull request of the commit- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)sha- SHA of the commit to get (required)- Returns:
- ApiResponse<PullRequest>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details
Response Details Status Code Description Response Headers 200 PullRequest - 404 APINotFound is a not found error response -
-
repoGetCommitPullRequestAsync
public okhttp3.Call repoGetCommitPullRequestAsync(@Nonnull String owner, @Nonnull String repo, @Nonnull String sha, ApiCallback<PullRequest> _callback) throws ApiException Get the pull request of the commit (asynchronously)- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)sha- SHA of the commit to get (required)_callback- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException- If fail to process the API call, e.g. serializing the request body object- Http Response Details
Response Details Status Code Description Response Headers 200 PullRequest - 404 APINotFound is a not found error response -
-
repoGetContentsCall
public okhttp3.Call repoGetContentsCall(@Nonnull String owner, @Nonnull String repo, @Nonnull String filepath, @Nullable String ref, ApiCallback _callback) throws ApiException Build call for repoGetContents- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)filepath- path of the dir, file, symlink or submodule in the repo (required)ref- The name of the commit/branch/tag. Default the repository’s default branch (usually master) (optional)_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object- Http Response Details
Response Details Status Code Description Response Headers 200 ContentsResponse - 404 APINotFound is a not found error response -
-
repoGetContents
public ContentsResponse repoGetContents(@Nonnull String owner, @Nonnull String repo, @Nonnull String filepath, @Nullable String ref) throws ApiException Gets the metadata and contents (if a file) of an entry in a repository, or a list of entries if a dir- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)filepath- path of the dir, file, symlink or submodule in the repo (required)ref- The name of the commit/branch/tag. Default the repository’s default branch (usually master) (optional)- Returns:
- ContentsResponse
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details
Response Details Status Code Description Response Headers 200 ContentsResponse - 404 APINotFound is a not found error response -
-
repoGetContentsWithHttpInfo
public ApiResponse<ContentsResponse> repoGetContentsWithHttpInfo(@Nonnull String owner, @Nonnull String repo, @Nonnull String filepath, @Nullable String ref) throws ApiException Gets the metadata and contents (if a file) of an entry in a repository, or a list of entries if a dir- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)filepath- path of the dir, file, symlink or submodule in the repo (required)ref- The name of the commit/branch/tag. Default the repository’s default branch (usually master) (optional)- Returns:
- ApiResponse<ContentsResponse>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details
Response Details Status Code Description Response Headers 200 ContentsResponse - 404 APINotFound is a not found error response -
-
repoGetContentsAsync
public okhttp3.Call repoGetContentsAsync(@Nonnull String owner, @Nonnull String repo, @Nonnull String filepath, @Nullable String ref, ApiCallback<ContentsResponse> _callback) throws ApiException Gets the metadata and contents (if a file) of an entry in a repository, or a list of entries if a dir (asynchronously)- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)filepath- path of the dir, file, symlink or submodule in the repo (required)ref- The name of the commit/branch/tag. Default the repository’s default branch (usually master) (optional)_callback- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException- If fail to process the API call, e.g. serializing the request body object- Http Response Details
Response Details Status Code Description Response Headers 200 ContentsResponse - 404 APINotFound is a not found error response -
-
repoGetContentsListCall
public okhttp3.Call repoGetContentsListCall(@Nonnull String owner, @Nonnull String repo, @Nullable String ref, ApiCallback _callback) throws ApiException Build call for repoGetContentsList- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)ref- The name of the commit/branch/tag. Default the repository’s default branch (usually master) (optional)_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object- Http Response Details
Response Details Status Code Description Response Headers 200 ContentsListResponse - 404 APINotFound is a not found error response -
-
repoGetContentsList
public List<ContentsResponse> repoGetContentsList(@Nonnull String owner, @Nonnull String repo, @Nullable String ref) throws ApiException Gets the metadata of all the entries of the root dir- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)ref- The name of the commit/branch/tag. Default the repository’s default branch (usually master) (optional)- Returns:
- List<ContentsResponse>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details
Response Details Status Code Description Response Headers 200 ContentsListResponse - 404 APINotFound is a not found error response -
-
repoGetContentsListWithHttpInfo
public ApiResponse<List<ContentsResponse>> repoGetContentsListWithHttpInfo(@Nonnull String owner, @Nonnull String repo, @Nullable String ref) throws ApiException Gets the metadata of all the entries of the root dir- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)ref- The name of the commit/branch/tag. Default the repository’s default branch (usually master) (optional)- Returns:
- ApiResponse<List<ContentsResponse>>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details
Response Details Status Code Description Response Headers 200 ContentsListResponse - 404 APINotFound is a not found error response -
-
repoGetContentsListAsync
public okhttp3.Call repoGetContentsListAsync(@Nonnull String owner, @Nonnull String repo, @Nullable String ref, ApiCallback<List<ContentsResponse>> _callback) throws ApiException Gets the metadata of all the entries of the root dir (asynchronously)- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)ref- The name of the commit/branch/tag. Default the repository’s default branch (usually master) (optional)_callback- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException- If fail to process the API call, e.g. serializing the request body object- Http Response Details
Response Details Status Code Description Response Headers 200 ContentsListResponse - 404 APINotFound is a not found error response -
-
repoGetEditorConfigCall
public okhttp3.Call repoGetEditorConfigCall(@Nonnull String owner, @Nonnull String repo, @Nonnull String filepath, @Nullable String ref, ApiCallback _callback) throws ApiException Build call for repoGetEditorConfig- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)filepath- filepath of file to get (required)ref- The name of the commit/branch/tag. Default the repository’s default branch (usually master) (optional)_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object- Http Response Details
Response Details Status Code Description Response Headers 200 definitions - 404 APINotFound is a not found error response -
-
repoGetEditorConfig
public Map<String,String> repoGetEditorConfig(@Nonnull String owner, @Nonnull String repo, @Nonnull String filepath, @Nullable String ref) throws ApiException Get the EditorConfig definitions of a file in a repository- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)filepath- filepath of file to get (required)ref- The name of the commit/branch/tag. Default the repository’s default branch (usually master) (optional)- Returns:
- Map<String, String>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details
Response Details Status Code Description Response Headers 200 definitions - 404 APINotFound is a not found error response -
-
repoGetEditorConfigWithHttpInfo
public ApiResponse<Map<String,String>> repoGetEditorConfigWithHttpInfo(@Nonnull String owner, @Nonnull String repo, @Nonnull String filepath, @Nullable String ref) throws ApiException Get the EditorConfig definitions of a file in a repository- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)filepath- filepath of file to get (required)ref- The name of the commit/branch/tag. Default the repository’s default branch (usually master) (optional)- Returns:
- ApiResponse<Map<String, String>>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details
Response Details Status Code Description Response Headers 200 definitions - 404 APINotFound is a not found error response -
-
repoGetEditorConfigAsync
public okhttp3.Call repoGetEditorConfigAsync(@Nonnull String owner, @Nonnull String repo, @Nonnull String filepath, @Nullable String ref, ApiCallback<Map<String, String>> _callback) throws ApiExceptionGet the EditorConfig definitions of a file in a repository (asynchronously)- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)filepath- filepath of file to get (required)ref- The name of the commit/branch/tag. Default the repository’s default branch (usually master) (optional)_callback- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException- If fail to process the API call, e.g. serializing the request body object- Http Response Details
Response Details Status Code Description Response Headers 200 definitions - 404 APINotFound is a not found error response -
-
repoGetGitHookCall
public okhttp3.Call repoGetGitHookCall(@Nonnull String owner, @Nonnull String repo, @Nonnull String id, ApiCallback _callback) throws ApiException Build call for repoGetGitHook- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)id- id of the hook to get (required)_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object- Http Response Details
Response Details Status Code Description Response Headers 200 GitHook - 404 APINotFound is a not found error response -
-
repoGetGitHook
public GitHook repoGetGitHook(@Nonnull String owner, @Nonnull String repo, @Nonnull String id) throws ApiException Get a Git hook- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)id- id of the hook to get (required)- Returns:
- GitHook
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details
Response Details Status Code Description Response Headers 200 GitHook - 404 APINotFound is a not found error response -
-
repoGetGitHookWithHttpInfo
public ApiResponse<GitHook> repoGetGitHookWithHttpInfo(@Nonnull String owner, @Nonnull String repo, @Nonnull String id) throws ApiException Get a Git hook- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)id- id of the hook to get (required)- Returns:
- ApiResponse<GitHook>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details
Response Details Status Code Description Response Headers 200 GitHook - 404 APINotFound is a not found error response -
-
repoGetGitHookAsync
public okhttp3.Call repoGetGitHookAsync(@Nonnull String owner, @Nonnull String repo, @Nonnull String id, ApiCallback<GitHook> _callback) throws ApiException Get a Git hook (asynchronously)- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)id- id of the hook to get (required)_callback- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException- If fail to process the API call, e.g. serializing the request body object- Http Response Details
Response Details Status Code Description Response Headers 200 GitHook - 404 APINotFound is a not found error response -
-
repoGetHookCall
public okhttp3.Call repoGetHookCall(@Nonnull String owner, @Nonnull String repo, @Nonnull Long id, ApiCallback _callback) throws ApiException Build call for repoGetHook- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)id- id of the hook to get (required)_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object- Http Response Details
Response Details Status Code Description Response Headers 200 Hook - 404 APINotFound is a not found error response -
-
repoGetHook
public Hook repoGetHook(@Nonnull String owner, @Nonnull String repo, @Nonnull Long id) throws ApiException Get a hook- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)id- id of the hook to get (required)- Returns:
- Hook
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details
Response Details Status Code Description Response Headers 200 Hook - 404 APINotFound is a not found error response -
-
repoGetHookWithHttpInfo
public ApiResponse<Hook> repoGetHookWithHttpInfo(@Nonnull String owner, @Nonnull String repo, @Nonnull Long id) throws ApiException Get a hook- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)id- id of the hook to get (required)- Returns:
- ApiResponse<Hook>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details
Response Details Status Code Description Response Headers 200 Hook - 404 APINotFound is a not found error response -
-
repoGetHookAsync
public okhttp3.Call repoGetHookAsync(@Nonnull String owner, @Nonnull String repo, @Nonnull Long id, ApiCallback<Hook> _callback) throws ApiException Get a hook (asynchronously)- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)id- id of the hook to get (required)_callback- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException- If fail to process the API call, e.g. serializing the request body object- Http Response Details
Response Details Status Code Description Response Headers 200 Hook - 404 APINotFound is a not found error response -
-
repoGetIssueConfigCall
public okhttp3.Call repoGetIssueConfigCall(@Nonnull String owner, @Nonnull String repo, ApiCallback _callback) throws ApiException Build call for repoGetIssueConfig- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object- Http Response Details
Response Details Status Code Description Response Headers 200 RepoIssueConfig - 404 APINotFound is a not found error response -
-
repoGetIssueConfig
public IssueConfig repoGetIssueConfig(@Nonnull String owner, @Nonnull String repo) throws ApiException Returns the issue config for a repo- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)- Returns:
- IssueConfig
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details
Response Details Status Code Description Response Headers 200 RepoIssueConfig - 404 APINotFound is a not found error response -
-
repoGetIssueConfigWithHttpInfo
public ApiResponse<IssueConfig> repoGetIssueConfigWithHttpInfo(@Nonnull String owner, @Nonnull String repo) throws ApiException Returns the issue config for a repo- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)- Returns:
- ApiResponse<IssueConfig>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details
Response Details Status Code Description Response Headers 200 RepoIssueConfig - 404 APINotFound is a not found error response -
-
repoGetIssueConfigAsync
public okhttp3.Call repoGetIssueConfigAsync(@Nonnull String owner, @Nonnull String repo, ApiCallback<IssueConfig> _callback) throws ApiException Returns the issue config for a repo (asynchronously)- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)_callback- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException- If fail to process the API call, e.g. serializing the request body object- Http Response Details
Response Details Status Code Description Response Headers 200 RepoIssueConfig - 404 APINotFound is a not found error response -
-
repoGetIssueTemplatesCall
public okhttp3.Call repoGetIssueTemplatesCall(@Nonnull String owner, @Nonnull String repo, ApiCallback _callback) throws ApiException Build call for repoGetIssueTemplates- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object- Http Response Details
Response Details Status Code Description Response Headers 200 IssueTemplates - 404 APINotFound is a not found error response -
-
repoGetIssueTemplates
public List<IssueTemplate> repoGetIssueTemplates(@Nonnull String owner, @Nonnull String repo) throws ApiException Get available issue templates for a repository- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)- Returns:
- List<IssueTemplate>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details
Response Details Status Code Description Response Headers 200 IssueTemplates - 404 APINotFound is a not found error response -
-
repoGetIssueTemplatesWithHttpInfo
public ApiResponse<List<IssueTemplate>> repoGetIssueTemplatesWithHttpInfo(@Nonnull String owner, @Nonnull String repo) throws ApiException Get available issue templates for a repository- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)- Returns:
- ApiResponse<List<IssueTemplate>>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details
Response Details Status Code Description Response Headers 200 IssueTemplates - 404 APINotFound is a not found error response -
-
repoGetIssueTemplatesAsync
public okhttp3.Call repoGetIssueTemplatesAsync(@Nonnull String owner, @Nonnull String repo, ApiCallback<List<IssueTemplate>> _callback) throws ApiException Get available issue templates for a repository (asynchronously)- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)_callback- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException- If fail to process the API call, e.g. serializing the request body object- Http Response Details
Response Details Status Code Description Response Headers 200 IssueTemplates - 404 APINotFound is a not found error response -
-
repoGetKeyCall
public okhttp3.Call repoGetKeyCall(@Nonnull String owner, @Nonnull String repo, @Nonnull Long id, ApiCallback _callback) throws ApiException Build call for repoGetKey- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)id- id of the key to get (required)_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object- Http Response Details
Response Details Status Code Description Response Headers 200 DeployKey - 404 APINotFound is a not found error response -
-
repoGetKey
public DeployKey repoGetKey(@Nonnull String owner, @Nonnull String repo, @Nonnull Long id) throws ApiException Get a repository's key by id- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)id- id of the key to get (required)- Returns:
- DeployKey
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details
Response Details Status Code Description Response Headers 200 DeployKey - 404 APINotFound is a not found error response -
-
repoGetKeyWithHttpInfo
public ApiResponse<DeployKey> repoGetKeyWithHttpInfo(@Nonnull String owner, @Nonnull String repo, @Nonnull Long id) throws ApiException Get a repository's key by id- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)id- id of the key to get (required)- Returns:
- ApiResponse<DeployKey>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details
Response Details Status Code Description Response Headers 200 DeployKey - 404 APINotFound is a not found error response -
-
repoGetKeyAsync
public okhttp3.Call repoGetKeyAsync(@Nonnull String owner, @Nonnull String repo, @Nonnull Long id, ApiCallback<DeployKey> _callback) throws ApiException Get a repository's key by id (asynchronously)- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)id- id of the key to get (required)_callback- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException- If fail to process the API call, e.g. serializing the request body object- Http Response Details
Response Details Status Code Description Response Headers 200 DeployKey - 404 APINotFound is a not found error response -
-
repoGetLanguagesCall
public okhttp3.Call repoGetLanguagesCall(@Nonnull String owner, @Nonnull String repo, ApiCallback _callback) throws ApiException Build call for repoGetLanguages- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object- Http Response Details
Response Details Status Code Description Response Headers 200 LanguageStatistics - 404 APINotFound is a not found error response -
-
repoGetLanguages
public Map<String,Long> repoGetLanguages(@Nonnull String owner, @Nonnull String repo) throws ApiException Get languages and number of bytes of code written- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)- Returns:
- Map<String, Long>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details
Response Details Status Code Description Response Headers 200 LanguageStatistics - 404 APINotFound is a not found error response -
-
repoGetLanguagesWithHttpInfo
public ApiResponse<Map<String,Long>> repoGetLanguagesWithHttpInfo(@Nonnull String owner, @Nonnull String repo) throws ApiException Get languages and number of bytes of code written- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)- Returns:
- ApiResponse<Map<String, Long>>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details
Response Details Status Code Description Response Headers 200 LanguageStatistics - 404 APINotFound is a not found error response -
-
repoGetLanguagesAsync
public okhttp3.Call repoGetLanguagesAsync(@Nonnull String owner, @Nonnull String repo, ApiCallback<Map<String, Long>> _callback) throws ApiExceptionGet languages and number of bytes of code written (asynchronously)- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)_callback- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException- If fail to process the API call, e.g. serializing the request body object- Http Response Details
Response Details Status Code Description Response Headers 200 LanguageStatistics - 404 APINotFound is a not found error response -
-
repoGetLatestReleaseCall
public okhttp3.Call repoGetLatestReleaseCall(@Nonnull String owner, @Nonnull String repo, ApiCallback _callback) throws ApiException Build call for repoGetLatestRelease- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object- Http Response Details
Response Details Status Code Description Response Headers 200 Release - 404 APINotFound is a not found error response -
-
repoGetLatestRelease
public Release repoGetLatestRelease(@Nonnull String owner, @Nonnull String repo) throws ApiException Gets the most recent non-prerelease, non-draft release of a repository, sorted by created_at- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)- Returns:
- Release
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details
Response Details Status Code Description Response Headers 200 Release - 404 APINotFound is a not found error response -
-
repoGetLatestReleaseWithHttpInfo
public ApiResponse<Release> repoGetLatestReleaseWithHttpInfo(@Nonnull String owner, @Nonnull String repo) throws ApiException Gets the most recent non-prerelease, non-draft release of a repository, sorted by created_at- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)- Returns:
- ApiResponse<Release>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details
Response Details Status Code Description Response Headers 200 Release - 404 APINotFound is a not found error response -
-
repoGetLatestReleaseAsync
public okhttp3.Call repoGetLatestReleaseAsync(@Nonnull String owner, @Nonnull String repo, ApiCallback<Release> _callback) throws ApiException Gets the most recent non-prerelease, non-draft release of a repository, sorted by created_at (asynchronously)- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)_callback- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException- If fail to process the API call, e.g. serializing the request body object- Http Response Details
Response Details Status Code Description Response Headers 200 Release - 404 APINotFound is a not found error response -
-
repoGetNoteCall
public okhttp3.Call repoGetNoteCall(@Nonnull String owner, @Nonnull String repo, @Nonnull String sha, @Nullable Boolean verification, @Nullable Boolean files, ApiCallback _callback) throws ApiException Build call for repoGetNote- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)sha- a git ref or commit sha (required)verification- include verification for every commit (disable for speedup, default 'true') (optional)files- include a list of affected files for every commit (disable for speedup, default 'true') (optional)_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object- Http Response Details
Response Details Status Code Description Response Headers 200 Note - 404 APINotFound is a not found error response - 422 APIValidationError is error format response related to input validation -
-
repoGetNote
public Note repoGetNote(@Nonnull String owner, @Nonnull String repo, @Nonnull String sha, @Nullable Boolean verification, @Nullable Boolean files) throws ApiException Get a note corresponding to a single commit from a repository- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)sha- a git ref or commit sha (required)verification- include verification for every commit (disable for speedup, default 'true') (optional)files- include a list of affected files for every commit (disable for speedup, default 'true') (optional)- Returns:
- Note
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details
Response Details Status Code Description Response Headers 200 Note - 404 APINotFound is a not found error response - 422 APIValidationError is error format response related to input validation -
-
repoGetNoteWithHttpInfo
public ApiResponse<Note> repoGetNoteWithHttpInfo(@Nonnull String owner, @Nonnull String repo, @Nonnull String sha, @Nullable Boolean verification, @Nullable Boolean files) throws ApiException Get a note corresponding to a single commit from a repository- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)sha- a git ref or commit sha (required)verification- include verification for every commit (disable for speedup, default 'true') (optional)files- include a list of affected files for every commit (disable for speedup, default 'true') (optional)- Returns:
- ApiResponse<Note>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details
Response Details Status Code Description Response Headers 200 Note - 404 APINotFound is a not found error response - 422 APIValidationError is error format response related to input validation -
-
repoGetNoteAsync
public okhttp3.Call repoGetNoteAsync(@Nonnull String owner, @Nonnull String repo, @Nonnull String sha, @Nullable Boolean verification, @Nullable Boolean files, ApiCallback<Note> _callback) throws ApiException Get a note corresponding to a single commit from a repository (asynchronously)- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)sha- a git ref or commit sha (required)verification- include verification for every commit (disable for speedup, default 'true') (optional)files- include a list of affected files for every commit (disable for speedup, default 'true') (optional)_callback- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException- If fail to process the API call, e.g. serializing the request body object- Http Response Details
Response Details Status Code Description Response Headers 200 Note - 404 APINotFound is a not found error response - 422 APIValidationError is error format response related to input validation -
-
repoGetPullRequestCall
public okhttp3.Call repoGetPullRequestCall(@Nonnull String owner, @Nonnull String repo, @Nonnull Long index, ApiCallback _callback) throws ApiException Build call for repoGetPullRequest- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)index- index of the pull request to get (required)_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object- Http Response Details
Response Details Status Code Description Response Headers 200 PullRequest - 404 APINotFound is a not found error response -
-
repoGetPullRequest
public PullRequest repoGetPullRequest(@Nonnull String owner, @Nonnull String repo, @Nonnull Long index) throws ApiException Get a pull request- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)index- index of the pull request to get (required)- Returns:
- PullRequest
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details
Response Details Status Code Description Response Headers 200 PullRequest - 404 APINotFound is a not found error response -
-
repoGetPullRequestWithHttpInfo
public ApiResponse<PullRequest> repoGetPullRequestWithHttpInfo(@Nonnull String owner, @Nonnull String repo, @Nonnull Long index) throws ApiException Get a pull request- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)index- index of the pull request to get (required)- Returns:
- ApiResponse<PullRequest>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details
Response Details Status Code Description Response Headers 200 PullRequest - 404 APINotFound is a not found error response -
-
repoGetPullRequestAsync
public okhttp3.Call repoGetPullRequestAsync(@Nonnull String owner, @Nonnull String repo, @Nonnull Long index, ApiCallback<PullRequest> _callback) throws ApiException Get a pull request (asynchronously)- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)index- index of the pull request to get (required)_callback- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException- If fail to process the API call, e.g. serializing the request body object- Http Response Details
Response Details Status Code Description Response Headers 200 PullRequest - 404 APINotFound is a not found error response -
-
repoGetPullRequestByBaseHeadCall
public okhttp3.Call repoGetPullRequestByBaseHeadCall(@Nonnull String owner, @Nonnull String repo, @Nonnull String base, @Nonnull String head, ApiCallback _callback) throws ApiException Build call for repoGetPullRequestByBaseHead- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)base- base of the pull request to get (required)head- head of the pull request to get (required)_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object- Http Response Details
Response Details Status Code Description Response Headers 200 PullRequest - 404 APINotFound is a not found error response -
-
repoGetPullRequestByBaseHead
public PullRequest repoGetPullRequestByBaseHead(@Nonnull String owner, @Nonnull String repo, @Nonnull String base, @Nonnull String head) throws ApiException Get a pull request by base and head- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)base- base of the pull request to get (required)head- head of the pull request to get (required)- Returns:
- PullRequest
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details
Response Details Status Code Description Response Headers 200 PullRequest - 404 APINotFound is a not found error response -
-
repoGetPullRequestByBaseHeadWithHttpInfo
public ApiResponse<PullRequest> repoGetPullRequestByBaseHeadWithHttpInfo(@Nonnull String owner, @Nonnull String repo, @Nonnull String base, @Nonnull String head) throws ApiException Get a pull request by base and head- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)base- base of the pull request to get (required)head- head of the pull request to get (required)- Returns:
- ApiResponse<PullRequest>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details
Response Details Status Code Description Response Headers 200 PullRequest - 404 APINotFound is a not found error response -
-
repoGetPullRequestByBaseHeadAsync
public okhttp3.Call repoGetPullRequestByBaseHeadAsync(@Nonnull String owner, @Nonnull String repo, @Nonnull String base, @Nonnull String head, ApiCallback<PullRequest> _callback) throws ApiException Get a pull request by base and head (asynchronously)- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)base- base of the pull request to get (required)head- head of the pull request to get (required)_callback- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException- If fail to process the API call, e.g. serializing the request body object- Http Response Details
Response Details Status Code Description Response Headers 200 PullRequest - 404 APINotFound is a not found error response -
-
repoGetPullRequestCommitsCall
public okhttp3.Call repoGetPullRequestCommitsCall(@Nonnull String owner, @Nonnull String repo, @Nonnull Long index, @Nullable Integer page, @Nullable Integer limit, @Nullable Boolean verification, @Nullable Boolean files, ApiCallback _callback) throws ApiException Build call for repoGetPullRequestCommits- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)index- index of the pull request to get (required)page- page number of results to return (1-based) (optional)limit- page size of results (optional)verification- include verification for every commit (disable for speedup, default 'true') (optional)files- include a list of affected files for every commit (disable for speedup, default 'true') (optional)_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object- Http Response Details
Response Details Status Code Description Response Headers 200 CommitList - 404 APINotFound is a not found error response -
-
repoGetPullRequestCommits
public List<Commit> repoGetPullRequestCommits(@Nonnull String owner, @Nonnull String repo, @Nonnull Long index, @Nullable Integer page, @Nullable Integer limit, @Nullable Boolean verification, @Nullable Boolean files) throws ApiException Get commits for a pull request- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)index- index of the pull request to get (required)page- page number of results to return (1-based) (optional)limit- page size of results (optional)verification- include verification for every commit (disable for speedup, default 'true') (optional)files- include a list of affected files for every commit (disable for speedup, default 'true') (optional)- Returns:
- List<Commit>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details
Response Details Status Code Description Response Headers 200 CommitList - 404 APINotFound is a not found error response -
-
repoGetPullRequestCommitsWithHttpInfo
public ApiResponse<List<Commit>> repoGetPullRequestCommitsWithHttpInfo(@Nonnull String owner, @Nonnull String repo, @Nonnull Long index, @Nullable Integer page, @Nullable Integer limit, @Nullable Boolean verification, @Nullable Boolean files) throws ApiException Get commits for a pull request- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)index- index of the pull request to get (required)page- page number of results to return (1-based) (optional)limit- page size of results (optional)verification- include verification for every commit (disable for speedup, default 'true') (optional)files- include a list of affected files for every commit (disable for speedup, default 'true') (optional)- Returns:
- ApiResponse<List<Commit>>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details
Response Details Status Code Description Response Headers 200 CommitList - 404 APINotFound is a not found error response -
-
repoGetPullRequestCommitsAsync
public okhttp3.Call repoGetPullRequestCommitsAsync(@Nonnull String owner, @Nonnull String repo, @Nonnull Long index, @Nullable Integer page, @Nullable Integer limit, @Nullable Boolean verification, @Nullable Boolean files, ApiCallback<List<Commit>> _callback) throws ApiException Get commits for a pull request (asynchronously)- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)index- index of the pull request to get (required)page- page number of results to return (1-based) (optional)limit- page size of results (optional)verification- include verification for every commit (disable for speedup, default 'true') (optional)files- include a list of affected files for every commit (disable for speedup, default 'true') (optional)_callback- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException- If fail to process the API call, e.g. serializing the request body object- Http Response Details
Response Details Status Code Description Response Headers 200 CommitList - 404 APINotFound is a not found error response -
-
repoGetPullRequestFilesCall
public okhttp3.Call repoGetPullRequestFilesCall(@Nonnull String owner, @Nonnull String repo, @Nonnull Long index, @Nullable String skipTo, @Nullable String whitespace, @Nullable Integer page, @Nullable Integer limit, ApiCallback _callback) throws ApiException Build call for repoGetPullRequestFiles- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)index- index of the pull request to get (required)skipTo- skip to given file (optional)whitespace- whitespace behavior (optional)page- page number of results to return (1-based) (optional)limit- page size of results (optional)_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object- Http Response Details
Response Details Status Code Description Response Headers 200 ChangedFileListWithPagination * X-HasMore - True if there is another page
* X-PageCount - Total number of pages
* X-PerPage - Commits per page
* X-Page - The current page
404 APINotFound is a not found error response -
-
repoGetPullRequestFiles
public List<ChangedFile> repoGetPullRequestFiles(@Nonnull String owner, @Nonnull String repo, @Nonnull Long index, @Nullable String skipTo, @Nullable String whitespace, @Nullable Integer page, @Nullable Integer limit) throws ApiException Get changed files for a pull request- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)index- index of the pull request to get (required)skipTo- skip to given file (optional)whitespace- whitespace behavior (optional)page- page number of results to return (1-based) (optional)limit- page size of results (optional)- Returns:
- List<ChangedFile>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details
Response Details Status Code Description Response Headers 200 ChangedFileListWithPagination * X-HasMore - True if there is another page
* X-PageCount - Total number of pages
* X-PerPage - Commits per page
* X-Page - The current page
404 APINotFound is a not found error response -
-
repoGetPullRequestFilesWithHttpInfo
public ApiResponse<List<ChangedFile>> repoGetPullRequestFilesWithHttpInfo(@Nonnull String owner, @Nonnull String repo, @Nonnull Long index, @Nullable String skipTo, @Nullable String whitespace, @Nullable Integer page, @Nullable Integer limit) throws ApiException Get changed files for a pull request- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)index- index of the pull request to get (required)skipTo- skip to given file (optional)whitespace- whitespace behavior (optional)page- page number of results to return (1-based) (optional)limit- page size of results (optional)- Returns:
- ApiResponse<List<ChangedFile>>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details
Response Details Status Code Description Response Headers 200 ChangedFileListWithPagination * X-HasMore - True if there is another page
* X-PageCount - Total number of pages
* X-PerPage - Commits per page
* X-Page - The current page
404 APINotFound is a not found error response -
-
repoGetPullRequestFilesAsync
public okhttp3.Call repoGetPullRequestFilesAsync(@Nonnull String owner, @Nonnull String repo, @Nonnull Long index, @Nullable String skipTo, @Nullable String whitespace, @Nullable Integer page, @Nullable Integer limit, ApiCallback<List<ChangedFile>> _callback) throws ApiException Get changed files for a pull request (asynchronously)- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)index- index of the pull request to get (required)skipTo- skip to given file (optional)whitespace- whitespace behavior (optional)page- page number of results to return (1-based) (optional)limit- page size of results (optional)_callback- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException- If fail to process the API call, e.g. serializing the request body object- Http Response Details
Response Details Status Code Description Response Headers 200 ChangedFileListWithPagination * X-HasMore - True if there is another page
* X-PageCount - Total number of pages
* X-PerPage - Commits per page
* X-Page - The current page
404 APINotFound is a not found error response -
-
repoGetPullReviewCall
public okhttp3.Call repoGetPullReviewCall(@Nonnull String owner, @Nonnull String repo, @Nonnull Long index, @Nonnull Long id, ApiCallback _callback) throws ApiException Build call for repoGetPullReview- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)index- index of the pull request (required)id- id of the review (required)_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object- Http Response Details
Response Details Status Code Description Response Headers 200 PullReview - 404 APINotFound is a not found error response -
-
repoGetPullReview
public PullReview repoGetPullReview(@Nonnull String owner, @Nonnull String repo, @Nonnull Long index, @Nonnull Long id) throws ApiException Get a specific review for a pull request- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)index- index of the pull request (required)id- id of the review (required)- Returns:
- PullReview
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details
Response Details Status Code Description Response Headers 200 PullReview - 404 APINotFound is a not found error response -
-
repoGetPullReviewWithHttpInfo
public ApiResponse<PullReview> repoGetPullReviewWithHttpInfo(@Nonnull String owner, @Nonnull String repo, @Nonnull Long index, @Nonnull Long id) throws ApiException Get a specific review for a pull request- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)index- index of the pull request (required)id- id of the review (required)- Returns:
- ApiResponse<PullReview>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details
Response Details Status Code Description Response Headers 200 PullReview - 404 APINotFound is a not found error response -
-
repoGetPullReviewAsync
public okhttp3.Call repoGetPullReviewAsync(@Nonnull String owner, @Nonnull String repo, @Nonnull Long index, @Nonnull Long id, ApiCallback<PullReview> _callback) throws ApiException Get a specific review for a pull request (asynchronously)- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)index- index of the pull request (required)id- id of the review (required)_callback- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException- If fail to process the API call, e.g. serializing the request body object- Http Response Details
Response Details Status Code Description Response Headers 200 PullReview - 404 APINotFound is a not found error response -
-
repoGetPullReviewCommentCall
public okhttp3.Call repoGetPullReviewCommentCall(@Nonnull String owner, @Nonnull String repo, @Nonnull Long index, @Nonnull Long id, @Nonnull Long comment, ApiCallback _callback) throws ApiException Build call for repoGetPullReviewComment- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)index- index of the pull request (required)id- id of the review (required)comment- id of the comment (required)_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object- Http Response Details
Response Details Status Code Description Response Headers 200 PullComment - 403 APIForbiddenError is a forbidden error response - 404 APINotFound is a not found error response -
-
repoGetPullReviewComment
public PullReviewComment repoGetPullReviewComment(@Nonnull String owner, @Nonnull String repo, @Nonnull Long index, @Nonnull Long id, @Nonnull Long comment) throws ApiException Get a pull review comment- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)index- index of the pull request (required)id- id of the review (required)comment- id of the comment (required)- Returns:
- PullReviewComment
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details
Response Details Status Code Description Response Headers 200 PullComment - 403 APIForbiddenError is a forbidden error response - 404 APINotFound is a not found error response -
-
repoGetPullReviewCommentWithHttpInfo
public ApiResponse<PullReviewComment> repoGetPullReviewCommentWithHttpInfo(@Nonnull String owner, @Nonnull String repo, @Nonnull Long index, @Nonnull Long id, @Nonnull Long comment) throws ApiException Get a pull review comment- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)index- index of the pull request (required)id- id of the review (required)comment- id of the comment (required)- Returns:
- ApiResponse<PullReviewComment>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details
Response Details Status Code Description Response Headers 200 PullComment - 403 APIForbiddenError is a forbidden error response - 404 APINotFound is a not found error response -
-
repoGetPullReviewCommentAsync
public okhttp3.Call repoGetPullReviewCommentAsync(@Nonnull String owner, @Nonnull String repo, @Nonnull Long index, @Nonnull Long id, @Nonnull Long comment, ApiCallback<PullReviewComment> _callback) throws ApiException Get a pull review comment (asynchronously)- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)index- index of the pull request (required)id- id of the review (required)comment- id of the comment (required)_callback- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException- If fail to process the API call, e.g. serializing the request body object- Http Response Details
Response Details Status Code Description Response Headers 200 PullComment - 403 APIForbiddenError is a forbidden error response - 404 APINotFound is a not found error response -
-
repoGetPullReviewCommentsCall
public okhttp3.Call repoGetPullReviewCommentsCall(@Nonnull String owner, @Nonnull String repo, @Nonnull Long index, @Nonnull Long id, ApiCallback _callback) throws ApiException Build call for repoGetPullReviewComments- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)index- index of the pull request (required)id- id of the review (required)_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object- Http Response Details
Response Details Status Code Description Response Headers 200 PullCommentList - 404 APINotFound is a not found error response -
-
repoGetPullReviewComments
public List<PullReviewComment> repoGetPullReviewComments(@Nonnull String owner, @Nonnull String repo, @Nonnull Long index, @Nonnull Long id) throws ApiException Get a specific review for a pull request- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)index- index of the pull request (required)id- id of the review (required)- Returns:
- List<PullReviewComment>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details
Response Details Status Code Description Response Headers 200 PullCommentList - 404 APINotFound is a not found error response -
-
repoGetPullReviewCommentsWithHttpInfo
public ApiResponse<List<PullReviewComment>> repoGetPullReviewCommentsWithHttpInfo(@Nonnull String owner, @Nonnull String repo, @Nonnull Long index, @Nonnull Long id) throws ApiException Get a specific review for a pull request- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)index- index of the pull request (required)id- id of the review (required)- Returns:
- ApiResponse<List<PullReviewComment>>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details
Response Details Status Code Description Response Headers 200 PullCommentList - 404 APINotFound is a not found error response -
-
repoGetPullReviewCommentsAsync
public okhttp3.Call repoGetPullReviewCommentsAsync(@Nonnull String owner, @Nonnull String repo, @Nonnull Long index, @Nonnull Long id, ApiCallback<List<PullReviewComment>> _callback) throws ApiException Get a specific review for a pull request (asynchronously)- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)index- index of the pull request (required)id- id of the review (required)_callback- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException- If fail to process the API call, e.g. serializing the request body object- Http Response Details
Response Details Status Code Description Response Headers 200 PullCommentList - 404 APINotFound is a not found error response -
-
repoGetPushMirrorByRemoteNameCall
public okhttp3.Call repoGetPushMirrorByRemoteNameCall(@Nonnull String owner, @Nonnull String repo, @Nonnull String name, ApiCallback _callback) throws ApiException Build call for repoGetPushMirrorByRemoteName- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)name- remote name of push mirror (required)_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object- Http Response Details
Response Details Status Code Description Response Headers 200 PushMirror - 400 APIError is error format response - 403 APIForbiddenError is a forbidden error response - 404 APINotFound is a not found error response -
-
repoGetPushMirrorByRemoteName
public PushMirror repoGetPushMirrorByRemoteName(@Nonnull String owner, @Nonnull String repo, @Nonnull String name) throws ApiException Get push mirror of the repository by remoteName- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)name- remote name of push mirror (required)- Returns:
- PushMirror
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details
Response Details Status Code Description Response Headers 200 PushMirror - 400 APIError is error format response - 403 APIForbiddenError is a forbidden error response - 404 APINotFound is a not found error response -
-
repoGetPushMirrorByRemoteNameWithHttpInfo
public ApiResponse<PushMirror> repoGetPushMirrorByRemoteNameWithHttpInfo(@Nonnull String owner, @Nonnull String repo, @Nonnull String name) throws ApiException Get push mirror of the repository by remoteName- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)name- remote name of push mirror (required)- Returns:
- ApiResponse<PushMirror>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details
Response Details Status Code Description Response Headers 200 PushMirror - 400 APIError is error format response - 403 APIForbiddenError is a forbidden error response - 404 APINotFound is a not found error response -
-
repoGetPushMirrorByRemoteNameAsync
public okhttp3.Call repoGetPushMirrorByRemoteNameAsync(@Nonnull String owner, @Nonnull String repo, @Nonnull String name, ApiCallback<PushMirror> _callback) throws ApiException Get push mirror of the repository by remoteName (asynchronously)- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)name- remote name of push mirror (required)_callback- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException- If fail to process the API call, e.g. serializing the request body object- Http Response Details
Response Details Status Code Description Response Headers 200 PushMirror - 400 APIError is error format response - 403 APIForbiddenError is a forbidden error response - 404 APINotFound is a not found error response -
-
repoGetRawFileCall
public okhttp3.Call repoGetRawFileCall(@Nonnull String owner, @Nonnull String repo, @Nonnull String filepath, @Nullable String ref, ApiCallback _callback) throws ApiException Build call for repoGetRawFile- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)filepath- filepath of the file to get (required)ref- The name of the commit/branch/tag. Default the repository’s default branch (usually master) (optional)_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object- Http Response Details
Response Details Status Code Description Response Headers 200 Returns raw file content. - 404 APINotFound is a not found error response -
-
repoGetRawFile
public File repoGetRawFile(@Nonnull String owner, @Nonnull String repo, @Nonnull String filepath, @Nullable String ref) throws ApiException Get a file from a repository- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)filepath- filepath of the file to get (required)ref- The name of the commit/branch/tag. Default the repository’s default branch (usually master) (optional)- Returns:
- File
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details
Response Details Status Code Description Response Headers 200 Returns raw file content. - 404 APINotFound is a not found error response -
-
repoGetRawFileWithHttpInfo
public ApiResponse<File> repoGetRawFileWithHttpInfo(@Nonnull String owner, @Nonnull String repo, @Nonnull String filepath, @Nullable String ref) throws ApiException Get a file from a repository- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)filepath- filepath of the file to get (required)ref- The name of the commit/branch/tag. Default the repository’s default branch (usually master) (optional)- Returns:
- ApiResponse<File>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details
Response Details Status Code Description Response Headers 200 Returns raw file content. - 404 APINotFound is a not found error response -
-
repoGetRawFileAsync
public okhttp3.Call repoGetRawFileAsync(@Nonnull String owner, @Nonnull String repo, @Nonnull String filepath, @Nullable String ref, ApiCallback<File> _callback) throws ApiException Get a file from a repository (asynchronously)- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)filepath- filepath of the file to get (required)ref- The name of the commit/branch/tag. Default the repository’s default branch (usually master) (optional)_callback- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException- If fail to process the API call, e.g. serializing the request body object- Http Response Details
Response Details Status Code Description Response Headers 200 Returns raw file content. - 404 APINotFound is a not found error response -
-
repoGetRawFileOrLFSCall
public okhttp3.Call repoGetRawFileOrLFSCall(@Nonnull String owner, @Nonnull String repo, @Nonnull String filepath, @Nullable String ref, ApiCallback _callback) throws ApiException Build call for repoGetRawFileOrLFS- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)filepath- filepath of the file to get (required)ref- The name of the commit/branch/tag. Default the repository’s default branch (usually master) (optional)_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object- Http Response Details
Response Details Status Code Description Response Headers 200 Returns raw file content. - 404 APINotFound is a not found error response -
-
repoGetRawFileOrLFS
public File repoGetRawFileOrLFS(@Nonnull String owner, @Nonnull String repo, @Nonnull String filepath, @Nullable String ref) throws ApiException Get a file or it's LFS object from a repository- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)filepath- filepath of the file to get (required)ref- The name of the commit/branch/tag. Default the repository’s default branch (usually master) (optional)- Returns:
- File
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details
Response Details Status Code Description Response Headers 200 Returns raw file content. - 404 APINotFound is a not found error response -
-
repoGetRawFileOrLFSWithHttpInfo
public ApiResponse<File> repoGetRawFileOrLFSWithHttpInfo(@Nonnull String owner, @Nonnull String repo, @Nonnull String filepath, @Nullable String ref) throws ApiException Get a file or it's LFS object from a repository- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)filepath- filepath of the file to get (required)ref- The name of the commit/branch/tag. Default the repository’s default branch (usually master) (optional)- Returns:
- ApiResponse<File>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details
Response Details Status Code Description Response Headers 200 Returns raw file content. - 404 APINotFound is a not found error response -
-
repoGetRawFileOrLFSAsync
public okhttp3.Call repoGetRawFileOrLFSAsync(@Nonnull String owner, @Nonnull String repo, @Nonnull String filepath, @Nullable String ref, ApiCallback<File> _callback) throws ApiException Get a file or it's LFS object from a repository (asynchronously)- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)filepath- filepath of the file to get (required)ref- The name of the commit/branch/tag. Default the repository’s default branch (usually master) (optional)_callback- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException- If fail to process the API call, e.g. serializing the request body object- Http Response Details
Response Details Status Code Description Response Headers 200 Returns raw file content. - 404 APINotFound is a not found error response -
-
repoGetReleaseCall
public okhttp3.Call repoGetReleaseCall(@Nonnull String owner, @Nonnull String repo, @Nonnull Long id, ApiCallback _callback) throws ApiException Build call for repoGetRelease- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)id- id of the release to get (required)_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object- Http Response Details
Response Details Status Code Description Response Headers 200 Release - 404 APINotFound is a not found error response -
-
repoGetRelease
public Release repoGetRelease(@Nonnull String owner, @Nonnull String repo, @Nonnull Long id) throws ApiException Get a release- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)id- id of the release to get (required)- Returns:
- Release
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details
Response Details Status Code Description Response Headers 200 Release - 404 APINotFound is a not found error response -
-
repoGetReleaseWithHttpInfo
public ApiResponse<Release> repoGetReleaseWithHttpInfo(@Nonnull String owner, @Nonnull String repo, @Nonnull Long id) throws ApiException Get a release- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)id- id of the release to get (required)- Returns:
- ApiResponse<Release>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details
Response Details Status Code Description Response Headers 200 Release - 404 APINotFound is a not found error response -
-
repoGetReleaseAsync
public okhttp3.Call repoGetReleaseAsync(@Nonnull String owner, @Nonnull String repo, @Nonnull Long id, ApiCallback<Release> _callback) throws ApiException Get a release (asynchronously)- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)id- id of the release to get (required)_callback- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException- If fail to process the API call, e.g. serializing the request body object- Http Response Details
Response Details Status Code Description Response Headers 200 Release - 404 APINotFound is a not found error response -
-
repoGetReleaseAttachmentCall
public okhttp3.Call repoGetReleaseAttachmentCall(@Nonnull String owner, @Nonnull String repo, @Nonnull Long id, @Nonnull Long attachmentId, ApiCallback _callback) throws ApiException Build call for repoGetReleaseAttachment- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)id- id of the release (required)attachmentId- id of the attachment to get (required)_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object- Http Response Details
Response Details Status Code Description Response Headers 200 Attachment - 404 APINotFound is a not found error response -
-
repoGetReleaseAttachment
public Attachment repoGetReleaseAttachment(@Nonnull String owner, @Nonnull String repo, @Nonnull Long id, @Nonnull Long attachmentId) throws ApiException Get a release attachment- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)id- id of the release (required)attachmentId- id of the attachment to get (required)- Returns:
- Attachment
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details
Response Details Status Code Description Response Headers 200 Attachment - 404 APINotFound is a not found error response -
-
repoGetReleaseAttachmentWithHttpInfo
public ApiResponse<Attachment> repoGetReleaseAttachmentWithHttpInfo(@Nonnull String owner, @Nonnull String repo, @Nonnull Long id, @Nonnull Long attachmentId) throws ApiException Get a release attachment- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)id- id of the release (required)attachmentId- id of the attachment to get (required)- Returns:
- ApiResponse<Attachment>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details
Response Details Status Code Description Response Headers 200 Attachment - 404 APINotFound is a not found error response -
-
repoGetReleaseAttachmentAsync
public okhttp3.Call repoGetReleaseAttachmentAsync(@Nonnull String owner, @Nonnull String repo, @Nonnull Long id, @Nonnull Long attachmentId, ApiCallback<Attachment> _callback) throws ApiException Get a release attachment (asynchronously)- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)id- id of the release (required)attachmentId- id of the attachment to get (required)_callback- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException- If fail to process the API call, e.g. serializing the request body object- Http Response Details
Response Details Status Code Description Response Headers 200 Attachment - 404 APINotFound is a not found error response -
-
repoGetReleaseByTagCall
public okhttp3.Call repoGetReleaseByTagCall(@Nonnull String owner, @Nonnull String repo, @Nonnull String tag, ApiCallback _callback) throws ApiException Build call for repoGetReleaseByTag- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)tag- tag name of the release to get (required)_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object- Http Response Details
Response Details Status Code Description Response Headers 200 Release - 404 APINotFound is a not found error response -
-
repoGetReleaseByTag
public Release repoGetReleaseByTag(@Nonnull String owner, @Nonnull String repo, @Nonnull String tag) throws ApiException Get a release by tag name- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)tag- tag name of the release to get (required)- Returns:
- Release
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details
Response Details Status Code Description Response Headers 200 Release - 404 APINotFound is a not found error response -
-
repoGetReleaseByTagWithHttpInfo
public ApiResponse<Release> repoGetReleaseByTagWithHttpInfo(@Nonnull String owner, @Nonnull String repo, @Nonnull String tag) throws ApiException Get a release by tag name- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)tag- tag name of the release to get (required)- Returns:
- ApiResponse<Release>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details
Response Details Status Code Description Response Headers 200 Release - 404 APINotFound is a not found error response -
-
repoGetReleaseByTagAsync
public okhttp3.Call repoGetReleaseByTagAsync(@Nonnull String owner, @Nonnull String repo, @Nonnull String tag, ApiCallback<Release> _callback) throws ApiException Get a release by tag name (asynchronously)- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)tag- tag name of the release to get (required)_callback- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException- If fail to process the API call, e.g. serializing the request body object- Http Response Details
Response Details Status Code Description Response Headers 200 Release - 404 APINotFound is a not found error response -
-
repoGetRepoPermissionsCall
public okhttp3.Call repoGetRepoPermissionsCall(@Nonnull String owner, @Nonnull String repo, @Nonnull String collaborator, ApiCallback _callback) throws ApiException Build call for repoGetRepoPermissions- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)collaborator- username of the collaborator (required)_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object- Http Response Details
Response Details Status Code Description Response Headers 200 RepoCollaboratorPermission - 403 APIForbiddenError is a forbidden error response - 404 APINotFound is a not found error response -
-
repoGetRepoPermissions
public RepoCollaboratorPermission repoGetRepoPermissions(@Nonnull String owner, @Nonnull String repo, @Nonnull String collaborator) throws ApiException Get repository permissions for a user- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)collaborator- username of the collaborator (required)- Returns:
- RepoCollaboratorPermission
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details
Response Details Status Code Description Response Headers 200 RepoCollaboratorPermission - 403 APIForbiddenError is a forbidden error response - 404 APINotFound is a not found error response -
-
repoGetRepoPermissionsWithHttpInfo
public ApiResponse<RepoCollaboratorPermission> repoGetRepoPermissionsWithHttpInfo(@Nonnull String owner, @Nonnull String repo, @Nonnull String collaborator) throws ApiException Get repository permissions for a user- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)collaborator- username of the collaborator (required)- Returns:
- ApiResponse<RepoCollaboratorPermission>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details
Response Details Status Code Description Response Headers 200 RepoCollaboratorPermission - 403 APIForbiddenError is a forbidden error response - 404 APINotFound is a not found error response -
-
repoGetRepoPermissionsAsync
public okhttp3.Call repoGetRepoPermissionsAsync(@Nonnull String owner, @Nonnull String repo, @Nonnull String collaborator, ApiCallback<RepoCollaboratorPermission> _callback) throws ApiException Get repository permissions for a user (asynchronously)- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)collaborator- username of the collaborator (required)_callback- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException- If fail to process the API call, e.g. serializing the request body object- Http Response Details
Response Details Status Code Description Response Headers 200 RepoCollaboratorPermission - 403 APIForbiddenError is a forbidden error response - 404 APINotFound is a not found error response -
-
repoGetReviewersCall
public okhttp3.Call repoGetReviewersCall(@Nonnull String owner, @Nonnull String repo, ApiCallback _callback) throws ApiException Build call for repoGetReviewers- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object- Http Response Details
Response Details Status Code Description Response Headers 200 UserList - 404 APINotFound is a not found error response -
-
repoGetReviewers
Return all users that can be requested to review in this repo- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)- Returns:
- List<User>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details
Response Details Status Code Description Response Headers 200 UserList - 404 APINotFound is a not found error response -
-
repoGetReviewersWithHttpInfo
public ApiResponse<List<User>> repoGetReviewersWithHttpInfo(@Nonnull String owner, @Nonnull String repo) throws ApiException Return all users that can be requested to review in this repo- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)- Returns:
- ApiResponse<List<User>>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details
Response Details Status Code Description Response Headers 200 UserList - 404 APINotFound is a not found error response -
-
repoGetReviewersAsync
public okhttp3.Call repoGetReviewersAsync(@Nonnull String owner, @Nonnull String repo, ApiCallback<List<User>> _callback) throws ApiException Return all users that can be requested to review in this repo (asynchronously)- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)_callback- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException- If fail to process the API call, e.g. serializing the request body object- Http Response Details
Response Details Status Code Description Response Headers 200 UserList - 404 APINotFound is a not found error response -
-
repoGetRunnerRegistrationTokenCall
@Deprecated public okhttp3.Call repoGetRunnerRegistrationTokenCall(@Nonnull String owner, @Nonnull String repo, ApiCallback _callback) throws ApiException Deprecated.Build call for repoGetRunnerRegistrationToken- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object- Http Response Details
Response Details Status Code Description Response Headers 200 RegistrationToken is a string used to register a runner with a server -
-
repoGetRunnerRegistrationToken
@Deprecated public RegistrationToken repoGetRunnerRegistrationToken(@Nonnull String owner, @Nonnull String repo) throws ApiException Deprecated.Get a repository's runner registration token This operation has been deprecated in Forgejo 15. Use the web UI or [`/repos/{owner}/{repo}/actions/runners`](#/repository/registerRepoRunner) instead.- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)- Returns:
- RegistrationToken
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details
Response Details Status Code Description Response Headers 200 RegistrationToken is a string used to register a runner with a server -
-
repoGetRunnerRegistrationTokenWithHttpInfo
@Deprecated public ApiResponse<RegistrationToken> repoGetRunnerRegistrationTokenWithHttpInfo(@Nonnull String owner, @Nonnull String repo) throws ApiException Deprecated.Get a repository's runner registration token This operation has been deprecated in Forgejo 15. Use the web UI or [`/repos/{owner}/{repo}/actions/runners`](#/repository/registerRepoRunner) instead.- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)- Returns:
- ApiResponse<RegistrationToken>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details
Response Details Status Code Description Response Headers 200 RegistrationToken is a string used to register a runner with a server -
-
repoGetRunnerRegistrationTokenAsync
@Deprecated public okhttp3.Call repoGetRunnerRegistrationTokenAsync(@Nonnull String owner, @Nonnull String repo, ApiCallback<RegistrationToken> _callback) throws ApiException Deprecated.Get a repository's runner registration token (asynchronously) This operation has been deprecated in Forgejo 15. Use the web UI or [`/repos/{owner}/{repo}/actions/runners`](#/repository/registerRepoRunner) instead.- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)_callback- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException- If fail to process the API call, e.g. serializing the request body object- Http Response Details
Response Details Status Code Description Response Headers 200 RegistrationToken is a string used to register a runner with a server -
-
repoGetSingleCommitCall
public okhttp3.Call repoGetSingleCommitCall(@Nonnull String owner, @Nonnull String repo, @Nonnull String sha, @Nullable Boolean stat, @Nullable Boolean verification, @Nullable Boolean files, ApiCallback _callback) throws ApiException Build call for repoGetSingleCommit- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)sha- a git ref or commit sha (required)stat- include diff stats for every commit (disable for speedup, default 'true') (optional)verification- include verification for every commit (disable for speedup, default 'true') (optional)files- include a list of affected files for every commit (disable for speedup, default 'true') (optional)_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object- Http Response Details
Response Details Status Code Description Response Headers 200 Commit - 404 APINotFound is a not found error response - 422 APIValidationError is error format response related to input validation -
-
repoGetSingleCommit
public Commit repoGetSingleCommit(@Nonnull String owner, @Nonnull String repo, @Nonnull String sha, @Nullable Boolean stat, @Nullable Boolean verification, @Nullable Boolean files) throws ApiException Get a single commit from a repository- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)sha- a git ref or commit sha (required)stat- include diff stats for every commit (disable for speedup, default 'true') (optional)verification- include verification for every commit (disable for speedup, default 'true') (optional)files- include a list of affected files for every commit (disable for speedup, default 'true') (optional)- Returns:
- Commit
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details
Response Details Status Code Description Response Headers 200 Commit - 404 APINotFound is a not found error response - 422 APIValidationError is error format response related to input validation -
-
repoGetSingleCommitWithHttpInfo
public ApiResponse<Commit> repoGetSingleCommitWithHttpInfo(@Nonnull String owner, @Nonnull String repo, @Nonnull String sha, @Nullable Boolean stat, @Nullable Boolean verification, @Nullable Boolean files) throws ApiException Get a single commit from a repository- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)sha- a git ref or commit sha (required)stat- include diff stats for every commit (disable for speedup, default 'true') (optional)verification- include verification for every commit (disable for speedup, default 'true') (optional)files- include a list of affected files for every commit (disable for speedup, default 'true') (optional)- Returns:
- ApiResponse<Commit>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details
Response Details Status Code Description Response Headers 200 Commit - 404 APINotFound is a not found error response - 422 APIValidationError is error format response related to input validation -
-
repoGetSingleCommitAsync
public okhttp3.Call repoGetSingleCommitAsync(@Nonnull String owner, @Nonnull String repo, @Nonnull String sha, @Nullable Boolean stat, @Nullable Boolean verification, @Nullable Boolean files, ApiCallback<Commit> _callback) throws ApiException Get a single commit from a repository (asynchronously)- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)sha- a git ref or commit sha (required)stat- include diff stats for every commit (disable for speedup, default 'true') (optional)verification- include verification for every commit (disable for speedup, default 'true') (optional)files- include a list of affected files for every commit (disable for speedup, default 'true') (optional)_callback- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException- If fail to process the API call, e.g. serializing the request body object- Http Response Details
Response Details Status Code Description Response Headers 200 Commit - 404 APINotFound is a not found error response - 422 APIValidationError is error format response related to input validation -
-
repoGetTagCall
public okhttp3.Call repoGetTagCall(@Nonnull String owner, @Nonnull String repo, @Nonnull String tag, ApiCallback _callback) throws ApiException Build call for repoGetTag- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)tag- name of tag (required)_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object- Http Response Details
Response Details Status Code Description Response Headers 200 Tag - 404 APINotFound is a not found error response -
-
repoGetTag
public Tag repoGetTag(@Nonnull String owner, @Nonnull String repo, @Nonnull String tag) throws ApiException Get the tag of a repository by tag name- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)tag- name of tag (required)- Returns:
- Tag
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details
Response Details Status Code Description Response Headers 200 Tag - 404 APINotFound is a not found error response -
-
repoGetTagWithHttpInfo
public ApiResponse<Tag> repoGetTagWithHttpInfo(@Nonnull String owner, @Nonnull String repo, @Nonnull String tag) throws ApiException Get the tag of a repository by tag name- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)tag- name of tag (required)- Returns:
- ApiResponse<Tag>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details
Response Details Status Code Description Response Headers 200 Tag - 404 APINotFound is a not found error response -
-
repoGetTagAsync
public okhttp3.Call repoGetTagAsync(@Nonnull String owner, @Nonnull String repo, @Nonnull String tag, ApiCallback<Tag> _callback) throws ApiException Get the tag of a repository by tag name (asynchronously)- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)tag- name of tag (required)_callback- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException- If fail to process the API call, e.g. serializing the request body object- Http Response Details
Response Details Status Code Description Response Headers 200 Tag - 404 APINotFound is a not found error response -
-
repoGetTagProtectionCall
public okhttp3.Call repoGetTagProtectionCall(@Nonnull String owner, @Nonnull String repo, @Nonnull Long id, ApiCallback _callback) throws ApiException Build call for repoGetTagProtection- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)id- id of the tag protect to get (required)_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object- Http Response Details
Response Details Status Code Description Response Headers 200 TagProtection - 404 APINotFound is a not found error response -
-
repoGetTagProtection
public TagProtection repoGetTagProtection(@Nonnull String owner, @Nonnull String repo, @Nonnull Long id) throws ApiException Get a specific tag protection for the repository- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)id- id of the tag protect to get (required)- Returns:
- TagProtection
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details
Response Details Status Code Description Response Headers 200 TagProtection - 404 APINotFound is a not found error response -
-
repoGetTagProtectionWithHttpInfo
public ApiResponse<TagProtection> repoGetTagProtectionWithHttpInfo(@Nonnull String owner, @Nonnull String repo, @Nonnull Long id) throws ApiException Get a specific tag protection for the repository- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)id- id of the tag protect to get (required)- Returns:
- ApiResponse<TagProtection>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details
Response Details Status Code Description Response Headers 200 TagProtection - 404 APINotFound is a not found error response -
-
repoGetTagProtectionAsync
public okhttp3.Call repoGetTagProtectionAsync(@Nonnull String owner, @Nonnull String repo, @Nonnull Long id, ApiCallback<TagProtection> _callback) throws ApiException Get a specific tag protection for the repository (asynchronously)- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)id- id of the tag protect to get (required)_callback- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException- If fail to process the API call, e.g. serializing the request body object- Http Response Details
Response Details Status Code Description Response Headers 200 TagProtection - 404 APINotFound is a not found error response -
-
repoGetWikiPageCall
public okhttp3.Call repoGetWikiPageCall(@Nonnull String owner, @Nonnull String repo, @Nonnull String pageName, ApiCallback _callback) throws ApiException Build call for repoGetWikiPage- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)pageName- name of the page (required)_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object- Http Response Details
Response Details Status Code Description Response Headers 200 WikiPage - 404 APINotFound is a not found error response -
-
repoGetWikiPage
public WikiPage repoGetWikiPage(@Nonnull String owner, @Nonnull String repo, @Nonnull String pageName) throws ApiException Get a wiki page- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)pageName- name of the page (required)- Returns:
- WikiPage
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details
Response Details Status Code Description Response Headers 200 WikiPage - 404 APINotFound is a not found error response -
-
repoGetWikiPageWithHttpInfo
public ApiResponse<WikiPage> repoGetWikiPageWithHttpInfo(@Nonnull String owner, @Nonnull String repo, @Nonnull String pageName) throws ApiException Get a wiki page- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)pageName- name of the page (required)- Returns:
- ApiResponse<WikiPage>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details
Response Details Status Code Description Response Headers 200 WikiPage - 404 APINotFound is a not found error response -
-
repoGetWikiPageAsync
public okhttp3.Call repoGetWikiPageAsync(@Nonnull String owner, @Nonnull String repo, @Nonnull String pageName, ApiCallback<WikiPage> _callback) throws ApiException Get a wiki page (asynchronously)- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)pageName- name of the page (required)_callback- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException- If fail to process the API call, e.g. serializing the request body object- Http Response Details
Response Details Status Code Description Response Headers 200 WikiPage - 404 APINotFound is a not found error response -
-
repoGetWikiPageRevisionsCall
public okhttp3.Call repoGetWikiPageRevisionsCall(@Nonnull String owner, @Nonnull String repo, @Nonnull String pageName, @Nullable Integer page, ApiCallback _callback) throws ApiException Build call for repoGetWikiPageRevisions- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)pageName- name of the page (required)page- page number of results to return (1-based) (optional)_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object- Http Response Details
Response Details Status Code Description Response Headers 200 WikiCommitList * X-Total-Count - The total number of access tokens
404 APINotFound is a not found error response -
-
repoGetWikiPageRevisions
public WikiCommitList repoGetWikiPageRevisions(@Nonnull String owner, @Nonnull String repo, @Nonnull String pageName, @Nullable Integer page) throws ApiException Get revisions of a wiki page- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)pageName- name of the page (required)page- page number of results to return (1-based) (optional)- Returns:
- WikiCommitList
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details
Response Details Status Code Description Response Headers 200 WikiCommitList * X-Total-Count - The total number of access tokens
404 APINotFound is a not found error response -
-
repoGetWikiPageRevisionsWithHttpInfo
public ApiResponse<WikiCommitList> repoGetWikiPageRevisionsWithHttpInfo(@Nonnull String owner, @Nonnull String repo, @Nonnull String pageName, @Nullable Integer page) throws ApiException Get revisions of a wiki page- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)pageName- name of the page (required)page- page number of results to return (1-based) (optional)- Returns:
- ApiResponse<WikiCommitList>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details
Response Details Status Code Description Response Headers 200 WikiCommitList * X-Total-Count - The total number of access tokens
404 APINotFound is a not found error response -
-
repoGetWikiPageRevisionsAsync
public okhttp3.Call repoGetWikiPageRevisionsAsync(@Nonnull String owner, @Nonnull String repo, @Nonnull String pageName, @Nullable Integer page, ApiCallback<WikiCommitList> _callback) throws ApiException Get revisions of a wiki page (asynchronously)- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)pageName- name of the page (required)page- page number of results to return (1-based) (optional)_callback- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException- If fail to process the API call, e.g. serializing the request body object- Http Response Details
Response Details Status Code Description Response Headers 200 WikiCommitList * X-Total-Count - The total number of access tokens
404 APINotFound is a not found error response -
-
repoGetWikiPagesCall
public okhttp3.Call repoGetWikiPagesCall(@Nonnull String owner, @Nonnull String repo, @Nullable Integer page, @Nullable Integer limit, ApiCallback _callback) throws ApiException Build call for repoGetWikiPages- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)page- page number of results to return (1-based) (optional)limit- page size of results (optional)_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object- Http Response Details
Response Details Status Code Description Response Headers 200 WikiPageList * X-Total-Count - The total number of access tokens
404 APINotFound is a not found error response -
-
repoGetWikiPages
public List<WikiPageMetaData> repoGetWikiPages(@Nonnull String owner, @Nonnull String repo, @Nullable Integer page, @Nullable Integer limit) throws ApiException Get all wiki pages- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)page- page number of results to return (1-based) (optional)limit- page size of results (optional)- Returns:
- List<WikiPageMetaData>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details
Response Details Status Code Description Response Headers 200 WikiPageList * X-Total-Count - The total number of access tokens
404 APINotFound is a not found error response -
-
repoGetWikiPagesWithHttpInfo
public ApiResponse<List<WikiPageMetaData>> repoGetWikiPagesWithHttpInfo(@Nonnull String owner, @Nonnull String repo, @Nullable Integer page, @Nullable Integer limit) throws ApiException Get all wiki pages- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)page- page number of results to return (1-based) (optional)limit- page size of results (optional)- Returns:
- ApiResponse<List<WikiPageMetaData>>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details
Response Details Status Code Description Response Headers 200 WikiPageList * X-Total-Count - The total number of access tokens
404 APINotFound is a not found error response -
-
repoGetWikiPagesAsync
public okhttp3.Call repoGetWikiPagesAsync(@Nonnull String owner, @Nonnull String repo, @Nullable Integer page, @Nullable Integer limit, ApiCallback<List<WikiPageMetaData>> _callback) throws ApiException Get all wiki pages (asynchronously)- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)page- page number of results to return (1-based) (optional)limit- page size of results (optional)_callback- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException- If fail to process the API call, e.g. serializing the request body object- Http Response Details
Response Details Status Code Description Response Headers 200 WikiPageList * X-Total-Count - The total number of access tokens
404 APINotFound is a not found error response -
-
repoListActionsSecretsCall
public okhttp3.Call repoListActionsSecretsCall(@Nonnull String owner, @Nonnull String repo, @Nullable Integer page, @Nullable Integer limit, ApiCallback _callback) throws ApiException Build call for repoListActionsSecrets- Parameters:
owner- owner of the repository (required)repo- name of the repository (required)page- page number of results to return (1-based) (optional)limit- page size of results (optional)_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object- Http Response Details
Response Details Status Code Description Response Headers 200 SecretList * X-Total-Count - The total number of access tokens
404 APINotFound is a not found error response -
-
repoListActionsSecrets
public List<Secret> repoListActionsSecrets(@Nonnull String owner, @Nonnull String repo, @Nullable Integer page, @Nullable Integer limit) throws ApiException List an repo's actions secrets- Parameters:
owner- owner of the repository (required)repo- name of the repository (required)page- page number of results to return (1-based) (optional)limit- page size of results (optional)- Returns:
- List<Secret>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details
Response Details Status Code Description Response Headers 200 SecretList * X-Total-Count - The total number of access tokens
404 APINotFound is a not found error response -
-
repoListActionsSecretsWithHttpInfo
public ApiResponse<List<Secret>> repoListActionsSecretsWithHttpInfo(@Nonnull String owner, @Nonnull String repo, @Nullable Integer page, @Nullable Integer limit) throws ApiException List an repo's actions secrets- Parameters:
owner- owner of the repository (required)repo- name of the repository (required)page- page number of results to return (1-based) (optional)limit- page size of results (optional)- Returns:
- ApiResponse<List<Secret>>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details
Response Details Status Code Description Response Headers 200 SecretList * X-Total-Count - The total number of access tokens
404 APINotFound is a not found error response -
-
repoListActionsSecretsAsync
public okhttp3.Call repoListActionsSecretsAsync(@Nonnull String owner, @Nonnull String repo, @Nullable Integer page, @Nullable Integer limit, ApiCallback<List<Secret>> _callback) throws ApiException List an repo's actions secrets (asynchronously)- Parameters:
owner- owner of the repository (required)repo- name of the repository (required)page- page number of results to return (1-based) (optional)limit- page size of results (optional)_callback- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException- If fail to process the API call, e.g. serializing the request body object- Http Response Details
Response Details Status Code Description Response Headers 200 SecretList * X-Total-Count - The total number of access tokens
404 APINotFound is a not found error response -
-
repoListActivityFeedsCall
public okhttp3.Call repoListActivityFeedsCall(@Nonnull String owner, @Nonnull String repo, @Nullable LocalDate date, @Nullable Integer page, @Nullable Integer limit, ApiCallback _callback) throws ApiException Build call for repoListActivityFeeds- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)date- the date of the activities to be found (optional)page- page number of results to return (1-based) (optional)limit- page size of results (optional)_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object- Http Response Details
Response Details Status Code Description Response Headers 200 ActivityFeedsList * X-Total-Count - The total number of access tokens
404 APINotFound is a not found error response -
-
repoListActivityFeeds
public List<Activity> repoListActivityFeeds(@Nonnull String owner, @Nonnull String repo, @Nullable LocalDate date, @Nullable Integer page, @Nullable Integer limit) throws ApiException List a repository's activity feeds- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)date- the date of the activities to be found (optional)page- page number of results to return (1-based) (optional)limit- page size of results (optional)- Returns:
- List<Activity>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details
Response Details Status Code Description Response Headers 200 ActivityFeedsList * X-Total-Count - The total number of access tokens
404 APINotFound is a not found error response -
-
repoListActivityFeedsWithHttpInfo
public ApiResponse<List<Activity>> repoListActivityFeedsWithHttpInfo(@Nonnull String owner, @Nonnull String repo, @Nullable LocalDate date, @Nullable Integer page, @Nullable Integer limit) throws ApiException List a repository's activity feeds- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)date- the date of the activities to be found (optional)page- page number of results to return (1-based) (optional)limit- page size of results (optional)- Returns:
- ApiResponse<List<Activity>>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details
Response Details Status Code Description Response Headers 200 ActivityFeedsList * X-Total-Count - The total number of access tokens
404 APINotFound is a not found error response -
-
repoListActivityFeedsAsync
public okhttp3.Call repoListActivityFeedsAsync(@Nonnull String owner, @Nonnull String repo, @Nullable LocalDate date, @Nullable Integer page, @Nullable Integer limit, ApiCallback<List<Activity>> _callback) throws ApiException List a repository's activity feeds (asynchronously)- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)date- the date of the activities to be found (optional)page- page number of results to return (1-based) (optional)limit- page size of results (optional)_callback- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException- If fail to process the API call, e.g. serializing the request body object- Http Response Details
Response Details Status Code Description Response Headers 200 ActivityFeedsList * X-Total-Count - The total number of access tokens
404 APINotFound is a not found error response -
-
repoListAllGitRefsCall
public okhttp3.Call repoListAllGitRefsCall(@Nonnull String owner, @Nonnull String repo, ApiCallback _callback) throws ApiException Build call for repoListAllGitRefs- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object- Http Response Details
Response Details Status Code Description Response Headers 200 ReferenceList - 404 APINotFound is a not found error response -
-
repoListAllGitRefs
public List<Reference> repoListAllGitRefs(@Nonnull String owner, @Nonnull String repo) throws ApiException Get specified ref or filtered repository's refs- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)- Returns:
- List<Reference>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details
Response Details Status Code Description Response Headers 200 ReferenceList - 404 APINotFound is a not found error response -
-
repoListAllGitRefsWithHttpInfo
public ApiResponse<List<Reference>> repoListAllGitRefsWithHttpInfo(@Nonnull String owner, @Nonnull String repo) throws ApiException Get specified ref or filtered repository's refs- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)- Returns:
- ApiResponse<List<Reference>>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details
Response Details Status Code Description Response Headers 200 ReferenceList - 404 APINotFound is a not found error response -
-
repoListAllGitRefsAsync
public okhttp3.Call repoListAllGitRefsAsync(@Nonnull String owner, @Nonnull String repo, ApiCallback<List<Reference>> _callback) throws ApiException Get specified ref or filtered repository's refs (asynchronously)- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)_callback- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException- If fail to process the API call, e.g. serializing the request body object- Http Response Details
Response Details Status Code Description Response Headers 200 ReferenceList - 404 APINotFound is a not found error response -
-
repoListBranchProtectionCall
public okhttp3.Call repoListBranchProtectionCall(@Nonnull String owner, @Nonnull String repo, ApiCallback _callback) throws ApiException Build call for repoListBranchProtection- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object- Http Response Details
Response Details Status Code Description Response Headers 200 BranchProtectionList -
-
repoListBranchProtection
public List<BranchProtection> repoListBranchProtection(@Nonnull String owner, @Nonnull String repo) throws ApiException List branch protections for a repository- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)- Returns:
- List<BranchProtection>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details
Response Details Status Code Description Response Headers 200 BranchProtectionList -
-
repoListBranchProtectionWithHttpInfo
public ApiResponse<List<BranchProtection>> repoListBranchProtectionWithHttpInfo(@Nonnull String owner, @Nonnull String repo) throws ApiException List branch protections for a repository- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)- Returns:
- ApiResponse<List<BranchProtection>>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details
Response Details Status Code Description Response Headers 200 BranchProtectionList -
-
repoListBranchProtectionAsync
public okhttp3.Call repoListBranchProtectionAsync(@Nonnull String owner, @Nonnull String repo, ApiCallback<List<BranchProtection>> _callback) throws ApiException List branch protections for a repository (asynchronously)- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)_callback- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException- If fail to process the API call, e.g. serializing the request body object- Http Response Details
Response Details Status Code Description Response Headers 200 BranchProtectionList -
-
repoListBranchesCall
public okhttp3.Call repoListBranchesCall(@Nonnull String owner, @Nonnull String repo, @Nullable Integer page, @Nullable Integer limit, ApiCallback _callback) throws ApiException Build call for repoListBranches- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)page- page number of results to return (1-based) (optional)limit- page size of results (optional)_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object- Http Response Details
Response Details Status Code Description Response Headers 200 BranchList * X-Total-Count - The total number of access tokens
-
repoListBranches
public List<Branch> repoListBranches(@Nonnull String owner, @Nonnull String repo, @Nullable Integer page, @Nullable Integer limit) throws ApiException List a repository's branches- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)page- page number of results to return (1-based) (optional)limit- page size of results (optional)- Returns:
- List<Branch>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details
Response Details Status Code Description Response Headers 200 BranchList * X-Total-Count - The total number of access tokens
-
repoListBranchesWithHttpInfo
public ApiResponse<List<Branch>> repoListBranchesWithHttpInfo(@Nonnull String owner, @Nonnull String repo, @Nullable Integer page, @Nullable Integer limit) throws ApiException List a repository's branches- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)page- page number of results to return (1-based) (optional)limit- page size of results (optional)- Returns:
- ApiResponse<List<Branch>>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details
Response Details Status Code Description Response Headers 200 BranchList * X-Total-Count - The total number of access tokens
-
repoListBranchesAsync
public okhttp3.Call repoListBranchesAsync(@Nonnull String owner, @Nonnull String repo, @Nullable Integer page, @Nullable Integer limit, ApiCallback<List<Branch>> _callback) throws ApiException List a repository's branches (asynchronously)- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)page- page number of results to return (1-based) (optional)limit- page size of results (optional)_callback- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException- If fail to process the API call, e.g. serializing the request body object- Http Response Details
Response Details Status Code Description Response Headers 200 BranchList * X-Total-Count - The total number of access tokens
-
repoListCollaboratorsCall
public okhttp3.Call repoListCollaboratorsCall(@Nonnull String owner, @Nonnull String repo, @Nullable Integer page, @Nullable Integer limit, ApiCallback _callback) throws ApiException Build call for repoListCollaborators- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)page- page number of results to return (1-based) (optional)limit- page size of results (optional)_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object- Http Response Details
Response Details Status Code Description Response Headers 200 UserList - 404 APINotFound is a not found error response -
-
repoListCollaborators
public List<User> repoListCollaborators(@Nonnull String owner, @Nonnull String repo, @Nullable Integer page, @Nullable Integer limit) throws ApiException List a repository's collaborators- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)page- page number of results to return (1-based) (optional)limit- page size of results (optional)- Returns:
- List<User>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details
Response Details Status Code Description Response Headers 200 UserList - 404 APINotFound is a not found error response -
-
repoListCollaboratorsWithHttpInfo
public ApiResponse<List<User>> repoListCollaboratorsWithHttpInfo(@Nonnull String owner, @Nonnull String repo, @Nullable Integer page, @Nullable Integer limit) throws ApiException List a repository's collaborators- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)page- page number of results to return (1-based) (optional)limit- page size of results (optional)- Returns:
- ApiResponse<List<User>>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details
Response Details Status Code Description Response Headers 200 UserList - 404 APINotFound is a not found error response -
-
repoListCollaboratorsAsync
public okhttp3.Call repoListCollaboratorsAsync(@Nonnull String owner, @Nonnull String repo, @Nullable Integer page, @Nullable Integer limit, ApiCallback<List<User>> _callback) throws ApiException List a repository's collaborators (asynchronously)- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)page- page number of results to return (1-based) (optional)limit- page size of results (optional)_callback- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException- If fail to process the API call, e.g. serializing the request body object- Http Response Details
Response Details Status Code Description Response Headers 200 UserList - 404 APINotFound is a not found error response -
-
repoListFlagsCall
public okhttp3.Call repoListFlagsCall(@Nonnull String owner, @Nonnull String repo, ApiCallback _callback) throws ApiException Build call for repoListFlags- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object- Http Response Details
Response Details Status Code Description Response Headers 200 StringSlice - 403 APIForbiddenError is a forbidden error response - 404 APINotFound is a not found error response -
-
repoListFlags
List a repository's flags- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)- Returns:
- List<String>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details
Response Details Status Code Description Response Headers 200 StringSlice - 403 APIForbiddenError is a forbidden error response - 404 APINotFound is a not found error response -
-
repoListFlagsWithHttpInfo
public ApiResponse<List<String>> repoListFlagsWithHttpInfo(@Nonnull String owner, @Nonnull String repo) throws ApiException List a repository's flags- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)- Returns:
- ApiResponse<List<String>>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details
Response Details Status Code Description Response Headers 200 StringSlice - 403 APIForbiddenError is a forbidden error response - 404 APINotFound is a not found error response -
-
repoListFlagsAsync
public okhttp3.Call repoListFlagsAsync(@Nonnull String owner, @Nonnull String repo, ApiCallback<List<String>> _callback) throws ApiException List a repository's flags (asynchronously)- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)_callback- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException- If fail to process the API call, e.g. serializing the request body object- Http Response Details
Response Details Status Code Description Response Headers 200 StringSlice - 403 APIForbiddenError is a forbidden error response - 404 APINotFound is a not found error response -
-
repoListGitHooksCall
public okhttp3.Call repoListGitHooksCall(@Nonnull String owner, @Nonnull String repo, ApiCallback _callback) throws ApiException Build call for repoListGitHooks- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object- Http Response Details
Response Details Status Code Description Response Headers 200 GitHookList - 404 APINotFound is a not found error response -
-
repoListGitHooks
public List<GitHook> repoListGitHooks(@Nonnull String owner, @Nonnull String repo) throws ApiException List the Git hooks in a repository- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)- Returns:
- List<GitHook>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details
Response Details Status Code Description Response Headers 200 GitHookList - 404 APINotFound is a not found error response -
-
repoListGitHooksWithHttpInfo
public ApiResponse<List<GitHook>> repoListGitHooksWithHttpInfo(@Nonnull String owner, @Nonnull String repo) throws ApiException List the Git hooks in a repository- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)- Returns:
- ApiResponse<List<GitHook>>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details
Response Details Status Code Description Response Headers 200 GitHookList - 404 APINotFound is a not found error response -
-
repoListGitHooksAsync
public okhttp3.Call repoListGitHooksAsync(@Nonnull String owner, @Nonnull String repo, ApiCallback<List<GitHook>> _callback) throws ApiException List the Git hooks in a repository (asynchronously)- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)_callback- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException- If fail to process the API call, e.g. serializing the request body object- Http Response Details
Response Details Status Code Description Response Headers 200 GitHookList - 404 APINotFound is a not found error response -
-
repoListGitRefsCall
public okhttp3.Call repoListGitRefsCall(@Nonnull String owner, @Nonnull String repo, @Nonnull String ref, ApiCallback _callback) throws ApiException Build call for repoListGitRefs- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)ref- part or full name of the ref (required)_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object- Http Response Details
Response Details Status Code Description Response Headers 200 ReferenceList - 404 APINotFound is a not found error response -
-
repoListGitRefs
public List<Reference> repoListGitRefs(@Nonnull String owner, @Nonnull String repo, @Nonnull String ref) throws ApiException Get specified ref or filtered repository's refs- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)ref- part or full name of the ref (required)- Returns:
- List<Reference>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details
Response Details Status Code Description Response Headers 200 ReferenceList - 404 APINotFound is a not found error response -
-
repoListGitRefsWithHttpInfo
public ApiResponse<List<Reference>> repoListGitRefsWithHttpInfo(@Nonnull String owner, @Nonnull String repo, @Nonnull String ref) throws ApiException Get specified ref or filtered repository's refs- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)ref- part or full name of the ref (required)- Returns:
- ApiResponse<List<Reference>>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details
Response Details Status Code Description Response Headers 200 ReferenceList - 404 APINotFound is a not found error response -
-
repoListGitRefsAsync
public okhttp3.Call repoListGitRefsAsync(@Nonnull String owner, @Nonnull String repo, @Nonnull String ref, ApiCallback<List<Reference>> _callback) throws ApiException Get specified ref or filtered repository's refs (asynchronously)- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)ref- part or full name of the ref (required)_callback- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException- If fail to process the API call, e.g. serializing the request body object- Http Response Details
Response Details Status Code Description Response Headers 200 ReferenceList - 404 APINotFound is a not found error response -
-
repoListHooksCall
public okhttp3.Call repoListHooksCall(@Nonnull String owner, @Nonnull String repo, @Nullable Integer page, @Nullable Integer limit, ApiCallback _callback) throws ApiException Build call for repoListHooks- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)page- page number of results to return (1-based) (optional)limit- page size of results (optional)_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object- Http Response Details
Response Details Status Code Description Response Headers 200 HookList * X-Total-Count - The total number of access tokens
404 APINotFound is a not found error response -
-
repoListHooks
public List<Hook> repoListHooks(@Nonnull String owner, @Nonnull String repo, @Nullable Integer page, @Nullable Integer limit) throws ApiException List the hooks in a repository- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)page- page number of results to return (1-based) (optional)limit- page size of results (optional)- Returns:
- List<Hook>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details
Response Details Status Code Description Response Headers 200 HookList * X-Total-Count - The total number of access tokens
404 APINotFound is a not found error response -
-
repoListHooksWithHttpInfo
public ApiResponse<List<Hook>> repoListHooksWithHttpInfo(@Nonnull String owner, @Nonnull String repo, @Nullable Integer page, @Nullable Integer limit) throws ApiException List the hooks in a repository- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)page- page number of results to return (1-based) (optional)limit- page size of results (optional)- Returns:
- ApiResponse<List<Hook>>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details
Response Details Status Code Description Response Headers 200 HookList * X-Total-Count - The total number of access tokens
404 APINotFound is a not found error response -
-
repoListHooksAsync
public okhttp3.Call repoListHooksAsync(@Nonnull String owner, @Nonnull String repo, @Nullable Integer page, @Nullable Integer limit, ApiCallback<List<Hook>> _callback) throws ApiException List the hooks in a repository (asynchronously)- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)page- page number of results to return (1-based) (optional)limit- page size of results (optional)_callback- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException- If fail to process the API call, e.g. serializing the request body object- Http Response Details
Response Details Status Code Description Response Headers 200 HookList * X-Total-Count - The total number of access tokens
404 APINotFound is a not found error response -
-
repoListKeysCall
public okhttp3.Call repoListKeysCall(@Nonnull String owner, @Nonnull String repo, @Nullable Integer keyId, @Nullable String fingerprint, @Nullable Integer page, @Nullable Integer limit, ApiCallback _callback) throws ApiException Build call for repoListKeys- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)keyId- the key_id to search for (optional)fingerprint- fingerprint of the key (optional)page- page number of results to return (1-based) (optional)limit- page size of results (optional)_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object- Http Response Details
Response Details Status Code Description Response Headers 200 DeployKeyList * X-Total-Count - The total number of access tokens
404 APINotFound is a not found error response -
-
repoListKeys
public List<DeployKey> repoListKeys(@Nonnull String owner, @Nonnull String repo, @Nullable Integer keyId, @Nullable String fingerprint, @Nullable Integer page, @Nullable Integer limit) throws ApiException List a repository's keys- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)keyId- the key_id to search for (optional)fingerprint- fingerprint of the key (optional)page- page number of results to return (1-based) (optional)limit- page size of results (optional)- Returns:
- List<DeployKey>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details
Response Details Status Code Description Response Headers 200 DeployKeyList * X-Total-Count - The total number of access tokens
404 APINotFound is a not found error response -
-
repoListKeysWithHttpInfo
public ApiResponse<List<DeployKey>> repoListKeysWithHttpInfo(@Nonnull String owner, @Nonnull String repo, @Nullable Integer keyId, @Nullable String fingerprint, @Nullable Integer page, @Nullable Integer limit) throws ApiException List a repository's keys- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)keyId- the key_id to search for (optional)fingerprint- fingerprint of the key (optional)page- page number of results to return (1-based) (optional)limit- page size of results (optional)- Returns:
- ApiResponse<List<DeployKey>>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details
Response Details Status Code Description Response Headers 200 DeployKeyList * X-Total-Count - The total number of access tokens
404 APINotFound is a not found error response -
-
repoListKeysAsync
public okhttp3.Call repoListKeysAsync(@Nonnull String owner, @Nonnull String repo, @Nullable Integer keyId, @Nullable String fingerprint, @Nullable Integer page, @Nullable Integer limit, ApiCallback<List<DeployKey>> _callback) throws ApiException List a repository's keys (asynchronously)- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)keyId- the key_id to search for (optional)fingerprint- fingerprint of the key (optional)page- page number of results to return (1-based) (optional)limit- page size of results (optional)_callback- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException- If fail to process the API call, e.g. serializing the request body object- Http Response Details
Response Details Status Code Description Response Headers 200 DeployKeyList * X-Total-Count - The total number of access tokens
404 APINotFound is a not found error response -
-
repoListPinnedIssuesCall
public okhttp3.Call repoListPinnedIssuesCall(@Nonnull String owner, @Nonnull String repo, ApiCallback _callback) throws ApiException Build call for repoListPinnedIssues- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object- Http Response Details
Response Details Status Code Description Response Headers 200 IssueListWithoutPagination - Issues without pagination headers (used for pinned issues, dependencies, etc.) - 404 APINotFound is a not found error response -
-
repoListPinnedIssues
public List<Issue> repoListPinnedIssues(@Nonnull String owner, @Nonnull String repo) throws ApiException List a repo's pinned issues- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)- Returns:
- List<Issue>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details
Response Details Status Code Description Response Headers 200 IssueListWithoutPagination - Issues without pagination headers (used for pinned issues, dependencies, etc.) - 404 APINotFound is a not found error response -
-
repoListPinnedIssuesWithHttpInfo
public ApiResponse<List<Issue>> repoListPinnedIssuesWithHttpInfo(@Nonnull String owner, @Nonnull String repo) throws ApiException List a repo's pinned issues- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)- Returns:
- ApiResponse<List<Issue>>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details
Response Details Status Code Description Response Headers 200 IssueListWithoutPagination - Issues without pagination headers (used for pinned issues, dependencies, etc.) - 404 APINotFound is a not found error response -
-
repoListPinnedIssuesAsync
public okhttp3.Call repoListPinnedIssuesAsync(@Nonnull String owner, @Nonnull String repo, ApiCallback<List<Issue>> _callback) throws ApiException List a repo's pinned issues (asynchronously)- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)_callback- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException- If fail to process the API call, e.g. serializing the request body object- Http Response Details
Response Details Status Code Description Response Headers 200 IssueListWithoutPagination - Issues without pagination headers (used for pinned issues, dependencies, etc.) - 404 APINotFound is a not found error response -
-
repoListPinnedPullRequestsCall
public okhttp3.Call repoListPinnedPullRequestsCall(@Nonnull String owner, @Nonnull String repo, ApiCallback _callback) throws ApiException Build call for repoListPinnedPullRequests- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object- Http Response Details
Response Details Status Code Description Response Headers 200 PullRequestList - 404 APINotFound is a not found error response -
-
repoListPinnedPullRequests
public List<PullRequest> repoListPinnedPullRequests(@Nonnull String owner, @Nonnull String repo) throws ApiException List a repo's pinned pull requests- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)- Returns:
- List<PullRequest>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details
Response Details Status Code Description Response Headers 200 PullRequestList - 404 APINotFound is a not found error response -
-
repoListPinnedPullRequestsWithHttpInfo
public ApiResponse<List<PullRequest>> repoListPinnedPullRequestsWithHttpInfo(@Nonnull String owner, @Nonnull String repo) throws ApiException List a repo's pinned pull requests- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)- Returns:
- ApiResponse<List<PullRequest>>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details
Response Details Status Code Description Response Headers 200 PullRequestList - 404 APINotFound is a not found error response -
-
repoListPinnedPullRequestsAsync
public okhttp3.Call repoListPinnedPullRequestsAsync(@Nonnull String owner, @Nonnull String repo, ApiCallback<List<PullRequest>> _callback) throws ApiException List a repo's pinned pull requests (asynchronously)- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)_callback- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException- If fail to process the API call, e.g. serializing the request body object- Http Response Details
Response Details Status Code Description Response Headers 200 PullRequestList - 404 APINotFound is a not found error response -
-
repoListPullRequestsCall
public okhttp3.Call repoListPullRequestsCall(@Nonnull String owner, @Nonnull String repo, @Nullable String state, @Nullable String sort, @Nullable Long milestone, @Nullable List<Long> labels, @Nullable String poster, @Nullable Integer page, @Nullable Integer limit, ApiCallback _callback) throws ApiException Build call for repoListPullRequests- Parameters:
owner- Owner of the repo (required)repo- Name of the repo (required)state- State of pull request (optional, default to open)sort- Type of sort (optional)milestone- ID of the milestone (optional)labels- Label IDs (optional)poster- Filter by pull request author (optional)page- Page number of results to return (1-based) (optional, default to 1)limit- Page size of results (optional)_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object- Http Response Details
Response Details Status Code Description Response Headers 200 PullRequestList - 400 APIError is error format response - 404 APINotFound is a not found error response - 500 APIError is error format response -
-
repoListPullRequests
public List<PullRequest> repoListPullRequests(@Nonnull String owner, @Nonnull String repo, @Nullable String state, @Nullable String sort, @Nullable Long milestone, @Nullable List<Long> labels, @Nullable String poster, @Nullable Integer page, @Nullable Integer limit) throws ApiException List a repo's pull requests. If a pull request is selected but fails to be retrieved for any reason, it will be a null value in the list of results.- Parameters:
owner- Owner of the repo (required)repo- Name of the repo (required)state- State of pull request (optional, default to open)sort- Type of sort (optional)milestone- ID of the milestone (optional)labels- Label IDs (optional)poster- Filter by pull request author (optional)page- Page number of results to return (1-based) (optional, default to 1)limit- Page size of results (optional)- Returns:
- List<PullRequest>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details
Response Details Status Code Description Response Headers 200 PullRequestList - 400 APIError is error format response - 404 APINotFound is a not found error response - 500 APIError is error format response -
-
repoListPullRequestsWithHttpInfo
public ApiResponse<List<PullRequest>> repoListPullRequestsWithHttpInfo(@Nonnull String owner, @Nonnull String repo, @Nullable String state, @Nullable String sort, @Nullable Long milestone, @Nullable List<Long> labels, @Nullable String poster, @Nullable Integer page, @Nullable Integer limit) throws ApiException List a repo's pull requests. If a pull request is selected but fails to be retrieved for any reason, it will be a null value in the list of results.- Parameters:
owner- Owner of the repo (required)repo- Name of the repo (required)state- State of pull request (optional, default to open)sort- Type of sort (optional)milestone- ID of the milestone (optional)labels- Label IDs (optional)poster- Filter by pull request author (optional)page- Page number of results to return (1-based) (optional, default to 1)limit- Page size of results (optional)- Returns:
- ApiResponse<List<PullRequest>>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details
Response Details Status Code Description Response Headers 200 PullRequestList - 400 APIError is error format response - 404 APINotFound is a not found error response - 500 APIError is error format response -
-
repoListPullRequestsAsync
public okhttp3.Call repoListPullRequestsAsync(@Nonnull String owner, @Nonnull String repo, @Nullable String state, @Nullable String sort, @Nullable Long milestone, @Nullable List<Long> labels, @Nullable String poster, @Nullable Integer page, @Nullable Integer limit, ApiCallback<List<PullRequest>> _callback) throws ApiException List a repo's pull requests. If a pull request is selected but fails to be retrieved for any reason, it will be a null value in the list of results. (asynchronously)- Parameters:
owner- Owner of the repo (required)repo- Name of the repo (required)state- State of pull request (optional, default to open)sort- Type of sort (optional)milestone- ID of the milestone (optional)labels- Label IDs (optional)poster- Filter by pull request author (optional)page- Page number of results to return (1-based) (optional, default to 1)limit- Page size of results (optional)_callback- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException- If fail to process the API call, e.g. serializing the request body object- Http Response Details
Response Details Status Code Description Response Headers 200 PullRequestList - 400 APIError is error format response - 404 APINotFound is a not found error response - 500 APIError is error format response -
-
repoListPullReviewsCall
public okhttp3.Call repoListPullReviewsCall(@Nonnull String owner, @Nonnull String repo, @Nonnull Long index, @Nullable Integer page, @Nullable Integer limit, ApiCallback _callback) throws ApiException Build call for repoListPullReviews- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)index- index of the pull request (required)page- page number of results to return (1-based) (optional)limit- page size of results (optional)_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object- Http Response Details
Response Details Status Code Description Response Headers 200 PullReviewList * X-Total-Count - The total number of access tokens
404 APINotFound is a not found error response -
-
repoListPullReviews
public List<PullReview> repoListPullReviews(@Nonnull String owner, @Nonnull String repo, @Nonnull Long index, @Nullable Integer page, @Nullable Integer limit) throws ApiException List all reviews for a pull request- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)index- index of the pull request (required)page- page number of results to return (1-based) (optional)limit- page size of results (optional)- Returns:
- List<PullReview>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details
Response Details Status Code Description Response Headers 200 PullReviewList * X-Total-Count - The total number of access tokens
404 APINotFound is a not found error response -
-
repoListPullReviewsWithHttpInfo
public ApiResponse<List<PullReview>> repoListPullReviewsWithHttpInfo(@Nonnull String owner, @Nonnull String repo, @Nonnull Long index, @Nullable Integer page, @Nullable Integer limit) throws ApiException List all reviews for a pull request- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)index- index of the pull request (required)page- page number of results to return (1-based) (optional)limit- page size of results (optional)- Returns:
- ApiResponse<List<PullReview>>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details
Response Details Status Code Description Response Headers 200 PullReviewList * X-Total-Count - The total number of access tokens
404 APINotFound is a not found error response -
-
repoListPullReviewsAsync
public okhttp3.Call repoListPullReviewsAsync(@Nonnull String owner, @Nonnull String repo, @Nonnull Long index, @Nullable Integer page, @Nullable Integer limit, ApiCallback<List<PullReview>> _callback) throws ApiException List all reviews for a pull request (asynchronously)- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)index- index of the pull request (required)page- page number of results to return (1-based) (optional)limit- page size of results (optional)_callback- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException- If fail to process the API call, e.g. serializing the request body object- Http Response Details
Response Details Status Code Description Response Headers 200 PullReviewList * X-Total-Count - The total number of access tokens
404 APINotFound is a not found error response -
-
repoListPushMirrorsCall
public okhttp3.Call repoListPushMirrorsCall(@Nonnull String owner, @Nonnull String repo, @Nullable Integer page, @Nullable Integer limit, ApiCallback _callback) throws ApiException Build call for repoListPushMirrors- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)page- page number of results to return (1-based) (optional)limit- page size of results (optional)_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object- Http Response Details
Response Details Status Code Description Response Headers 200 PushMirrorList * X-Total-Count - The total number of access tokens
400 APIError is error format response - 403 APIForbiddenError is a forbidden error response - 404 APINotFound is a not found error response -
-
repoListPushMirrors
public List<PushMirror> repoListPushMirrors(@Nonnull String owner, @Nonnull String repo, @Nullable Integer page, @Nullable Integer limit) throws ApiException Get all push mirrors of the repository- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)page- page number of results to return (1-based) (optional)limit- page size of results (optional)- Returns:
- List<PushMirror>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details
Response Details Status Code Description Response Headers 200 PushMirrorList * X-Total-Count - The total number of access tokens
400 APIError is error format response - 403 APIForbiddenError is a forbidden error response - 404 APINotFound is a not found error response -
-
repoListPushMirrorsWithHttpInfo
public ApiResponse<List<PushMirror>> repoListPushMirrorsWithHttpInfo(@Nonnull String owner, @Nonnull String repo, @Nullable Integer page, @Nullable Integer limit) throws ApiException Get all push mirrors of the repository- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)page- page number of results to return (1-based) (optional)limit- page size of results (optional)- Returns:
- ApiResponse<List<PushMirror>>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details
Response Details Status Code Description Response Headers 200 PushMirrorList * X-Total-Count - The total number of access tokens
400 APIError is error format response - 403 APIForbiddenError is a forbidden error response - 404 APINotFound is a not found error response -
-
repoListPushMirrorsAsync
public okhttp3.Call repoListPushMirrorsAsync(@Nonnull String owner, @Nonnull String repo, @Nullable Integer page, @Nullable Integer limit, ApiCallback<List<PushMirror>> _callback) throws ApiException Get all push mirrors of the repository (asynchronously)- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)page- page number of results to return (1-based) (optional)limit- page size of results (optional)_callback- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException- If fail to process the API call, e.g. serializing the request body object- Http Response Details
Response Details Status Code Description Response Headers 200 PushMirrorList * X-Total-Count - The total number of access tokens
400 APIError is error format response - 403 APIForbiddenError is a forbidden error response - 404 APINotFound is a not found error response -
-
repoListReleaseAttachmentsCall
public okhttp3.Call repoListReleaseAttachmentsCall(@Nonnull String owner, @Nonnull String repo, @Nonnull Long id, ApiCallback _callback) throws ApiException Build call for repoListReleaseAttachments- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)id- id of the release (required)_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object- Http Response Details
Response Details Status Code Description Response Headers 200 AttachmentList - 404 APINotFound is a not found error response -
-
repoListReleaseAttachments
public List<Attachment> repoListReleaseAttachments(@Nonnull String owner, @Nonnull String repo, @Nonnull Long id) throws ApiException List release's attachments- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)id- id of the release (required)- Returns:
- List<Attachment>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details
Response Details Status Code Description Response Headers 200 AttachmentList - 404 APINotFound is a not found error response -
-
repoListReleaseAttachmentsWithHttpInfo
public ApiResponse<List<Attachment>> repoListReleaseAttachmentsWithHttpInfo(@Nonnull String owner, @Nonnull String repo, @Nonnull Long id) throws ApiException List release's attachments- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)id- id of the release (required)- Returns:
- ApiResponse<List<Attachment>>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details
Response Details Status Code Description Response Headers 200 AttachmentList - 404 APINotFound is a not found error response -
-
repoListReleaseAttachmentsAsync
public okhttp3.Call repoListReleaseAttachmentsAsync(@Nonnull String owner, @Nonnull String repo, @Nonnull Long id, ApiCallback<List<Attachment>> _callback) throws ApiException List release's attachments (asynchronously)- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)id- id of the release (required)_callback- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException- If fail to process the API call, e.g. serializing the request body object- Http Response Details
Response Details Status Code Description Response Headers 200 AttachmentList - 404 APINotFound is a not found error response -
-
repoListReleasesCall
public okhttp3.Call repoListReleasesCall(@Nonnull String owner, @Nonnull String repo, @Nullable Boolean draft, @Nullable Boolean preRelease, @Nullable String q, @Nullable Integer page, @Nullable Integer limit, ApiCallback _callback) throws ApiException Build call for repoListReleases- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)draft- filter (exclude / include) drafts, if you dont have repo write access none will show (optional)preRelease- filter (exclude / include) pre-releases (optional)q- Search string (optional)page- page number of results to return (1-based) (optional)limit- page size of results (optional)_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object- Http Response Details
Response Details Status Code Description Response Headers 200 ReleaseList * X-Total-Count - The total number of access tokens
404 APINotFound is a not found error response -
-
repoListReleases
public List<Release> repoListReleases(@Nonnull String owner, @Nonnull String repo, @Nullable Boolean draft, @Nullable Boolean preRelease, @Nullable String q, @Nullable Integer page, @Nullable Integer limit) throws ApiException List a repo's releases- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)draft- filter (exclude / include) drafts, if you dont have repo write access none will show (optional)preRelease- filter (exclude / include) pre-releases (optional)q- Search string (optional)page- page number of results to return (1-based) (optional)limit- page size of results (optional)- Returns:
- List<Release>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details
Response Details Status Code Description Response Headers 200 ReleaseList * X-Total-Count - The total number of access tokens
404 APINotFound is a not found error response -
-
repoListReleasesWithHttpInfo
public ApiResponse<List<Release>> repoListReleasesWithHttpInfo(@Nonnull String owner, @Nonnull String repo, @Nullable Boolean draft, @Nullable Boolean preRelease, @Nullable String q, @Nullable Integer page, @Nullable Integer limit) throws ApiException List a repo's releases- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)draft- filter (exclude / include) drafts, if you dont have repo write access none will show (optional)preRelease- filter (exclude / include) pre-releases (optional)q- Search string (optional)page- page number of results to return (1-based) (optional)limit- page size of results (optional)- Returns:
- ApiResponse<List<Release>>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details
Response Details Status Code Description Response Headers 200 ReleaseList * X-Total-Count - The total number of access tokens
404 APINotFound is a not found error response -
-
repoListReleasesAsync
public okhttp3.Call repoListReleasesAsync(@Nonnull String owner, @Nonnull String repo, @Nullable Boolean draft, @Nullable Boolean preRelease, @Nullable String q, @Nullable Integer page, @Nullable Integer limit, ApiCallback<List<Release>> _callback) throws ApiException List a repo's releases (asynchronously)- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)draft- filter (exclude / include) drafts, if you dont have repo write access none will show (optional)preRelease- filter (exclude / include) pre-releases (optional)q- Search string (optional)page- page number of results to return (1-based) (optional)limit- page size of results (optional)_callback- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException- If fail to process the API call, e.g. serializing the request body object- Http Response Details
Response Details Status Code Description Response Headers 200 ReleaseList * X-Total-Count - The total number of access tokens
404 APINotFound is a not found error response -
-
repoListStargazersCall
public okhttp3.Call repoListStargazersCall(@Nonnull String owner, @Nonnull String repo, @Nullable Integer page, @Nullable Integer limit, ApiCallback _callback) throws ApiException Build call for repoListStargazers- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)page- page number of results to return (1-based) (optional)limit- page size of results (optional)_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object- Http Response Details
Response Details Status Code Description Response Headers 200 UserList - 404 APINotFound is a not found error response -
-
repoListStargazers
public List<User> repoListStargazers(@Nonnull String owner, @Nonnull String repo, @Nullable Integer page, @Nullable Integer limit) throws ApiException List a repo's stargazers- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)page- page number of results to return (1-based) (optional)limit- page size of results (optional)- Returns:
- List<User>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details
Response Details Status Code Description Response Headers 200 UserList - 404 APINotFound is a not found error response -
-
repoListStargazersWithHttpInfo
public ApiResponse<List<User>> repoListStargazersWithHttpInfo(@Nonnull String owner, @Nonnull String repo, @Nullable Integer page, @Nullable Integer limit) throws ApiException List a repo's stargazers- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)page- page number of results to return (1-based) (optional)limit- page size of results (optional)- Returns:
- ApiResponse<List<User>>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details
Response Details Status Code Description Response Headers 200 UserList - 404 APINotFound is a not found error response -
-
repoListStargazersAsync
public okhttp3.Call repoListStargazersAsync(@Nonnull String owner, @Nonnull String repo, @Nullable Integer page, @Nullable Integer limit, ApiCallback<List<User>> _callback) throws ApiException List a repo's stargazers (asynchronously)- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)page- page number of results to return (1-based) (optional)limit- page size of results (optional)_callback- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException- If fail to process the API call, e.g. serializing the request body object- Http Response Details
Response Details Status Code Description Response Headers 200 UserList - 404 APINotFound is a not found error response -
-
repoListStatusesCall
public okhttp3.Call repoListStatusesCall(@Nonnull String owner, @Nonnull String repo, @Nonnull String sha, @Nullable String sort, @Nullable String state, @Nullable Integer page, @Nullable Integer limit, ApiCallback _callback) throws ApiException Build call for repoListStatuses- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)sha- sha of the commit (required)sort- type of sort (optional)state- type of state (optional)page- page number of results to return (1-based) (optional)limit- page size of results (optional)_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object- Http Response Details
Response Details Status Code Description Response Headers 200 CommitStatusList * X-Total-Count - The total number of access tokens
400 APIError is error format response - 404 APINotFound is a not found error response -
-
repoListStatuses
public List<CommitStatus> repoListStatuses(@Nonnull String owner, @Nonnull String repo, @Nonnull String sha, @Nullable String sort, @Nullable String state, @Nullable Integer page, @Nullable Integer limit) throws ApiException Get a commit's statuses- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)sha- sha of the commit (required)sort- type of sort (optional)state- type of state (optional)page- page number of results to return (1-based) (optional)limit- page size of results (optional)- Returns:
- List<CommitStatus>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details
Response Details Status Code Description Response Headers 200 CommitStatusList * X-Total-Count - The total number of access tokens
400 APIError is error format response - 404 APINotFound is a not found error response -
-
repoListStatusesWithHttpInfo
public ApiResponse<List<CommitStatus>> repoListStatusesWithHttpInfo(@Nonnull String owner, @Nonnull String repo, @Nonnull String sha, @Nullable String sort, @Nullable String state, @Nullable Integer page, @Nullable Integer limit) throws ApiException Get a commit's statuses- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)sha- sha of the commit (required)sort- type of sort (optional)state- type of state (optional)page- page number of results to return (1-based) (optional)limit- page size of results (optional)- Returns:
- ApiResponse<List<CommitStatus>>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details
Response Details Status Code Description Response Headers 200 CommitStatusList * X-Total-Count - The total number of access tokens
400 APIError is error format response - 404 APINotFound is a not found error response -
-
repoListStatusesAsync
public okhttp3.Call repoListStatusesAsync(@Nonnull String owner, @Nonnull String repo, @Nonnull String sha, @Nullable String sort, @Nullable String state, @Nullable Integer page, @Nullable Integer limit, ApiCallback<List<CommitStatus>> _callback) throws ApiException Get a commit's statuses (asynchronously)- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)sha- sha of the commit (required)sort- type of sort (optional)state- type of state (optional)page- page number of results to return (1-based) (optional)limit- page size of results (optional)_callback- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException- If fail to process the API call, e.g. serializing the request body object- Http Response Details
Response Details Status Code Description Response Headers 200 CommitStatusList * X-Total-Count - The total number of access tokens
400 APIError is error format response - 404 APINotFound is a not found error response -
-
repoListStatusesByRefCall
public okhttp3.Call repoListStatusesByRefCall(@Nonnull String owner, @Nonnull String repo, @Nonnull String ref, @Nullable String sort, @Nullable String state, @Nullable Integer page, @Nullable Integer limit, ApiCallback _callback) throws ApiException Build call for repoListStatusesByRef- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)ref- name of branch/tag/commit (required)sort- type of sort (optional)state- type of state (optional)page- page number of results to return (1-based) (optional)limit- page size of results (optional)_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object- Http Response Details
Response Details Status Code Description Response Headers 200 CommitStatusList * X-Total-Count - The total number of access tokens
400 APIError is error format response - 404 APINotFound is a not found error response -
-
repoListStatusesByRef
public List<CommitStatus> repoListStatusesByRef(@Nonnull String owner, @Nonnull String repo, @Nonnull String ref, @Nullable String sort, @Nullable String state, @Nullable Integer page, @Nullable Integer limit) throws ApiException Get a commit's statuses, by branch/tag/commit reference- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)ref- name of branch/tag/commit (required)sort- type of sort (optional)state- type of state (optional)page- page number of results to return (1-based) (optional)limit- page size of results (optional)- Returns:
- List<CommitStatus>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details
Response Details Status Code Description Response Headers 200 CommitStatusList * X-Total-Count - The total number of access tokens
400 APIError is error format response - 404 APINotFound is a not found error response -
-
repoListStatusesByRefWithHttpInfo
public ApiResponse<List<CommitStatus>> repoListStatusesByRefWithHttpInfo(@Nonnull String owner, @Nonnull String repo, @Nonnull String ref, @Nullable String sort, @Nullable String state, @Nullable Integer page, @Nullable Integer limit) throws ApiException Get a commit's statuses, by branch/tag/commit reference- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)ref- name of branch/tag/commit (required)sort- type of sort (optional)state- type of state (optional)page- page number of results to return (1-based) (optional)limit- page size of results (optional)- Returns:
- ApiResponse<List<CommitStatus>>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details
Response Details Status Code Description Response Headers 200 CommitStatusList * X-Total-Count - The total number of access tokens
400 APIError is error format response - 404 APINotFound is a not found error response -
-
repoListStatusesByRefAsync
public okhttp3.Call repoListStatusesByRefAsync(@Nonnull String owner, @Nonnull String repo, @Nonnull String ref, @Nullable String sort, @Nullable String state, @Nullable Integer page, @Nullable Integer limit, ApiCallback<List<CommitStatus>> _callback) throws ApiException Get a commit's statuses, by branch/tag/commit reference (asynchronously)- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)ref- name of branch/tag/commit (required)sort- type of sort (optional)state- type of state (optional)page- page number of results to return (1-based) (optional)limit- page size of results (optional)_callback- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException- If fail to process the API call, e.g. serializing the request body object- Http Response Details
Response Details Status Code Description Response Headers 200 CommitStatusList * X-Total-Count - The total number of access tokens
400 APIError is error format response - 404 APINotFound is a not found error response -
-
repoListSubscribersCall
public okhttp3.Call repoListSubscribersCall(@Nonnull String owner, @Nonnull String repo, @Nullable Integer page, @Nullable Integer limit, ApiCallback _callback) throws ApiException Build call for repoListSubscribers- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)page- page number of results to return (1-based) (optional)limit- page size of results (optional)_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object- Http Response Details
Response Details Status Code Description Response Headers 200 UserList - 404 APINotFound is a not found error response -
-
repoListSubscribers
public List<User> repoListSubscribers(@Nonnull String owner, @Nonnull String repo, @Nullable Integer page, @Nullable Integer limit) throws ApiException List a repo's watchers- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)page- page number of results to return (1-based) (optional)limit- page size of results (optional)- Returns:
- List<User>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details
Response Details Status Code Description Response Headers 200 UserList - 404 APINotFound is a not found error response -
-
repoListSubscribersWithHttpInfo
public ApiResponse<List<User>> repoListSubscribersWithHttpInfo(@Nonnull String owner, @Nonnull String repo, @Nullable Integer page, @Nullable Integer limit) throws ApiException List a repo's watchers- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)page- page number of results to return (1-based) (optional)limit- page size of results (optional)- Returns:
- ApiResponse<List<User>>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details
Response Details Status Code Description Response Headers 200 UserList - 404 APINotFound is a not found error response -
-
repoListSubscribersAsync
public okhttp3.Call repoListSubscribersAsync(@Nonnull String owner, @Nonnull String repo, @Nullable Integer page, @Nullable Integer limit, ApiCallback<List<User>> _callback) throws ApiException List a repo's watchers (asynchronously)- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)page- page number of results to return (1-based) (optional)limit- page size of results (optional)_callback- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException- If fail to process the API call, e.g. serializing the request body object- Http Response Details
Response Details Status Code Description Response Headers 200 UserList - 404 APINotFound is a not found error response -
-
repoListTagProtectionCall
public okhttp3.Call repoListTagProtectionCall(@Nonnull String owner, @Nonnull String repo, ApiCallback _callback) throws ApiException Build call for repoListTagProtection- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object- Http Response Details
Response Details Status Code Description Response Headers 200 TagProtectionList -
-
repoListTagProtection
public List<TagProtection> repoListTagProtection(@Nonnull String owner, @Nonnull String repo) throws ApiException List tag protections for a repository- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)- Returns:
- List<TagProtection>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details
Response Details Status Code Description Response Headers 200 TagProtectionList -
-
repoListTagProtectionWithHttpInfo
public ApiResponse<List<TagProtection>> repoListTagProtectionWithHttpInfo(@Nonnull String owner, @Nonnull String repo) throws ApiException List tag protections for a repository- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)- Returns:
- ApiResponse<List<TagProtection>>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details
Response Details Status Code Description Response Headers 200 TagProtectionList -
-
repoListTagProtectionAsync
public okhttp3.Call repoListTagProtectionAsync(@Nonnull String owner, @Nonnull String repo, ApiCallback<List<TagProtection>> _callback) throws ApiException List tag protections for a repository (asynchronously)- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)_callback- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException- If fail to process the API call, e.g. serializing the request body object- Http Response Details
Response Details Status Code Description Response Headers 200 TagProtectionList -
-
repoListTagsCall
public okhttp3.Call repoListTagsCall(@Nonnull String owner, @Nonnull String repo, @Nullable Integer page, @Nullable Integer limit, ApiCallback _callback) throws ApiException Build call for repoListTags- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)page- page number of results to return (1-based) (optional)limit- page size of results, default maximum page size is 50 (optional)_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object- Http Response Details
Response Details Status Code Description Response Headers 200 TagList * X-Total-Count - The total number of access tokens
404 APINotFound is a not found error response -
-
repoListTags
public List<Tag> repoListTags(@Nonnull String owner, @Nonnull String repo, @Nullable Integer page, @Nullable Integer limit) throws ApiException List a repository's tags- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)page- page number of results to return (1-based) (optional)limit- page size of results, default maximum page size is 50 (optional)- Returns:
- List<Tag>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details
Response Details Status Code Description Response Headers 200 TagList * X-Total-Count - The total number of access tokens
404 APINotFound is a not found error response -
-
repoListTagsWithHttpInfo
public ApiResponse<List<Tag>> repoListTagsWithHttpInfo(@Nonnull String owner, @Nonnull String repo, @Nullable Integer page, @Nullable Integer limit) throws ApiException List a repository's tags- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)page- page number of results to return (1-based) (optional)limit- page size of results, default maximum page size is 50 (optional)- Returns:
- ApiResponse<List<Tag>>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details
Response Details Status Code Description Response Headers 200 TagList * X-Total-Count - The total number of access tokens
404 APINotFound is a not found error response -
-
repoListTagsAsync
public okhttp3.Call repoListTagsAsync(@Nonnull String owner, @Nonnull String repo, @Nullable Integer page, @Nullable Integer limit, ApiCallback<List<Tag>> _callback) throws ApiException List a repository's tags (asynchronously)- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)page- page number of results to return (1-based) (optional)limit- page size of results, default maximum page size is 50 (optional)_callback- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException- If fail to process the API call, e.g. serializing the request body object- Http Response Details
Response Details Status Code Description Response Headers 200 TagList * X-Total-Count - The total number of access tokens
404 APINotFound is a not found error response -
-
repoListTeamsCall
public okhttp3.Call repoListTeamsCall(@Nonnull String owner, @Nonnull String repo, ApiCallback _callback) throws ApiException Build call for repoListTeams- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object- Http Response Details
Response Details Status Code Description Response Headers 200 TeamListWithoutPagination - Teams without pagination headers - 404 APINotFound is a not found error response - 405 APIError is error format response -
-
repoListTeams
List a repository's teams- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)- Returns:
- List<Team>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details
Response Details Status Code Description Response Headers 200 TeamListWithoutPagination - Teams without pagination headers - 404 APINotFound is a not found error response - 405 APIError is error format response -
-
repoListTeamsWithHttpInfo
public ApiResponse<List<Team>> repoListTeamsWithHttpInfo(@Nonnull String owner, @Nonnull String repo) throws ApiException List a repository's teams- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)- Returns:
- ApiResponse<List<Team>>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details
Response Details Status Code Description Response Headers 200 TeamListWithoutPagination - Teams without pagination headers - 404 APINotFound is a not found error response - 405 APIError is error format response -
-
repoListTeamsAsync
public okhttp3.Call repoListTeamsAsync(@Nonnull String owner, @Nonnull String repo, ApiCallback<List<Team>> _callback) throws ApiException List a repository's teams (asynchronously)- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)_callback- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException- If fail to process the API call, e.g. serializing the request body object- Http Response Details
Response Details Status Code Description Response Headers 200 TeamListWithoutPagination - Teams without pagination headers - 404 APINotFound is a not found error response - 405 APIError is error format response -
-
repoListTopicsCall
public okhttp3.Call repoListTopicsCall(@Nonnull String owner, @Nonnull String repo, @Nullable Integer page, @Nullable Integer limit, ApiCallback _callback) throws ApiException Build call for repoListTopics- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)page- page number of results to return (1-based) (optional)limit- page size of results (optional)_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object- Http Response Details
Response Details Status Code Description Response Headers 200 TopicNames - 404 APINotFound is a not found error response -
-
repoListTopics
public TopicName repoListTopics(@Nonnull String owner, @Nonnull String repo, @Nullable Integer page, @Nullable Integer limit) throws ApiException Get list of topics that a repository has- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)page- page number of results to return (1-based) (optional)limit- page size of results (optional)- Returns:
- TopicName
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details
Response Details Status Code Description Response Headers 200 TopicNames - 404 APINotFound is a not found error response -
-
repoListTopicsWithHttpInfo
public ApiResponse<TopicName> repoListTopicsWithHttpInfo(@Nonnull String owner, @Nonnull String repo, @Nullable Integer page, @Nullable Integer limit) throws ApiException Get list of topics that a repository has- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)page- page number of results to return (1-based) (optional)limit- page size of results (optional)- Returns:
- ApiResponse<TopicName>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details
Response Details Status Code Description Response Headers 200 TopicNames - 404 APINotFound is a not found error response -
-
repoListTopicsAsync
public okhttp3.Call repoListTopicsAsync(@Nonnull String owner, @Nonnull String repo, @Nullable Integer page, @Nullable Integer limit, ApiCallback<TopicName> _callback) throws ApiException Get list of topics that a repository has (asynchronously)- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)page- page number of results to return (1-based) (optional)limit- page size of results (optional)_callback- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException- If fail to process the API call, e.g. serializing the request body object- Http Response Details
Response Details Status Code Description Response Headers 200 TopicNames - 404 APINotFound is a not found error response -
-
repoMergePullRequestCall
public okhttp3.Call repoMergePullRequestCall(@Nonnull String owner, @Nonnull String repo, @Nonnull Long index, @Nullable MergePullRequestOption body, ApiCallback _callback) throws ApiException Build call for repoMergePullRequest- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)index- index of the pull request to merge (required)body- (optional)_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object- Http Response Details
Response Details Status Code Description Response Headers 200 APIEmpty is an empty response - 404 APINotFound is a not found error response - 405 APIEmpty is an empty response - 409 APIError is error format response - 413 QuotaExceeded * user_id -
* message -
* username -
423 APIRepoArchivedError is an error that is raised when an archived repo should be modified -
-
repoMergePullRequest
public void repoMergePullRequest(@Nonnull String owner, @Nonnull String repo, @Nonnull Long index, @Nullable MergePullRequestOption body) throws ApiException Merge a pull request- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)index- index of the pull request to merge (required)body- (optional)- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details
Response Details Status Code Description Response Headers 200 APIEmpty is an empty response - 404 APINotFound is a not found error response - 405 APIEmpty is an empty response - 409 APIError is error format response - 413 QuotaExceeded * user_id -
* message -
* username -
423 APIRepoArchivedError is an error that is raised when an archived repo should be modified -
-
repoMergePullRequestWithHttpInfo
public ApiResponse<Void> repoMergePullRequestWithHttpInfo(@Nonnull String owner, @Nonnull String repo, @Nonnull Long index, @Nullable MergePullRequestOption body) throws ApiException Merge a pull request- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)index- index of the pull request to merge (required)body- (optional)- Returns:
- ApiResponse<Void>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details
Response Details Status Code Description Response Headers 200 APIEmpty is an empty response - 404 APINotFound is a not found error response - 405 APIEmpty is an empty response - 409 APIError is error format response - 413 QuotaExceeded * user_id -
* message -
* username -
423 APIRepoArchivedError is an error that is raised when an archived repo should be modified -
-
repoMergePullRequestAsync
public okhttp3.Call repoMergePullRequestAsync(@Nonnull String owner, @Nonnull String repo, @Nonnull Long index, @Nullable MergePullRequestOption body, ApiCallback<Void> _callback) throws ApiException Merge a pull request (asynchronously)- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)index- index of the pull request to merge (required)body- (optional)_callback- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException- If fail to process the API call, e.g. serializing the request body object- Http Response Details
Response Details Status Code Description Response Headers 200 APIEmpty is an empty response - 404 APINotFound is a not found error response - 405 APIEmpty is an empty response - 409 APIError is error format response - 413 QuotaExceeded * user_id -
* message -
* username -
423 APIRepoArchivedError is an error that is raised when an archived repo should be modified -
-
repoMigrateCall
public okhttp3.Call repoMigrateCall(@Nullable MigrateRepoOptions body, ApiCallback _callback) throws ApiException Build call for repoMigrate- Parameters:
body- (optional)_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object- Http Response Details
Response Details Status Code Description Response Headers 201 Repository - 403 APIForbiddenError is a forbidden error response - 409 The repository with the same name already exists. - 413 QuotaExceeded * user_id -
* message -
* username -
422 APIValidationError is error format response related to input validation -
-
repoMigrate
Migrate a remote git repository- Parameters:
body- (optional)- Returns:
- Repository
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details
Response Details Status Code Description Response Headers 201 Repository - 403 APIForbiddenError is a forbidden error response - 409 The repository with the same name already exists. - 413 QuotaExceeded * user_id -
* message -
* username -
422 APIValidationError is error format response related to input validation -
-
repoMigrateWithHttpInfo
public ApiResponse<Repository> repoMigrateWithHttpInfo(@Nullable MigrateRepoOptions body) throws ApiException Migrate a remote git repository- Parameters:
body- (optional)- Returns:
- ApiResponse<Repository>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details
Response Details Status Code Description Response Headers 201 Repository - 403 APIForbiddenError is a forbidden error response - 409 The repository with the same name already exists. - 413 QuotaExceeded * user_id -
* message -
* username -
422 APIValidationError is error format response related to input validation -
-
repoMigrateAsync
public okhttp3.Call repoMigrateAsync(@Nullable MigrateRepoOptions body, ApiCallback<Repository> _callback) throws ApiException Migrate a remote git repository (asynchronously)- Parameters:
body- (optional)_callback- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException- If fail to process the API call, e.g. serializing the request body object- Http Response Details
Response Details Status Code Description Response Headers 201 Repository - 403 APIForbiddenError is a forbidden error response - 409 The repository with the same name already exists. - 413 QuotaExceeded * user_id -
* message -
* username -
422 APIValidationError is error format response related to input validation -
-
repoMirrorSyncCall
public okhttp3.Call repoMirrorSyncCall(@Nonnull String owner, @Nonnull String repo, ApiCallback _callback) throws ApiException Build call for repoMirrorSync- Parameters:
owner- owner of the repo to sync (required)repo- name of the repo to sync (required)_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object- Http Response Details
Response Details Status Code Description Response Headers 200 APIEmpty is an empty response - 403 APIForbiddenError is a forbidden error response - 404 APINotFound is a not found error response - 413 QuotaExceeded * user_id -
* message -
* username -
-
repoMirrorSync
Sync a mirrored repository- Parameters:
owner- owner of the repo to sync (required)repo- name of the repo to sync (required)- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details
Response Details Status Code Description Response Headers 200 APIEmpty is an empty response - 403 APIForbiddenError is a forbidden error response - 404 APINotFound is a not found error response - 413 QuotaExceeded * user_id -
* message -
* username -
-
repoMirrorSyncWithHttpInfo
public ApiResponse<Void> repoMirrorSyncWithHttpInfo(@Nonnull String owner, @Nonnull String repo) throws ApiException Sync a mirrored repository- Parameters:
owner- owner of the repo to sync (required)repo- name of the repo to sync (required)- Returns:
- ApiResponse<Void>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details
Response Details Status Code Description Response Headers 200 APIEmpty is an empty response - 403 APIForbiddenError is a forbidden error response - 404 APINotFound is a not found error response - 413 QuotaExceeded * user_id -
* message -
* username -
-
repoMirrorSyncAsync
public okhttp3.Call repoMirrorSyncAsync(@Nonnull String owner, @Nonnull String repo, ApiCallback<Void> _callback) throws ApiException Sync a mirrored repository (asynchronously)- Parameters:
owner- owner of the repo to sync (required)repo- name of the repo to sync (required)_callback- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException- If fail to process the API call, e.g. serializing the request body object- Http Response Details
Response Details Status Code Description Response Headers 200 APIEmpty is an empty response - 403 APIForbiddenError is a forbidden error response - 404 APINotFound is a not found error response - 413 QuotaExceeded * user_id -
* message -
* username -
-
repoNewPinAllowedCall
public okhttp3.Call repoNewPinAllowedCall(@Nonnull String owner, @Nonnull String repo, ApiCallback _callback) throws ApiException Build call for repoNewPinAllowed- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object- Http Response Details
Response Details Status Code Description Response Headers 200 RepoNewIssuePinsAllowed - 404 APINotFound is a not found error response -
-
repoNewPinAllowed
public NewIssuePinsAllowed repoNewPinAllowed(@Nonnull String owner, @Nonnull String repo) throws ApiException Returns if new Issue Pins are allowed- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)- Returns:
- NewIssuePinsAllowed
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details
Response Details Status Code Description Response Headers 200 RepoNewIssuePinsAllowed - 404 APINotFound is a not found error response -
-
repoNewPinAllowedWithHttpInfo
public ApiResponse<NewIssuePinsAllowed> repoNewPinAllowedWithHttpInfo(@Nonnull String owner, @Nonnull String repo) throws ApiException Returns if new Issue Pins are allowed- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)- Returns:
- ApiResponse<NewIssuePinsAllowed>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details
Response Details Status Code Description Response Headers 200 RepoNewIssuePinsAllowed - 404 APINotFound is a not found error response -
-
repoNewPinAllowedAsync
public okhttp3.Call repoNewPinAllowedAsync(@Nonnull String owner, @Nonnull String repo, ApiCallback<NewIssuePinsAllowed> _callback) throws ApiException Returns if new Issue Pins are allowed (asynchronously)- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)_callback- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException- If fail to process the API call, e.g. serializing the request body object- Http Response Details
Response Details Status Code Description Response Headers 200 RepoNewIssuePinsAllowed - 404 APINotFound is a not found error response -
-
repoPullRequestIsMergedCall
public okhttp3.Call repoPullRequestIsMergedCall(@Nonnull String owner, @Nonnull String repo, @Nonnull Long index, ApiCallback _callback) throws ApiException Build call for repoPullRequestIsMerged- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)index- index of the pull request (required)_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object- Http Response Details
Response Details Status Code Description Response Headers 204 pull request has been merged - 404 pull request has not been merged -
-
repoPullRequestIsMerged
public void repoPullRequestIsMerged(@Nonnull String owner, @Nonnull String repo, @Nonnull Long index) throws ApiException Check if a pull request has been merged- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)index- index of the pull request (required)- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details
Response Details Status Code Description Response Headers 204 pull request has been merged - 404 pull request has not been merged -
-
repoPullRequestIsMergedWithHttpInfo
public ApiResponse<Void> repoPullRequestIsMergedWithHttpInfo(@Nonnull String owner, @Nonnull String repo, @Nonnull Long index) throws ApiException Check if a pull request has been merged- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)index- index of the pull request (required)- Returns:
- ApiResponse<Void>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details
Response Details Status Code Description Response Headers 204 pull request has been merged - 404 pull request has not been merged -
-
repoPullRequestIsMergedAsync
public okhttp3.Call repoPullRequestIsMergedAsync(@Nonnull String owner, @Nonnull String repo, @Nonnull Long index, ApiCallback<Void> _callback) throws ApiException Check if a pull request has been merged (asynchronously)- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)index- index of the pull request (required)_callback- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException- If fail to process the API call, e.g. serializing the request body object- Http Response Details
Response Details Status Code Description Response Headers 204 pull request has been merged - 404 pull request has not been merged -
-
repoPushMirrorSyncCall
public okhttp3.Call repoPushMirrorSyncCall(@Nonnull String owner, @Nonnull String repo, ApiCallback _callback) throws ApiException Build call for repoPushMirrorSync- Parameters:
owner- owner of the repo to sync (required)repo- name of the repo to sync (required)_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object- Http Response Details
Response Details Status Code Description Response Headers 200 APIEmpty is an empty response - 400 APIError is error format response - 403 APIForbiddenError is a forbidden error response - 404 APINotFound is a not found error response - 413 QuotaExceeded * user_id -
* message -
* username -
-
repoPushMirrorSync
Sync all push mirrored repository- Parameters:
owner- owner of the repo to sync (required)repo- name of the repo to sync (required)- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details
Response Details Status Code Description Response Headers 200 APIEmpty is an empty response - 400 APIError is error format response - 403 APIForbiddenError is a forbidden error response - 404 APINotFound is a not found error response - 413 QuotaExceeded * user_id -
* message -
* username -
-
repoPushMirrorSyncWithHttpInfo
public ApiResponse<Void> repoPushMirrorSyncWithHttpInfo(@Nonnull String owner, @Nonnull String repo) throws ApiException Sync all push mirrored repository- Parameters:
owner- owner of the repo to sync (required)repo- name of the repo to sync (required)- Returns:
- ApiResponse<Void>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details
Response Details Status Code Description Response Headers 200 APIEmpty is an empty response - 400 APIError is error format response - 403 APIForbiddenError is a forbidden error response - 404 APINotFound is a not found error response - 413 QuotaExceeded * user_id -
* message -
* username -
-
repoPushMirrorSyncAsync
public okhttp3.Call repoPushMirrorSyncAsync(@Nonnull String owner, @Nonnull String repo, ApiCallback<Void> _callback) throws ApiException Sync all push mirrored repository (asynchronously)- Parameters:
owner- owner of the repo to sync (required)repo- name of the repo to sync (required)_callback- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException- If fail to process the API call, e.g. serializing the request body object- Http Response Details
Response Details Status Code Description Response Headers 200 APIEmpty is an empty response - 400 APIError is error format response - 403 APIForbiddenError is a forbidden error response - 404 APINotFound is a not found error response - 413 QuotaExceeded * user_id -
* message -
* username -
-
repoRemoveNoteCall
public okhttp3.Call repoRemoveNoteCall(@Nonnull String owner, @Nonnull String repo, @Nonnull String sha, ApiCallback _callback) throws ApiException Build call for repoRemoveNote- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)sha- a git ref or commit sha (required)_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object- Http Response Details
Response Details Status Code Description Response Headers 204 APIEmpty is an empty response - 404 APINotFound is a not found error response - 422 APIValidationError is error format response related to input validation -
-
repoRemoveNote
public void repoRemoveNote(@Nonnull String owner, @Nonnull String repo, @Nonnull String sha) throws ApiException Removes a note corresponding to a single commit from a repository- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)sha- a git ref or commit sha (required)- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details
Response Details Status Code Description Response Headers 204 APIEmpty is an empty response - 404 APINotFound is a not found error response - 422 APIValidationError is error format response related to input validation -
-
repoRemoveNoteWithHttpInfo
public ApiResponse<Void> repoRemoveNoteWithHttpInfo(@Nonnull String owner, @Nonnull String repo, @Nonnull String sha) throws ApiException Removes a note corresponding to a single commit from a repository- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)sha- a git ref or commit sha (required)- Returns:
- ApiResponse<Void>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details
Response Details Status Code Description Response Headers 204 APIEmpty is an empty response - 404 APINotFound is a not found error response - 422 APIValidationError is error format response related to input validation -
-
repoRemoveNoteAsync
public okhttp3.Call repoRemoveNoteAsync(@Nonnull String owner, @Nonnull String repo, @Nonnull String sha, ApiCallback<Void> _callback) throws ApiException Removes a note corresponding to a single commit from a repository (asynchronously)- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)sha- a git ref or commit sha (required)_callback- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException- If fail to process the API call, e.g. serializing the request body object- Http Response Details
Response Details Status Code Description Response Headers 204 APIEmpty is an empty response - 404 APINotFound is a not found error response - 422 APIValidationError is error format response related to input validation -
-
repoReplaceAllFlagsCall
public okhttp3.Call repoReplaceAllFlagsCall(@Nonnull String owner, @Nonnull String repo, @Nullable ReplaceFlagsOption body, ApiCallback _callback) throws ApiException Build call for repoReplaceAllFlags- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)body- (optional)_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object- Http Response Details
Response Details Status Code Description Response Headers 204 APIEmpty is an empty response - 403 APIForbiddenError is a forbidden error response - 404 APINotFound is a not found error response -
-
repoReplaceAllFlags
public void repoReplaceAllFlags(@Nonnull String owner, @Nonnull String repo, @Nullable ReplaceFlagsOption body) throws ApiException Replace all flags of a repository- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)body- (optional)- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details
Response Details Status Code Description Response Headers 204 APIEmpty is an empty response - 403 APIForbiddenError is a forbidden error response - 404 APINotFound is a not found error response -
-
repoReplaceAllFlagsWithHttpInfo
public ApiResponse<Void> repoReplaceAllFlagsWithHttpInfo(@Nonnull String owner, @Nonnull String repo, @Nullable ReplaceFlagsOption body) throws ApiException Replace all flags of a repository- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)body- (optional)- Returns:
- ApiResponse<Void>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details
Response Details Status Code Description Response Headers 204 APIEmpty is an empty response - 403 APIForbiddenError is a forbidden error response - 404 APINotFound is a not found error response -
-
repoReplaceAllFlagsAsync
public okhttp3.Call repoReplaceAllFlagsAsync(@Nonnull String owner, @Nonnull String repo, @Nullable ReplaceFlagsOption body, ApiCallback<Void> _callback) throws ApiException Replace all flags of a repository (asynchronously)- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)body- (optional)_callback- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException- If fail to process the API call, e.g. serializing the request body object- Http Response Details
Response Details Status Code Description Response Headers 204 APIEmpty is an empty response - 403 APIForbiddenError is a forbidden error response - 404 APINotFound is a not found error response -
-
repoSearchCall
public okhttp3.Call repoSearchCall(@Nullable String q, @Nullable Boolean topic, @Nullable Boolean includeDesc, @Nullable Long uid, @Nullable Long priorityOwnerId, @Nullable Long teamId, @Nullable Long starredBy, @Nullable Boolean _private, @Nullable Boolean isPrivate, @Nullable Boolean template, @Nullable Boolean archived, @Nullable String mode, @Nullable Boolean exclusive, @Nullable String sort, @Nullable String order, @Nullable Integer page, @Nullable Integer limit, ApiCallback _callback) throws ApiException Build call for repoSearch- Parameters:
q- keyword (optional)topic- Limit search to repositories with keyword as topic (optional)includeDesc- include search of keyword within repository description (optional)uid- search only for repos that the user with the given id owns or contributes to (optional)priorityOwnerId- repo owner to prioritize in the results (optional)teamId- search only for repos that belong to the given team id (optional)starredBy- search only for repos that the user with the given id has starred (optional)_private- include private repositories this user has access to (defaults to true) (optional)isPrivate- show only public, private or all repositories (defaults to all) (optional)template- include template repositories this user has access to (defaults to true) (optional)archived- show only archived, non-archived or all repositories (defaults to all) (optional)mode- type of repository to search for. Supported values are \"fork\", \"source\", \"mirror\" and \"collaborative\" (optional)exclusive- if `uid` is given, search only for repos that the user owns (optional)sort- sort repos by attribute. Supported values are \"alpha\", \"created\", \"updated\", \"size\", \"git_size\", \"lfs_size\", \"stars\", \"forks\" and \"id\". Default is \"alpha\" (optional)order- sort order, either \"asc\" (ascending) or \"desc\" (descending). Default is \"asc\", ignored if \"sort\" is not specified. (optional)page- page number of results to return (1-based) (optional)limit- page size of results (optional)_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object- Http Response Details
Response Details Status Code Description Response Headers 200 SearchResults - 422 APIValidationError is error format response related to input validation -
-
repoSearch
public SearchResults repoSearch(@Nullable String q, @Nullable Boolean topic, @Nullable Boolean includeDesc, @Nullable Long uid, @Nullable Long priorityOwnerId, @Nullable Long teamId, @Nullable Long starredBy, @Nullable Boolean _private, @Nullable Boolean isPrivate, @Nullable Boolean template, @Nullable Boolean archived, @Nullable String mode, @Nullable Boolean exclusive, @Nullable String sort, @Nullable String order, @Nullable Integer page, @Nullable Integer limit) throws ApiException Search for repositories- Parameters:
q- keyword (optional)topic- Limit search to repositories with keyword as topic (optional)includeDesc- include search of keyword within repository description (optional)uid- search only for repos that the user with the given id owns or contributes to (optional)priorityOwnerId- repo owner to prioritize in the results (optional)teamId- search only for repos that belong to the given team id (optional)starredBy- search only for repos that the user with the given id has starred (optional)_private- include private repositories this user has access to (defaults to true) (optional)isPrivate- show only public, private or all repositories (defaults to all) (optional)template- include template repositories this user has access to (defaults to true) (optional)archived- show only archived, non-archived or all repositories (defaults to all) (optional)mode- type of repository to search for. Supported values are \"fork\", \"source\", \"mirror\" and \"collaborative\" (optional)exclusive- if `uid` is given, search only for repos that the user owns (optional)sort- sort repos by attribute. Supported values are \"alpha\", \"created\", \"updated\", \"size\", \"git_size\", \"lfs_size\", \"stars\", \"forks\" and \"id\". Default is \"alpha\" (optional)order- sort order, either \"asc\" (ascending) or \"desc\" (descending). Default is \"asc\", ignored if \"sort\" is not specified. (optional)page- page number of results to return (1-based) (optional)limit- page size of results (optional)- Returns:
- SearchResults
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details
Response Details Status Code Description Response Headers 200 SearchResults - 422 APIValidationError is error format response related to input validation -
-
repoSearchWithHttpInfo
public ApiResponse<SearchResults> repoSearchWithHttpInfo(@Nullable String q, @Nullable Boolean topic, @Nullable Boolean includeDesc, @Nullable Long uid, @Nullable Long priorityOwnerId, @Nullable Long teamId, @Nullable Long starredBy, @Nullable Boolean _private, @Nullable Boolean isPrivate, @Nullable Boolean template, @Nullable Boolean archived, @Nullable String mode, @Nullable Boolean exclusive, @Nullable String sort, @Nullable String order, @Nullable Integer page, @Nullable Integer limit) throws ApiException Search for repositories- Parameters:
q- keyword (optional)topic- Limit search to repositories with keyword as topic (optional)includeDesc- include search of keyword within repository description (optional)uid- search only for repos that the user with the given id owns or contributes to (optional)priorityOwnerId- repo owner to prioritize in the results (optional)teamId- search only for repos that belong to the given team id (optional)starredBy- search only for repos that the user with the given id has starred (optional)_private- include private repositories this user has access to (defaults to true) (optional)isPrivate- show only public, private or all repositories (defaults to all) (optional)template- include template repositories this user has access to (defaults to true) (optional)archived- show only archived, non-archived or all repositories (defaults to all) (optional)mode- type of repository to search for. Supported values are \"fork\", \"source\", \"mirror\" and \"collaborative\" (optional)exclusive- if `uid` is given, search only for repos that the user owns (optional)sort- sort repos by attribute. Supported values are \"alpha\", \"created\", \"updated\", \"size\", \"git_size\", \"lfs_size\", \"stars\", \"forks\" and \"id\". Default is \"alpha\" (optional)order- sort order, either \"asc\" (ascending) or \"desc\" (descending). Default is \"asc\", ignored if \"sort\" is not specified. (optional)page- page number of results to return (1-based) (optional)limit- page size of results (optional)- Returns:
- ApiResponse<SearchResults>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details
Response Details Status Code Description Response Headers 200 SearchResults - 422 APIValidationError is error format response related to input validation -
-
repoSearchAsync
public okhttp3.Call repoSearchAsync(@Nullable String q, @Nullable Boolean topic, @Nullable Boolean includeDesc, @Nullable Long uid, @Nullable Long priorityOwnerId, @Nullable Long teamId, @Nullable Long starredBy, @Nullable Boolean _private, @Nullable Boolean isPrivate, @Nullable Boolean template, @Nullable Boolean archived, @Nullable String mode, @Nullable Boolean exclusive, @Nullable String sort, @Nullable String order, @Nullable Integer page, @Nullable Integer limit, ApiCallback<SearchResults> _callback) throws ApiException Search for repositories (asynchronously)- Parameters:
q- keyword (optional)topic- Limit search to repositories with keyword as topic (optional)includeDesc- include search of keyword within repository description (optional)uid- search only for repos that the user with the given id owns or contributes to (optional)priorityOwnerId- repo owner to prioritize in the results (optional)teamId- search only for repos that belong to the given team id (optional)starredBy- search only for repos that the user with the given id has starred (optional)_private- include private repositories this user has access to (defaults to true) (optional)isPrivate- show only public, private or all repositories (defaults to all) (optional)template- include template repositories this user has access to (defaults to true) (optional)archived- show only archived, non-archived or all repositories (defaults to all) (optional)mode- type of repository to search for. Supported values are \"fork\", \"source\", \"mirror\" and \"collaborative\" (optional)exclusive- if `uid` is given, search only for repos that the user owns (optional)sort- sort repos by attribute. Supported values are \"alpha\", \"created\", \"updated\", \"size\", \"git_size\", \"lfs_size\", \"stars\", \"forks\" and \"id\". Default is \"alpha\" (optional)order- sort order, either \"asc\" (ascending) or \"desc\" (descending). Default is \"asc\", ignored if \"sort\" is not specified. (optional)page- page number of results to return (1-based) (optional)limit- page size of results (optional)_callback- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException- If fail to process the API call, e.g. serializing the request body object- Http Response Details
Response Details Status Code Description Response Headers 200 SearchResults - 422 APIValidationError is error format response related to input validation -
-
repoSearchRunJobsCall
public okhttp3.Call repoSearchRunJobsCall(@Nonnull String owner, @Nonnull String repo, @Nullable String labels, ApiCallback _callback) throws ApiException Build call for repoSearchRunJobs- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)labels- a comma separated list of run job labels to search for (optional)_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object- Http Response Details
Response Details Status Code Description Response Headers 200 RunJobList is a list of action run jobs - 403 APIForbiddenError is a forbidden error response -
-
repoSearchRunJobs
public List<ActionRunJob> repoSearchRunJobs(@Nonnull String owner, @Nonnull String repo, @Nullable String labels) throws ApiException Search for repository's action jobs according filter conditions- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)labels- a comma separated list of run job labels to search for (optional)- Returns:
- List<ActionRunJob>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details
Response Details Status Code Description Response Headers 200 RunJobList is a list of action run jobs - 403 APIForbiddenError is a forbidden error response -
-
repoSearchRunJobsWithHttpInfo
public ApiResponse<List<ActionRunJob>> repoSearchRunJobsWithHttpInfo(@Nonnull String owner, @Nonnull String repo, @Nullable String labels) throws ApiException Search for repository's action jobs according filter conditions- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)labels- a comma separated list of run job labels to search for (optional)- Returns:
- ApiResponse<List<ActionRunJob>>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details
Response Details Status Code Description Response Headers 200 RunJobList is a list of action run jobs - 403 APIForbiddenError is a forbidden error response -
-
repoSearchRunJobsAsync
public okhttp3.Call repoSearchRunJobsAsync(@Nonnull String owner, @Nonnull String repo, @Nullable String labels, ApiCallback<List<ActionRunJob>> _callback) throws ApiException Search for repository's action jobs according filter conditions (asynchronously)- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)labels- a comma separated list of run job labels to search for (optional)_callback- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException- If fail to process the API call, e.g. serializing the request body object- Http Response Details
Response Details Status Code Description Response Headers 200 RunJobList is a list of action run jobs - 403 APIForbiddenError is a forbidden error response -
-
repoSetNoteCall
public okhttp3.Call repoSetNoteCall(@Nonnull String owner, @Nonnull String repo, @Nonnull String sha, @Nullable NoteOptions body, ApiCallback _callback) throws ApiException Build call for repoSetNote- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)sha- a git ref or commit sha (required)body- (optional)_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object- Http Response Details
Response Details Status Code Description Response Headers 200 Note - 404 APINotFound is a not found error response - 422 APIValidationError is error format response related to input validation -
-
repoSetNote
public Note repoSetNote(@Nonnull String owner, @Nonnull String repo, @Nonnull String sha, @Nullable NoteOptions body) throws ApiException Set a note corresponding to a single commit from a repository- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)sha- a git ref or commit sha (required)body- (optional)- Returns:
- Note
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details
Response Details Status Code Description Response Headers 200 Note - 404 APINotFound is a not found error response - 422 APIValidationError is error format response related to input validation -
-
repoSetNoteWithHttpInfo
public ApiResponse<Note> repoSetNoteWithHttpInfo(@Nonnull String owner, @Nonnull String repo, @Nonnull String sha, @Nullable NoteOptions body) throws ApiException Set a note corresponding to a single commit from a repository- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)sha- a git ref or commit sha (required)body- (optional)- Returns:
- ApiResponse<Note>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details
Response Details Status Code Description Response Headers 200 Note - 404 APINotFound is a not found error response - 422 APIValidationError is error format response related to input validation -
-
repoSetNoteAsync
public okhttp3.Call repoSetNoteAsync(@Nonnull String owner, @Nonnull String repo, @Nonnull String sha, @Nullable NoteOptions body, ApiCallback<Note> _callback) throws ApiException Set a note corresponding to a single commit from a repository (asynchronously)- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)sha- a git ref or commit sha (required)body- (optional)_callback- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException- If fail to process the API call, e.g. serializing the request body object- Http Response Details
Response Details Status Code Description Response Headers 200 Note - 404 APINotFound is a not found error response - 422 APIValidationError is error format response related to input validation -
-
repoSigningKeyCall
public okhttp3.Call repoSigningKeyCall(@Nonnull String owner, @Nonnull String repo, ApiCallback _callback) throws ApiException Build call for repoSigningKey- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object- Http Response Details
Response Details Status Code Description Response Headers 200 GPG armored public key -
-
repoSigningKey
Get signing-key.gpg for given repository- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)- Returns:
- String
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details
Response Details Status Code Description Response Headers 200 GPG armored public key -
-
repoSigningKeyWithHttpInfo
public ApiResponse<String> repoSigningKeyWithHttpInfo(@Nonnull String owner, @Nonnull String repo) throws ApiException Get signing-key.gpg for given repository- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)- Returns:
- ApiResponse<String>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details
Response Details Status Code Description Response Headers 200 GPG armored public key -
-
repoSigningKeyAsync
public okhttp3.Call repoSigningKeyAsync(@Nonnull String owner, @Nonnull String repo, ApiCallback<String> _callback) throws ApiException Get signing-key.gpg for given repository (asynchronously)- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)_callback- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException- If fail to process the API call, e.g. serializing the request body object- Http Response Details
Response Details Status Code Description Response Headers 200 GPG armored public key -
-
repoSubmitPullReviewCall
public okhttp3.Call repoSubmitPullReviewCall(@Nonnull String owner, @Nonnull String repo, @Nonnull Long index, @Nonnull Long id, @Nonnull SubmitPullReviewOptions body, ApiCallback _callback) throws ApiException Build call for repoSubmitPullReview- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)index- index of the pull request (required)id- id of the review (required)body- (required)_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object- Http Response Details
Response Details Status Code Description Response Headers 200 PullReview - 404 APINotFound is a not found error response - 422 APIValidationError is error format response related to input validation -
-
repoSubmitPullReview
public PullReview repoSubmitPullReview(@Nonnull String owner, @Nonnull String repo, @Nonnull Long index, @Nonnull Long id, @Nonnull SubmitPullReviewOptions body) throws ApiException Submit a pending review to an pull request- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)index- index of the pull request (required)id- id of the review (required)body- (required)- Returns:
- PullReview
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details
Response Details Status Code Description Response Headers 200 PullReview - 404 APINotFound is a not found error response - 422 APIValidationError is error format response related to input validation -
-
repoSubmitPullReviewWithHttpInfo
public ApiResponse<PullReview> repoSubmitPullReviewWithHttpInfo(@Nonnull String owner, @Nonnull String repo, @Nonnull Long index, @Nonnull Long id, @Nonnull SubmitPullReviewOptions body) throws ApiException Submit a pending review to an pull request- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)index- index of the pull request (required)id- id of the review (required)body- (required)- Returns:
- ApiResponse<PullReview>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details
Response Details Status Code Description Response Headers 200 PullReview - 404 APINotFound is a not found error response - 422 APIValidationError is error format response related to input validation -
-
repoSubmitPullReviewAsync
public okhttp3.Call repoSubmitPullReviewAsync(@Nonnull String owner, @Nonnull String repo, @Nonnull Long index, @Nonnull Long id, @Nonnull SubmitPullReviewOptions body, ApiCallback<PullReview> _callback) throws ApiException Submit a pending review to an pull request (asynchronously)- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)index- index of the pull request (required)id- id of the review (required)body- (required)_callback- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException- If fail to process the API call, e.g. serializing the request body object- Http Response Details
Response Details Status Code Description Response Headers 200 PullReview - 404 APINotFound is a not found error response - 422 APIValidationError is error format response related to input validation -
-
repoSyncForkBranchCall
public okhttp3.Call repoSyncForkBranchCall(@Nonnull String owner, @Nonnull String repo, @Nonnull String branch, ApiCallback _callback) throws ApiException Build call for repoSyncForkBranch- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)branch- The branch (required)_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object- Http Response Details
Response Details Status Code Description Response Headers 204 APIEmpty is an empty response - 400 APIError is error format response - 404 APINotFound is a not found error response -
-
repoSyncForkBranch
public void repoSyncForkBranch(@Nonnull String owner, @Nonnull String repo, @Nonnull String branch) throws ApiException Syncs a fork branch with the base branch- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)branch- The branch (required)- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details
Response Details Status Code Description Response Headers 204 APIEmpty is an empty response - 400 APIError is error format response - 404 APINotFound is a not found error response -
-
repoSyncForkBranchWithHttpInfo
public ApiResponse<Void> repoSyncForkBranchWithHttpInfo(@Nonnull String owner, @Nonnull String repo, @Nonnull String branch) throws ApiException Syncs a fork branch with the base branch- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)branch- The branch (required)- Returns:
- ApiResponse<Void>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details
Response Details Status Code Description Response Headers 204 APIEmpty is an empty response - 400 APIError is error format response - 404 APINotFound is a not found error response -
-
repoSyncForkBranchAsync
public okhttp3.Call repoSyncForkBranchAsync(@Nonnull String owner, @Nonnull String repo, @Nonnull String branch, ApiCallback<Void> _callback) throws ApiException Syncs a fork branch with the base branch (asynchronously)- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)branch- The branch (required)_callback- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException- If fail to process the API call, e.g. serializing the request body object- Http Response Details
Response Details Status Code Description Response Headers 204 APIEmpty is an empty response - 400 APIError is error format response - 404 APINotFound is a not found error response -
-
repoSyncForkBranchInfoCall
public okhttp3.Call repoSyncForkBranchInfoCall(@Nonnull String owner, @Nonnull String repo, @Nonnull String branch, ApiCallback _callback) throws ApiException Build call for repoSyncForkBranchInfo- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)branch- The branch (required)_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object- Http Response Details
Response Details Status Code Description Response Headers 200 SyncForkInfo - 400 APIError is error format response - 404 APINotFound is a not found error response -
-
repoSyncForkBranchInfo
public SyncForkInfo repoSyncForkBranchInfo(@Nonnull String owner, @Nonnull String repo, @Nonnull String branch) throws ApiException Gets information about syncing a fork branch with the base branch- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)branch- The branch (required)- Returns:
- SyncForkInfo
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details
Response Details Status Code Description Response Headers 200 SyncForkInfo - 400 APIError is error format response - 404 APINotFound is a not found error response -
-
repoSyncForkBranchInfoWithHttpInfo
public ApiResponse<SyncForkInfo> repoSyncForkBranchInfoWithHttpInfo(@Nonnull String owner, @Nonnull String repo, @Nonnull String branch) throws ApiException Gets information about syncing a fork branch with the base branch- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)branch- The branch (required)- Returns:
- ApiResponse<SyncForkInfo>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details
Response Details Status Code Description Response Headers 200 SyncForkInfo - 400 APIError is error format response - 404 APINotFound is a not found error response -
-
repoSyncForkBranchInfoAsync
public okhttp3.Call repoSyncForkBranchInfoAsync(@Nonnull String owner, @Nonnull String repo, @Nonnull String branch, ApiCallback<SyncForkInfo> _callback) throws ApiException Gets information about syncing a fork branch with the base branch (asynchronously)- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)branch- The branch (required)_callback- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException- If fail to process the API call, e.g. serializing the request body object- Http Response Details
Response Details Status Code Description Response Headers 200 SyncForkInfo - 400 APIError is error format response - 404 APINotFound is a not found error response -
-
repoSyncForkDefaultCall
public okhttp3.Call repoSyncForkDefaultCall(@Nonnull String owner, @Nonnull String repo, ApiCallback _callback) throws ApiException Build call for repoSyncForkDefault- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object- Http Response Details
Response Details Status Code Description Response Headers 204 APIEmpty is an empty response - 400 APIError is error format response - 404 APINotFound is a not found error response -
-
repoSyncForkDefault
Syncs the default branch of a fork with the base branch- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details
Response Details Status Code Description Response Headers 204 APIEmpty is an empty response - 400 APIError is error format response - 404 APINotFound is a not found error response -
-
repoSyncForkDefaultWithHttpInfo
public ApiResponse<Void> repoSyncForkDefaultWithHttpInfo(@Nonnull String owner, @Nonnull String repo) throws ApiException Syncs the default branch of a fork with the base branch- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)- Returns:
- ApiResponse<Void>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details
Response Details Status Code Description Response Headers 204 APIEmpty is an empty response - 400 APIError is error format response - 404 APINotFound is a not found error response -
-
repoSyncForkDefaultAsync
public okhttp3.Call repoSyncForkDefaultAsync(@Nonnull String owner, @Nonnull String repo, ApiCallback<Void> _callback) throws ApiException Syncs the default branch of a fork with the base branch (asynchronously)- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)_callback- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException- If fail to process the API call, e.g. serializing the request body object- Http Response Details
Response Details Status Code Description Response Headers 204 APIEmpty is an empty response - 400 APIError is error format response - 404 APINotFound is a not found error response -
-
repoSyncForkDefaultInfoCall
public okhttp3.Call repoSyncForkDefaultInfoCall(@Nonnull String owner, @Nonnull String repo, ApiCallback _callback) throws ApiException Build call for repoSyncForkDefaultInfo- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object- Http Response Details
Response Details Status Code Description Response Headers 200 SyncForkInfo - 400 APIError is error format response - 404 APINotFound is a not found error response -
-
repoSyncForkDefaultInfo
public SyncForkInfo repoSyncForkDefaultInfo(@Nonnull String owner, @Nonnull String repo) throws ApiException Gets information about syncing the fork default branch with the base branch- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)- Returns:
- SyncForkInfo
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details
Response Details Status Code Description Response Headers 200 SyncForkInfo - 400 APIError is error format response - 404 APINotFound is a not found error response -
-
repoSyncForkDefaultInfoWithHttpInfo
public ApiResponse<SyncForkInfo> repoSyncForkDefaultInfoWithHttpInfo(@Nonnull String owner, @Nonnull String repo) throws ApiException Gets information about syncing the fork default branch with the base branch- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)- Returns:
- ApiResponse<SyncForkInfo>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details
Response Details Status Code Description Response Headers 200 SyncForkInfo - 400 APIError is error format response - 404 APINotFound is a not found error response -
-
repoSyncForkDefaultInfoAsync
public okhttp3.Call repoSyncForkDefaultInfoAsync(@Nonnull String owner, @Nonnull String repo, ApiCallback<SyncForkInfo> _callback) throws ApiException Gets information about syncing the fork default branch with the base branch (asynchronously)- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)_callback- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException- If fail to process the API call, e.g. serializing the request body object- Http Response Details
Response Details Status Code Description Response Headers 200 SyncForkInfo - 400 APIError is error format response - 404 APINotFound is a not found error response -
-
repoTestHookCall
public okhttp3.Call repoTestHookCall(@Nonnull String owner, @Nonnull String repo, @Nonnull Long id, @Nullable String ref, ApiCallback _callback) throws ApiException Build call for repoTestHook- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)id- id of the hook to test (required)ref- The name of the commit/branch/tag, indicates which commit will be loaded to the webhook payload. (optional)_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object- Http Response Details
Response Details Status Code Description Response Headers 204 APIEmpty is an empty response - 404 APINotFound is a not found error response -
-
repoTestHook
public void repoTestHook(@Nonnull String owner, @Nonnull String repo, @Nonnull Long id, @Nullable String ref) throws ApiException Test a push webhook- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)id- id of the hook to test (required)ref- The name of the commit/branch/tag, indicates which commit will be loaded to the webhook payload. (optional)- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details
Response Details Status Code Description Response Headers 204 APIEmpty is an empty response - 404 APINotFound is a not found error response -
-
repoTestHookWithHttpInfo
public ApiResponse<Void> repoTestHookWithHttpInfo(@Nonnull String owner, @Nonnull String repo, @Nonnull Long id, @Nullable String ref) throws ApiException Test a push webhook- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)id- id of the hook to test (required)ref- The name of the commit/branch/tag, indicates which commit will be loaded to the webhook payload. (optional)- Returns:
- ApiResponse<Void>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details
Response Details Status Code Description Response Headers 204 APIEmpty is an empty response - 404 APINotFound is a not found error response -
-
repoTestHookAsync
public okhttp3.Call repoTestHookAsync(@Nonnull String owner, @Nonnull String repo, @Nonnull Long id, @Nullable String ref, ApiCallback<Void> _callback) throws ApiException Test a push webhook (asynchronously)- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)id- id of the hook to test (required)ref- The name of the commit/branch/tag, indicates which commit will be loaded to the webhook payload. (optional)_callback- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException- If fail to process the API call, e.g. serializing the request body object- Http Response Details
Response Details Status Code Description Response Headers 204 APIEmpty is an empty response - 404 APINotFound is a not found error response -
-
repoTrackedTimesCall
public okhttp3.Call repoTrackedTimesCall(@Nonnull String owner, @Nonnull String repo, @Nullable String user, @Nullable OffsetDateTime since, @Nullable OffsetDateTime before, @Nullable Integer page, @Nullable Integer limit, ApiCallback _callback) throws ApiException Build call for repoTrackedTimes- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)user- optional filter by user (available for issue managers) (optional)since- Only show times updated after the given time. This is a timestamp in RFC 3339 format (optional)before- Only show times updated before the given time. This is a timestamp in RFC 3339 format (optional)page- page number of results to return (1-based) (optional)limit- page size of results (optional)_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object- Http Response Details
Response Details Status Code Description Response Headers 200 TrackedTimeList * X-Total-Count - The total number of access tokens
400 APIError is error format response - 403 APIForbiddenError is a forbidden error response - 404 APINotFound is a not found error response - 422 APIValidationError is error format response related to input validation -
-
repoTrackedTimes
public List<TrackedTime> repoTrackedTimes(@Nonnull String owner, @Nonnull String repo, @Nullable String user, @Nullable OffsetDateTime since, @Nullable OffsetDateTime before, @Nullable Integer page, @Nullable Integer limit) throws ApiException List a repo's tracked times- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)user- optional filter by user (available for issue managers) (optional)since- Only show times updated after the given time. This is a timestamp in RFC 3339 format (optional)before- Only show times updated before the given time. This is a timestamp in RFC 3339 format (optional)page- page number of results to return (1-based) (optional)limit- page size of results (optional)- Returns:
- List<TrackedTime>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details
Response Details Status Code Description Response Headers 200 TrackedTimeList * X-Total-Count - The total number of access tokens
400 APIError is error format response - 403 APIForbiddenError is a forbidden error response - 404 APINotFound is a not found error response - 422 APIValidationError is error format response related to input validation -
-
repoTrackedTimesWithHttpInfo
public ApiResponse<List<TrackedTime>> repoTrackedTimesWithHttpInfo(@Nonnull String owner, @Nonnull String repo, @Nullable String user, @Nullable OffsetDateTime since, @Nullable OffsetDateTime before, @Nullable Integer page, @Nullable Integer limit) throws ApiException List a repo's tracked times- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)user- optional filter by user (available for issue managers) (optional)since- Only show times updated after the given time. This is a timestamp in RFC 3339 format (optional)before- Only show times updated before the given time. This is a timestamp in RFC 3339 format (optional)page- page number of results to return (1-based) (optional)limit- page size of results (optional)- Returns:
- ApiResponse<List<TrackedTime>>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details
Response Details Status Code Description Response Headers 200 TrackedTimeList * X-Total-Count - The total number of access tokens
400 APIError is error format response - 403 APIForbiddenError is a forbidden error response - 404 APINotFound is a not found error response - 422 APIValidationError is error format response related to input validation -
-
repoTrackedTimesAsync
public okhttp3.Call repoTrackedTimesAsync(@Nonnull String owner, @Nonnull String repo, @Nullable String user, @Nullable OffsetDateTime since, @Nullable OffsetDateTime before, @Nullable Integer page, @Nullable Integer limit, ApiCallback<List<TrackedTime>> _callback) throws ApiException List a repo's tracked times (asynchronously)- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)user- optional filter by user (available for issue managers) (optional)since- Only show times updated after the given time. This is a timestamp in RFC 3339 format (optional)before- Only show times updated before the given time. This is a timestamp in RFC 3339 format (optional)page- page number of results to return (1-based) (optional)limit- page size of results (optional)_callback- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException- If fail to process the API call, e.g. serializing the request body object- Http Response Details
Response Details Status Code Description Response Headers 200 TrackedTimeList * X-Total-Count - The total number of access tokens
400 APIError is error format response - 403 APIForbiddenError is a forbidden error response - 404 APINotFound is a not found error response - 422 APIValidationError is error format response related to input validation -
-
repoTransferCall
public okhttp3.Call repoTransferCall(@Nonnull String owner, @Nonnull String repo, @Nonnull TransferRepoOption body, ApiCallback _callback) throws ApiException Build call for repoTransfer- Parameters:
owner- owner of the repo to transfer (required)repo- name of the repo to transfer (required)body- Transfer Options (required)_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object- Http Response Details
Response Details Status Code Description Response Headers 202 Repository - 403 APIForbiddenError is a forbidden error response - 404 APINotFound is a not found error response - 413 QuotaExceeded * user_id -
* message -
* username -
422 APIValidationError is error format response related to input validation -
-
repoTransfer
public Repository repoTransfer(@Nonnull String owner, @Nonnull String repo, @Nonnull TransferRepoOption body) throws ApiException Transfer a repo ownership- Parameters:
owner- owner of the repo to transfer (required)repo- name of the repo to transfer (required)body- Transfer Options (required)- Returns:
- Repository
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details
Response Details Status Code Description Response Headers 202 Repository - 403 APIForbiddenError is a forbidden error response - 404 APINotFound is a not found error response - 413 QuotaExceeded * user_id -
* message -
* username -
422 APIValidationError is error format response related to input validation -
-
repoTransferWithHttpInfo
public ApiResponse<Repository> repoTransferWithHttpInfo(@Nonnull String owner, @Nonnull String repo, @Nonnull TransferRepoOption body) throws ApiException Transfer a repo ownership- Parameters:
owner- owner of the repo to transfer (required)repo- name of the repo to transfer (required)body- Transfer Options (required)- Returns:
- ApiResponse<Repository>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details
Response Details Status Code Description Response Headers 202 Repository - 403 APIForbiddenError is a forbidden error response - 404 APINotFound is a not found error response - 413 QuotaExceeded * user_id -
* message -
* username -
422 APIValidationError is error format response related to input validation -
-
repoTransferAsync
public okhttp3.Call repoTransferAsync(@Nonnull String owner, @Nonnull String repo, @Nonnull TransferRepoOption body, ApiCallback<Repository> _callback) throws ApiException Transfer a repo ownership (asynchronously)- Parameters:
owner- owner of the repo to transfer (required)repo- name of the repo to transfer (required)body- Transfer Options (required)_callback- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException- If fail to process the API call, e.g. serializing the request body object- Http Response Details
Response Details Status Code Description Response Headers 202 Repository - 403 APIForbiddenError is a forbidden error response - 404 APINotFound is a not found error response - 413 QuotaExceeded * user_id -
* message -
* username -
422 APIValidationError is error format response related to input validation -
-
repoUnDismissPullReviewCall
public okhttp3.Call repoUnDismissPullReviewCall(@Nonnull String owner, @Nonnull String repo, @Nonnull Long index, @Nonnull Long id, ApiCallback _callback) throws ApiException Build call for repoUnDismissPullReview- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)index- index of the pull request (required)id- id of the review (required)_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object- Http Response Details
Response Details Status Code Description Response Headers 200 PullReview - 403 APIForbiddenError is a forbidden error response - 404 APINotFound is a not found error response - 422 APIValidationError is error format response related to input validation -
-
repoUnDismissPullReview
public PullReview repoUnDismissPullReview(@Nonnull String owner, @Nonnull String repo, @Nonnull Long index, @Nonnull Long id) throws ApiException Cancel to dismiss a review for a pull request- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)index- index of the pull request (required)id- id of the review (required)- Returns:
- PullReview
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details
Response Details Status Code Description Response Headers 200 PullReview - 403 APIForbiddenError is a forbidden error response - 404 APINotFound is a not found error response - 422 APIValidationError is error format response related to input validation -
-
repoUnDismissPullReviewWithHttpInfo
public ApiResponse<PullReview> repoUnDismissPullReviewWithHttpInfo(@Nonnull String owner, @Nonnull String repo, @Nonnull Long index, @Nonnull Long id) throws ApiException Cancel to dismiss a review for a pull request- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)index- index of the pull request (required)id- id of the review (required)- Returns:
- ApiResponse<PullReview>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details
Response Details Status Code Description Response Headers 200 PullReview - 403 APIForbiddenError is a forbidden error response - 404 APINotFound is a not found error response - 422 APIValidationError is error format response related to input validation -
-
repoUnDismissPullReviewAsync
public okhttp3.Call repoUnDismissPullReviewAsync(@Nonnull String owner, @Nonnull String repo, @Nonnull Long index, @Nonnull Long id, ApiCallback<PullReview> _callback) throws ApiException Cancel to dismiss a review for a pull request (asynchronously)- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)index- index of the pull request (required)id- id of the review (required)_callback- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException- If fail to process the API call, e.g. serializing the request body object- Http Response Details
Response Details Status Code Description Response Headers 200 PullReview - 403 APIForbiddenError is a forbidden error response - 404 APINotFound is a not found error response - 422 APIValidationError is error format response related to input validation -
-
repoUpdateAvatarCall
public okhttp3.Call repoUpdateAvatarCall(@Nonnull String owner, @Nonnull String repo, @Nullable UpdateRepoAvatarOption body, ApiCallback _callback) throws ApiException Build call for repoUpdateAvatar- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)body- (optional)_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object- Http Response Details
Response Details Status Code Description Response Headers 204 APIEmpty is an empty response - 404 APINotFound is a not found error response -
-
repoUpdateAvatar
public void repoUpdateAvatar(@Nonnull String owner, @Nonnull String repo, @Nullable UpdateRepoAvatarOption body) throws ApiException Update a repository's avatar- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)body- (optional)- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details
Response Details Status Code Description Response Headers 204 APIEmpty is an empty response - 404 APINotFound is a not found error response -
-
repoUpdateAvatarWithHttpInfo
public ApiResponse<Void> repoUpdateAvatarWithHttpInfo(@Nonnull String owner, @Nonnull String repo, @Nullable UpdateRepoAvatarOption body) throws ApiException Update a repository's avatar- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)body- (optional)- Returns:
- ApiResponse<Void>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details
Response Details Status Code Description Response Headers 204 APIEmpty is an empty response - 404 APINotFound is a not found error response -
-
repoUpdateAvatarAsync
public okhttp3.Call repoUpdateAvatarAsync(@Nonnull String owner, @Nonnull String repo, @Nullable UpdateRepoAvatarOption body, ApiCallback<Void> _callback) throws ApiException Update a repository's avatar (asynchronously)- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)body- (optional)_callback- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException- If fail to process the API call, e.g. serializing the request body object- Http Response Details
Response Details Status Code Description Response Headers 204 APIEmpty is an empty response - 404 APINotFound is a not found error response -
-
repoUpdateBranchCall
public okhttp3.Call repoUpdateBranchCall(@Nonnull String owner, @Nonnull String repo, @Nonnull String branch, @Nullable UpdateBranchRepoOption body, ApiCallback _callback) throws ApiException Build call for repoUpdateBranch- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)branch- name of the branch (required)body- (optional)_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object- Http Response Details
Response Details Status Code Description Response Headers 204 APIEmpty is an empty response - 403 APIForbiddenError is a forbidden error response - 404 APINotFound is a not found error response - 422 APIValidationError is error format response related to input validation -
-
repoUpdateBranch
public void repoUpdateBranch(@Nonnull String owner, @Nonnull String repo, @Nonnull String branch, @Nullable UpdateBranchRepoOption body) throws ApiException Update a branch- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)branch- name of the branch (required)body- (optional)- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details
Response Details Status Code Description Response Headers 204 APIEmpty is an empty response - 403 APIForbiddenError is a forbidden error response - 404 APINotFound is a not found error response - 422 APIValidationError is error format response related to input validation -
-
repoUpdateBranchWithHttpInfo
public ApiResponse<Void> repoUpdateBranchWithHttpInfo(@Nonnull String owner, @Nonnull String repo, @Nonnull String branch, @Nullable UpdateBranchRepoOption body) throws ApiException Update a branch- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)branch- name of the branch (required)body- (optional)- Returns:
- ApiResponse<Void>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details
Response Details Status Code Description Response Headers 204 APIEmpty is an empty response - 403 APIForbiddenError is a forbidden error response - 404 APINotFound is a not found error response - 422 APIValidationError is error format response related to input validation -
-
repoUpdateBranchAsync
public okhttp3.Call repoUpdateBranchAsync(@Nonnull String owner, @Nonnull String repo, @Nonnull String branch, @Nullable UpdateBranchRepoOption body, ApiCallback<Void> _callback) throws ApiException Update a branch (asynchronously)- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)branch- name of the branch (required)body- (optional)_callback- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException- If fail to process the API call, e.g. serializing the request body object- Http Response Details
Response Details Status Code Description Response Headers 204 APIEmpty is an empty response - 403 APIForbiddenError is a forbidden error response - 404 APINotFound is a not found error response - 422 APIValidationError is error format response related to input validation -
-
repoUpdateFileCall
public okhttp3.Call repoUpdateFileCall(@Nonnull String owner, @Nonnull String repo, @Nonnull String filepath, @Nonnull UpdateFileOptions body, ApiCallback _callback) throws ApiException Build call for repoUpdateFile- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)filepath- path of the file to update (required)body- (required)_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object- Http Response Details
Response Details Status Code Description Response Headers 200 FileResponse - 403 APIError is error format response - 404 APINotFound is a not found error response - 409 APIConflict is a conflict empty response - 413 QuotaExceeded * user_id -
* message -
* username -
422 APIError is error format response - 423 APIRepoArchivedError is an error that is raised when an archived repo should be modified -
-
repoUpdateFile
public FileResponse repoUpdateFile(@Nonnull String owner, @Nonnull String repo, @Nonnull String filepath, @Nonnull UpdateFileOptions body) throws ApiException Update a file in a repository- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)filepath- path of the file to update (required)body- (required)- Returns:
- FileResponse
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details
Response Details Status Code Description Response Headers 200 FileResponse - 403 APIError is error format response - 404 APINotFound is a not found error response - 409 APIConflict is a conflict empty response - 413 QuotaExceeded * user_id -
* message -
* username -
422 APIError is error format response - 423 APIRepoArchivedError is an error that is raised when an archived repo should be modified -
-
repoUpdateFileWithHttpInfo
public ApiResponse<FileResponse> repoUpdateFileWithHttpInfo(@Nonnull String owner, @Nonnull String repo, @Nonnull String filepath, @Nonnull UpdateFileOptions body) throws ApiException Update a file in a repository- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)filepath- path of the file to update (required)body- (required)- Returns:
- ApiResponse<FileResponse>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details
Response Details Status Code Description Response Headers 200 FileResponse - 403 APIError is error format response - 404 APINotFound is a not found error response - 409 APIConflict is a conflict empty response - 413 QuotaExceeded * user_id -
* message -
* username -
422 APIError is error format response - 423 APIRepoArchivedError is an error that is raised when an archived repo should be modified -
-
repoUpdateFileAsync
public okhttp3.Call repoUpdateFileAsync(@Nonnull String owner, @Nonnull String repo, @Nonnull String filepath, @Nonnull UpdateFileOptions body, ApiCallback<FileResponse> _callback) throws ApiException Update a file in a repository (asynchronously)- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)filepath- path of the file to update (required)body- (required)_callback- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException- If fail to process the API call, e.g. serializing the request body object- Http Response Details
Response Details Status Code Description Response Headers 200 FileResponse - 403 APIError is error format response - 404 APINotFound is a not found error response - 409 APIConflict is a conflict empty response - 413 QuotaExceeded * user_id -
* message -
* username -
422 APIError is error format response - 423 APIRepoArchivedError is an error that is raised when an archived repo should be modified -
-
repoUpdatePullRequestCall
public okhttp3.Call repoUpdatePullRequestCall(@Nonnull String owner, @Nonnull String repo, @Nonnull Long index, @Nullable String style, ApiCallback _callback) throws ApiException Build call for repoUpdatePullRequest- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)index- index of the pull request to get (required)style- how to update pull request (optional)_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object- Http Response Details
Response Details Status Code Description Response Headers 200 APIEmpty is an empty response - 403 APIForbiddenError is a forbidden error response - 404 APINotFound is a not found error response - 409 APIError is error format response - 413 QuotaExceeded * user_id -
* message -
* username -
422 APIValidationError is error format response related to input validation -
-
repoUpdatePullRequest
public void repoUpdatePullRequest(@Nonnull String owner, @Nonnull String repo, @Nonnull Long index, @Nullable String style) throws ApiException Merge PR's baseBranch into headBranch- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)index- index of the pull request to get (required)style- how to update pull request (optional)- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details
Response Details Status Code Description Response Headers 200 APIEmpty is an empty response - 403 APIForbiddenError is a forbidden error response - 404 APINotFound is a not found error response - 409 APIError is error format response - 413 QuotaExceeded * user_id -
* message -
* username -
422 APIValidationError is error format response related to input validation -
-
repoUpdatePullRequestWithHttpInfo
public ApiResponse<Void> repoUpdatePullRequestWithHttpInfo(@Nonnull String owner, @Nonnull String repo, @Nonnull Long index, @Nullable String style) throws ApiException Merge PR's baseBranch into headBranch- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)index- index of the pull request to get (required)style- how to update pull request (optional)- Returns:
- ApiResponse<Void>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details
Response Details Status Code Description Response Headers 200 APIEmpty is an empty response - 403 APIForbiddenError is a forbidden error response - 404 APINotFound is a not found error response - 409 APIError is error format response - 413 QuotaExceeded * user_id -
* message -
* username -
422 APIValidationError is error format response related to input validation -
-
repoUpdatePullRequestAsync
public okhttp3.Call repoUpdatePullRequestAsync(@Nonnull String owner, @Nonnull String repo, @Nonnull Long index, @Nullable String style, ApiCallback<Void> _callback) throws ApiException Merge PR's baseBranch into headBranch (asynchronously)- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)index- index of the pull request to get (required)style- how to update pull request (optional)_callback- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException- If fail to process the API call, e.g. serializing the request body object- Http Response Details
Response Details Status Code Description Response Headers 200 APIEmpty is an empty response - 403 APIForbiddenError is a forbidden error response - 404 APINotFound is a not found error response - 409 APIError is error format response - 413 QuotaExceeded * user_id -
* message -
* username -
422 APIValidationError is error format response related to input validation -
-
repoUpdateTopicsCall
public okhttp3.Call repoUpdateTopicsCall(@Nonnull String owner, @Nonnull String repo, @Nullable RepoTopicOptions body, ApiCallback _callback) throws ApiException Build call for repoUpdateTopics- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)body- (optional)_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object- Http Response Details
Response Details Status Code Description Response Headers 204 APIEmpty is an empty response - 404 APINotFound is a not found error response - 422 APIInvalidTopicsError is error format response to invalid topics -
-
repoUpdateTopics
public void repoUpdateTopics(@Nonnull String owner, @Nonnull String repo, @Nullable RepoTopicOptions body) throws ApiException Replace list of topics for a repository- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)body- (optional)- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details
Response Details Status Code Description Response Headers 204 APIEmpty is an empty response - 404 APINotFound is a not found error response - 422 APIInvalidTopicsError is error format response to invalid topics -
-
repoUpdateTopicsWithHttpInfo
public ApiResponse<Void> repoUpdateTopicsWithHttpInfo(@Nonnull String owner, @Nonnull String repo, @Nullable RepoTopicOptions body) throws ApiException Replace list of topics for a repository- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)body- (optional)- Returns:
- ApiResponse<Void>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details
Response Details Status Code Description Response Headers 204 APIEmpty is an empty response - 404 APINotFound is a not found error response - 422 APIInvalidTopicsError is error format response to invalid topics -
-
repoUpdateTopicsAsync
public okhttp3.Call repoUpdateTopicsAsync(@Nonnull String owner, @Nonnull String repo, @Nullable RepoTopicOptions body, ApiCallback<Void> _callback) throws ApiException Replace list of topics for a repository (asynchronously)- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)body- (optional)_callback- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException- If fail to process the API call, e.g. serializing the request body object- Http Response Details
Response Details Status Code Description Response Headers 204 APIEmpty is an empty response - 404 APINotFound is a not found error response - 422 APIInvalidTopicsError is error format response to invalid topics -
-
repoValidateIssueConfigCall
public okhttp3.Call repoValidateIssueConfigCall(@Nonnull String owner, @Nonnull String repo, ApiCallback _callback) throws ApiException Build call for repoValidateIssueConfig- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object- Http Response Details
Response Details Status Code Description Response Headers 200 RepoIssueConfigValidation - 404 APINotFound is a not found error response -
-
repoValidateIssueConfig
public IssueConfigValidation repoValidateIssueConfig(@Nonnull String owner, @Nonnull String repo) throws ApiException Returns the validation information for a issue config- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)- Returns:
- IssueConfigValidation
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details
Response Details Status Code Description Response Headers 200 RepoIssueConfigValidation - 404 APINotFound is a not found error response -
-
repoValidateIssueConfigWithHttpInfo
public ApiResponse<IssueConfigValidation> repoValidateIssueConfigWithHttpInfo(@Nonnull String owner, @Nonnull String repo) throws ApiException Returns the validation information for a issue config- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)- Returns:
- ApiResponse<IssueConfigValidation>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details
Response Details Status Code Description Response Headers 200 RepoIssueConfigValidation - 404 APINotFound is a not found error response -
-
repoValidateIssueConfigAsync
public okhttp3.Call repoValidateIssueConfigAsync(@Nonnull String owner, @Nonnull String repo, ApiCallback<IssueConfigValidation> _callback) throws ApiException Returns the validation information for a issue config (asynchronously)- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)_callback- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException- If fail to process the API call, e.g. serializing the request body object- Http Response Details
Response Details Status Code Description Response Headers 200 RepoIssueConfigValidation - 404 APINotFound is a not found error response -
-
topicSearchCall
public okhttp3.Call topicSearchCall(@Nonnull String q, @Nullable Integer page, @Nullable Integer limit, ApiCallback _callback) throws ApiException Build call for topicSearch- Parameters:
q- keyword to search for (required)page- page number of results to return (1-based) (optional)limit- page size of results (optional)_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object- Http Response Details
Response Details Status Code Description Response Headers 200 SearchResults of a successful search - 403 APIForbiddenError is a forbidden error response - 404 APINotFound is a not found error response -
-
topicSearch
public TopicSearchResults topicSearch(@Nonnull String q, @Nullable Integer page, @Nullable Integer limit) throws ApiException Search for topics by keyword- Parameters:
q- keyword to search for (required)page- page number of results to return (1-based) (optional)limit- page size of results (optional)- Returns:
- TopicSearchResults
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details
Response Details Status Code Description Response Headers 200 SearchResults of a successful search - 403 APIForbiddenError is a forbidden error response - 404 APINotFound is a not found error response -
-
topicSearchWithHttpInfo
public ApiResponse<TopicSearchResults> topicSearchWithHttpInfo(@Nonnull String q, @Nullable Integer page, @Nullable Integer limit) throws ApiException Search for topics by keyword- Parameters:
q- keyword to search for (required)page- page number of results to return (1-based) (optional)limit- page size of results (optional)- Returns:
- ApiResponse<TopicSearchResults>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details
Response Details Status Code Description Response Headers 200 SearchResults of a successful search - 403 APIForbiddenError is a forbidden error response - 404 APINotFound is a not found error response -
-
topicSearchAsync
public okhttp3.Call topicSearchAsync(@Nonnull String q, @Nullable Integer page, @Nullable Integer limit, ApiCallback<TopicSearchResults> _callback) throws ApiException Search for topics by keyword (asynchronously)- Parameters:
q- keyword to search for (required)page- page number of results to return (1-based) (optional)limit- page size of results (optional)_callback- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException- If fail to process the API call, e.g. serializing the request body object- Http Response Details
Response Details Status Code Description Response Headers 200 SearchResults of a successful search - 403 APIForbiddenError is a forbidden error response - 404 APINotFound is a not found error response -
-
updateRepoSecretCall
public okhttp3.Call updateRepoSecretCall(@Nonnull String owner, @Nonnull String repo, @Nonnull String secretname, @Nullable CreateOrUpdateSecretOption body, ApiCallback _callback) throws ApiException Build call for updateRepoSecret- Parameters:
owner- owner of the repository (required)repo- name of the repository (required)secretname- name of the secret (required)body- (optional)_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object- Http Response Details
Response Details Status Code Description Response Headers 201 response when creating a secret - 204 response when updating a secret - 400 APIError is error format response - 404 APINotFound is a not found error response -
-
updateRepoSecret
public void updateRepoSecret(@Nonnull String owner, @Nonnull String repo, @Nonnull String secretname, @Nullable CreateOrUpdateSecretOption body) throws ApiException Create or Update a secret value in a repository- Parameters:
owner- owner of the repository (required)repo- name of the repository (required)secretname- name of the secret (required)body- (optional)- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details
Response Details Status Code Description Response Headers 201 response when creating a secret - 204 response when updating a secret - 400 APIError is error format response - 404 APINotFound is a not found error response -
-
updateRepoSecretWithHttpInfo
public ApiResponse<Void> updateRepoSecretWithHttpInfo(@Nonnull String owner, @Nonnull String repo, @Nonnull String secretname, @Nullable CreateOrUpdateSecretOption body) throws ApiException Create or Update a secret value in a repository- Parameters:
owner- owner of the repository (required)repo- name of the repository (required)secretname- name of the secret (required)body- (optional)- Returns:
- ApiResponse<Void>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details
Response Details Status Code Description Response Headers 201 response when creating a secret - 204 response when updating a secret - 400 APIError is error format response - 404 APINotFound is a not found error response -
-
updateRepoSecretAsync
public okhttp3.Call updateRepoSecretAsync(@Nonnull String owner, @Nonnull String repo, @Nonnull String secretname, @Nullable CreateOrUpdateSecretOption body, ApiCallback<Void> _callback) throws ApiException Create or Update a secret value in a repository (asynchronously)- Parameters:
owner- owner of the repository (required)repo- name of the repository (required)secretname- name of the secret (required)body- (optional)_callback- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException- If fail to process the API call, e.g. serializing the request body object- Http Response Details
Response Details Status Code Description Response Headers 201 response when creating a secret - 204 response when updating a secret - 400 APIError is error format response - 404 APINotFound is a not found error response -
-
updateRepoVariableCall
public okhttp3.Call updateRepoVariableCall(@Nonnull String owner, @Nonnull String repo, @Nonnull String variablename, @Nullable UpdateVariableOption body, ApiCallback _callback) throws ApiException Build call for updateRepoVariable- Parameters:
owner- name of the owner (required)repo- name of the repository (required)variablename- name of the variable (required)body- (optional)_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object- Http Response Details
Response Details Status Code Description Response Headers 201 response when updating a repo-level variable - 204 response when updating a repo-level variable - 400 APIError is error format response - 404 APINotFound is a not found error response -
-
updateRepoVariable
public void updateRepoVariable(@Nonnull String owner, @Nonnull String repo, @Nonnull String variablename, @Nullable UpdateVariableOption body) throws ApiException Update a repo-level variable- Parameters:
owner- name of the owner (required)repo- name of the repository (required)variablename- name of the variable (required)body- (optional)- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details
Response Details Status Code Description Response Headers 201 response when updating a repo-level variable - 204 response when updating a repo-level variable - 400 APIError is error format response - 404 APINotFound is a not found error response -
-
updateRepoVariableWithHttpInfo
public ApiResponse<Void> updateRepoVariableWithHttpInfo(@Nonnull String owner, @Nonnull String repo, @Nonnull String variablename, @Nullable UpdateVariableOption body) throws ApiException Update a repo-level variable- Parameters:
owner- name of the owner (required)repo- name of the repository (required)variablename- name of the variable (required)body- (optional)- Returns:
- ApiResponse<Void>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details
Response Details Status Code Description Response Headers 201 response when updating a repo-level variable - 204 response when updating a repo-level variable - 400 APIError is error format response - 404 APINotFound is a not found error response -
-
updateRepoVariableAsync
public okhttp3.Call updateRepoVariableAsync(@Nonnull String owner, @Nonnull String repo, @Nonnull String variablename, @Nullable UpdateVariableOption body, ApiCallback<Void> _callback) throws ApiException Update a repo-level variable (asynchronously)- Parameters:
owner- name of the owner (required)repo- name of the repository (required)variablename- name of the variable (required)body- (optional)_callback- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException- If fail to process the API call, e.g. serializing the request body object- Http Response Details
Response Details Status Code Description Response Headers 201 response when updating a repo-level variable - 204 response when updating a repo-level variable - 400 APIError is error format response - 404 APINotFound is a not found error response -
-
userCurrentCheckSubscriptionCall
public okhttp3.Call userCurrentCheckSubscriptionCall(@Nonnull String owner, @Nonnull String repo, ApiCallback _callback) throws ApiException Build call for userCurrentCheckSubscription- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object- Http Response Details
Response Details Status Code Description Response Headers 200 WatchInfo - 404 User is not watching this repo or repo do not exist -
-
userCurrentCheckSubscription
public WatchInfo userCurrentCheckSubscription(@Nonnull String owner, @Nonnull String repo) throws ApiException Check if the current user is watching a repo- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)- Returns:
- WatchInfo
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details
Response Details Status Code Description Response Headers 200 WatchInfo - 404 User is not watching this repo or repo do not exist -
-
userCurrentCheckSubscriptionWithHttpInfo
public ApiResponse<WatchInfo> userCurrentCheckSubscriptionWithHttpInfo(@Nonnull String owner, @Nonnull String repo) throws ApiException Check if the current user is watching a repo- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)- Returns:
- ApiResponse<WatchInfo>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details
Response Details Status Code Description Response Headers 200 WatchInfo - 404 User is not watching this repo or repo do not exist -
-
userCurrentCheckSubscriptionAsync
public okhttp3.Call userCurrentCheckSubscriptionAsync(@Nonnull String owner, @Nonnull String repo, ApiCallback<WatchInfo> _callback) throws ApiException Check if the current user is watching a repo (asynchronously)- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)_callback- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException- If fail to process the API call, e.g. serializing the request body object- Http Response Details
Response Details Status Code Description Response Headers 200 WatchInfo - 404 User is not watching this repo or repo do not exist -
-
userCurrentDeleteSubscriptionCall
public okhttp3.Call userCurrentDeleteSubscriptionCall(@Nonnull String owner, @Nonnull String repo, ApiCallback _callback) throws ApiException Build call for userCurrentDeleteSubscription- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object- Http Response Details
Response Details Status Code Description Response Headers 204 APIEmpty is an empty response - 404 APINotFound is a not found error response -
-
userCurrentDeleteSubscription
public void userCurrentDeleteSubscription(@Nonnull String owner, @Nonnull String repo) throws ApiException Unwatch a repo- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details
Response Details Status Code Description Response Headers 204 APIEmpty is an empty response - 404 APINotFound is a not found error response -
-
userCurrentDeleteSubscriptionWithHttpInfo
public ApiResponse<Void> userCurrentDeleteSubscriptionWithHttpInfo(@Nonnull String owner, @Nonnull String repo) throws ApiException Unwatch a repo- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)- Returns:
- ApiResponse<Void>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details
Response Details Status Code Description Response Headers 204 APIEmpty is an empty response - 404 APINotFound is a not found error response -
-
userCurrentDeleteSubscriptionAsync
public okhttp3.Call userCurrentDeleteSubscriptionAsync(@Nonnull String owner, @Nonnull String repo, ApiCallback<Void> _callback) throws ApiException Unwatch a repo (asynchronously)- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)_callback- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException- If fail to process the API call, e.g. serializing the request body object- Http Response Details
Response Details Status Code Description Response Headers 204 APIEmpty is an empty response - 404 APINotFound is a not found error response -
-
userCurrentPutSubscriptionCall
public okhttp3.Call userCurrentPutSubscriptionCall(@Nonnull String owner, @Nonnull String repo, ApiCallback _callback) throws ApiException Build call for userCurrentPutSubscription- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object- Http Response Details
Response Details Status Code Description Response Headers 200 WatchInfo - 404 APINotFound is a not found error response -
-
userCurrentPutSubscription
public WatchInfo userCurrentPutSubscription(@Nonnull String owner, @Nonnull String repo) throws ApiException Watch a repo- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)- Returns:
- WatchInfo
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details
Response Details Status Code Description Response Headers 200 WatchInfo - 404 APINotFound is a not found error response -
-
userCurrentPutSubscriptionWithHttpInfo
public ApiResponse<WatchInfo> userCurrentPutSubscriptionWithHttpInfo(@Nonnull String owner, @Nonnull String repo) throws ApiException Watch a repo- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)- Returns:
- ApiResponse<WatchInfo>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details
Response Details Status Code Description Response Headers 200 WatchInfo - 404 APINotFound is a not found error response -
-
userCurrentPutSubscriptionAsync
public okhttp3.Call userCurrentPutSubscriptionAsync(@Nonnull String owner, @Nonnull String repo, ApiCallback<WatchInfo> _callback) throws ApiException Watch a repo (asynchronously)- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)_callback- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException- If fail to process the API call, e.g. serializing the request body object- Http Response Details
Response Details Status Code Description Response Headers 200 WatchInfo - 404 APINotFound is a not found error response -
-
userTrackedTimesCall
@Deprecated public okhttp3.Call userTrackedTimesCall(@Nonnull String owner, @Nonnull String repo, @Nonnull String user, ApiCallback _callback) throws ApiException Deprecated.Build call for userTrackedTimes- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)user- username of user (required)_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object- Http Response Details
Response Details Status Code Description Response Headers 200 TrackedTimeListWithoutPagination - Tracked times for a specific user (no pagination headers) - 400 APIError is error format response - 403 APIForbiddenError is a forbidden error response - 404 APINotFound is a not found error response -
-
userTrackedTimes
@Deprecated public List<TrackedTime> userTrackedTimes(@Nonnull String owner, @Nonnull String repo, @Nonnull String user) throws ApiException Deprecated.List a user's tracked times in a repo- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)user- username of user (required)- Returns:
- List<TrackedTime>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details
Response Details Status Code Description Response Headers 200 TrackedTimeListWithoutPagination - Tracked times for a specific user (no pagination headers) - 400 APIError is error format response - 403 APIForbiddenError is a forbidden error response - 404 APINotFound is a not found error response -
-
userTrackedTimesWithHttpInfo
@Deprecated public ApiResponse<List<TrackedTime>> userTrackedTimesWithHttpInfo(@Nonnull String owner, @Nonnull String repo, @Nonnull String user) throws ApiException Deprecated.List a user's tracked times in a repo- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)user- username of user (required)- Returns:
- ApiResponse<List<TrackedTime>>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details
Response Details Status Code Description Response Headers 200 TrackedTimeListWithoutPagination - Tracked times for a specific user (no pagination headers) - 400 APIError is error format response - 403 APIForbiddenError is a forbidden error response - 404 APINotFound is a not found error response -
-
userTrackedTimesAsync
@Deprecated public okhttp3.Call userTrackedTimesAsync(@Nonnull String owner, @Nonnull String repo, @Nonnull String user, ApiCallback<List<TrackedTime>> _callback) throws ApiException Deprecated.List a user's tracked times in a repo (asynchronously)- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)user- username of user (required)_callback- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException- If fail to process the API call, e.g. serializing the request body object- Http Response Details
Response Details Status Code Description Response Headers 200 TrackedTimeListWithoutPagination - Tracked times for a specific user (no pagination headers) - 400 APIError is error format response - 403 APIForbiddenError is a forbidden error response - 404 APINotFound is a not found error response -
-