Class OrganizationApi

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

public class OrganizationApi extends Object
  • Constructor Details

    • OrganizationApi

      public OrganizationApi()
    • OrganizationApi

      public OrganizationApi(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)
    • createOrgRepoCall

      public okhttp3.Call createOrgRepoCall(@Nonnull String org, @Nullable CreateRepoOption body, ApiCallback _callback) throws ApiException
      Build call for createOrgRepo
      Parameters:
      org - name of organization (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 -
      400 APIError is error format response -
      403 APIForbiddenError is a forbidden error response -
      404 APINotFound is a not found error response -
    • createOrgRepo

      public Repository createOrgRepo(@Nonnull String org, @Nullable CreateRepoOption body) throws ApiException
      Create a repository in an organization
      Parameters:
      org - name of organization (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 -
      400 APIError is error format response -
      403 APIForbiddenError is a forbidden error response -
      404 APINotFound is a not found error response -
    • createOrgRepoWithHttpInfo

      public ApiResponse<Repository> createOrgRepoWithHttpInfo(@Nonnull String org, @Nullable CreateRepoOption body) throws ApiException
      Create a repository in an organization
      Parameters:
      org - name of organization (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 -
      400 APIError is error format response -
      403 APIForbiddenError is a forbidden error response -
      404 APINotFound is a not found error response -
    • createOrgRepoAsync

      public okhttp3.Call createOrgRepoAsync(@Nonnull String org, @Nullable CreateRepoOption body, ApiCallback<Repository> _callback) throws ApiException
      Create a repository in an organization (asynchronously)
      Parameters:
      org - name of organization (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 -
      400 APIError is error format response -
      403 APIForbiddenError is a forbidden error response -
      404 APINotFound is a not found error response -
    • createOrgRepoDeprecatedCall

      @Deprecated public okhttp3.Call createOrgRepoDeprecatedCall(@Nonnull String org, @Nullable CreateRepoOption body, ApiCallback _callback) throws ApiException
      Deprecated.
      Build call for createOrgRepoDeprecated
      Parameters:
      org - name of organization (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 -
      422 APIValidationError is error format response related to input validation -
    • createOrgRepoDeprecated

      @Deprecated public Repository createOrgRepoDeprecated(@Nonnull String org, @Nullable CreateRepoOption body) throws ApiException
      Deprecated.
      Create a repository in an organization
      Parameters:
      org - name of organization (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 -
      422 APIValidationError is error format response related to input validation -
    • createOrgRepoDeprecatedWithHttpInfo

      @Deprecated public ApiResponse<Repository> createOrgRepoDeprecatedWithHttpInfo(@Nonnull String org, @Nullable CreateRepoOption body) throws ApiException
      Deprecated.
      Create a repository in an organization
      Parameters:
      org - name of organization (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 -
      422 APIValidationError is error format response related to input validation -
    • createOrgRepoDeprecatedAsync

      @Deprecated public okhttp3.Call createOrgRepoDeprecatedAsync(@Nonnull String org, @Nullable CreateRepoOption body, ApiCallback<Repository> _callback) throws ApiException
      Deprecated.
      Create a repository in an organization (asynchronously)
      Parameters:
      org - name of organization (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 -
      422 APIValidationError is error format response related to input validation -
    • createOrgVariableCall

      public okhttp3.Call createOrgVariableCall(@Nonnull String org, @Nonnull String variablename, @Nullable CreateVariableOption body, ApiCallback _callback) throws ApiException
      Build call for createOrgVariable
      Parameters:
      org - name of the organization (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 an org-level variable -
      204 response when creating an org-level variable -
      400 APIError is error format response -
      404 APINotFound is a not found error response -
    • createOrgVariable

      public void createOrgVariable(@Nonnull String org, @Nonnull String variablename, @Nullable CreateVariableOption body) throws ApiException
      Create a new variable in organization
      Parameters:
      org - name of the organization (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 an org-level variable -
      204 response when creating an org-level variable -
      400 APIError is error format response -
      404 APINotFound is a not found error response -
    • createOrgVariableWithHttpInfo

      public ApiResponse<Void> createOrgVariableWithHttpInfo(@Nonnull String org, @Nonnull String variablename, @Nullable CreateVariableOption body) throws ApiException
      Create a new variable in organization
      Parameters:
      org - name of the organization (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 an org-level variable -
      204 response when creating an org-level variable -
      400 APIError is error format response -
      404 APINotFound is a not found error response -
    • createOrgVariableAsync

      public okhttp3.Call createOrgVariableAsync(@Nonnull String org, @Nonnull String variablename, @Nullable CreateVariableOption body, ApiCallback<Void> _callback) throws ApiException
      Create a new variable in organization (asynchronously)
      Parameters:
      org - name of the organization (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 an org-level variable -
      204 response when creating an org-level variable -
      400 APIError is error format response -
      404 APINotFound is a not found error response -
    • deleteOrgRunnerCall

      public okhttp3.Call deleteOrgRunnerCall(@Nonnull String org, @Nonnull String runnerId, ApiCallback _callback) throws ApiException
      Build call for deleteOrgRunner
      Parameters:
      org - name of the organization (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 -
    • deleteOrgRunner

      public void deleteOrgRunner(@Nonnull String org, @Nonnull String runnerId) throws ApiException
      Delete a particular runner that belongs to the organization
      Parameters:
      org - name of the organization (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 -
    • deleteOrgRunnerWithHttpInfo

      public ApiResponse<Void> deleteOrgRunnerWithHttpInfo(@Nonnull String org, @Nonnull String runnerId) throws ApiException
      Delete a particular runner that belongs to the organization
      Parameters:
      org - name of the organization (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 -
    • deleteOrgRunnerAsync

      public okhttp3.Call deleteOrgRunnerAsync(@Nonnull String org, @Nonnull String runnerId, ApiCallback<Void> _callback) throws ApiException
      Delete a particular runner that belongs to the organization (asynchronously)
      Parameters:
      org - name of the organization (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 -
    • deleteOrgSecretCall

      public okhttp3.Call deleteOrgSecretCall(@Nonnull String org, @Nonnull String secretname, ApiCallback _callback) throws ApiException
      Build call for deleteOrgSecret
      Parameters:
      org - name of organization (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 -
    • deleteOrgSecret

      public void deleteOrgSecret(@Nonnull String org, @Nonnull String secretname) throws ApiException
      Delete a secret in an organization
      Parameters:
      org - name of organization (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 -
    • deleteOrgSecretWithHttpInfo

      public ApiResponse<Void> deleteOrgSecretWithHttpInfo(@Nonnull String org, @Nonnull String secretname) throws ApiException
      Delete a secret in an organization
      Parameters:
      org - name of organization (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 -
    • deleteOrgSecretAsync

      public okhttp3.Call deleteOrgSecretAsync(@Nonnull String org, @Nonnull String secretname, ApiCallback<Void> _callback) throws ApiException
      Delete a secret in an organization (asynchronously)
      Parameters:
      org - name of organization (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 -
    • deleteOrgVariableCall

      public okhttp3.Call deleteOrgVariableCall(@Nonnull String org, @Nonnull String variablename, ApiCallback _callback) throws ApiException
      Build call for deleteOrgVariable
      Parameters:
      org - name of the organization (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 -
    • deleteOrgVariable

      public void deleteOrgVariable(@Nonnull String org, @Nonnull String variablename) throws ApiException
      Delete organization's variable by name
      Parameters:
      org - name of the organization (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 -
    • deleteOrgVariableWithHttpInfo

      public ApiResponse<Void> deleteOrgVariableWithHttpInfo(@Nonnull String org, @Nonnull String variablename) throws ApiException
      Delete organization's variable by name
      Parameters:
      org - name of the organization (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 -
    • deleteOrgVariableAsync

      public okhttp3.Call deleteOrgVariableAsync(@Nonnull String org, @Nonnull String variablename, ApiCallback<Void> _callback) throws ApiException
      Delete organization's variable by name (asynchronously)
      Parameters:
      org - name of the organization (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 -
    • getOrgRunnerCall

      public okhttp3.Call getOrgRunnerCall(@Nonnull String org, @Nonnull String runnerId, ApiCallback _callback) throws ApiException
      Build call for getOrgRunner
      Parameters:
      org - name of the organization (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 -
    • getOrgRunner

      public ActionRunner getOrgRunner(@Nonnull String org, @Nonnull String runnerId) throws ApiException
      Get a particular runner that belongs to the organization
      Parameters:
      org - name of the organization (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 -
    • getOrgRunnerWithHttpInfo

      public ApiResponse<ActionRunner> getOrgRunnerWithHttpInfo(@Nonnull String org, @Nonnull String runnerId) throws ApiException
      Get a particular runner that belongs to the organization
      Parameters:
      org - name of the organization (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 -
    • getOrgRunnerAsync

      public okhttp3.Call getOrgRunnerAsync(@Nonnull String org, @Nonnull String runnerId, ApiCallback<ActionRunner> _callback) throws ApiException
      Get a particular runner that belongs to the organization (asynchronously)
      Parameters:
      org - name of the organization (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 -
    • getOrgRunnersCall

      public okhttp3.Call getOrgRunnersCall(@Nonnull String org, @Nullable Boolean visible, @Nullable Integer page, @Nullable Integer limit, ApiCallback _callback) throws ApiException
      Build call for getOrgRunners
      Parameters:
      org - name of the organization (required)
      visible - whether to include all visible runners (true) or only those that are directly owned by the organization (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 -
    • getOrgRunners

      public List<ActionRunner> getOrgRunners(@Nonnull String org, @Nullable Boolean visible, @Nullable Integer page, @Nullable Integer limit) throws ApiException
      Get the organization's runners
      Parameters:
      org - name of the organization (required)
      visible - whether to include all visible runners (true) or only those that are directly owned by the organization (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 -
    • getOrgRunnersWithHttpInfo

      public ApiResponse<List<ActionRunner>> getOrgRunnersWithHttpInfo(@Nonnull String org, @Nullable Boolean visible, @Nullable Integer page, @Nullable Integer limit) throws ApiException
      Get the organization's runners
      Parameters:
      org - name of the organization (required)
      visible - whether to include all visible runners (true) or only those that are directly owned by the organization (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 -
    • getOrgRunnersAsync

      public okhttp3.Call getOrgRunnersAsync(@Nonnull String org, @Nullable Boolean visible, @Nullable Integer page, @Nullable Integer limit, ApiCallback<List<ActionRunner>> _callback) throws ApiException
      Get the organization's runners (asynchronously)
      Parameters:
      org - name of the organization (required)
      visible - whether to include all visible runners (true) or only those that are directly owned by the organization (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 -
    • getOrgVariableCall

      public okhttp3.Call getOrgVariableCall(@Nonnull String org, @Nonnull String variablename, ApiCallback _callback) throws ApiException
      Build call for getOrgVariable
      Parameters:
      org - name of the organization (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 -
    • getOrgVariable

      public ActionVariable getOrgVariable(@Nonnull String org, @Nonnull String variablename) throws ApiException
      Get organization's variable by name
      Parameters:
      org - name of the organization (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 -
    • getOrgVariableWithHttpInfo

      public ApiResponse<ActionVariable> getOrgVariableWithHttpInfo(@Nonnull String org, @Nonnull String variablename) throws ApiException
      Get organization's variable by name
      Parameters:
      org - name of the organization (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 -
    • getOrgVariableAsync

      public okhttp3.Call getOrgVariableAsync(@Nonnull String org, @Nonnull String variablename, ApiCallback<ActionVariable> _callback) throws ApiException
      Get organization's variable by name (asynchronously)
      Parameters:
      org - name of the organization (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 -
    • getOrgVariablesListCall

      public okhttp3.Call getOrgVariablesListCall(@Nonnull String org, @Nullable Integer page, @Nullable Integer limit, ApiCallback _callback) throws ApiException
      Build call for getOrgVariablesList
      Parameters:
      org - name of the organization (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 -
    • getOrgVariablesList

      public List<ActionVariable> getOrgVariablesList(@Nonnull String org, @Nullable Integer page, @Nullable Integer limit) throws ApiException
      List variables of an organization
      Parameters:
      org - name of the organization (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 -
    • getOrgVariablesListWithHttpInfo

      public ApiResponse<List<ActionVariable>> getOrgVariablesListWithHttpInfo(@Nonnull String org, @Nullable Integer page, @Nullable Integer limit) throws ApiException
      List variables of an organization
      Parameters:
      org - name of the organization (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 -
    • getOrgVariablesListAsync

      public okhttp3.Call getOrgVariablesListAsync(@Nonnull String org, @Nullable Integer page, @Nullable Integer limit, ApiCallback<List<ActionVariable>> _callback) throws ApiException
      List variables of an organization (asynchronously)
      Parameters:
      org - name of the organization (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 -
    • orgAddTeamMemberCall

      public okhttp3.Call orgAddTeamMemberCall(@Nonnull Long id, @Nonnull String username, ApiCallback _callback) throws ApiException
      Build call for orgAddTeamMember
      Parameters:
      id - id of the team (required)
      username - username of the user 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 -
    • orgAddTeamMember

      public void orgAddTeamMember(@Nonnull Long id, @Nonnull String username) throws ApiException
      Add a team member
      Parameters:
      id - id of the team (required)
      username - username of the user 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 -
    • orgAddTeamMemberWithHttpInfo

      public ApiResponse<Void> orgAddTeamMemberWithHttpInfo(@Nonnull Long id, @Nonnull String username) throws ApiException
      Add a team member
      Parameters:
      id - id of the team (required)
      username - username of the user 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 -
    • orgAddTeamMemberAsync

      public okhttp3.Call orgAddTeamMemberAsync(@Nonnull Long id, @Nonnull String username, ApiCallback<Void> _callback) throws ApiException
      Add a team member (asynchronously)
      Parameters:
      id - id of the team (required)
      username - username of the user 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 -
    • orgAddTeamRepositoryCall

      public okhttp3.Call orgAddTeamRepositoryCall(@Nonnull Long id, @Nonnull String org, @Nonnull String repo, ApiCallback _callback) throws ApiException
      Build call for orgAddTeamRepository
      Parameters:
      id - id of the team (required)
      org - organization that owns the repo to add (required)
      repo - name of the repo 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 -
      403 APIForbiddenError is a forbidden error response -
      404 APINotFound is a not found error response -
    • orgAddTeamRepository

      public void orgAddTeamRepository(@Nonnull Long id, @Nonnull String org, @Nonnull String repo) throws ApiException
      Add a repository to a team
      Parameters:
      id - id of the team (required)
      org - organization that owns the repo to add (required)
      repo - name of the repo 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 -
      403 APIForbiddenError is a forbidden error response -
      404 APINotFound is a not found error response -
    • orgAddTeamRepositoryWithHttpInfo

      public ApiResponse<Void> orgAddTeamRepositoryWithHttpInfo(@Nonnull Long id, @Nonnull String org, @Nonnull String repo) throws ApiException
      Add a repository to a team
      Parameters:
      id - id of the team (required)
      org - organization that owns the repo to add (required)
      repo - name of the repo 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 -
      403 APIForbiddenError is a forbidden error response -
      404 APINotFound is a not found error response -
    • orgAddTeamRepositoryAsync

      public okhttp3.Call orgAddTeamRepositoryAsync(@Nonnull Long id, @Nonnull String org, @Nonnull String repo, ApiCallback<Void> _callback) throws ApiException
      Add a repository to a team (asynchronously)
      Parameters:
      id - id of the team (required)
      org - organization that owns the repo to add (required)
      repo - name of the repo 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 -
      403 APIForbiddenError is a forbidden error response -
      404 APINotFound is a not found error response -
    • orgBlockUserCall

      public okhttp3.Call orgBlockUserCall(@Nonnull String org, @Nonnull String username, ApiCallback _callback) throws ApiException
      Build call for orgBlockUser
      Parameters:
      org - name of the org (required)
      username - username of the 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
      204 APIEmpty is an empty response -
      404 APINotFound is a not found error response -
      422 APIValidationError is error format response related to input validation -
    • orgBlockUser

      public void orgBlockUser(@Nonnull String org, @Nonnull String username) throws ApiException
      Blocks a user from the organization
      Parameters:
      org - name of the org (required)
      username - username of the user (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 -
    • orgBlockUserWithHttpInfo

      public ApiResponse<Void> orgBlockUserWithHttpInfo(@Nonnull String org, @Nonnull String username) throws ApiException
      Blocks a user from the organization
      Parameters:
      org - name of the org (required)
      username - username of the user (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 -
    • orgBlockUserAsync

      public okhttp3.Call orgBlockUserAsync(@Nonnull String org, @Nonnull String username, ApiCallback<Void> _callback) throws ApiException
      Blocks a user from the organization (asynchronously)
      Parameters:
      org - name of the org (required)
      username - username of the 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
      204 APIEmpty is an empty response -
      404 APINotFound is a not found error response -
      422 APIValidationError is error format response related to input validation -
    • orgCheckQuotaCall

      public okhttp3.Call orgCheckQuotaCall(@Nonnull String org, @Nonnull String subject, ApiCallback _callback) throws ApiException
      Build call for orgCheckQuota
      Parameters:
      org - name of the organization (required)
      subject - subject of the quota (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 Returns true if the action is accepted. -
      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 -
    • orgCheckQuota

      public Boolean orgCheckQuota(@Nonnull String org, @Nonnull String subject) throws ApiException
      Check if the organization is over quota for a given subject
      Parameters:
      org - name of the organization (required)
      subject - subject of the quota (required)
      Returns:
      Boolean
      Throws:
      ApiException - If fail to 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 true if the action is accepted. -
      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 -
    • orgCheckQuotaWithHttpInfo

      public ApiResponse<Boolean> orgCheckQuotaWithHttpInfo(@Nonnull String org, @Nonnull String subject) throws ApiException
      Check if the organization is over quota for a given subject
      Parameters:
      org - name of the organization (required)
      subject - subject of the quota (required)
      Returns:
      ApiResponse<Boolean>
      Throws:
      ApiException - If fail to 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 true if the action is accepted. -
      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 -
    • orgCheckQuotaAsync

      public okhttp3.Call orgCheckQuotaAsync(@Nonnull String org, @Nonnull String subject, ApiCallback<Boolean> _callback) throws ApiException
      Check if the organization is over quota for a given subject (asynchronously)
      Parameters:
      org - name of the organization (required)
      subject - subject of the quota (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 Returns true if the action is accepted. -
      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 -
    • orgConcealMemberCall

      public okhttp3.Call orgConcealMemberCall(@Nonnull String org, @Nonnull String username, ApiCallback _callback) throws ApiException
      Build call for orgConcealMember
      Parameters:
      org - name of the organization (required)
      username - username of the 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
      204 APIEmpty is an empty response -
      403 APIForbiddenError is a forbidden error response -
      404 APINotFound is a not found error response -
    • orgConcealMember

      public void orgConcealMember(@Nonnull String org, @Nonnull String username) throws ApiException
      Conceal a user's membership
      Parameters:
      org - name of the organization (required)
      username - username of the user (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 -
    • orgConcealMemberWithHttpInfo

      public ApiResponse<Void> orgConcealMemberWithHttpInfo(@Nonnull String org, @Nonnull String username) throws ApiException
      Conceal a user's membership
      Parameters:
      org - name of the organization (required)
      username - username of the user (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 -
    • orgConcealMemberAsync

      public okhttp3.Call orgConcealMemberAsync(@Nonnull String org, @Nonnull String username, ApiCallback<Void> _callback) throws ApiException
      Conceal a user's membership (asynchronously)
      Parameters:
      org - name of the organization (required)
      username - username of the 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
      204 APIEmpty is an empty response -
      403 APIForbiddenError is a forbidden error response -
      404 APINotFound is a not found error response -
    • orgCreateCall

      public okhttp3.Call orgCreateCall(@Nonnull CreateOrgOption organization, ApiCallback _callback) throws ApiException
      Build call for orgCreate
      Parameters:
      organization - (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 Organization -
      403 APIForbiddenError is a forbidden error response -
      422 APIValidationError is error format response related to input validation -
    • orgCreate

      public Organization orgCreate(@Nonnull CreateOrgOption organization) throws ApiException
      Create an organization
      Parameters:
      organization - (required)
      Returns:
      Organization
      Throws:
      ApiException - If fail 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 Organization -
      403 APIForbiddenError is a forbidden error response -
      422 APIValidationError is error format response related to input validation -
    • orgCreateWithHttpInfo

      public ApiResponse<Organization> orgCreateWithHttpInfo(@Nonnull CreateOrgOption organization) throws ApiException
      Create an organization
      Parameters:
      organization - (required)
      Returns:
      ApiResponse<Organization>
      Throws:
      ApiException - If fail 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 Organization -
      403 APIForbiddenError is a forbidden error response -
      422 APIValidationError is error format response related to input validation -
    • orgCreateAsync

      public okhttp3.Call orgCreateAsync(@Nonnull CreateOrgOption organization, ApiCallback<Organization> _callback) throws ApiException
      Create an organization (asynchronously)
      Parameters:
      organization - (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 Organization -
      403 APIForbiddenError is a forbidden error response -
      422 APIValidationError is error format response related to input validation -
    • orgCreateHookCall

      public okhttp3.Call orgCreateHookCall(@Nonnull String org, @Nonnull CreateHookOption body, ApiCallback _callback) throws ApiException
      Build call for orgCreateHook
      Parameters:
      org - name of the organization (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 Hook -
      404 APINotFound is a not found error response -
    • orgCreateHook

      public Hook orgCreateHook(@Nonnull String org, @Nonnull CreateHookOption body) throws ApiException
      Create a hook
      Parameters:
      org - name of the organization (required)
      body - (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
      201 Hook -
      404 APINotFound is a not found error response -
    • orgCreateHookWithHttpInfo

      public ApiResponse<Hook> orgCreateHookWithHttpInfo(@Nonnull String org, @Nonnull CreateHookOption body) throws ApiException
      Create a hook
      Parameters:
      org - name of the organization (required)
      body - (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
      201 Hook -
      404 APINotFound is a not found error response -
    • orgCreateHookAsync

      public okhttp3.Call orgCreateHookAsync(@Nonnull String org, @Nonnull CreateHookOption body, ApiCallback<Hook> _callback) throws ApiException
      Create a hook (asynchronously)
      Parameters:
      org - name of the organization (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 Hook -
      404 APINotFound is a not found error response -
    • orgCreateLabelCall

      public okhttp3.Call orgCreateLabelCall(@Nonnull String org, @Nullable CreateLabelOption body, ApiCallback _callback) throws ApiException
      Build call for orgCreateLabel
      Parameters:
      org - name of the organization (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 Label -
      404 APINotFound is a not found error response -
      422 APIValidationError is error format response related to input validation -
    • orgCreateLabel

      public Label orgCreateLabel(@Nonnull String org, @Nullable CreateLabelOption body) throws ApiException
      Create a label for an organization
      Parameters:
      org - name of the organization (required)
      body - (optional)
      Returns:
      Label
      Throws:
      ApiException - If fail 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 Label -
      404 APINotFound is a not found error response -
      422 APIValidationError is error format response related to input validation -
    • orgCreateLabelWithHttpInfo

      public ApiResponse<Label> orgCreateLabelWithHttpInfo(@Nonnull String org, @Nullable CreateLabelOption body) throws ApiException
      Create a label for an organization
      Parameters:
      org - name of the organization (required)
      body - (optional)
      Returns:
      ApiResponse<Label>
      Throws:
      ApiException - If fail 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 Label -
      404 APINotFound is a not found error response -
      422 APIValidationError is error format response related to input validation -
    • orgCreateLabelAsync

      public okhttp3.Call orgCreateLabelAsync(@Nonnull String org, @Nullable CreateLabelOption body, ApiCallback<Label> _callback) throws ApiException
      Create a label for an organization (asynchronously)
      Parameters:
      org - name of the organization (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 Label -
      404 APINotFound is a not found error response -
      422 APIValidationError is error format response related to input validation -
    • orgCreateTeamCall

      public okhttp3.Call orgCreateTeamCall(@Nonnull String org, @Nullable CreateTeamOption body, ApiCallback _callback) throws ApiException
      Build call for orgCreateTeam
      Parameters:
      org - name of the organization (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 Team -
      404 APINotFound is a not found error response -
      422 APIValidationError is error format response related to input validation -
    • orgCreateTeam

      public Team orgCreateTeam(@Nonnull String org, @Nullable CreateTeamOption body) throws ApiException
      Create a team
      Parameters:
      org - name of the organization (required)
      body - (optional)
      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
      201 Team -
      404 APINotFound is a not found error response -
      422 APIValidationError is error format response related to input validation -
    • orgCreateTeamWithHttpInfo

      public ApiResponse<Team> orgCreateTeamWithHttpInfo(@Nonnull String org, @Nullable CreateTeamOption body) throws ApiException
      Create a team
      Parameters:
      org - name of the organization (required)
      body - (optional)
      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
      201 Team -
      404 APINotFound is a not found error response -
      422 APIValidationError is error format response related to input validation -
    • orgCreateTeamAsync

      public okhttp3.Call orgCreateTeamAsync(@Nonnull String org, @Nullable CreateTeamOption body, ApiCallback<Team> _callback) throws ApiException
      Create a team (asynchronously)
      Parameters:
      org - name of the organization (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 Team -
      404 APINotFound is a not found error response -
      422 APIValidationError is error format response related to input validation -
    • orgDeleteCall

      public okhttp3.Call orgDeleteCall(@Nonnull String org, ApiCallback _callback) throws ApiException
      Build call for orgDelete
      Parameters:
      org - organization that is to be deleted (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 -
    • orgDelete

      public void orgDelete(@Nonnull String org) throws ApiException
      Delete an organization
      Parameters:
      org - organization that is to be deleted (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 -
    • orgDeleteWithHttpInfo

      public ApiResponse<Void> orgDeleteWithHttpInfo(@Nonnull String org) throws ApiException
      Delete an organization
      Parameters:
      org - organization that is to be deleted (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 -
    • orgDeleteAsync

      public okhttp3.Call orgDeleteAsync(@Nonnull String org, ApiCallback<Void> _callback) throws ApiException
      Delete an organization (asynchronously)
      Parameters:
      org - organization that is to be deleted (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 -
    • orgDeleteAvatarCall

      public okhttp3.Call orgDeleteAvatarCall(@Nonnull String org, ApiCallback _callback) throws ApiException
      Build call for orgDeleteAvatar
      Parameters:
      org - name of the organization (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 -
    • orgDeleteAvatar

      public void orgDeleteAvatar(@Nonnull String org) throws ApiException
      Delete an organization's avatar. It will be replaced by a default one
      Parameters:
      org - name of the organization (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 -
    • orgDeleteAvatarWithHttpInfo

      public ApiResponse<Void> orgDeleteAvatarWithHttpInfo(@Nonnull String org) throws ApiException
      Delete an organization's avatar. It will be replaced by a default one
      Parameters:
      org - name of the organization (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 -
    • orgDeleteAvatarAsync

      public okhttp3.Call orgDeleteAvatarAsync(@Nonnull String org, ApiCallback<Void> _callback) throws ApiException
      Delete an organization's avatar. It will be replaced by a default one (asynchronously)
      Parameters:
      org - name of the organization (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 -
    • orgDeleteHookCall

      public okhttp3.Call orgDeleteHookCall(@Nonnull String org, @Nonnull Long id, ApiCallback _callback) throws ApiException
      Build call for orgDeleteHook
      Parameters:
      org - name of the organization (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 -
    • orgDeleteHook

      public void orgDeleteHook(@Nonnull String org, @Nonnull Long id) throws ApiException
      Delete a hook
      Parameters:
      org - name of the organization (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 -
    • orgDeleteHookWithHttpInfo

      public ApiResponse<Void> orgDeleteHookWithHttpInfo(@Nonnull String org, @Nonnull Long id) throws ApiException
      Delete a hook
      Parameters:
      org - name of the organization (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 -
    • orgDeleteHookAsync

      public okhttp3.Call orgDeleteHookAsync(@Nonnull String org, @Nonnull Long id, ApiCallback<Void> _callback) throws ApiException
      Delete a hook (asynchronously)
      Parameters:
      org - name of the organization (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 -
    • orgDeleteLabelCall

      public okhttp3.Call orgDeleteLabelCall(@Nonnull String org, @Nonnull Long id, ApiCallback _callback) throws ApiException
      Build call for orgDeleteLabel
      Parameters:
      org - name of the organization (required)
      id - id of the label 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 -
    • orgDeleteLabel

      public void orgDeleteLabel(@Nonnull String org, @Nonnull Long id) throws ApiException
      Delete a label
      Parameters:
      org - name of the organization (required)
      id - id of the label 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 -
    • orgDeleteLabelWithHttpInfo

      public ApiResponse<Void> orgDeleteLabelWithHttpInfo(@Nonnull String org, @Nonnull Long id) throws ApiException
      Delete a label
      Parameters:
      org - name of the organization (required)
      id - id of the label 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 -
    • orgDeleteLabelAsync

      public okhttp3.Call orgDeleteLabelAsync(@Nonnull String org, @Nonnull Long id, ApiCallback<Void> _callback) throws ApiException
      Delete a label (asynchronously)
      Parameters:
      org - name of the organization (required)
      id - id of the label 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 -
    • orgDeleteMemberCall

      public okhttp3.Call orgDeleteMemberCall(@Nonnull String org, @Nonnull String username, ApiCallback _callback) throws ApiException
      Build call for orgDeleteMember
      Parameters:
      org - name of the organization (required)
      username - username of the 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
      204 member removed -
      404 APINotFound is a not found error response -
    • orgDeleteMember

      public void orgDeleteMember(@Nonnull String org, @Nonnull String username) throws ApiException
      Remove a member from an organization
      Parameters:
      org - name of the organization (required)
      username - username of the user (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 member removed -
      404 APINotFound is a not found error response -
    • orgDeleteMemberWithHttpInfo

      public ApiResponse<Void> orgDeleteMemberWithHttpInfo(@Nonnull String org, @Nonnull String username) throws ApiException
      Remove a member from an organization
      Parameters:
      org - name of the organization (required)
      username - username of the user (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 member removed -
      404 APINotFound is a not found error response -
    • orgDeleteMemberAsync

      public okhttp3.Call orgDeleteMemberAsync(@Nonnull String org, @Nonnull String username, ApiCallback<Void> _callback) throws ApiException
      Remove a member from an organization (asynchronously)
      Parameters:
      org - name of the organization (required)
      username - username of the 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
      204 member removed -
      404 APINotFound is a not found error response -
    • orgDeleteTeamCall

      public okhttp3.Call orgDeleteTeamCall(@Nonnull Long id, ApiCallback _callback) throws ApiException
      Build call for orgDeleteTeam
      Parameters:
      id - id of the team 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 team deleted -
      404 APINotFound is a not found error response -
    • orgDeleteTeam

      public void orgDeleteTeam(@Nonnull Long id) throws ApiException
      Delete a team
      Parameters:
      id - id of the team 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 team deleted -
      404 APINotFound is a not found error response -
    • orgDeleteTeamWithHttpInfo

      public ApiResponse<Void> orgDeleteTeamWithHttpInfo(@Nonnull Long id) throws ApiException
      Delete a team
      Parameters:
      id - id of the team 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 team deleted -
      404 APINotFound is a not found error response -
    • orgDeleteTeamAsync

      public okhttp3.Call orgDeleteTeamAsync(@Nonnull Long id, ApiCallback<Void> _callback) throws ApiException
      Delete a team (asynchronously)
      Parameters:
      id - id of the team 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 team deleted -
      404 APINotFound is a not found error response -
    • orgEditCall

      public okhttp3.Call orgEditCall(@Nonnull String org, @Nonnull EditOrgOption body, ApiCallback _callback) throws ApiException
      Build call for orgEdit
      Parameters:
      org - name of the organization to edit (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 Organization -
      404 APINotFound is a not found error response -
      422 APIError is error format response -
    • orgEdit

      public Organization orgEdit(@Nonnull String org, @Nonnull EditOrgOption body) throws ApiException
      Edit an organization
      Parameters:
      org - name of the organization to edit (required)
      body - (required)
      Returns:
      Organization
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      Http Response Details
      Response Details
      Status Code Description Response Headers
      200 Organization -
      404 APINotFound is a not found error response -
      422 APIError is error format response -
    • orgEditWithHttpInfo

      public ApiResponse<Organization> orgEditWithHttpInfo(@Nonnull String org, @Nonnull EditOrgOption body) throws ApiException
      Edit an organization
      Parameters:
      org - name of the organization to edit (required)
      body - (required)
      Returns:
      ApiResponse<Organization>
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      Http Response Details
      Response Details
      Status Code Description Response Headers
      200 Organization -
      404 APINotFound is a not found error response -
      422 APIError is error format response -
    • orgEditAsync

      public okhttp3.Call orgEditAsync(@Nonnull String org, @Nonnull EditOrgOption body, ApiCallback<Organization> _callback) throws ApiException
      Edit an organization (asynchronously)
      Parameters:
      org - name of the organization to edit (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 Organization -
      404 APINotFound is a not found error response -
      422 APIError is error format response -
    • orgEditHookCall

      public okhttp3.Call orgEditHookCall(@Nonnull String org, @Nonnull Long id, @Nullable EditHookOption body, ApiCallback _callback) throws ApiException
      Build call for orgEditHook
      Parameters:
      org - name of the organization (required)
      id - id of the hook to update (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 -
    • orgEditHook

      public Hook orgEditHook(@Nonnull String org, @Nonnull Long id, @Nullable EditHookOption body) throws ApiException
      Update a hook
      Parameters:
      org - name of the organization (required)
      id - id of the hook to update (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 -
    • orgEditHookWithHttpInfo

      public ApiResponse<Hook> orgEditHookWithHttpInfo(@Nonnull String org, @Nonnull Long id, @Nullable EditHookOption body) throws ApiException
      Update a hook
      Parameters:
      org - name of the organization (required)
      id - id of the hook to update (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 -
    • orgEditHookAsync

      public okhttp3.Call orgEditHookAsync(@Nonnull String org, @Nonnull Long id, @Nullable EditHookOption body, ApiCallback<Hook> _callback) throws ApiException
      Update a hook (asynchronously)
      Parameters:
      org - name of the organization (required)
      id - id of the hook to update (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 -
    • orgEditLabelCall

      public okhttp3.Call orgEditLabelCall(@Nonnull String org, @Nonnull Long id, @Nullable EditLabelOption body, ApiCallback _callback) throws ApiException
      Build call for orgEditLabel
      Parameters:
      org - name of the organization (required)
      id - id of the label 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 Label -
      404 APINotFound is a not found error response -
      422 APIValidationError is error format response related to input validation -
    • orgEditLabel

      public Label orgEditLabel(@Nonnull String org, @Nonnull Long id, @Nullable EditLabelOption body) throws ApiException
      Update a label
      Parameters:
      org - name of the organization (required)
      id - id of the label to edit (required)
      body - (optional)
      Returns:
      Label
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      Http Response Details
      Response Details
      Status Code Description Response Headers
      200 Label -
      404 APINotFound is a not found error response -
      422 APIValidationError is error format response related to input validation -
    • orgEditLabelWithHttpInfo

      public ApiResponse<Label> orgEditLabelWithHttpInfo(@Nonnull String org, @Nonnull Long id, @Nullable EditLabelOption body) throws ApiException
      Update a label
      Parameters:
      org - name of the organization (required)
      id - id of the label to edit (required)
      body - (optional)
      Returns:
      ApiResponse<Label>
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      Http Response Details
      Response Details
      Status Code Description Response Headers
      200 Label -
      404 APINotFound is a not found error response -
      422 APIValidationError is error format response related to input validation -
    • orgEditLabelAsync

      public okhttp3.Call orgEditLabelAsync(@Nonnull String org, @Nonnull Long id, @Nullable EditLabelOption body, ApiCallback<Label> _callback) throws ApiException
      Update a label (asynchronously)
      Parameters:
      org - name of the organization (required)
      id - id of the label 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 Label -
      404 APINotFound is a not found error response -
      422 APIValidationError is error format response related to input validation -
    • orgEditTeamCall

      public okhttp3.Call orgEditTeamCall(@Nonnull Long id, @Nullable EditTeamOption body, ApiCallback _callback) throws ApiException
      Build call for orgEditTeam
      Parameters:
      id - id of the team 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 Team -
      404 APINotFound is a not found error response -
    • orgEditTeam

      public Team orgEditTeam(@Nonnull Long id, @Nullable EditTeamOption body) throws ApiException
      Edit a team
      Parameters:
      id - id of the team to edit (required)
      body - (optional)
      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 -
    • orgEditTeamWithHttpInfo

      public ApiResponse<Team> orgEditTeamWithHttpInfo(@Nonnull Long id, @Nullable EditTeamOption body) throws ApiException
      Edit a team
      Parameters:
      id - id of the team to edit (required)
      body - (optional)
      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 -
    • orgEditTeamAsync

      public okhttp3.Call orgEditTeamAsync(@Nonnull Long id, @Nullable EditTeamOption body, ApiCallback<Team> _callback) throws ApiException
      Edit a team (asynchronously)
      Parameters:
      id - id of the team 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 Team -
      404 APINotFound is a not found error response -
    • orgGetCall

      public okhttp3.Call orgGetCall(@Nonnull String org, ApiCallback _callback) throws ApiException
      Build call for orgGet
      Parameters:
      org - name of the organization 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 Organization -
      404 APINotFound is a not found error response -
    • orgGet

      public Organization orgGet(@Nonnull String org) throws ApiException
      Get an organization
      Parameters:
      org - name of the organization to get (required)
      Returns:
      Organization
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      Http Response Details
      Response Details
      Status Code Description Response Headers
      200 Organization -
      404 APINotFound is a not found error response -
    • orgGetWithHttpInfo

      public ApiResponse<Organization> orgGetWithHttpInfo(@Nonnull String org) throws ApiException
      Get an organization
      Parameters:
      org - name of the organization to get (required)
      Returns:
      ApiResponse<Organization>
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      Http Response Details
      Response Details
      Status Code Description Response Headers
      200 Organization -
      404 APINotFound is a not found error response -
    • orgGetAsync

      public okhttp3.Call orgGetAsync(@Nonnull String org, ApiCallback<Organization> _callback) throws ApiException
      Get an organization (asynchronously)
      Parameters:
      org - name of the organization 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 Organization -
      404 APINotFound is a not found error response -
    • orgGetAllCall

      public okhttp3.Call orgGetAllCall(@Nullable Integer page, @Nullable Integer limit, ApiCallback _callback) throws ApiException
      Build call for orgGetAll
      Parameters:
      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 OrganizationList * X-Total-Count - The total number of access tokens
    • orgGetAll

      public List<Organization> orgGetAll(@Nullable Integer page, @Nullable Integer limit) throws ApiException
      List all organizations
      Parameters:
      page - page number of results to return (1-based) (optional)
      limit - page size of results (optional)
      Returns:
      List<Organization>
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      Http Response Details
      Response Details
      Status Code Description Response Headers
      200 OrganizationList * X-Total-Count - The total number of access tokens
    • orgGetAllWithHttpInfo

      public ApiResponse<List<Organization>> orgGetAllWithHttpInfo(@Nullable Integer page, @Nullable Integer limit) throws ApiException
      List all organizations
      Parameters:
      page - page number of results to return (1-based) (optional)
      limit - page size of results (optional)
      Returns:
      ApiResponse<List<Organization>>
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      Http Response Details
      Response Details
      Status Code Description Response Headers
      200 OrganizationList * X-Total-Count - The total number of access tokens
    • orgGetAllAsync

      public okhttp3.Call orgGetAllAsync(@Nullable Integer page, @Nullable Integer limit, ApiCallback<List<Organization>> _callback) throws ApiException
      List all organizations (asynchronously)
      Parameters:
      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 OrganizationList * X-Total-Count - The total number of access tokens
    • orgGetHookCall

      public okhttp3.Call orgGetHookCall(@Nonnull String org, @Nonnull Long id, ApiCallback _callback) throws ApiException
      Build call for orgGetHook
      Parameters:
      org - name of the organization (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 -
    • orgGetHook

      public Hook orgGetHook(@Nonnull String org, @Nonnull Long id) throws ApiException
      Get a hook
      Parameters:
      org - name of the organization (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 -
    • orgGetHookWithHttpInfo

      public ApiResponse<Hook> orgGetHookWithHttpInfo(@Nonnull String org, @Nonnull Long id) throws ApiException
      Get a hook
      Parameters:
      org - name of the organization (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 -
    • orgGetHookAsync

      public okhttp3.Call orgGetHookAsync(@Nonnull String org, @Nonnull Long id, ApiCallback<Hook> _callback) throws ApiException
      Get a hook (asynchronously)
      Parameters:
      org - name of the organization (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 -
    • orgGetLabelCall

      public okhttp3.Call orgGetLabelCall(@Nonnull String org, @Nonnull Long id, ApiCallback _callback) throws ApiException
      Build call for orgGetLabel
      Parameters:
      org - name of the organization (required)
      id - id of the label 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 Label -
      404 APINotFound is a not found error response -
    • orgGetLabel

      public Label orgGetLabel(@Nonnull String org, @Nonnull Long id) throws ApiException
      Get a single label
      Parameters:
      org - name of the organization (required)
      id - id of the label to get (required)
      Returns:
      Label
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      Http Response Details
      Response Details
      Status Code Description Response Headers
      200 Label -
      404 APINotFound is a not found error response -
    • orgGetLabelWithHttpInfo

      public ApiResponse<Label> orgGetLabelWithHttpInfo(@Nonnull String org, @Nonnull Long id) throws ApiException
      Get a single label
      Parameters:
      org - name of the organization (required)
      id - id of the label to get (required)
      Returns:
      ApiResponse<Label>
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      Http Response Details
      Response Details
      Status Code Description Response Headers
      200 Label -
      404 APINotFound is a not found error response -
    • orgGetLabelAsync

      public okhttp3.Call orgGetLabelAsync(@Nonnull String org, @Nonnull Long id, ApiCallback<Label> _callback) throws ApiException
      Get a single label (asynchronously)
      Parameters:
      org - name of the organization (required)
      id - id of the label 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 Label -
      404 APINotFound is a not found error response -
    • orgGetQuotaCall

      public okhttp3.Call orgGetQuotaCall(@Nonnull String org, ApiCallback _callback) throws ApiException
      Build call for orgGetQuota
      Parameters:
      org - name of the organization (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 QuotaInfo -
      403 APIForbiddenError is a forbidden error response -
      404 APINotFound is a not found error response -
    • orgGetQuota

      public QuotaInfo orgGetQuota(@Nonnull String org) throws ApiException
      Get quota information for an organization
      Parameters:
      org - name of the organization (required)
      Returns:
      QuotaInfo
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      Http Response Details
      Response Details
      Status Code Description Response Headers
      200 QuotaInfo -
      403 APIForbiddenError is a forbidden error response -
      404 APINotFound is a not found error response -
    • orgGetQuotaWithHttpInfo

      public ApiResponse<QuotaInfo> orgGetQuotaWithHttpInfo(@Nonnull String org) throws ApiException
      Get quota information for an organization
      Parameters:
      org - name of the organization (required)
      Returns:
      ApiResponse<QuotaInfo>
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      Http Response Details
      Response Details
      Status Code Description Response Headers
      200 QuotaInfo -
      403 APIForbiddenError is a forbidden error response -
      404 APINotFound is a not found error response -
    • orgGetQuotaAsync

      public okhttp3.Call orgGetQuotaAsync(@Nonnull String org, ApiCallback<QuotaInfo> _callback) throws ApiException
      Get quota information for an organization (asynchronously)
      Parameters:
      org - name of the organization (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 QuotaInfo -
      403 APIForbiddenError is a forbidden error response -
      404 APINotFound is a not found error response -
    • orgGetRunnerRegistrationTokenCall

      @Deprecated public okhttp3.Call orgGetRunnerRegistrationTokenCall(@Nonnull String org, ApiCallback _callback) throws ApiException
      Deprecated.
      Build call for orgGetRunnerRegistrationToken
      Parameters:
      org - name of the organization (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 -
    • orgGetRunnerRegistrationToken

      @Deprecated public RegistrationToken orgGetRunnerRegistrationToken(@Nonnull String org) throws ApiException
      Deprecated.
      Get the organization's runner registration token This operation has been deprecated in Forgejo 15. Use the web UI or [`/orgs/{org}/actions/runners`](#/organization/registerOrgRunner) instead.
      Parameters:
      org - name of the organization (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 -
    • orgGetRunnerRegistrationTokenWithHttpInfo

      @Deprecated public ApiResponse<RegistrationToken> orgGetRunnerRegistrationTokenWithHttpInfo(@Nonnull String org) throws ApiException
      Deprecated.
      Get the organization's runner registration token This operation has been deprecated in Forgejo 15. Use the web UI or [`/orgs/{org}/actions/runners`](#/organization/registerOrgRunner) instead.
      Parameters:
      org - name of the organization (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 -
    • orgGetRunnerRegistrationTokenAsync

      @Deprecated public okhttp3.Call orgGetRunnerRegistrationTokenAsync(@Nonnull String org, ApiCallback<RegistrationToken> _callback) throws ApiException
      Deprecated.
      Get the organization's runner registration token (asynchronously) This operation has been deprecated in Forgejo 15. Use the web UI or [`/orgs/{org}/actions/runners`](#/organization/registerOrgRunner) instead.
      Parameters:
      org - name of the organization (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 -
    • orgGetTeamCall

      public okhttp3.Call orgGetTeamCall(@Nonnull Long id, ApiCallback _callback) throws ApiException
      Build call for orgGetTeam
      Parameters:
      id - id of the team 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 Team -
      404 APINotFound is a not found error response -
    • orgGetTeam

      public Team orgGetTeam(@Nonnull Long id) throws ApiException
      Get a team
      Parameters:
      id - id of the team to get (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 -
    • orgGetTeamWithHttpInfo

      public ApiResponse<Team> orgGetTeamWithHttpInfo(@Nonnull Long id) throws ApiException
      Get a team
      Parameters:
      id - id of the team to get (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 -
    • orgGetTeamAsync

      public okhttp3.Call orgGetTeamAsync(@Nonnull Long id, ApiCallback<Team> _callback) throws ApiException
      Get a team (asynchronously)
      Parameters:
      id - id of the team 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 Team -
      404 APINotFound is a not found error response -
    • orgGetUserPermissionsCall

      public okhttp3.Call orgGetUserPermissionsCall(@Nonnull String username, @Nonnull String org, ApiCallback _callback) throws ApiException
      Build call for orgGetUserPermissions
      Parameters:
      username - username of user (required)
      org - name of the organization (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 OrganizationPermissions -
      403 APIForbiddenError is a forbidden error response -
      404 APINotFound is a not found error response -
    • orgGetUserPermissions

      public OrganizationPermissions orgGetUserPermissions(@Nonnull String username, @Nonnull String org) throws ApiException
      Get user permissions in organization
      Parameters:
      username - username of user (required)
      org - name of the organization (required)
      Returns:
      OrganizationPermissions
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      Http Response Details
      Response Details
      Status Code Description Response Headers
      200 OrganizationPermissions -
      403 APIForbiddenError is a forbidden error response -
      404 APINotFound is a not found error response -
    • orgGetUserPermissionsWithHttpInfo

      public ApiResponse<OrganizationPermissions> orgGetUserPermissionsWithHttpInfo(@Nonnull String username, @Nonnull String org) throws ApiException
      Get user permissions in organization
      Parameters:
      username - username of user (required)
      org - name of the organization (required)
      Returns:
      ApiResponse<OrganizationPermissions>
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      Http Response Details
      Response Details
      Status Code Description Response Headers
      200 OrganizationPermissions -
      403 APIForbiddenError is a forbidden error response -
      404 APINotFound is a not found error response -
    • orgGetUserPermissionsAsync

      public okhttp3.Call orgGetUserPermissionsAsync(@Nonnull String username, @Nonnull String org, ApiCallback<OrganizationPermissions> _callback) throws ApiException
      Get user permissions in organization (asynchronously)
      Parameters:
      username - username of user (required)
      org - name of the organization (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 OrganizationPermissions -
      403 APIForbiddenError is a forbidden error response -
      404 APINotFound is a not found error response -
    • orgIsMemberCall

      public okhttp3.Call orgIsMemberCall(@Nonnull String org, @Nonnull String username, ApiCallback _callback) throws ApiException
      Build call for orgIsMember
      Parameters:
      org - name of the organization (required)
      username - username of the 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
      204 user is a member -
      303 redirection to /orgs/{org}/public_members/{username} -
      404 user is not a member -
    • orgIsMember

      public void orgIsMember(@Nonnull String org, @Nonnull String username) throws ApiException
      Check if a user is a member of an organization
      Parameters:
      org - name of the organization (required)
      username - username of the user (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 user is a member -
      303 redirection to /orgs/{org}/public_members/{username} -
      404 user is not a member -
    • orgIsMemberWithHttpInfo

      public ApiResponse<Void> orgIsMemberWithHttpInfo(@Nonnull String org, @Nonnull String username) throws ApiException
      Check if a user is a member of an organization
      Parameters:
      org - name of the organization (required)
      username - username of the user (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 user is a member -
      303 redirection to /orgs/{org}/public_members/{username} -
      404 user is not a member -
    • orgIsMemberAsync

      public okhttp3.Call orgIsMemberAsync(@Nonnull String org, @Nonnull String username, ApiCallback<Void> _callback) throws ApiException
      Check if a user is a member of an organization (asynchronously)
      Parameters:
      org - name of the organization (required)
      username - username of the 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
      204 user is a member -
      303 redirection to /orgs/{org}/public_members/{username} -
      404 user is not a member -
    • orgIsPublicMemberCall

      public okhttp3.Call orgIsPublicMemberCall(@Nonnull String org, @Nonnull String username, ApiCallback _callback) throws ApiException
      Build call for orgIsPublicMember
      Parameters:
      org - name of the organization (required)
      username - username of the 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
      204 user is a public member -
      404 user is not a public member -
    • orgIsPublicMember

      public void orgIsPublicMember(@Nonnull String org, @Nonnull String username) throws ApiException
      Check if a user is a public member of an organization
      Parameters:
      org - name of the organization (required)
      username - username of the user (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 user is a public member -
      404 user is not a public member -
    • orgIsPublicMemberWithHttpInfo

      public ApiResponse<Void> orgIsPublicMemberWithHttpInfo(@Nonnull String org, @Nonnull String username) throws ApiException
      Check if a user is a public member of an organization
      Parameters:
      org - name of the organization (required)
      username - username of the user (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 user is a public member -
      404 user is not a public member -
    • orgIsPublicMemberAsync

      public okhttp3.Call orgIsPublicMemberAsync(@Nonnull String org, @Nonnull String username, ApiCallback<Void> _callback) throws ApiException
      Check if a user is a public member of an organization (asynchronously)
      Parameters:
      org - name of the organization (required)
      username - username of the 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
      204 user is a public member -
      404 user is not a public member -
    • orgListActionsSecretsCall

      public okhttp3.Call orgListActionsSecretsCall(@Nonnull String org, @Nullable Integer page, @Nullable Integer limit, ApiCallback _callback) throws ApiException
      Build call for orgListActionsSecrets
      Parameters:
      org - name of the organization (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 -
    • orgListActionsSecrets

      public List<Secret> orgListActionsSecrets(@Nonnull String org, @Nullable Integer page, @Nullable Integer limit) throws ApiException
      List actions secrets of an organization
      Parameters:
      org - name of the organization (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 -
    • orgListActionsSecretsWithHttpInfo

      public ApiResponse<List<Secret>> orgListActionsSecretsWithHttpInfo(@Nonnull String org, @Nullable Integer page, @Nullable Integer limit) throws ApiException
      List actions secrets of an organization
      Parameters:
      org - name of the organization (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 -
    • orgListActionsSecretsAsync

      public okhttp3.Call orgListActionsSecretsAsync(@Nonnull String org, @Nullable Integer page, @Nullable Integer limit, ApiCallback<List<Secret>> _callback) throws ApiException
      List actions secrets of an organization (asynchronously)
      Parameters:
      org - name of the organization (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 -
    • orgListActivityFeedsCall

      public okhttp3.Call orgListActivityFeedsCall(@Nonnull String org, @Nullable LocalDate date, @Nullable Integer page, @Nullable Integer limit, ApiCallback _callback) throws ApiException
      Build call for orgListActivityFeeds
      Parameters:
      org - name of the org (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 -
    • orgListActivityFeeds

      public List<Activity> orgListActivityFeeds(@Nonnull String org, @Nullable LocalDate date, @Nullable Integer page, @Nullable Integer limit) throws ApiException
      List an organization's activity feeds
      Parameters:
      org - name of the org (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 -
    • orgListActivityFeedsWithHttpInfo

      public ApiResponse<List<Activity>> orgListActivityFeedsWithHttpInfo(@Nonnull String org, @Nullable LocalDate date, @Nullable Integer page, @Nullable Integer limit) throws ApiException
      List an organization's activity feeds
      Parameters:
      org - name of the org (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 -
    • orgListActivityFeedsAsync

      public okhttp3.Call orgListActivityFeedsAsync(@Nonnull String org, @Nullable LocalDate date, @Nullable Integer page, @Nullable Integer limit, ApiCallback<List<Activity>> _callback) throws ApiException
      List an organization's activity feeds (asynchronously)
      Parameters:
      org - name of the org (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 -
    • orgListBlockedUsersCall

      public okhttp3.Call orgListBlockedUsersCall(@Nonnull String org, @Nullable Integer page, @Nullable Integer limit, ApiCallback _callback) throws ApiException
      Build call for orgListBlockedUsers
      Parameters:
      org - name of the org (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 BlockedUserList -
    • orgListBlockedUsers

      public List<BlockedUser> orgListBlockedUsers(@Nonnull String org, @Nullable Integer page, @Nullable Integer limit) throws ApiException
      List the organization's blocked users
      Parameters:
      org - name of the org (required)
      page - page number of results to return (1-based) (optional)
      limit - page size of results (optional)
      Returns:
      List<BlockedUser>
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      Http Response Details
      Response Details
      Status Code Description Response Headers
      200 BlockedUserList -
    • orgListBlockedUsersWithHttpInfo

      public ApiResponse<List<BlockedUser>> orgListBlockedUsersWithHttpInfo(@Nonnull String org, @Nullable Integer page, @Nullable Integer limit) throws ApiException
      List the organization's blocked users
      Parameters:
      org - name of the org (required)
      page - page number of results to return (1-based) (optional)
      limit - page size of results (optional)
      Returns:
      ApiResponse<List<BlockedUser>>
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      Http Response Details
      Response Details
      Status Code Description Response Headers
      200 BlockedUserList -
    • orgListBlockedUsersAsync

      public okhttp3.Call orgListBlockedUsersAsync(@Nonnull String org, @Nullable Integer page, @Nullable Integer limit, ApiCallback<List<BlockedUser>> _callback) throws ApiException
      List the organization's blocked users (asynchronously)
      Parameters:
      org - name of the org (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 BlockedUserList -
    • orgListCurrentUserOrgsCall

      public okhttp3.Call orgListCurrentUserOrgsCall(@Nullable Integer page, @Nullable Integer limit, ApiCallback _callback) throws ApiException
      Build call for orgListCurrentUserOrgs
      Parameters:
      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 OrganizationListWithoutPagination - Organizations without pagination headers -
      401 APIUnauthorizedError is a unauthorized error response -
      403 APIForbiddenError is a forbidden error response -
      404 APINotFound is a not found error response -
    • orgListCurrentUserOrgs

      public List<Organization> orgListCurrentUserOrgs(@Nullable Integer page, @Nullable Integer limit) throws ApiException
      List the current user's organizations
      Parameters:
      page - page number of results to return (1-based) (optional)
      limit - page size of results (optional)
      Returns:
      List<Organization>
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      Http Response Details
      Response Details
      Status Code Description Response Headers
      200 OrganizationListWithoutPagination - Organizations without pagination headers -
      401 APIUnauthorizedError is a unauthorized error response -
      403 APIForbiddenError is a forbidden error response -
      404 APINotFound is a not found error response -
    • orgListCurrentUserOrgsWithHttpInfo

      public ApiResponse<List<Organization>> orgListCurrentUserOrgsWithHttpInfo(@Nullable Integer page, @Nullable Integer limit) throws ApiException
      List the current user's organizations
      Parameters:
      page - page number of results to return (1-based) (optional)
      limit - page size of results (optional)
      Returns:
      ApiResponse<List<Organization>>
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      Http Response Details
      Response Details
      Status Code Description Response Headers
      200 OrganizationListWithoutPagination - Organizations without pagination headers -
      401 APIUnauthorizedError is a unauthorized error response -
      403 APIForbiddenError is a forbidden error response -
      404 APINotFound is a not found error response -
    • orgListCurrentUserOrgsAsync

      public okhttp3.Call orgListCurrentUserOrgsAsync(@Nullable Integer page, @Nullable Integer limit, ApiCallback<List<Organization>> _callback) throws ApiException
      List the current user's organizations (asynchronously)
      Parameters:
      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 OrganizationListWithoutPagination - Organizations without pagination headers -
      401 APIUnauthorizedError is a unauthorized error response -
      403 APIForbiddenError is a forbidden error response -
      404 APINotFound is a not found error response -
    • orgListHooksCall

      public okhttp3.Call orgListHooksCall(@Nonnull String org, @Nullable Integer page, @Nullable Integer limit, ApiCallback _callback) throws ApiException
      Build call for orgListHooks
      Parameters:
      org - name of the organization (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 HookListWithoutPagination - Hooks without pagination headers -
      404 APINotFound is a not found error response -
    • orgListHooks

      public List<Hook> orgListHooks(@Nonnull String org, @Nullable Integer page, @Nullable Integer limit) throws ApiException
      List an organization's webhooks
      Parameters:
      org - name of the organization (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 HookListWithoutPagination - Hooks without pagination headers -
      404 APINotFound is a not found error response -
    • orgListHooksWithHttpInfo

      public ApiResponse<List<Hook>> orgListHooksWithHttpInfo(@Nonnull String org, @Nullable Integer page, @Nullable Integer limit) throws ApiException
      List an organization's webhooks
      Parameters:
      org - name of the organization (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 HookListWithoutPagination - Hooks without pagination headers -
      404 APINotFound is a not found error response -
    • orgListHooksAsync

      public okhttp3.Call orgListHooksAsync(@Nonnull String org, @Nullable Integer page, @Nullable Integer limit, ApiCallback<List<Hook>> _callback) throws ApiException
      List an organization's webhooks (asynchronously)
      Parameters:
      org - name of the organization (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 HookListWithoutPagination - Hooks without pagination headers -
      404 APINotFound is a not found error response -
    • orgListLabelsCall

      public okhttp3.Call orgListLabelsCall(@Nonnull String org, @Nullable String sort, @Nullable Integer page, @Nullable Integer limit, ApiCallback _callback) throws ApiException
      Build call for orgListLabels
      Parameters:
      org - name of the organization (required)
      sort - Specifies the sorting method: mostissues, leastissues, or reversealphabetically. (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 LabelList * X-Total-Count - The total number of access tokens
      404 APINotFound is a not found error response -
    • orgListLabels

      public List<Label> orgListLabels(@Nonnull String org, @Nullable String sort, @Nullable Integer page, @Nullable Integer limit) throws ApiException
      List an organization's labels
      Parameters:
      org - name of the organization (required)
      sort - Specifies the sorting method: mostissues, leastissues, or reversealphabetically. (optional)
      page - page number of results to return (1-based) (optional)
      limit - page size of results (optional)
      Returns:
      List<Label>
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      Http Response Details
      Response Details
      Status Code Description Response Headers
      200 LabelList * X-Total-Count - The total number of access tokens
      404 APINotFound is a not found error response -
    • orgListLabelsWithHttpInfo

      public ApiResponse<List<Label>> orgListLabelsWithHttpInfo(@Nonnull String org, @Nullable String sort, @Nullable Integer page, @Nullable Integer limit) throws ApiException
      List an organization's labels
      Parameters:
      org - name of the organization (required)
      sort - Specifies the sorting method: mostissues, leastissues, or reversealphabetically. (optional)
      page - page number of results to return (1-based) (optional)
      limit - page size of results (optional)
      Returns:
      ApiResponse<List<Label>>
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      Http Response Details
      Response Details
      Status Code Description Response Headers
      200 LabelList * X-Total-Count - The total number of access tokens
      404 APINotFound is a not found error response -
    • orgListLabelsAsync

      public okhttp3.Call orgListLabelsAsync(@Nonnull String org, @Nullable String sort, @Nullable Integer page, @Nullable Integer limit, ApiCallback<List<Label>> _callback) throws ApiException
      List an organization's labels (asynchronously)
      Parameters:
      org - name of the organization (required)
      sort - Specifies the sorting method: mostissues, leastissues, or reversealphabetically. (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 LabelList * X-Total-Count - The total number of access tokens
      404 APINotFound is a not found error response -
    • orgListMembersCall

      public okhttp3.Call orgListMembersCall(@Nonnull String org, @Nullable Integer page, @Nullable Integer limit, ApiCallback _callback) throws ApiException
      Build call for orgListMembers
      Parameters:
      org - name of the organization (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 -
    • orgListMembers

      public List<User> orgListMembers(@Nonnull String org, @Nullable Integer page, @Nullable Integer limit) throws ApiException
      List an organization's members
      Parameters:
      org - name of the organization (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 -
    • orgListMembersWithHttpInfo

      public ApiResponse<List<User>> orgListMembersWithHttpInfo(@Nonnull String org, @Nullable Integer page, @Nullable Integer limit) throws ApiException
      List an organization's members
      Parameters:
      org - name of the organization (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 -
    • orgListMembersAsync

      public okhttp3.Call orgListMembersAsync(@Nonnull String org, @Nullable Integer page, @Nullable Integer limit, ApiCallback<List<User>> _callback) throws ApiException
      List an organization's members (asynchronously)
      Parameters:
      org - name of the organization (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 -
    • orgListPublicMembersCall

      public okhttp3.Call orgListPublicMembersCall(@Nonnull String org, @Nullable Integer page, @Nullable Integer limit, ApiCallback _callback) throws ApiException
      Build call for orgListPublicMembers
      Parameters:
      org - name of the organization (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 -
    • orgListPublicMembers

      public List<User> orgListPublicMembers(@Nonnull String org, @Nullable Integer page, @Nullable Integer limit) throws ApiException
      List an organization's public members
      Parameters:
      org - name of the organization (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 -
    • orgListPublicMembersWithHttpInfo

      public ApiResponse<List<User>> orgListPublicMembersWithHttpInfo(@Nonnull String org, @Nullable Integer page, @Nullable Integer limit) throws ApiException
      List an organization's public members
      Parameters:
      org - name of the organization (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 -
    • orgListPublicMembersAsync

      public okhttp3.Call orgListPublicMembersAsync(@Nonnull String org, @Nullable Integer page, @Nullable Integer limit, ApiCallback<List<User>> _callback) throws ApiException
      List an organization's public members (asynchronously)
      Parameters:
      org - name of the organization (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 -
    • orgListQuotaArtifactsCall

      public okhttp3.Call orgListQuotaArtifactsCall(@Nonnull String org, @Nullable Integer page, @Nullable Integer limit, ApiCallback _callback) throws ApiException
      Build call for orgListQuotaArtifacts
      Parameters:
      org - name of the organization (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 QuotaUsedArtifactList -
      403 APIForbiddenError is a forbidden error response -
      404 APINotFound is a not found error response -
    • orgListQuotaArtifacts

      public List<QuotaUsedArtifact> orgListQuotaArtifacts(@Nonnull String org, @Nullable Integer page, @Nullable Integer limit) throws ApiException
      List the artifacts affecting the organization's quota
      Parameters:
      org - name of the organization (required)
      page - page number of results to return (1-based) (optional)
      limit - page size of results (optional)
      Returns:
      List<QuotaUsedArtifact>
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      Http Response Details
      Response Details
      Status Code Description Response Headers
      200 QuotaUsedArtifactList -
      403 APIForbiddenError is a forbidden error response -
      404 APINotFound is a not found error response -
    • orgListQuotaArtifactsWithHttpInfo

      public ApiResponse<List<QuotaUsedArtifact>> orgListQuotaArtifactsWithHttpInfo(@Nonnull String org, @Nullable Integer page, @Nullable Integer limit) throws ApiException
      List the artifacts affecting the organization's quota
      Parameters:
      org - name of the organization (required)
      page - page number of results to return (1-based) (optional)
      limit - page size of results (optional)
      Returns:
      ApiResponse<List<QuotaUsedArtifact>>
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      Http Response Details
      Response Details
      Status Code Description Response Headers
      200 QuotaUsedArtifactList -
      403 APIForbiddenError is a forbidden error response -
      404 APINotFound is a not found error response -
    • orgListQuotaArtifactsAsync

      public okhttp3.Call orgListQuotaArtifactsAsync(@Nonnull String org, @Nullable Integer page, @Nullable Integer limit, ApiCallback<List<QuotaUsedArtifact>> _callback) throws ApiException
      List the artifacts affecting the organization's quota (asynchronously)
      Parameters:
      org - name of the organization (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 QuotaUsedArtifactList -
      403 APIForbiddenError is a forbidden error response -
      404 APINotFound is a not found error response -
    • orgListQuotaAttachmentsCall

      public okhttp3.Call orgListQuotaAttachmentsCall(@Nonnull String org, @Nullable Integer page, @Nullable Integer limit, ApiCallback _callback) throws ApiException
      Build call for orgListQuotaAttachments
      Parameters:
      org - name of the organization (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 QuotaUsedAttachmentList -
      403 APIForbiddenError is a forbidden error response -
      404 APINotFound is a not found error response -
    • orgListQuotaAttachments

      public List<QuotaUsedAttachment> orgListQuotaAttachments(@Nonnull String org, @Nullable Integer page, @Nullable Integer limit) throws ApiException
      List the attachments affecting the organization's quota
      Parameters:
      org - name of the organization (required)
      page - page number of results to return (1-based) (optional)
      limit - page size of results (optional)
      Returns:
      List<QuotaUsedAttachment>
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      Http Response Details
      Response Details
      Status Code Description Response Headers
      200 QuotaUsedAttachmentList -
      403 APIForbiddenError is a forbidden error response -
      404 APINotFound is a not found error response -
    • orgListQuotaAttachmentsWithHttpInfo

      public ApiResponse<List<QuotaUsedAttachment>> orgListQuotaAttachmentsWithHttpInfo(@Nonnull String org, @Nullable Integer page, @Nullable Integer limit) throws ApiException
      List the attachments affecting the organization's quota
      Parameters:
      org - name of the organization (required)
      page - page number of results to return (1-based) (optional)
      limit - page size of results (optional)
      Returns:
      ApiResponse<List<QuotaUsedAttachment>>
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      Http Response Details
      Response Details
      Status Code Description Response Headers
      200 QuotaUsedAttachmentList -
      403 APIForbiddenError is a forbidden error response -
      404 APINotFound is a not found error response -
    • orgListQuotaAttachmentsAsync

      public okhttp3.Call orgListQuotaAttachmentsAsync(@Nonnull String org, @Nullable Integer page, @Nullable Integer limit, ApiCallback<List<QuotaUsedAttachment>> _callback) throws ApiException
      List the attachments affecting the organization's quota (asynchronously)
      Parameters:
      org - name of the organization (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 QuotaUsedAttachmentList -
      403 APIForbiddenError is a forbidden error response -
      404 APINotFound is a not found error response -
    • orgListQuotaPackagesCall

      public okhttp3.Call orgListQuotaPackagesCall(@Nonnull String org, @Nullable Integer page, @Nullable Integer limit, ApiCallback _callback) throws ApiException
      Build call for orgListQuotaPackages
      Parameters:
      org - name of the organization (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 QuotaUsedPackageList -
      403 APIForbiddenError is a forbidden error response -
      404 APINotFound is a not found error response -
    • orgListQuotaPackages

      public List<QuotaUsedPackage> orgListQuotaPackages(@Nonnull String org, @Nullable Integer page, @Nullable Integer limit) throws ApiException
      List the packages affecting the organization's quota
      Parameters:
      org - name of the organization (required)
      page - page number of results to return (1-based) (optional)
      limit - page size of results (optional)
      Returns:
      List<QuotaUsedPackage>
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      Http Response Details
      Response Details
      Status Code Description Response Headers
      200 QuotaUsedPackageList -
      403 APIForbiddenError is a forbidden error response -
      404 APINotFound is a not found error response -
    • orgListQuotaPackagesWithHttpInfo

      public ApiResponse<List<QuotaUsedPackage>> orgListQuotaPackagesWithHttpInfo(@Nonnull String org, @Nullable Integer page, @Nullable Integer limit) throws ApiException
      List the packages affecting the organization's quota
      Parameters:
      org - name of the organization (required)
      page - page number of results to return (1-based) (optional)
      limit - page size of results (optional)
      Returns:
      ApiResponse<List<QuotaUsedPackage>>
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      Http Response Details
      Response Details
      Status Code Description Response Headers
      200 QuotaUsedPackageList -
      403 APIForbiddenError is a forbidden error response -
      404 APINotFound is a not found error response -
    • orgListQuotaPackagesAsync

      public okhttp3.Call orgListQuotaPackagesAsync(@Nonnull String org, @Nullable Integer page, @Nullable Integer limit, ApiCallback<List<QuotaUsedPackage>> _callback) throws ApiException
      List the packages affecting the organization's quota (asynchronously)
      Parameters:
      org - name of the organization (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 QuotaUsedPackageList -
      403 APIForbiddenError is a forbidden error response -
      404 APINotFound is a not found error response -
    • orgListReposCall

      public okhttp3.Call orgListReposCall(@Nonnull String org, @Nullable Integer page, @Nullable Integer limit, ApiCallback _callback) throws ApiException
      Build call for orgListRepos
      Parameters:
      org - name of the organization (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 -
    • orgListRepos

      public List<Repository> orgListRepos(@Nonnull String org, @Nullable Integer page, @Nullable Integer limit) throws ApiException
      List an organization's repos
      Parameters:
      org - name of the organization (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 -
    • orgListReposWithHttpInfo

      public ApiResponse<List<Repository>> orgListReposWithHttpInfo(@Nonnull String org, @Nullable Integer page, @Nullable Integer limit) throws ApiException
      List an organization's repos
      Parameters:
      org - name of the organization (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 -
    • orgListReposAsync

      public okhttp3.Call orgListReposAsync(@Nonnull String org, @Nullable Integer page, @Nullable Integer limit, ApiCallback<List<Repository>> _callback) throws ApiException
      List an organization's repos (asynchronously)
      Parameters:
      org - name of the organization (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 -
    • orgListTeamActivityFeedsCall

      public okhttp3.Call orgListTeamActivityFeedsCall(@Nonnull Long id, @Nullable LocalDate date, @Nullable Integer page, @Nullable Integer limit, ApiCallback _callback) throws ApiException
      Build call for orgListTeamActivityFeeds
      Parameters:
      id - id of the team (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 -
    • orgListTeamActivityFeeds

      public List<Activity> orgListTeamActivityFeeds(@Nonnull Long id, @Nullable LocalDate date, @Nullable Integer page, @Nullable Integer limit) throws ApiException
      List a team's activity feeds
      Parameters:
      id - id of the team (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 -
    • orgListTeamActivityFeedsWithHttpInfo

      public ApiResponse<List<Activity>> orgListTeamActivityFeedsWithHttpInfo(@Nonnull Long id, @Nullable LocalDate date, @Nullable Integer page, @Nullable Integer limit) throws ApiException
      List a team's activity feeds
      Parameters:
      id - id of the team (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 -
    • orgListTeamActivityFeedsAsync

      public okhttp3.Call orgListTeamActivityFeedsAsync(@Nonnull Long id, @Nullable LocalDate date, @Nullable Integer page, @Nullable Integer limit, ApiCallback<List<Activity>> _callback) throws ApiException
      List a team's activity feeds (asynchronously)
      Parameters:
      id - id of the team (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 -
    • orgListTeamMemberCall

      public okhttp3.Call orgListTeamMemberCall(@Nonnull Long id, @Nonnull String username, ApiCallback _callback) throws ApiException
      Build call for orgListTeamMember
      Parameters:
      id - id of the team (required)
      username - username of the member to list (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 User -
      404 APINotFound is a not found error response -
    • orgListTeamMember

      public User orgListTeamMember(@Nonnull Long id, @Nonnull String username) throws ApiException
      List a particular member of team
      Parameters:
      id - id of the team (required)
      username - username of the member to list (required)
      Returns:
      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 User -
      404 APINotFound is a not found error response -
    • orgListTeamMemberWithHttpInfo

      public ApiResponse<User> orgListTeamMemberWithHttpInfo(@Nonnull Long id, @Nonnull String username) throws ApiException
      List a particular member of team
      Parameters:
      id - id of the team (required)
      username - username of the member to list (required)
      Returns:
      ApiResponse<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 User -
      404 APINotFound is a not found error response -
    • orgListTeamMemberAsync

      public okhttp3.Call orgListTeamMemberAsync(@Nonnull Long id, @Nonnull String username, ApiCallback<User> _callback) throws ApiException
      List a particular member of team (asynchronously)
      Parameters:
      id - id of the team (required)
      username - username of the member to list (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 User -
      404 APINotFound is a not found error response -
    • orgListTeamMembersCall

      public okhttp3.Call orgListTeamMembersCall(@Nonnull Long id, @Nullable Integer page, @Nullable Integer limit, ApiCallback _callback) throws ApiException
      Build call for orgListTeamMembers
      Parameters:
      id - id of the team (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 -
    • orgListTeamMembers

      public List<User> orgListTeamMembers(@Nonnull Long id, @Nullable Integer page, @Nullable Integer limit) throws ApiException
      List a team's members
      Parameters:
      id - id of the team (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 -
    • orgListTeamMembersWithHttpInfo

      public ApiResponse<List<User>> orgListTeamMembersWithHttpInfo(@Nonnull Long id, @Nullable Integer page, @Nullable Integer limit) throws ApiException
      List a team's members
      Parameters:
      id - id of the team (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 -
    • orgListTeamMembersAsync

      public okhttp3.Call orgListTeamMembersAsync(@Nonnull Long id, @Nullable Integer page, @Nullable Integer limit, ApiCallback<List<User>> _callback) throws ApiException
      List a team's members (asynchronously)
      Parameters:
      id - id of the team (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 -
    • orgListTeamRepoCall

      public okhttp3.Call orgListTeamRepoCall(@Nonnull Long id, @Nonnull String org, @Nonnull String repo, ApiCallback _callback) throws ApiException
      Build call for orgListTeamRepo
      Parameters:
      id - id of the team (required)
      org - organization that owns the repo to list (required)
      repo - name of the repo to list (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 -
    • orgListTeamRepo

      public Repository orgListTeamRepo(@Nonnull Long id, @Nonnull String org, @Nonnull String repo) throws ApiException
      List a particular repo of team
      Parameters:
      id - id of the team (required)
      org - organization that owns the repo to list (required)
      repo - name of the repo to list (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 -
    • orgListTeamRepoWithHttpInfo

      public ApiResponse<Repository> orgListTeamRepoWithHttpInfo(@Nonnull Long id, @Nonnull String org, @Nonnull String repo) throws ApiException
      List a particular repo of team
      Parameters:
      id - id of the team (required)
      org - organization that owns the repo to list (required)
      repo - name of the repo to list (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 -
    • orgListTeamRepoAsync

      public okhttp3.Call orgListTeamRepoAsync(@Nonnull Long id, @Nonnull String org, @Nonnull String repo, ApiCallback<Repository> _callback) throws ApiException
      List a particular repo of team (asynchronously)
      Parameters:
      id - id of the team (required)
      org - organization that owns the repo to list (required)
      repo - name of the repo to list (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 -
    • orgListTeamReposCall

      public okhttp3.Call orgListTeamReposCall(@Nonnull Long id, @Nullable Integer page, @Nullable Integer limit, ApiCallback _callback) throws ApiException
      Build call for orgListTeamRepos
      Parameters:
      id - id of the team (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 -
    • orgListTeamRepos

      public List<Repository> orgListTeamRepos(@Nonnull Long id, @Nullable Integer page, @Nullable Integer limit) throws ApiException
      List a team's repos
      Parameters:
      id - id of the team (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 -
    • orgListTeamReposWithHttpInfo

      public ApiResponse<List<Repository>> orgListTeamReposWithHttpInfo(@Nonnull Long id, @Nullable Integer page, @Nullable Integer limit) throws ApiException
      List a team's repos
      Parameters:
      id - id of the team (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 -
    • orgListTeamReposAsync

      public okhttp3.Call orgListTeamReposAsync(@Nonnull Long id, @Nullable Integer page, @Nullable Integer limit, ApiCallback<List<Repository>> _callback) throws ApiException
      List a team's repos (asynchronously)
      Parameters:
      id - id of the team (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 -
    • orgListTeamsCall

      public okhttp3.Call orgListTeamsCall(@Nonnull String org, @Nullable Integer page, @Nullable Integer limit, ApiCallback _callback) throws ApiException
      Build call for orgListTeams
      Parameters:
      org - name of the organization (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 TeamList * X-Total-Count - The total number of access tokens
      404 APINotFound is a not found error response -
    • orgListTeams

      public List<Team> orgListTeams(@Nonnull String org, @Nullable Integer page, @Nullable Integer limit) throws ApiException
      List an organization's teams
      Parameters:
      org - name of the organization (required)
      page - page number of results to return (1-based) (optional)
      limit - page size of results (optional)
      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 TeamList * X-Total-Count - The total number of access tokens
      404 APINotFound is a not found error response -
    • orgListTeamsWithHttpInfo

      public ApiResponse<List<Team>> orgListTeamsWithHttpInfo(@Nonnull String org, @Nullable Integer page, @Nullable Integer limit) throws ApiException
      List an organization's teams
      Parameters:
      org - name of the organization (required)
      page - page number of results to return (1-based) (optional)
      limit - page size of results (optional)
      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 TeamList * X-Total-Count - The total number of access tokens
      404 APINotFound is a not found error response -
    • orgListTeamsAsync

      public okhttp3.Call orgListTeamsAsync(@Nonnull String org, @Nullable Integer page, @Nullable Integer limit, ApiCallback<List<Team>> _callback) throws ApiException
      List an organization's teams (asynchronously)
      Parameters:
      org - name of the organization (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 TeamList * X-Total-Count - The total number of access tokens
      404 APINotFound is a not found error response -
    • orgListUserOrgsCall

      public okhttp3.Call orgListUserOrgsCall(@Nonnull String username, @Nullable Integer page, @Nullable Integer limit, ApiCallback _callback) throws ApiException
      Build call for orgListUserOrgs
      Parameters:
      username - username of user (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 OrganizationListWithoutPagination - Organizations without pagination headers -
      404 APINotFound is a not found error response -
    • orgListUserOrgs

      public List<Organization> orgListUserOrgs(@Nonnull String username, @Nullable Integer page, @Nullable Integer limit) throws ApiException
      List a user's organizations
      Parameters:
      username - username of user (required)
      page - page number of results to return (1-based) (optional)
      limit - page size of results (optional)
      Returns:
      List<Organization>
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      Http Response Details
      Response Details
      Status Code Description Response Headers
      200 OrganizationListWithoutPagination - Organizations without pagination headers -
      404 APINotFound is a not found error response -
    • orgListUserOrgsWithHttpInfo

      public ApiResponse<List<Organization>> orgListUserOrgsWithHttpInfo(@Nonnull String username, @Nullable Integer page, @Nullable Integer limit) throws ApiException
      List a user's organizations
      Parameters:
      username - username of user (required)
      page - page number of results to return (1-based) (optional)
      limit - page size of results (optional)
      Returns:
      ApiResponse<List<Organization>>
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      Http Response Details
      Response Details
      Status Code Description Response Headers
      200 OrganizationListWithoutPagination - Organizations without pagination headers -
      404 APINotFound is a not found error response -
    • orgListUserOrgsAsync

      public okhttp3.Call orgListUserOrgsAsync(@Nonnull String username, @Nullable Integer page, @Nullable Integer limit, ApiCallback<List<Organization>> _callback) throws ApiException
      List a user's organizations (asynchronously)
      Parameters:
      username - username of user (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 OrganizationListWithoutPagination - Organizations without pagination headers -
      404 APINotFound is a not found error response -
    • orgPublicizeMemberCall

      public okhttp3.Call orgPublicizeMemberCall(@Nonnull String org, @Nonnull String username, ApiCallback _callback) throws ApiException
      Build call for orgPublicizeMember
      Parameters:
      org - name of the organization (required)
      username - username of the 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
      204 membership publicized -
      403 APIForbiddenError is a forbidden error response -
      404 APINotFound is a not found error response -
    • orgPublicizeMember

      public void orgPublicizeMember(@Nonnull String org, @Nonnull String username) throws ApiException
      Publicize a user's membership
      Parameters:
      org - name of the organization (required)
      username - username of the user (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 membership publicized -
      403 APIForbiddenError is a forbidden error response -
      404 APINotFound is a not found error response -
    • orgPublicizeMemberWithHttpInfo

      public ApiResponse<Void> orgPublicizeMemberWithHttpInfo(@Nonnull String org, @Nonnull String username) throws ApiException
      Publicize a user's membership
      Parameters:
      org - name of the organization (required)
      username - username of the user (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 membership publicized -
      403 APIForbiddenError is a forbidden error response -
      404 APINotFound is a not found error response -
    • orgPublicizeMemberAsync

      public okhttp3.Call orgPublicizeMemberAsync(@Nonnull String org, @Nonnull String username, ApiCallback<Void> _callback) throws ApiException
      Publicize a user's membership (asynchronously)
      Parameters:
      org - name of the organization (required)
      username - username of the 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
      204 membership publicized -
      403 APIForbiddenError is a forbidden error response -
      404 APINotFound is a not found error response -
    • orgRemoveTeamMemberCall

      public okhttp3.Call orgRemoveTeamMemberCall(@Nonnull Long id, @Nonnull String username, ApiCallback _callback) throws ApiException
      Build call for orgRemoveTeamMember
      Parameters:
      id - id of the team (required)
      username - username of the user to remove (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 -
    • orgRemoveTeamMember

      public void orgRemoveTeamMember(@Nonnull Long id, @Nonnull String username) throws ApiException
      Remove a team member
      Parameters:
      id - id of the team (required)
      username - username of the user to remove (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 -
    • orgRemoveTeamMemberWithHttpInfo

      public ApiResponse<Void> orgRemoveTeamMemberWithHttpInfo(@Nonnull Long id, @Nonnull String username) throws ApiException
      Remove a team member
      Parameters:
      id - id of the team (required)
      username - username of the user to remove (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 -
    • orgRemoveTeamMemberAsync

      public okhttp3.Call orgRemoveTeamMemberAsync(@Nonnull Long id, @Nonnull String username, ApiCallback<Void> _callback) throws ApiException
      Remove a team member (asynchronously)
      Parameters:
      id - id of the team (required)
      username - username of the user to remove (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 -
    • orgRemoveTeamRepositoryCall

      public okhttp3.Call orgRemoveTeamRepositoryCall(@Nonnull Long id, @Nonnull String org, @Nonnull String repo, ApiCallback _callback) throws ApiException
      Build call for orgRemoveTeamRepository
      Parameters:
      id - id of the team (required)
      org - organization that owns the repo to remove (required)
      repo - name of the repo to remove (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 -
    • orgRemoveTeamRepository

      public void orgRemoveTeamRepository(@Nonnull Long id, @Nonnull String org, @Nonnull String repo) throws ApiException
      Remove a repository from a team This does not delete the repository, it only removes the repository from the team.
      Parameters:
      id - id of the team (required)
      org - organization that owns the repo to remove (required)
      repo - name of the repo to remove (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 -
    • orgRemoveTeamRepositoryWithHttpInfo

      public ApiResponse<Void> orgRemoveTeamRepositoryWithHttpInfo(@Nonnull Long id, @Nonnull String org, @Nonnull String repo) throws ApiException
      Remove a repository from a team This does not delete the repository, it only removes the repository from the team.
      Parameters:
      id - id of the team (required)
      org - organization that owns the repo to remove (required)
      repo - name of the repo to remove (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 -
    • orgRemoveTeamRepositoryAsync

      public okhttp3.Call orgRemoveTeamRepositoryAsync(@Nonnull Long id, @Nonnull String org, @Nonnull String repo, ApiCallback<Void> _callback) throws ApiException
      Remove a repository from a team (asynchronously) This does not delete the repository, it only removes the repository from the team.
      Parameters:
      id - id of the team (required)
      org - organization that owns the repo to remove (required)
      repo - name of the repo to remove (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 -
    • orgSearchRunJobsCall

      public okhttp3.Call orgSearchRunJobsCall(@Nonnull String org, @Nullable String labels, ApiCallback _callback) throws ApiException
      Build call for orgSearchRunJobs
      Parameters:
      org - name of the organization (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 -
    • orgSearchRunJobs

      public List<ActionRunJob> orgSearchRunJobs(@Nonnull String org, @Nullable String labels) throws ApiException
      Search for organization's action jobs according filter conditions
      Parameters:
      org - name of the organization (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 -
    • orgSearchRunJobsWithHttpInfo

      public ApiResponse<List<ActionRunJob>> orgSearchRunJobsWithHttpInfo(@Nonnull String org, @Nullable String labels) throws ApiException
      Search for organization's action jobs according filter conditions
      Parameters:
      org - name of the organization (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 -
    • orgSearchRunJobsAsync

      public okhttp3.Call orgSearchRunJobsAsync(@Nonnull String org, @Nullable String labels, ApiCallback<List<ActionRunJob>> _callback) throws ApiException
      Search for organization's action jobs according filter conditions (asynchronously)
      Parameters:
      org - name of the organization (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 -
    • orgUnblockUserCall

      public okhttp3.Call orgUnblockUserCall(@Nonnull String org, @Nonnull String username, ApiCallback _callback) throws ApiException
      Build call for orgUnblockUser
      Parameters:
      org - name of the org (required)
      username - username of the 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
      204 APIEmpty is an empty response -
      404 APINotFound is a not found error response -
      422 APIValidationError is error format response related to input validation -
    • orgUnblockUser

      public void orgUnblockUser(@Nonnull String org, @Nonnull String username) throws ApiException
      Unblock a user from the organization
      Parameters:
      org - name of the org (required)
      username - username of the user (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 -
    • orgUnblockUserWithHttpInfo

      public ApiResponse<Void> orgUnblockUserWithHttpInfo(@Nonnull String org, @Nonnull String username) throws ApiException
      Unblock a user from the organization
      Parameters:
      org - name of the org (required)
      username - username of the user (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 -
    • orgUnblockUserAsync

      public okhttp3.Call orgUnblockUserAsync(@Nonnull String org, @Nonnull String username, ApiCallback<Void> _callback) throws ApiException
      Unblock a user from the organization (asynchronously)
      Parameters:
      org - name of the org (required)
      username - username of the 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
      204 APIEmpty is an empty response -
      404 APINotFound is a not found error response -
      422 APIValidationError is error format response related to input validation -
    • orgUpdateAvatarCall

      public okhttp3.Call orgUpdateAvatarCall(@Nonnull String org, @Nullable UpdateUserAvatarOption body, ApiCallback _callback) throws ApiException
      Build call for orgUpdateAvatar
      Parameters:
      org - name of the organization (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 -
    • orgUpdateAvatar

      public void orgUpdateAvatar(@Nonnull String org, @Nullable UpdateUserAvatarOption body) throws ApiException
      Update an organization's avatar
      Parameters:
      org - name of the organization (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 -
    • orgUpdateAvatarWithHttpInfo

      public ApiResponse<Void> orgUpdateAvatarWithHttpInfo(@Nonnull String org, @Nullable UpdateUserAvatarOption body) throws ApiException
      Update an organization's avatar
      Parameters:
      org - name of the organization (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 -
    • orgUpdateAvatarAsync

      public okhttp3.Call orgUpdateAvatarAsync(@Nonnull String org, @Nullable UpdateUserAvatarOption body, ApiCallback<Void> _callback) throws ApiException
      Update an organization's avatar (asynchronously)
      Parameters:
      org - name of the organization (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 -
    • registerOrgRunnerCall

      public okhttp3.Call registerOrgRunnerCall(@Nonnull String org, @Nullable RegisterRunnerOptions body, ApiCallback _callback) throws ApiException
      Build call for registerOrgRunner
      Parameters:
      org - name of the organization (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 -
    • registerOrgRunner

      public RegisterRunnerResponse registerOrgRunner(@Nonnull String org, @Nullable RegisterRunnerOptions body) throws ApiException
      Register a new organization-level runner
      Parameters:
      org - name of the organization (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 -
    • registerOrgRunnerWithHttpInfo

      public ApiResponse<RegisterRunnerResponse> registerOrgRunnerWithHttpInfo(@Nonnull String org, @Nullable RegisterRunnerOptions body) throws ApiException
      Register a new organization-level runner
      Parameters:
      org - name of the organization (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 -
    • registerOrgRunnerAsync

      public okhttp3.Call registerOrgRunnerAsync(@Nonnull String org, @Nullable RegisterRunnerOptions body, ApiCallback<RegisterRunnerResponse> _callback) throws ApiException
      Register a new organization-level runner (asynchronously)
      Parameters:
      org - name of the organization (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 -
    • renameOrgCall

      public okhttp3.Call renameOrgCall(@Nonnull String org, @Nonnull RenameOrgOption body, ApiCallback _callback) throws ApiException
      Build call for renameOrg
      Parameters:
      org - existing org name (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 -
      422 APIValidationError is error format response related to input validation -
    • renameOrg

      public void renameOrg(@Nonnull String org, @Nonnull RenameOrgOption body) throws ApiException
      Rename an organization
      Parameters:
      org - existing org name (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 -
      422 APIValidationError is error format response related to input validation -
    • renameOrgWithHttpInfo

      public ApiResponse<Void> renameOrgWithHttpInfo(@Nonnull String org, @Nonnull RenameOrgOption body) throws ApiException
      Rename an organization
      Parameters:
      org - existing org name (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 -
      422 APIValidationError is error format response related to input validation -
    • renameOrgAsync

      public okhttp3.Call renameOrgAsync(@Nonnull String org, @Nonnull RenameOrgOption body, ApiCallback<Void> _callback) throws ApiException
      Rename an organization (asynchronously)
      Parameters:
      org - existing org name (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 -
      422 APIValidationError is error format response related to input validation -
    • teamSearchCall

      public okhttp3.Call teamSearchCall(@Nonnull String org, @Nullable String q, @Nullable Boolean includeDesc, @Nullable Integer page, @Nullable Integer limit, ApiCallback _callback) throws ApiException
      Build call for teamSearch
      Parameters:
      org - name of the organization (required)
      q - keywords to search (optional)
      includeDesc - include search within team description (defaults to true) (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 of a successful search -
      404 APINotFound is a not found error response -
    • teamSearch

      public TeamSearchResults teamSearch(@Nonnull String org, @Nullable String q, @Nullable Boolean includeDesc, @Nullable Integer page, @Nullable Integer limit) throws ApiException
      Search for teams within an organization
      Parameters:
      org - name of the organization (required)
      q - keywords to search (optional)
      includeDesc - include search within team description (defaults to true) (optional)
      page - page number of results to return (1-based) (optional)
      limit - page size of results (optional)
      Returns:
      TeamSearchResults
      Throws:
      ApiException - If fail to 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 -
      404 APINotFound is a not found error response -
    • teamSearchWithHttpInfo

      public ApiResponse<TeamSearchResults> teamSearchWithHttpInfo(@Nonnull String org, @Nullable String q, @Nullable Boolean includeDesc, @Nullable Integer page, @Nullable Integer limit) throws ApiException
      Search for teams within an organization
      Parameters:
      org - name of the organization (required)
      q - keywords to search (optional)
      includeDesc - include search within team description (defaults to true) (optional)
      page - page number of results to return (1-based) (optional)
      limit - page size of results (optional)
      Returns:
      ApiResponse<TeamSearchResults>
      Throws:
      ApiException - If fail to 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 -
      404 APINotFound is a not found error response -
    • teamSearchAsync

      public okhttp3.Call teamSearchAsync(@Nonnull String org, @Nullable String q, @Nullable Boolean includeDesc, @Nullable Integer page, @Nullable Integer limit, ApiCallback<TeamSearchResults> _callback) throws ApiException
      Search for teams within an organization (asynchronously)
      Parameters:
      org - name of the organization (required)
      q - keywords to search (optional)
      includeDesc - include search within team description (defaults to true) (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 of a successful search -
      404 APINotFound is a not found error response -
    • updateOrgSecretCall

      public okhttp3.Call updateOrgSecretCall(@Nonnull String org, @Nonnull String secretname, @Nullable CreateOrUpdateSecretOption body, ApiCallback _callback) throws ApiException
      Build call for updateOrgSecret
      Parameters:
      org - name of organization (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 -
    • updateOrgSecret

      public void updateOrgSecret(@Nonnull String org, @Nonnull String secretname, @Nullable CreateOrUpdateSecretOption body) throws ApiException
      Create or Update a secret value in an organization
      Parameters:
      org - name of organization (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 -
    • updateOrgSecretWithHttpInfo

      public ApiResponse<Void> updateOrgSecretWithHttpInfo(@Nonnull String org, @Nonnull String secretname, @Nullable CreateOrUpdateSecretOption body) throws ApiException
      Create or Update a secret value in an organization
      Parameters:
      org - name of organization (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 -
    • updateOrgSecretAsync

      public okhttp3.Call updateOrgSecretAsync(@Nonnull String org, @Nonnull String secretname, @Nullable CreateOrUpdateSecretOption body, ApiCallback<Void> _callback) throws ApiException
      Create or Update a secret value in an organization (asynchronously)
      Parameters:
      org - name of organization (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 -
    • updateOrgVariableCall

      public okhttp3.Call updateOrgVariableCall(@Nonnull String org, @Nonnull String variablename, @Nullable UpdateVariableOption body, ApiCallback _callback) throws ApiException
      Build call for updateOrgVariable
      Parameters:
      org - name of the organization (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 an org-level variable -
      204 response when updating an org-level variable -
      400 APIError is error format response -
      404 APINotFound is a not found error response -
    • updateOrgVariable

      public void updateOrgVariable(@Nonnull String org, @Nonnull String variablename, @Nullable UpdateVariableOption body) throws ApiException
      Update variable in organization
      Parameters:
      org - name of the organization (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 an org-level variable -
      204 response when updating an org-level variable -
      400 APIError is error format response -
      404 APINotFound is a not found error response -
    • updateOrgVariableWithHttpInfo

      public ApiResponse<Void> updateOrgVariableWithHttpInfo(@Nonnull String org, @Nonnull String variablename, @Nullable UpdateVariableOption body) throws ApiException
      Update variable in organization
      Parameters:
      org - name of the organization (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 an org-level variable -
      204 response when updating an org-level variable -
      400 APIError is error format response -
      404 APINotFound is a not found error response -
    • updateOrgVariableAsync

      public okhttp3.Call updateOrgVariableAsync(@Nonnull String org, @Nonnull String variablename, @Nullable UpdateVariableOption body, ApiCallback<Void> _callback) throws ApiException
      Update variable in organization (asynchronously)
      Parameters:
      org - name of the organization (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 an org-level variable -
      204 response when updating an org-level variable -
      400 APIError is error format response -
      404 APINotFound is a not found error response -