Class RepositoryApi

java.lang.Object
build.cursed.genapi.forgejo.api.RepositoryApi

public class RepositoryApi extends Object
  • Constructor Details

    • RepositoryApi

      public RepositoryApi()
    • RepositoryApi

      public RepositoryApi(ApiClient apiClient)
  • Method Details

    • getApiClient

      public ApiClient getApiClient()
    • setApiClient

      public void setApiClient(ApiClient apiClient)
    • getHostIndex

      public int getHostIndex()
    • setHostIndex

      public void setHostIndex(int hostIndex)
    • getCustomBaseUrl

      public String getCustomBaseUrl()
    • setCustomBaseUrl

      public void setCustomBaseUrl(String customBaseUrl)
    • 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

      public Repository createCurrentUserRepo(@Nullable CreateRepoOption body) throws ApiException
      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

      public Repository repoConvert(@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:
      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

      public void repoDelete(@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)
      Throws:
      ApiException - If fail 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

      public void repoDeleteAllFlags(@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)
      Throws:
      ApiException - If fail 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

      public void repoDeleteAvatar(@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)
      Throws:
      ApiException - If fail 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

      public Repository repoGet(@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:
      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

      public List<User> repoGetAssignees(@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:
      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

      public okhttp3.Call repoGetByIDCall(@Nonnull Long id, ApiCallback _callback) throws ApiException
      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

      public Repository repoGetByID(@Nonnull Long id) throws ApiException
      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

      public ApiResponse<Repository> repoGetByIDWithHttpInfo(@Nonnull Long id) throws ApiException
      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 ApiException
      Get 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 ApiException
      Get 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

      public List<User> repoGetReviewers(@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:
      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

      public List<String> repoListFlags(@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:
      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

      public List<Team> repoListTeams(@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:
      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

      public Repository repoMigrate(@Nullable MigrateRepoOptions body) throws ApiException
      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

      public void repoMirrorSync(@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)
      Throws:
      ApiException - If fail 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

      public void repoPushMirrorSync(@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)
      Throws:
      ApiException - If fail 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

      public String repoSigningKey(@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:
      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

      public void repoSyncForkDefault(@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)
      Throws:
      ApiException - If fail 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 -