Class UserApi

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

public class UserApi extends Object
  • Constructor Details

    • UserApi

      public UserApi()
    • UserApi

      public UserApi(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)
    • createCurrentUserRepoCall

      public okhttp3.Call createCurrentUserRepoCall(@Nullable CreateRepoOption body, ApiCallback _callback) throws ApiException
      Build call for createCurrentUserRepo
      Parameters:
      body - (optional)
      _callback - Callback for upload/download progress
      Returns:
      Call to execute
      Throws:
      ApiException - If fail to serialize the request body object
      Http Response Details
      Response Details
      Status Code Description Response Headers
      201 Repository -
      400 APIError is error format response -
      401 APIUnauthorizedError is a unauthorized error response -
      403 APIForbiddenError is a forbidden error response -
      409 The repository with the same name already exists. -
      413 QuotaExceeded * user_id -
      * message -
      * username -
      422 APIValidationError is error format response related to input validation -
    • createCurrentUserRepo

      public Repository createCurrentUserRepo(@Nullable CreateRepoOption body) throws ApiException
      Create a repository
      Parameters:
      body - (optional)
      Returns:
      Repository
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      Http Response Details
      Response Details
      Status Code Description Response Headers
      201 Repository -
      400 APIError is error format response -
      401 APIUnauthorizedError is a unauthorized error response -
      403 APIForbiddenError is a forbidden error response -
      409 The repository with the same name already exists. -
      413 QuotaExceeded * user_id -
      * message -
      * username -
      422 APIValidationError is error format response related to input validation -
    • createCurrentUserRepoWithHttpInfo

      public ApiResponse<Repository> createCurrentUserRepoWithHttpInfo(@Nullable CreateRepoOption body) throws ApiException
      Create a repository
      Parameters:
      body - (optional)
      Returns:
      ApiResponse<Repository>
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      Http Response Details
      Response Details
      Status Code Description Response Headers
      201 Repository -
      400 APIError is error format response -
      401 APIUnauthorizedError is a unauthorized error response -
      403 APIForbiddenError is a forbidden error response -
      409 The repository with the same name already exists. -
      413 QuotaExceeded * user_id -
      * message -
      * username -
      422 APIValidationError is error format response related to input validation -
    • createCurrentUserRepoAsync

      public okhttp3.Call createCurrentUserRepoAsync(@Nullable CreateRepoOption body, ApiCallback<Repository> _callback) throws ApiException
      Create a repository (asynchronously)
      Parameters:
      body - (optional)
      _callback - The callback to be executed when the API call finishes
      Returns:
      The request call
      Throws:
      ApiException - If fail to process the API call, e.g. serializing the request body object
      Http Response Details
      Response Details
      Status Code Description Response Headers
      201 Repository -
      400 APIError is error format response -
      401 APIUnauthorizedError is a unauthorized error response -
      403 APIForbiddenError is a forbidden error response -
      409 The repository with the same name already exists. -
      413 QuotaExceeded * user_id -
      * message -
      * username -
      422 APIValidationError is error format response related to input validation -
    • createUserVariableCall

      public okhttp3.Call createUserVariableCall(@Nonnull String variablename, @Nullable CreateVariableOption body, ApiCallback _callback) throws ApiException
      Build call for createUserVariable
      Parameters:
      variablename - name of the variable (required)
      body - (optional)
      _callback - Callback for upload/download progress
      Returns:
      Call to execute
      Throws:
      ApiException - If fail to serialize the request body object
      Http Response Details
      Response Details
      Status Code Description Response Headers
      201 response when creating a variable -
      204 response when creating a variable -
      400 APIError is error format response -
      401 APIUnauthorizedError is a unauthorized error response -
      403 APIForbiddenError is a forbidden error response -
      404 APINotFound is a not found error response -
    • createUserVariable

      public void createUserVariable(@Nonnull String variablename, @Nullable CreateVariableOption body) throws ApiException
      Create a user-level variable
      Parameters:
      variablename - name of the variable (required)
      body - (optional)
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      Http Response Details
      Response Details
      Status Code Description Response Headers
      201 response when creating a variable -
      204 response when creating a variable -
      400 APIError is error format response -
      401 APIUnauthorizedError is a unauthorized error response -
      403 APIForbiddenError is a forbidden error response -
      404 APINotFound is a not found error response -
    • createUserVariableWithHttpInfo

      public ApiResponse<Void> createUserVariableWithHttpInfo(@Nonnull String variablename, @Nullable CreateVariableOption body) throws ApiException
      Create a user-level variable
      Parameters:
      variablename - name of the variable (required)
      body - (optional)
      Returns:
      ApiResponse<Void>
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      Http Response Details
      Response Details
      Status Code Description Response Headers
      201 response when creating a variable -
      204 response when creating a variable -
      400 APIError is error format response -
      401 APIUnauthorizedError is a unauthorized error response -
      403 APIForbiddenError is a forbidden error response -
      404 APINotFound is a not found error response -
    • createUserVariableAsync

      public okhttp3.Call createUserVariableAsync(@Nonnull String variablename, @Nullable CreateVariableOption body, ApiCallback<Void> _callback) throws ApiException
      Create a user-level variable (asynchronously)
      Parameters:
      variablename - name of the variable (required)
      body - (optional)
      _callback - The callback to be executed when the API call finishes
      Returns:
      The request call
      Throws:
      ApiException - If fail to process the API call, e.g. serializing the request body object
      Http Response Details
      Response Details
      Status Code Description Response Headers
      201 response when creating a variable -
      204 response when creating a variable -
      400 APIError is error format response -
      401 APIUnauthorizedError is a unauthorized error response -
      403 APIForbiddenError is a forbidden error response -
      404 APINotFound is a not found error response -
    • deleteUserRunnerCall

      public okhttp3.Call deleteUserRunnerCall(@Nonnull String runnerId, ApiCallback _callback) throws ApiException
      Build call for deleteUserRunner
      Parameters:
      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 -
      401 APIUnauthorizedError is a unauthorized error response -
      404 APINotFound is a not found error response -
    • deleteUserRunner

      public void deleteUserRunner(@Nonnull String runnerId) throws ApiException
      Delete a particular user-level runner
      Parameters:
      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 -
      401 APIUnauthorizedError is a unauthorized error response -
      404 APINotFound is a not found error response -
    • deleteUserRunnerWithHttpInfo

      public ApiResponse<Void> deleteUserRunnerWithHttpInfo(@Nonnull String runnerId) throws ApiException
      Delete a particular user-level runner
      Parameters:
      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 -
      401 APIUnauthorizedError is a unauthorized error response -
      404 APINotFound is a not found error response -
    • deleteUserRunnerAsync

      public okhttp3.Call deleteUserRunnerAsync(@Nonnull String runnerId, ApiCallback<Void> _callback) throws ApiException
      Delete a particular user-level runner (asynchronously)
      Parameters:
      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 -
      401 APIUnauthorizedError is a unauthorized error response -
      404 APINotFound is a not found error response -
    • deleteUserSecretCall

      public okhttp3.Call deleteUserSecretCall(@Nonnull String secretname, ApiCallback _callback) throws ApiException
      Build call for deleteUserSecret
      Parameters:
      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 user -
      400 APIError is error format response -
      401 APIUnauthorizedError is a unauthorized error response -
      403 APIForbiddenError is a forbidden error response -
      404 APINotFound is a not found error response -
    • deleteUserSecret

      public void deleteUserSecret(@Nonnull String secretname) throws ApiException
      Delete a secret in a user scope
      Parameters:
      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 user -
      400 APIError is error format response -
      401 APIUnauthorizedError is a unauthorized error response -
      403 APIForbiddenError is a forbidden error response -
      404 APINotFound is a not found error response -
    • deleteUserSecretWithHttpInfo

      public ApiResponse<Void> deleteUserSecretWithHttpInfo(@Nonnull String secretname) throws ApiException
      Delete a secret in a user scope
      Parameters:
      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 user -
      400 APIError is error format response -
      401 APIUnauthorizedError is a unauthorized error response -
      403 APIForbiddenError is a forbidden error response -
      404 APINotFound is a not found error response -
    • deleteUserSecretAsync

      public okhttp3.Call deleteUserSecretAsync(@Nonnull String secretname, ApiCallback<Void> _callback) throws ApiException
      Delete a secret in a user scope (asynchronously)
      Parameters:
      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 user -
      400 APIError is error format response -
      401 APIUnauthorizedError is a unauthorized error response -
      403 APIForbiddenError is a forbidden error response -
      404 APINotFound is a not found error response -
    • deleteUserVariableCall

      public okhttp3.Call deleteUserVariableCall(@Nonnull String variablename, ApiCallback _callback) throws ApiException
      Build call for deleteUserVariable
      Parameters:
      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
      201 response when deleting a variable -
      204 response when deleting a variable -
      400 APIError is error format response -
      401 APIUnauthorizedError is a unauthorized error response -
      403 APIForbiddenError is a forbidden error response -
      404 APINotFound is a not found error response -
    • deleteUserVariable

      public void deleteUserVariable(@Nonnull String variablename) throws ApiException
      Delete a user-level variable which is created by current doer
      Parameters:
      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
      201 response when deleting a variable -
      204 response when deleting a variable -
      400 APIError is error format response -
      401 APIUnauthorizedError is a unauthorized error response -
      403 APIForbiddenError is a forbidden error response -
      404 APINotFound is a not found error response -
    • deleteUserVariableWithHttpInfo

      public ApiResponse<Void> deleteUserVariableWithHttpInfo(@Nonnull String variablename) throws ApiException
      Delete a user-level variable which is created by current doer
      Parameters:
      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
      201 response when deleting a variable -
      204 response when deleting a variable -
      400 APIError is error format response -
      401 APIUnauthorizedError is a unauthorized error response -
      403 APIForbiddenError is a forbidden error response -
      404 APINotFound is a not found error response -
    • deleteUserVariableAsync

      public okhttp3.Call deleteUserVariableAsync(@Nonnull String variablename, ApiCallback<Void> _callback) throws ApiException
      Delete a user-level variable which is created by current doer (asynchronously)
      Parameters:
      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
      201 response when deleting a variable -
      204 response when deleting a variable -
      400 APIError is error format response -
      401 APIUnauthorizedError is a unauthorized error response -
      403 APIForbiddenError is a forbidden error response -
      404 APINotFound is a not found error response -
    • getUserRunnerCall

      public okhttp3.Call getUserRunnerCall(@Nonnull String runnerId, ApiCallback _callback) throws ApiException
      Build call for getUserRunner
      Parameters:
      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 -
      401 APIUnauthorizedError is a unauthorized error response -
      404 APINotFound is a not found error response -
    • getUserRunner

      public ActionRunner getUserRunner(@Nonnull String runnerId) throws ApiException
      Get a particular runner that belongs to the user
      Parameters:
      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 -
      401 APIUnauthorizedError is a unauthorized error response -
      404 APINotFound is a not found error response -
    • getUserRunnerWithHttpInfo

      public ApiResponse<ActionRunner> getUserRunnerWithHttpInfo(@Nonnull String runnerId) throws ApiException
      Get a particular runner that belongs to the user
      Parameters:
      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 -
      401 APIUnauthorizedError is a unauthorized error response -
      404 APINotFound is a not found error response -
    • getUserRunnerAsync

      public okhttp3.Call getUserRunnerAsync(@Nonnull String runnerId, ApiCallback<ActionRunner> _callback) throws ApiException
      Get a particular runner that belongs to the user (asynchronously)
      Parameters:
      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 -
      401 APIUnauthorizedError is a unauthorized error response -
      404 APINotFound is a not found error response -
    • getUserRunnersCall

      public okhttp3.Call getUserRunnersCall(@Nullable Boolean visible, @Nullable Integer page, @Nullable Integer limit, ApiCallback _callback) throws ApiException
      Build call for getUserRunners
      Parameters:
      visible - whether to include all visible runners (true) or only those that are directly owned by the user (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 -
      401 APIUnauthorizedError is a unauthorized error response -
      404 APINotFound is a not found error response -
    • getUserRunners

      public List<ActionRunner> getUserRunners(@Nullable Boolean visible, @Nullable Integer page, @Nullable Integer limit) throws ApiException
      Get the user's runners
      Parameters:
      visible - whether to include all visible runners (true) or only those that are directly owned by the user (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 -
      401 APIUnauthorizedError is a unauthorized error response -
      404 APINotFound is a not found error response -
    • getUserRunnersWithHttpInfo

      public ApiResponse<List<ActionRunner>> getUserRunnersWithHttpInfo(@Nullable Boolean visible, @Nullable Integer page, @Nullable Integer limit) throws ApiException
      Get the user's runners
      Parameters:
      visible - whether to include all visible runners (true) or only those that are directly owned by the user (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 -
      401 APIUnauthorizedError is a unauthorized error response -
      404 APINotFound is a not found error response -
    • getUserRunnersAsync

      public okhttp3.Call getUserRunnersAsync(@Nullable Boolean visible, @Nullable Integer page, @Nullable Integer limit, ApiCallback<List<ActionRunner>> _callback) throws ApiException
      Get the user's runners (asynchronously)
      Parameters:
      visible - whether to include all visible runners (true) or only those that are directly owned by the user (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 -
      401 APIUnauthorizedError is a unauthorized error response -
      404 APINotFound is a not found error response -
    • getUserSettingsCall

      public okhttp3.Call getUserSettingsCall(ApiCallback _callback) throws ApiException
      Build call for getUserSettings
      Parameters:
      _callback - Callback for upload/download progress
      Returns:
      Call to execute
      Throws:
      ApiException - If fail to serialize the request body object
      Http Response Details
      Response Details
      Status Code Description Response Headers
      200 UserSettings -
      401 APIUnauthorizedError is a unauthorized error response -
      403 APIForbiddenError is a forbidden error response -
    • getUserSettings

      public UserSettings getUserSettings() throws ApiException
      Get current user's account settings
      Returns:
      UserSettings
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      Http Response Details
      Response Details
      Status Code Description Response Headers
      200 UserSettings -
      401 APIUnauthorizedError is a unauthorized error response -
      403 APIForbiddenError is a forbidden error response -
    • getUserSettingsWithHttpInfo

      public ApiResponse<UserSettings> getUserSettingsWithHttpInfo() throws ApiException
      Get current user's account settings
      Returns:
      ApiResponse<UserSettings>
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      Http Response Details
      Response Details
      Status Code Description Response Headers
      200 UserSettings -
      401 APIUnauthorizedError is a unauthorized error response -
      403 APIForbiddenError is a forbidden error response -
    • getUserSettingsAsync

      public okhttp3.Call getUserSettingsAsync(ApiCallback<UserSettings> _callback) throws ApiException
      Get current user's account settings (asynchronously)
      Parameters:
      _callback - The callback to be executed when the API call finishes
      Returns:
      The request call
      Throws:
      ApiException - If fail to process the API call, e.g. serializing the request body object
      Http Response Details
      Response Details
      Status Code Description Response Headers
      200 UserSettings -
      401 APIUnauthorizedError is a unauthorized error response -
      403 APIForbiddenError is a forbidden error response -
    • getUserVariableCall

      public okhttp3.Call getUserVariableCall(@Nonnull String variablename, ApiCallback _callback) throws ApiException
      Build call for getUserVariable
      Parameters:
      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 -
      401 APIUnauthorizedError is a unauthorized error response -
      403 APIForbiddenError is a forbidden error response -
      404 APINotFound is a not found error response -
    • getUserVariable

      public ActionVariable getUserVariable(@Nonnull String variablename) throws ApiException
      Get a user-level variable which is created by current doer
      Parameters:
      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 -
      401 APIUnauthorizedError is a unauthorized error response -
      403 APIForbiddenError is a forbidden error response -
      404 APINotFound is a not found error response -
    • getUserVariableWithHttpInfo

      public ApiResponse<ActionVariable> getUserVariableWithHttpInfo(@Nonnull String variablename) throws ApiException
      Get a user-level variable which is created by current doer
      Parameters:
      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 -
      401 APIUnauthorizedError is a unauthorized error response -
      403 APIForbiddenError is a forbidden error response -
      404 APINotFound is a not found error response -
    • getUserVariableAsync

      public okhttp3.Call getUserVariableAsync(@Nonnull String variablename, ApiCallback<ActionVariable> _callback) throws ApiException
      Get a user-level variable which is created by current doer (asynchronously)
      Parameters:
      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 -
      401 APIUnauthorizedError is a unauthorized error response -
      403 APIForbiddenError is a forbidden error response -
      404 APINotFound is a not found error response -
    • getUserVariablesListCall

      public okhttp3.Call getUserVariablesListCall(@Nullable Integer page, @Nullable Integer limit, ApiCallback _callback) throws ApiException
      Build call for getUserVariablesList
      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 VariableList * X-Total-Count - The total number of access tokens
      400 APIError is error format response -
      401 APIUnauthorizedError is a unauthorized error response -
      403 APIForbiddenError is a forbidden error response -
      404 APINotFound is a not found error response -
    • getUserVariablesList

      public List<ActionVariable> getUserVariablesList(@Nullable Integer page, @Nullable Integer limit) throws ApiException
      Get the user-level list of variables which is created by current doer
      Parameters:
      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 -
      401 APIUnauthorizedError is a unauthorized error response -
      403 APIForbiddenError is a forbidden error response -
      404 APINotFound is a not found error response -
    • getUserVariablesListWithHttpInfo

      public ApiResponse<List<ActionVariable>> getUserVariablesListWithHttpInfo(@Nullable Integer page, @Nullable Integer limit) throws ApiException
      Get the user-level list of variables which is created by current doer
      Parameters:
      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 -
      401 APIUnauthorizedError is a unauthorized error response -
      403 APIForbiddenError is a forbidden error response -
      404 APINotFound is a not found error response -
    • getUserVariablesListAsync

      public okhttp3.Call getUserVariablesListAsync(@Nullable Integer page, @Nullable Integer limit, ApiCallback<List<ActionVariable>> _callback) throws ApiException
      Get the user-level list of variables which is created by current doer (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 VariableList * X-Total-Count - The total number of access tokens
      400 APIError is error format response -
      401 APIUnauthorizedError is a unauthorized error response -
      403 APIForbiddenError is a forbidden error response -
      404 APINotFound is a not found error response -
    • getVerificationTokenCall

      public okhttp3.Call getVerificationTokenCall(ApiCallback _callback) throws ApiException
      Build call for getVerificationToken
      Parameters:
      _callback - Callback for upload/download progress
      Returns:
      Call to execute
      Throws:
      ApiException - If fail to serialize the request body object
      Http Response Details
      Response Details
      Status Code Description Response Headers
      200 APIString is a string response -
      401 APIUnauthorizedError is a unauthorized error response -
      403 APIForbiddenError is a forbidden error response -
      404 APINotFound is a not found error response -
    • getVerificationToken

      public String getVerificationToken() throws ApiException
      Get a Token to verify
      Returns:
      String
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      Http Response Details
      Response Details
      Status Code Description Response Headers
      200 APIString is a string response -
      401 APIUnauthorizedError is a unauthorized error response -
      403 APIForbiddenError is a forbidden error response -
      404 APINotFound is a not found error response -
    • getVerificationTokenWithHttpInfo

      public ApiResponse<String> getVerificationTokenWithHttpInfo() throws ApiException
      Get a Token to verify
      Returns:
      ApiResponse<String>
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      Http Response Details
      Response Details
      Status Code Description Response Headers
      200 APIString is a string response -
      401 APIUnauthorizedError is a unauthorized error response -
      403 APIForbiddenError is a forbidden error response -
      404 APINotFound is a not found error response -
    • getVerificationTokenAsync

      public okhttp3.Call getVerificationTokenAsync(ApiCallback<String> _callback) throws ApiException
      Get a Token to verify (asynchronously)
      Parameters:
      _callback - The callback to be executed when the API call finishes
      Returns:
      The request call
      Throws:
      ApiException - If fail to process the API call, e.g. serializing the request body object
      Http Response Details
      Response Details
      Status Code Description Response Headers
      200 APIString is a string response -
      401 APIUnauthorizedError is a unauthorized error response -
      403 APIForbiddenError is a forbidden error response -
      404 APINotFound is a not found error response -
    • registerUserRunnerCall

      public okhttp3.Call registerUserRunnerCall(@Nullable RegisterRunnerOptions body, ApiCallback _callback) throws ApiException
      Build call for registerUserRunner
      Parameters:
      body - (optional)
      _callback - Callback for upload/download progress
      Returns:
      Call to execute
      Throws:
      ApiException - If fail to serialize the request body object
      Http Response Details
      Response Details
      Status Code Description Response Headers
      201 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 -
    • registerUserRunner

      public RegisterRunnerResponse registerUserRunner(@Nullable RegisterRunnerOptions body) throws ApiException
      Register a new user-level runner
      Parameters:
      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 -
    • registerUserRunnerWithHttpInfo

      public ApiResponse<RegisterRunnerResponse> registerUserRunnerWithHttpInfo(@Nullable RegisterRunnerOptions body) throws ApiException
      Register a new user-level runner
      Parameters:
      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 -
    • registerUserRunnerAsync

      public okhttp3.Call registerUserRunnerAsync(@Nullable RegisterRunnerOptions body, ApiCallback<RegisterRunnerResponse> _callback) throws ApiException
      Register a new user-level runner (asynchronously)
      Parameters:
      body - (optional)
      _callback - The callback to be executed when the API call finishes
      Returns:
      The request call
      Throws:
      ApiException - If fail to process the API call, e.g. serializing the request body object
      Http Response Details
      Response Details
      Status Code Description Response Headers
      201 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 -
    • updateUserSecretCall

      public okhttp3.Call updateUserSecretCall(@Nonnull String secretname, @Nullable CreateOrUpdateSecretOption body, ApiCallback _callback) throws ApiException
      Build call for updateUserSecret
      Parameters:
      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 -
      401 APIUnauthorizedError is a unauthorized error response -
      403 APIForbiddenError is a forbidden error response -
      404 APINotFound is a not found error response -
    • updateUserSecret

      public void updateUserSecret(@Nonnull String secretname, @Nullable CreateOrUpdateSecretOption body) throws ApiException
      Create or Update a secret value in a user scope
      Parameters:
      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 -
      401 APIUnauthorizedError is a unauthorized error response -
      403 APIForbiddenError is a forbidden error response -
      404 APINotFound is a not found error response -
    • updateUserSecretWithHttpInfo

      public ApiResponse<Void> updateUserSecretWithHttpInfo(@Nonnull String secretname, @Nullable CreateOrUpdateSecretOption body) throws ApiException
      Create or Update a secret value in a user scope
      Parameters:
      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 -
      401 APIUnauthorizedError is a unauthorized error response -
      403 APIForbiddenError is a forbidden error response -
      404 APINotFound is a not found error response -
    • updateUserSecretAsync

      public okhttp3.Call updateUserSecretAsync(@Nonnull String secretname, @Nullable CreateOrUpdateSecretOption body, ApiCallback<Void> _callback) throws ApiException
      Create or Update a secret value in a user scope (asynchronously)
      Parameters:
      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 -
      401 APIUnauthorizedError is a unauthorized error response -
      403 APIForbiddenError is a forbidden error response -
      404 APINotFound is a not found error response -
    • updateUserSettingsCall

      public okhttp3.Call updateUserSettingsCall(@Nullable UserSettingsOptions body, ApiCallback _callback) throws ApiException
      Build call for updateUserSettings
      Parameters:
      body - (optional)
      _callback - Callback for upload/download progress
      Returns:
      Call to execute
      Throws:
      ApiException - If fail to serialize the request body object
      Http Response Details
      Response Details
      Status Code Description Response Headers
      200 UserSettings -
      401 APIUnauthorizedError is a unauthorized error response -
      403 APIForbiddenError is a forbidden error response -
    • updateUserSettings

      public UserSettings updateUserSettings(@Nullable UserSettingsOptions body) throws ApiException
      Update settings in current user's account
      Parameters:
      body - (optional)
      Returns:
      UserSettings
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      Http Response Details
      Response Details
      Status Code Description Response Headers
      200 UserSettings -
      401 APIUnauthorizedError is a unauthorized error response -
      403 APIForbiddenError is a forbidden error response -
    • updateUserSettingsWithHttpInfo

      public ApiResponse<UserSettings> updateUserSettingsWithHttpInfo(@Nullable UserSettingsOptions body) throws ApiException
      Update settings in current user's account
      Parameters:
      body - (optional)
      Returns:
      ApiResponse<UserSettings>
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      Http Response Details
      Response Details
      Status Code Description Response Headers
      200 UserSettings -
      401 APIUnauthorizedError is a unauthorized error response -
      403 APIForbiddenError is a forbidden error response -
    • updateUserSettingsAsync

      public okhttp3.Call updateUserSettingsAsync(@Nullable UserSettingsOptions body, ApiCallback<UserSettings> _callback) throws ApiException
      Update settings in current user's account (asynchronously)
      Parameters:
      body - (optional)
      _callback - The callback to be executed when the API call finishes
      Returns:
      The request call
      Throws:
      ApiException - If fail to process the API call, e.g. serializing the request body object
      Http Response Details
      Response Details
      Status Code Description Response Headers
      200 UserSettings -
      401 APIUnauthorizedError is a unauthorized error response -
      403 APIForbiddenError is a forbidden error response -
    • updateUserVariableCall

      public okhttp3.Call updateUserVariableCall(@Nonnull String variablename, @Nullable UpdateVariableOption body, ApiCallback _callback) throws ApiException
      Build call for updateUserVariable
      Parameters:
      variablename - name of the variable (required)
      body - (optional)
      _callback - Callback for upload/download progress
      Returns:
      Call to execute
      Throws:
      ApiException - If fail to serialize the request body object
      Http Response Details
      Response Details
      Status Code Description Response Headers
      201 response when updating a variable -
      204 response when updating a variable -
      400 APIError is error format response -
      401 APIUnauthorizedError is a unauthorized error response -
      403 APIForbiddenError is a forbidden error response -
      404 APINotFound is a not found error response -
    • updateUserVariable

      public void updateUserVariable(@Nonnull String variablename, @Nullable UpdateVariableOption body) throws ApiException
      Update a user-level variable which is created by current doer
      Parameters:
      variablename - name of the variable (required)
      body - (optional)
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      Http Response Details
      Response Details
      Status Code Description Response Headers
      201 response when updating a variable -
      204 response when updating a variable -
      400 APIError is error format response -
      401 APIUnauthorizedError is a unauthorized error response -
      403 APIForbiddenError is a forbidden error response -
      404 APINotFound is a not found error response -
    • updateUserVariableWithHttpInfo

      public ApiResponse<Void> updateUserVariableWithHttpInfo(@Nonnull String variablename, @Nullable UpdateVariableOption body) throws ApiException
      Update a user-level variable which is created by current doer
      Parameters:
      variablename - name of the variable (required)
      body - (optional)
      Returns:
      ApiResponse<Void>
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      Http Response Details
      Response Details
      Status Code Description Response Headers
      201 response when updating a variable -
      204 response when updating a variable -
      400 APIError is error format response -
      401 APIUnauthorizedError is a unauthorized error response -
      403 APIForbiddenError is a forbidden error response -
      404 APINotFound is a not found error response -
    • updateUserVariableAsync

      public okhttp3.Call updateUserVariableAsync(@Nonnull String variablename, @Nullable UpdateVariableOption body, ApiCallback<Void> _callback) throws ApiException
      Update a user-level variable which is created by current doer (asynchronously)
      Parameters:
      variablename - name of the variable (required)
      body - (optional)
      _callback - The callback to be executed when the API call finishes
      Returns:
      The request call
      Throws:
      ApiException - If fail to process the API call, e.g. serializing the request body object
      Http Response Details
      Response Details
      Status Code Description Response Headers
      201 response when updating a variable -
      204 response when updating a variable -
      400 APIError is error format response -
      401 APIUnauthorizedError is a unauthorized error response -
      403 APIForbiddenError is a forbidden error response -
      404 APINotFound is a not found error response -
    • userAddEmailCall

      public okhttp3.Call userAddEmailCall(@Nullable CreateEmailOption body, ApiCallback _callback) throws ApiException
      Build call for userAddEmail
      Parameters:
      body - (optional)
      _callback - Callback for upload/download progress
      Returns:
      Call to execute
      Throws:
      ApiException - If fail to serialize the request body object
      Http Response Details
      Response Details
      Status Code Description Response Headers
      201 EmailList -
      401 APIUnauthorizedError is a unauthorized error response -
      403 APIForbiddenError is a forbidden error response -
      422 APIValidationError is error format response related to input validation -
    • userAddEmail

      public List<Email> userAddEmail(@Nullable CreateEmailOption body) throws ApiException
      Add an email addresses to the current user's account
      Parameters:
      body - (optional)
      Returns:
      List<Email>
      Throws:
      ApiException - If fail 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 EmailList -
      401 APIUnauthorizedError is a unauthorized error response -
      403 APIForbiddenError is a forbidden error response -
      422 APIValidationError is error format response related to input validation -
    • userAddEmailWithHttpInfo

      public ApiResponse<List<Email>> userAddEmailWithHttpInfo(@Nullable CreateEmailOption body) throws ApiException
      Add an email addresses to the current user's account
      Parameters:
      body - (optional)
      Returns:
      ApiResponse<List<Email>>
      Throws:
      ApiException - If fail 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 EmailList -
      401 APIUnauthorizedError is a unauthorized error response -
      403 APIForbiddenError is a forbidden error response -
      422 APIValidationError is error format response related to input validation -
    • userAddEmailAsync

      public okhttp3.Call userAddEmailAsync(@Nullable CreateEmailOption body, ApiCallback<List<Email>> _callback) throws ApiException
      Add an email addresses to the current user's account (asynchronously)
      Parameters:
      body - (optional)
      _callback - The callback to be executed when the API call finishes
      Returns:
      The request call
      Throws:
      ApiException - If fail to process the API call, e.g. serializing the request body object
      Http Response Details
      Response Details
      Status Code Description Response Headers
      201 EmailList -
      401 APIUnauthorizedError is a unauthorized error response -
      403 APIForbiddenError is a forbidden error response -
      422 APIValidationError is error format response related to input validation -
    • userBlockUserCall

      public okhttp3.Call userBlockUserCall(@Nonnull String username, ApiCallback _callback) throws ApiException
      Build call for userBlockUser
      Parameters:
      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 -
      401 APIUnauthorizedError is a unauthorized error response -
      403 APIForbiddenError is a forbidden error response -
      404 APINotFound is a not found error response -
      422 APIValidationError is error format response related to input validation -
    • userBlockUser

      public void userBlockUser(@Nonnull String username) throws ApiException
      Blocks a user from the doer
      Parameters:
      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 -
      401 APIUnauthorizedError is a unauthorized error response -
      403 APIForbiddenError is a forbidden error response -
      404 APINotFound is a not found error response -
      422 APIValidationError is error format response related to input validation -
    • userBlockUserWithHttpInfo

      public ApiResponse<Void> userBlockUserWithHttpInfo(@Nonnull String username) throws ApiException
      Blocks a user from the doer
      Parameters:
      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 -
      401 APIUnauthorizedError is a unauthorized error response -
      403 APIForbiddenError is a forbidden error response -
      404 APINotFound is a not found error response -
      422 APIValidationError is error format response related to input validation -
    • userBlockUserAsync

      public okhttp3.Call userBlockUserAsync(@Nonnull String username, ApiCallback<Void> _callback) throws ApiException
      Blocks a user from the doer (asynchronously)
      Parameters:
      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 -
      401 APIUnauthorizedError is a unauthorized error response -
      403 APIForbiddenError is a forbidden error response -
      404 APINotFound is a not found error response -
      422 APIValidationError is error format response related to input validation -
    • userCheckFollowingCall

      public okhttp3.Call userCheckFollowingCall(@Nonnull String username, @Nonnull String target, ApiCallback _callback) throws ApiException
      Build call for userCheckFollowing
      Parameters:
      username - username of following user (required)
      target - username of followed 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 -
    • userCheckFollowing

      public void userCheckFollowing(@Nonnull String username, @Nonnull String target) throws ApiException
      Check if one user is following another user
      Parameters:
      username - username of following user (required)
      target - username of followed 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 -
    • userCheckFollowingWithHttpInfo

      public ApiResponse<Void> userCheckFollowingWithHttpInfo(@Nonnull String username, @Nonnull String target) throws ApiException
      Check if one user is following another user
      Parameters:
      username - username of following user (required)
      target - username of followed 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 -
    • userCheckFollowingAsync

      public okhttp3.Call userCheckFollowingAsync(@Nonnull String username, @Nonnull String target, ApiCallback<Void> _callback) throws ApiException
      Check if one user is following another user (asynchronously)
      Parameters:
      username - username of following user (required)
      target - username of followed 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 -
    • userCheckQuotaCall

      public okhttp3.Call userCheckQuotaCall(@Nonnull String subject, ApiCallback _callback) throws ApiException
      Build call for userCheckQuota
      Parameters:
      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. -
      401 APIUnauthorizedError is a unauthorized error response -
      403 APIForbiddenError is a forbidden error response -
      422 APIValidationError is error format response related to input validation -
    • userCheckQuota

      public Boolean userCheckQuota(@Nonnull String subject) throws ApiException
      Check if the authenticated user is over quota for a given subject
      Parameters:
      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. -
      401 APIUnauthorizedError is a unauthorized error response -
      403 APIForbiddenError is a forbidden error response -
      422 APIValidationError is error format response related to input validation -
    • userCheckQuotaWithHttpInfo

      public ApiResponse<Boolean> userCheckQuotaWithHttpInfo(@Nonnull String subject) throws ApiException
      Check if the authenticated user is over quota for a given subject
      Parameters:
      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. -
      401 APIUnauthorizedError is a unauthorized error response -
      403 APIForbiddenError is a forbidden error response -
      422 APIValidationError is error format response related to input validation -
    • userCheckQuotaAsync

      public okhttp3.Call userCheckQuotaAsync(@Nonnull String subject, ApiCallback<Boolean> _callback) throws ApiException
      Check if the authenticated user is over quota for a given subject (asynchronously)
      Parameters:
      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. -
      401 APIUnauthorizedError is a unauthorized error response -
      403 APIForbiddenError is a forbidden error response -
      422 APIValidationError is error format response related to input validation -
    • userCreateHookCall

      public okhttp3.Call userCreateHookCall(@Nonnull CreateHookOption body, ApiCallback _callback) throws ApiException
      Build call for userCreateHook
      Parameters:
      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 -
      401 APIUnauthorizedError is a unauthorized error response -
      403 APIForbiddenError is a forbidden error response -
    • userCreateHook

      public Hook userCreateHook(@Nonnull CreateHookOption body) throws ApiException
      Create a hook
      Parameters:
      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 -
      401 APIUnauthorizedError is a unauthorized error response -
      403 APIForbiddenError is a forbidden error response -
    • userCreateHookWithHttpInfo

      public ApiResponse<Hook> userCreateHookWithHttpInfo(@Nonnull CreateHookOption body) throws ApiException
      Create a hook
      Parameters:
      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 -
      401 APIUnauthorizedError is a unauthorized error response -
      403 APIForbiddenError is a forbidden error response -
    • userCreateHookAsync

      public okhttp3.Call userCreateHookAsync(@Nonnull CreateHookOption body, ApiCallback<Hook> _callback) throws ApiException
      Create a hook (asynchronously)
      Parameters:
      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 -
      401 APIUnauthorizedError is a unauthorized error response -
      403 APIForbiddenError is a forbidden error response -
    • userCreateOAuth2ApplicationCall

      public okhttp3.Call userCreateOAuth2ApplicationCall(@Nonnull CreateOAuth2ApplicationOptions body, ApiCallback _callback) throws ApiException
      Build call for userCreateOAuth2Application
      Parameters:
      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 OAuth2Application -
      400 APIError is error format response -
      401 APIUnauthorizedError is a unauthorized error response -
      403 APIForbiddenError is a forbidden error response -
    • userCreateOAuth2Application

      public OAuth2Application userCreateOAuth2Application(@Nonnull CreateOAuth2ApplicationOptions body) throws ApiException
      Creates a new OAuth2 application
      Parameters:
      body - (required)
      Returns:
      OAuth2Application
      Throws:
      ApiException - If fail 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 OAuth2Application -
      400 APIError is error format response -
      401 APIUnauthorizedError is a unauthorized error response -
      403 APIForbiddenError is a forbidden error response -
    • userCreateOAuth2ApplicationWithHttpInfo

      public ApiResponse<OAuth2Application> userCreateOAuth2ApplicationWithHttpInfo(@Nonnull CreateOAuth2ApplicationOptions body) throws ApiException
      Creates a new OAuth2 application
      Parameters:
      body - (required)
      Returns:
      ApiResponse<OAuth2Application>
      Throws:
      ApiException - If fail 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 OAuth2Application -
      400 APIError is error format response -
      401 APIUnauthorizedError is a unauthorized error response -
      403 APIForbiddenError is a forbidden error response -
    • userCreateOAuth2ApplicationAsync

      public okhttp3.Call userCreateOAuth2ApplicationAsync(@Nonnull CreateOAuth2ApplicationOptions body, ApiCallback<OAuth2Application> _callback) throws ApiException
      Creates a new OAuth2 application (asynchronously)
      Parameters:
      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 OAuth2Application -
      400 APIError is error format response -
      401 APIUnauthorizedError is a unauthorized error response -
      403 APIForbiddenError is a forbidden error response -
    • userCreateTokenCall

      public okhttp3.Call userCreateTokenCall(@Nonnull String username, @Nullable CreateAccessTokenOption body, ApiCallback _callback) throws ApiException
      Build call for userCreateToken
      Parameters:
      username - username of user (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 AccessToken represents an API access token. -
      400 APIError is error format response -
      403 APIForbiddenError is a forbidden error response -
      404 APINotFound is a not found error response -
    • userCreateToken

      public AccessToken userCreateToken(@Nonnull String username, @Nullable CreateAccessTokenOption body) throws ApiException
      Generate an access token for the specified user
      Parameters:
      username - username of user (required)
      body - (optional)
      Returns:
      AccessToken
      Throws:
      ApiException - If fail 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 AccessToken represents an API access token. -
      400 APIError is error format response -
      403 APIForbiddenError is a forbidden error response -
      404 APINotFound is a not found error response -
    • userCreateTokenWithHttpInfo

      public ApiResponse<AccessToken> userCreateTokenWithHttpInfo(@Nonnull String username, @Nullable CreateAccessTokenOption body) throws ApiException
      Generate an access token for the specified user
      Parameters:
      username - username of user (required)
      body - (optional)
      Returns:
      ApiResponse<AccessToken>
      Throws:
      ApiException - If fail 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 AccessToken represents an API access token. -
      400 APIError is error format response -
      403 APIForbiddenError is a forbidden error response -
      404 APINotFound is a not found error response -
    • userCreateTokenAsync

      public okhttp3.Call userCreateTokenAsync(@Nonnull String username, @Nullable CreateAccessTokenOption body, ApiCallback<AccessToken> _callback) throws ApiException
      Generate an access token for the specified user (asynchronously)
      Parameters:
      username - username of user (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 AccessToken represents an API access token. -
      400 APIError is error format response -
      403 APIForbiddenError is a forbidden error response -
      404 APINotFound is a not found error response -
    • userCurrentCheckFollowingCall

      public okhttp3.Call userCurrentCheckFollowingCall(@Nonnull String username, ApiCallback _callback) throws ApiException
      Build call for userCurrentCheckFollowing
      Parameters:
      username - username of followed 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 -
      401 APIUnauthorizedError is a unauthorized error response -
      403 APIForbiddenError is a forbidden error response -
      404 APINotFound is a not found error response -
    • userCurrentCheckFollowing

      public void userCurrentCheckFollowing(@Nonnull String username) throws ApiException
      Check whether a user is followed by the authenticated user
      Parameters:
      username - username of followed 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 -
      401 APIUnauthorizedError is a unauthorized error response -
      403 APIForbiddenError is a forbidden error response -
      404 APINotFound is a not found error response -
    • userCurrentCheckFollowingWithHttpInfo

      public ApiResponse<Void> userCurrentCheckFollowingWithHttpInfo(@Nonnull String username) throws ApiException
      Check whether a user is followed by the authenticated user
      Parameters:
      username - username of followed 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 -
      401 APIUnauthorizedError is a unauthorized error response -
      403 APIForbiddenError is a forbidden error response -
      404 APINotFound is a not found error response -
    • userCurrentCheckFollowingAsync

      public okhttp3.Call userCurrentCheckFollowingAsync(@Nonnull String username, ApiCallback<Void> _callback) throws ApiException
      Check whether a user is followed by the authenticated user (asynchronously)
      Parameters:
      username - username of followed 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 -
      401 APIUnauthorizedError is a unauthorized error response -
      403 APIForbiddenError is a forbidden error response -
      404 APINotFound is a not found error response -
    • userCurrentCheckStarringCall

      public okhttp3.Call userCurrentCheckStarringCall(@Nonnull String owner, @Nonnull String repo, ApiCallback _callback) throws ApiException
      Build call for userCurrentCheckStarring
      Parameters:
      owner - owner of the repo (required)
      repo - name of the repo (required)
      _callback - Callback for upload/download progress
      Returns:
      Call to execute
      Throws:
      ApiException - If fail to serialize the request body object
      Http Response Details
      Response Details
      Status Code Description Response Headers
      204 APIEmpty is an empty response -
      401 APIUnauthorizedError is a unauthorized error response -
      403 APIForbiddenError is a forbidden error response -
      404 APINotFound is a not found error response -
    • userCurrentCheckStarring

      public void userCurrentCheckStarring(@Nonnull String owner, @Nonnull String repo) throws ApiException
      Whether the authenticated is starring the repo
      Parameters:
      owner - owner of the repo (required)
      repo - name of the repo (required)
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      Http Response Details
      Response Details
      Status Code Description Response Headers
      204 APIEmpty is an empty response -
      401 APIUnauthorizedError is a unauthorized error response -
      403 APIForbiddenError is a forbidden error response -
      404 APINotFound is a not found error response -
    • userCurrentCheckStarringWithHttpInfo

      public ApiResponse<Void> userCurrentCheckStarringWithHttpInfo(@Nonnull String owner, @Nonnull String repo) throws ApiException
      Whether the authenticated is starring the repo
      Parameters:
      owner - owner of the repo (required)
      repo - name of the repo (required)
      Returns:
      ApiResponse<Void>
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      Http Response Details
      Response Details
      Status Code Description Response Headers
      204 APIEmpty is an empty response -
      401 APIUnauthorizedError is a unauthorized error response -
      403 APIForbiddenError is a forbidden error response -
      404 APINotFound is a not found error response -
    • userCurrentCheckStarringAsync

      public okhttp3.Call userCurrentCheckStarringAsync(@Nonnull String owner, @Nonnull String repo, ApiCallback<Void> _callback) throws ApiException
      Whether the authenticated is starring the repo (asynchronously)
      Parameters:
      owner - owner of the repo (required)
      repo - name of the repo (required)
      _callback - The callback to be executed when the API call finishes
      Returns:
      The request call
      Throws:
      ApiException - If fail to process the API call, e.g. serializing the request body object
      Http Response Details
      Response Details
      Status Code Description Response Headers
      204 APIEmpty is an empty response -
      401 APIUnauthorizedError is a unauthorized error response -
      403 APIForbiddenError is a forbidden error response -
      404 APINotFound is a not found error response -
    • userCurrentDeleteFollowCall

      public okhttp3.Call userCurrentDeleteFollowCall(@Nonnull String username, ApiCallback _callback) throws ApiException
      Build call for userCurrentDeleteFollow
      Parameters:
      username - username of user to unfollow (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 -
      401 APIUnauthorizedError is a unauthorized error response -
      403 APIForbiddenError is a forbidden error response -
      404 APINotFound is a not found error response -
    • userCurrentDeleteFollow

      public void userCurrentDeleteFollow(@Nonnull String username) throws ApiException
      Unfollow a user
      Parameters:
      username - username of user to unfollow (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 -
      401 APIUnauthorizedError is a unauthorized error response -
      403 APIForbiddenError is a forbidden error response -
      404 APINotFound is a not found error response -
    • userCurrentDeleteFollowWithHttpInfo

      public ApiResponse<Void> userCurrentDeleteFollowWithHttpInfo(@Nonnull String username) throws ApiException
      Unfollow a user
      Parameters:
      username - username of user to unfollow (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 -
      401 APIUnauthorizedError is a unauthorized error response -
      403 APIForbiddenError is a forbidden error response -
      404 APINotFound is a not found error response -
    • userCurrentDeleteFollowAsync

      public okhttp3.Call userCurrentDeleteFollowAsync(@Nonnull String username, ApiCallback<Void> _callback) throws ApiException
      Unfollow a user (asynchronously)
      Parameters:
      username - username of user to unfollow (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 -
      401 APIUnauthorizedError is a unauthorized error response -
      403 APIForbiddenError is a forbidden error response -
      404 APINotFound is a not found error response -
    • userCurrentDeleteGPGKeyCall

      public okhttp3.Call userCurrentDeleteGPGKeyCall(@Nonnull Long id, ApiCallback _callback) throws ApiException
      Build call for userCurrentDeleteGPGKey
      Parameters:
      id - id of key to delete (required)
      _callback - Callback for upload/download progress
      Returns:
      Call to execute
      Throws:
      ApiException - If fail to serialize the request body object
      Http Response Details
      Response Details
      Status Code Description Response Headers
      204 APIEmpty is an empty response -
      401 APIUnauthorizedError is a unauthorized error response -
      403 APIForbiddenError is a forbidden error response -
      404 APINotFound is a not found error response -
    • userCurrentDeleteGPGKey

      public void userCurrentDeleteGPGKey(@Nonnull Long id) throws ApiException
      Remove a GPG public key from current user's account
      Parameters:
      id - id of key to delete (required)
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      Http Response Details
      Response Details
      Status Code Description Response Headers
      204 APIEmpty is an empty response -
      401 APIUnauthorizedError is a unauthorized error response -
      403 APIForbiddenError is a forbidden error response -
      404 APINotFound is a not found error response -
    • userCurrentDeleteGPGKeyWithHttpInfo

      public ApiResponse<Void> userCurrentDeleteGPGKeyWithHttpInfo(@Nonnull Long id) throws ApiException
      Remove a GPG public key from current user's account
      Parameters:
      id - id of key to delete (required)
      Returns:
      ApiResponse<Void>
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      Http Response Details
      Response Details
      Status Code Description Response Headers
      204 APIEmpty is an empty response -
      401 APIUnauthorizedError is a unauthorized error response -
      403 APIForbiddenError is a forbidden error response -
      404 APINotFound is a not found error response -
    • userCurrentDeleteGPGKeyAsync

      public okhttp3.Call userCurrentDeleteGPGKeyAsync(@Nonnull Long id, ApiCallback<Void> _callback) throws ApiException
      Remove a GPG public key from current user's account (asynchronously)
      Parameters:
      id - id of key to delete (required)
      _callback - The callback to be executed when the API call finishes
      Returns:
      The request call
      Throws:
      ApiException - If fail to process the API call, e.g. serializing the request body object
      Http Response Details
      Response Details
      Status Code Description Response Headers
      204 APIEmpty is an empty response -
      401 APIUnauthorizedError is a unauthorized error response -
      403 APIForbiddenError is a forbidden error response -
      404 APINotFound is a not found error response -
    • userCurrentDeleteKeyCall

      public okhttp3.Call userCurrentDeleteKeyCall(@Nonnull Long id, ApiCallback _callback) throws ApiException
      Build call for userCurrentDeleteKey
      Parameters:
      id - id of key to delete (required)
      _callback - Callback for upload/download progress
      Returns:
      Call to execute
      Throws:
      ApiException - If fail to serialize the request body object
      Http Response Details
      Response Details
      Status Code Description Response Headers
      204 APIEmpty is an empty response -
      401 APIUnauthorizedError is a unauthorized error response -
      403 APIForbiddenError is a forbidden error response -
      404 APINotFound is a not found error response -
    • userCurrentDeleteKey

      public void userCurrentDeleteKey(@Nonnull Long id) throws ApiException
      Delete a public key
      Parameters:
      id - id of key to delete (required)
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      Http Response Details
      Response Details
      Status Code Description Response Headers
      204 APIEmpty is an empty response -
      401 APIUnauthorizedError is a unauthorized error response -
      403 APIForbiddenError is a forbidden error response -
      404 APINotFound is a not found error response -
    • userCurrentDeleteKeyWithHttpInfo

      public ApiResponse<Void> userCurrentDeleteKeyWithHttpInfo(@Nonnull Long id) throws ApiException
      Delete a public key
      Parameters:
      id - id of key to delete (required)
      Returns:
      ApiResponse<Void>
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      Http Response Details
      Response Details
      Status Code Description Response Headers
      204 APIEmpty is an empty response -
      401 APIUnauthorizedError is a unauthorized error response -
      403 APIForbiddenError is a forbidden error response -
      404 APINotFound is a not found error response -
    • userCurrentDeleteKeyAsync

      public okhttp3.Call userCurrentDeleteKeyAsync(@Nonnull Long id, ApiCallback<Void> _callback) throws ApiException
      Delete a public key (asynchronously)
      Parameters:
      id - id of key to delete (required)
      _callback - The callback to be executed when the API call finishes
      Returns:
      The request call
      Throws:
      ApiException - If fail to process the API call, e.g. serializing the request body object
      Http Response Details
      Response Details
      Status Code Description Response Headers
      204 APIEmpty is an empty response -
      401 APIUnauthorizedError is a unauthorized error response -
      403 APIForbiddenError is a forbidden error response -
      404 APINotFound is a not found error response -
    • userCurrentDeleteStarCall

      public okhttp3.Call userCurrentDeleteStarCall(@Nonnull String owner, @Nonnull String repo, ApiCallback _callback) throws ApiException
      Build call for userCurrentDeleteStar
      Parameters:
      owner - owner of the repo to unstar (required)
      repo - name of the repo to unstar (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 -
      401 APIUnauthorizedError is a unauthorized error response -
      403 APIForbiddenError is a forbidden error response -
      404 APINotFound is a not found error response -
    • userCurrentDeleteStar

      public void userCurrentDeleteStar(@Nonnull String owner, @Nonnull String repo) throws ApiException
      Unstar the given repo
      Parameters:
      owner - owner of the repo to unstar (required)
      repo - name of the repo to unstar (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 -
      401 APIUnauthorizedError is a unauthorized error response -
      403 APIForbiddenError is a forbidden error response -
      404 APINotFound is a not found error response -
    • userCurrentDeleteStarWithHttpInfo

      public ApiResponse<Void> userCurrentDeleteStarWithHttpInfo(@Nonnull String owner, @Nonnull String repo) throws ApiException
      Unstar the given repo
      Parameters:
      owner - owner of the repo to unstar (required)
      repo - name of the repo to unstar (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 -
      401 APIUnauthorizedError is a unauthorized error response -
      403 APIForbiddenError is a forbidden error response -
      404 APINotFound is a not found error response -
    • userCurrentDeleteStarAsync

      public okhttp3.Call userCurrentDeleteStarAsync(@Nonnull String owner, @Nonnull String repo, ApiCallback<Void> _callback) throws ApiException
      Unstar the given repo (asynchronously)
      Parameters:
      owner - owner of the repo to unstar (required)
      repo - name of the repo to unstar (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 -
      401 APIUnauthorizedError is a unauthorized error response -
      403 APIForbiddenError is a forbidden error response -
      404 APINotFound is a not found error response -
    • userCurrentGetGPGKeyCall

      public okhttp3.Call userCurrentGetGPGKeyCall(@Nonnull Long id, ApiCallback _callback) throws ApiException
      Build call for userCurrentGetGPGKey
      Parameters:
      id - id of key to get (required)
      _callback - Callback for upload/download progress
      Returns:
      Call to execute
      Throws:
      ApiException - If fail to serialize the request body object
      Http Response Details
      Response Details
      Status Code Description Response Headers
      200 GPGKey -
      401 APIUnauthorizedError is a unauthorized error response -
      403 APIForbiddenError is a forbidden error response -
      404 APINotFound is a not found error response -
    • userCurrentGetGPGKey

      public GPGKey userCurrentGetGPGKey(@Nonnull Long id) throws ApiException
      Get a GPG key
      Parameters:
      id - id of key to get (required)
      Returns:
      GPGKey
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      Http Response Details
      Response Details
      Status Code Description Response Headers
      200 GPGKey -
      401 APIUnauthorizedError is a unauthorized error response -
      403 APIForbiddenError is a forbidden error response -
      404 APINotFound is a not found error response -
    • userCurrentGetGPGKeyWithHttpInfo

      public ApiResponse<GPGKey> userCurrentGetGPGKeyWithHttpInfo(@Nonnull Long id) throws ApiException
      Get a GPG key
      Parameters:
      id - id of key to get (required)
      Returns:
      ApiResponse<GPGKey>
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      Http Response Details
      Response Details
      Status Code Description Response Headers
      200 GPGKey -
      401 APIUnauthorizedError is a unauthorized error response -
      403 APIForbiddenError is a forbidden error response -
      404 APINotFound is a not found error response -
    • userCurrentGetGPGKeyAsync

      public okhttp3.Call userCurrentGetGPGKeyAsync(@Nonnull Long id, ApiCallback<GPGKey> _callback) throws ApiException
      Get a GPG key (asynchronously)
      Parameters:
      id - id of key to get (required)
      _callback - The callback to be executed when the API call finishes
      Returns:
      The request call
      Throws:
      ApiException - If fail to process the API call, e.g. serializing the request body object
      Http Response Details
      Response Details
      Status Code Description Response Headers
      200 GPGKey -
      401 APIUnauthorizedError is a unauthorized error response -
      403 APIForbiddenError is a forbidden error response -
      404 APINotFound is a not found error response -
    • userCurrentGetKeyCall

      public okhttp3.Call userCurrentGetKeyCall(@Nonnull Long id, ApiCallback _callback) throws ApiException
      Build call for userCurrentGetKey
      Parameters:
      id - id of key to get (required)
      _callback - Callback for upload/download progress
      Returns:
      Call to execute
      Throws:
      ApiException - If fail to serialize the request body object
      Http Response Details
      Response Details
      Status Code Description Response Headers
      200 PublicKey -
      401 APIUnauthorizedError is a unauthorized error response -
      403 APIForbiddenError is a forbidden error response -
      404 APINotFound is a not found error response -
    • userCurrentGetKey

      public PublicKey userCurrentGetKey(@Nonnull Long id) throws ApiException
      Get a public key
      Parameters:
      id - id of key to get (required)
      Returns:
      PublicKey
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      Http Response Details
      Response Details
      Status Code Description Response Headers
      200 PublicKey -
      401 APIUnauthorizedError is a unauthorized error response -
      403 APIForbiddenError is a forbidden error response -
      404 APINotFound is a not found error response -
    • userCurrentGetKeyWithHttpInfo

      public ApiResponse<PublicKey> userCurrentGetKeyWithHttpInfo(@Nonnull Long id) throws ApiException
      Get a public key
      Parameters:
      id - id of key to get (required)
      Returns:
      ApiResponse<PublicKey>
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      Http Response Details
      Response Details
      Status Code Description Response Headers
      200 PublicKey -
      401 APIUnauthorizedError is a unauthorized error response -
      403 APIForbiddenError is a forbidden error response -
      404 APINotFound is a not found error response -
    • userCurrentGetKeyAsync

      public okhttp3.Call userCurrentGetKeyAsync(@Nonnull Long id, ApiCallback<PublicKey> _callback) throws ApiException
      Get a public key (asynchronously)
      Parameters:
      id - id of key to get (required)
      _callback - The callback to be executed when the API call finishes
      Returns:
      The request call
      Throws:
      ApiException - If fail to process the API call, e.g. serializing the request body object
      Http Response Details
      Response Details
      Status Code Description Response Headers
      200 PublicKey -
      401 APIUnauthorizedError is a unauthorized error response -
      403 APIForbiddenError is a forbidden error response -
      404 APINotFound is a not found error response -
    • userCurrentListFollowersCall

      public okhttp3.Call userCurrentListFollowersCall(@Nullable Integer page, @Nullable Integer limit, ApiCallback _callback) throws ApiException
      Build call for userCurrentListFollowers
      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 UserList -
      401 APIUnauthorizedError is a unauthorized error response -
      403 APIForbiddenError is a forbidden error response -
    • userCurrentListFollowers

      public List<User> userCurrentListFollowers(@Nullable Integer page, @Nullable Integer limit) throws ApiException
      List the authenticated user's followers
      Parameters:
      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 -
      401 APIUnauthorizedError is a unauthorized error response -
      403 APIForbiddenError is a forbidden error response -
    • userCurrentListFollowersWithHttpInfo

      public ApiResponse<List<User>> userCurrentListFollowersWithHttpInfo(@Nullable Integer page, @Nullable Integer limit) throws ApiException
      List the authenticated user's followers
      Parameters:
      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 -
      401 APIUnauthorizedError is a unauthorized error response -
      403 APIForbiddenError is a forbidden error response -
    • userCurrentListFollowersAsync

      public okhttp3.Call userCurrentListFollowersAsync(@Nullable Integer page, @Nullable Integer limit, ApiCallback<List<User>> _callback) throws ApiException
      List the authenticated user's followers (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 UserList -
      401 APIUnauthorizedError is a unauthorized error response -
      403 APIForbiddenError is a forbidden error response -
    • userCurrentListFollowingCall

      public okhttp3.Call userCurrentListFollowingCall(@Nullable Integer page, @Nullable Integer limit, ApiCallback _callback) throws ApiException
      Build call for userCurrentListFollowing
      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 UserList -
      401 APIUnauthorizedError is a unauthorized error response -
      403 APIForbiddenError is a forbidden error response -
    • userCurrentListFollowing

      public List<User> userCurrentListFollowing(@Nullable Integer page, @Nullable Integer limit) throws ApiException
      List the users that the authenticated user is following
      Parameters:
      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 -
      401 APIUnauthorizedError is a unauthorized error response -
      403 APIForbiddenError is a forbidden error response -
    • userCurrentListFollowingWithHttpInfo

      public ApiResponse<List<User>> userCurrentListFollowingWithHttpInfo(@Nullable Integer page, @Nullable Integer limit) throws ApiException
      List the users that the authenticated user is following
      Parameters:
      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 -
      401 APIUnauthorizedError is a unauthorized error response -
      403 APIForbiddenError is a forbidden error response -
    • userCurrentListFollowingAsync

      public okhttp3.Call userCurrentListFollowingAsync(@Nullable Integer page, @Nullable Integer limit, ApiCallback<List<User>> _callback) throws ApiException
      List the users that the authenticated user is following (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 UserList -
      401 APIUnauthorizedError is a unauthorized error response -
      403 APIForbiddenError is a forbidden error response -
    • userCurrentListGPGKeysCall

      public okhttp3.Call userCurrentListGPGKeysCall(@Nullable Integer page, @Nullable Integer limit, ApiCallback _callback) throws ApiException
      Build call for userCurrentListGPGKeys
      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 GPGKeyList -
      401 APIUnauthorizedError is a unauthorized error response -
      403 APIForbiddenError is a forbidden error response -
    • userCurrentListGPGKeys

      public List<GPGKey> userCurrentListGPGKeys(@Nullable Integer page, @Nullable Integer limit) throws ApiException
      List the authenticated user's GPG keys
      Parameters:
      page - page number of results to return (1-based) (optional)
      limit - page size of results (optional)
      Returns:
      List<GPGKey>
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      Http Response Details
      Response Details
      Status Code Description Response Headers
      200 GPGKeyList -
      401 APIUnauthorizedError is a unauthorized error response -
      403 APIForbiddenError is a forbidden error response -
    • userCurrentListGPGKeysWithHttpInfo

      public ApiResponse<List<GPGKey>> userCurrentListGPGKeysWithHttpInfo(@Nullable Integer page, @Nullable Integer limit) throws ApiException
      List the authenticated user's GPG keys
      Parameters:
      page - page number of results to return (1-based) (optional)
      limit - page size of results (optional)
      Returns:
      ApiResponse<List<GPGKey>>
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      Http Response Details
      Response Details
      Status Code Description Response Headers
      200 GPGKeyList -
      401 APIUnauthorizedError is a unauthorized error response -
      403 APIForbiddenError is a forbidden error response -
    • userCurrentListGPGKeysAsync

      public okhttp3.Call userCurrentListGPGKeysAsync(@Nullable Integer page, @Nullable Integer limit, ApiCallback<List<GPGKey>> _callback) throws ApiException
      List the authenticated user's GPG keys (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 GPGKeyList -
      401 APIUnauthorizedError is a unauthorized error response -
      403 APIForbiddenError is a forbidden error response -
    • userCurrentListKeysCall

      public okhttp3.Call userCurrentListKeysCall(@Nullable String fingerprint, @Nullable Integer page, @Nullable Integer limit, ApiCallback _callback) throws ApiException
      Build call for userCurrentListKeys
      Parameters:
      fingerprint - fingerprint of the key (optional)
      page - page number of results to return (1-based) (optional)
      limit - page size of results (optional)
      _callback - Callback for upload/download progress
      Returns:
      Call to execute
      Throws:
      ApiException - If fail to serialize the request body object
      Http Response Details
      Response Details
      Status Code Description Response Headers
      200 PublicKeyList -
      401 APIUnauthorizedError is a unauthorized error response -
      403 APIForbiddenError is a forbidden error response -
    • userCurrentListKeys

      public List<PublicKey> userCurrentListKeys(@Nullable String fingerprint, @Nullable Integer page, @Nullable Integer limit) throws ApiException
      List the authenticated user's public keys
      Parameters:
      fingerprint - fingerprint of the key (optional)
      page - page number of results to return (1-based) (optional)
      limit - page size of results (optional)
      Returns:
      List<PublicKey>
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      Http Response Details
      Response Details
      Status Code Description Response Headers
      200 PublicKeyList -
      401 APIUnauthorizedError is a unauthorized error response -
      403 APIForbiddenError is a forbidden error response -
    • userCurrentListKeysWithHttpInfo

      public ApiResponse<List<PublicKey>> userCurrentListKeysWithHttpInfo(@Nullable String fingerprint, @Nullable Integer page, @Nullable Integer limit) throws ApiException
      List the authenticated user's public keys
      Parameters:
      fingerprint - fingerprint of the key (optional)
      page - page number of results to return (1-based) (optional)
      limit - page size of results (optional)
      Returns:
      ApiResponse<List<PublicKey>>
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      Http Response Details
      Response Details
      Status Code Description Response Headers
      200 PublicKeyList -
      401 APIUnauthorizedError is a unauthorized error response -
      403 APIForbiddenError is a forbidden error response -
    • userCurrentListKeysAsync

      public okhttp3.Call userCurrentListKeysAsync(@Nullable String fingerprint, @Nullable Integer page, @Nullable Integer limit, ApiCallback<List<PublicKey>> _callback) throws ApiException
      List the authenticated user's public keys (asynchronously)
      Parameters:
      fingerprint - fingerprint of the key (optional)
      page - page number of results to return (1-based) (optional)
      limit - page size of results (optional)
      _callback - The callback to be executed when the API call finishes
      Returns:
      The request call
      Throws:
      ApiException - If fail to process the API call, e.g. serializing the request body object
      Http Response Details
      Response Details
      Status Code Description Response Headers
      200 PublicKeyList -
      401 APIUnauthorizedError is a unauthorized error response -
      403 APIForbiddenError is a forbidden error response -
    • userCurrentListReposCall

      public okhttp3.Call userCurrentListReposCall(@Nullable Integer page, @Nullable Integer limit, @Nullable String orderBy, ApiCallback _callback) throws ApiException
      Build call for userCurrentListRepos
      Parameters:
      page - page number of results to return (1-based) (optional)
      limit - page size of results (optional)
      orderBy - order the repositories (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
      401 APIUnauthorizedError is a unauthorized error response -
      403 APIForbiddenError is a forbidden error response -
      422 APIValidationError is error format response related to input validation -
    • userCurrentListRepos

      public List<Repository> userCurrentListRepos(@Nullable Integer page, @Nullable Integer limit, @Nullable String orderBy) throws ApiException
      List the repos that the authenticated user owns
      Parameters:
      page - page number of results to return (1-based) (optional)
      limit - page size of results (optional)
      orderBy - order the repositories (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
      401 APIUnauthorizedError is a unauthorized error response -
      403 APIForbiddenError is a forbidden error response -
      422 APIValidationError is error format response related to input validation -
    • userCurrentListReposWithHttpInfo

      public ApiResponse<List<Repository>> userCurrentListReposWithHttpInfo(@Nullable Integer page, @Nullable Integer limit, @Nullable String orderBy) throws ApiException
      List the repos that the authenticated user owns
      Parameters:
      page - page number of results to return (1-based) (optional)
      limit - page size of results (optional)
      orderBy - order the repositories (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
      401 APIUnauthorizedError is a unauthorized error response -
      403 APIForbiddenError is a forbidden error response -
      422 APIValidationError is error format response related to input validation -
    • userCurrentListReposAsync

      public okhttp3.Call userCurrentListReposAsync(@Nullable Integer page, @Nullable Integer limit, @Nullable String orderBy, ApiCallback<List<Repository>> _callback) throws ApiException
      List the repos that the authenticated user owns (asynchronously)
      Parameters:
      page - page number of results to return (1-based) (optional)
      limit - page size of results (optional)
      orderBy - order the repositories (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
      401 APIUnauthorizedError is a unauthorized error response -
      403 APIForbiddenError is a forbidden error response -
      422 APIValidationError is error format response related to input validation -
    • userCurrentListStarredCall

      public okhttp3.Call userCurrentListStarredCall(@Nullable Integer page, @Nullable Integer limit, ApiCallback _callback) throws ApiException
      Build call for userCurrentListStarred
      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 RepositoryList * X-Total-Count - The total number of access tokens
      401 APIUnauthorizedError is a unauthorized error response -
      403 APIForbiddenError is a forbidden error response -
    • userCurrentListStarred

      public List<Repository> userCurrentListStarred(@Nullable Integer page, @Nullable Integer limit) throws ApiException
      The repos that the authenticated user has starred
      Parameters:
      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
      401 APIUnauthorizedError is a unauthorized error response -
      403 APIForbiddenError is a forbidden error response -
    • userCurrentListStarredWithHttpInfo

      public ApiResponse<List<Repository>> userCurrentListStarredWithHttpInfo(@Nullable Integer page, @Nullable Integer limit) throws ApiException
      The repos that the authenticated user has starred
      Parameters:
      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
      401 APIUnauthorizedError is a unauthorized error response -
      403 APIForbiddenError is a forbidden error response -
    • userCurrentListStarredAsync

      public okhttp3.Call userCurrentListStarredAsync(@Nullable Integer page, @Nullable Integer limit, ApiCallback<List<Repository>> _callback) throws ApiException
      The repos that the authenticated user has starred (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 RepositoryList * X-Total-Count - The total number of access tokens
      401 APIUnauthorizedError is a unauthorized error response -
      403 APIForbiddenError is a forbidden error response -
    • userCurrentListSubscriptionsCall

      public okhttp3.Call userCurrentListSubscriptionsCall(@Nullable Integer page, @Nullable Integer limit, ApiCallback _callback) throws ApiException
      Build call for userCurrentListSubscriptions
      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 RepositoryList * X-Total-Count - The total number of access tokens
      401 APIUnauthorizedError is a unauthorized error response -
      403 APIForbiddenError is a forbidden error response -
    • userCurrentListSubscriptions

      public List<Repository> userCurrentListSubscriptions(@Nullable Integer page, @Nullable Integer limit) throws ApiException
      List repositories watched by the authenticated user
      Parameters:
      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
      401 APIUnauthorizedError is a unauthorized error response -
      403 APIForbiddenError is a forbidden error response -
    • userCurrentListSubscriptionsWithHttpInfo

      public ApiResponse<List<Repository>> userCurrentListSubscriptionsWithHttpInfo(@Nullable Integer page, @Nullable Integer limit) throws ApiException
      List repositories watched by the authenticated user
      Parameters:
      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
      401 APIUnauthorizedError is a unauthorized error response -
      403 APIForbiddenError is a forbidden error response -
    • userCurrentListSubscriptionsAsync

      public okhttp3.Call userCurrentListSubscriptionsAsync(@Nullable Integer page, @Nullable Integer limit, ApiCallback<List<Repository>> _callback) throws ApiException
      List repositories watched by the authenticated user (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 RepositoryList * X-Total-Count - The total number of access tokens
      401 APIUnauthorizedError is a unauthorized error response -
      403 APIForbiddenError is a forbidden error response -
    • userCurrentPostGPGKeyCall

      public okhttp3.Call userCurrentPostGPGKeyCall(@Nullable CreateGPGKeyOption form, ApiCallback _callback) throws ApiException
      Build call for userCurrentPostGPGKey
      Parameters:
      form - (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 GPGKey -
      401 APIUnauthorizedError is a unauthorized error response -
      403 APIForbiddenError is a forbidden error response -
      404 APINotFound is a not found error response -
      422 APIValidationError is error format response related to input validation -
    • userCurrentPostGPGKey

      public GPGKey userCurrentPostGPGKey(@Nullable CreateGPGKeyOption form) throws ApiException
      Add a GPG public key to current user's account
      Parameters:
      form - (optional)
      Returns:
      GPGKey
      Throws:
      ApiException - If fail 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 GPGKey -
      401 APIUnauthorizedError is a unauthorized error response -
      403 APIForbiddenError is a forbidden error response -
      404 APINotFound is a not found error response -
      422 APIValidationError is error format response related to input validation -
    • userCurrentPostGPGKeyWithHttpInfo

      public ApiResponse<GPGKey> userCurrentPostGPGKeyWithHttpInfo(@Nullable CreateGPGKeyOption form) throws ApiException
      Add a GPG public key to current user's account
      Parameters:
      form - (optional)
      Returns:
      ApiResponse<GPGKey>
      Throws:
      ApiException - If fail 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 GPGKey -
      401 APIUnauthorizedError is a unauthorized error response -
      403 APIForbiddenError is a forbidden error response -
      404 APINotFound is a not found error response -
      422 APIValidationError is error format response related to input validation -
    • userCurrentPostGPGKeyAsync

      public okhttp3.Call userCurrentPostGPGKeyAsync(@Nullable CreateGPGKeyOption form, ApiCallback<GPGKey> _callback) throws ApiException
      Add a GPG public key to current user's account (asynchronously)
      Parameters:
      form - (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 GPGKey -
      401 APIUnauthorizedError is a unauthorized error response -
      403 APIForbiddenError is a forbidden error response -
      404 APINotFound is a not found error response -
      422 APIValidationError is error format response related to input validation -
    • userCurrentPostKeyCall

      public okhttp3.Call userCurrentPostKeyCall(@Nullable CreateKeyOption body, ApiCallback _callback) throws ApiException
      Build call for userCurrentPostKey
      Parameters:
      body - (optional)
      _callback - Callback for upload/download progress
      Returns:
      Call to execute
      Throws:
      ApiException - If fail to serialize the request body object
      Http Response Details
      Response Details
      Status Code Description Response Headers
      201 PublicKey -
      401 APIUnauthorizedError is a unauthorized error response -
      403 APIForbiddenError is a forbidden error response -
      422 APIValidationError is error format response related to input validation -
    • userCurrentPostKey

      public PublicKey userCurrentPostKey(@Nullable CreateKeyOption body) throws ApiException
      Create a public key
      Parameters:
      body - (optional)
      Returns:
      PublicKey
      Throws:
      ApiException - If fail 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 PublicKey -
      401 APIUnauthorizedError is a unauthorized error response -
      403 APIForbiddenError is a forbidden error response -
      422 APIValidationError is error format response related to input validation -
    • userCurrentPostKeyWithHttpInfo

      public ApiResponse<PublicKey> userCurrentPostKeyWithHttpInfo(@Nullable CreateKeyOption body) throws ApiException
      Create a public key
      Parameters:
      body - (optional)
      Returns:
      ApiResponse<PublicKey>
      Throws:
      ApiException - If fail 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 PublicKey -
      401 APIUnauthorizedError is a unauthorized error response -
      403 APIForbiddenError is a forbidden error response -
      422 APIValidationError is error format response related to input validation -
    • userCurrentPostKeyAsync

      public okhttp3.Call userCurrentPostKeyAsync(@Nullable CreateKeyOption body, ApiCallback<PublicKey> _callback) throws ApiException
      Create a public key (asynchronously)
      Parameters:
      body - (optional)
      _callback - The callback to be executed when the API call finishes
      Returns:
      The request call
      Throws:
      ApiException - If fail to process the API call, e.g. serializing the request body object
      Http Response Details
      Response Details
      Status Code Description Response Headers
      201 PublicKey -
      401 APIUnauthorizedError is a unauthorized error response -
      403 APIForbiddenError is a forbidden error response -
      422 APIValidationError is error format response related to input validation -
    • userCurrentPutFollowCall

      public okhttp3.Call userCurrentPutFollowCall(@Nonnull String username, ApiCallback _callback) throws ApiException
      Build call for userCurrentPutFollow
      Parameters:
      username - username of user to follow (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 -
      401 APIUnauthorizedError is a unauthorized error response -
      403 APIForbiddenError is a forbidden error response -
      404 APINotFound is a not found error response -
    • userCurrentPutFollow

      public void userCurrentPutFollow(@Nonnull String username) throws ApiException
      Follow a user
      Parameters:
      username - username of user to follow (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 -
      401 APIUnauthorizedError is a unauthorized error response -
      403 APIForbiddenError is a forbidden error response -
      404 APINotFound is a not found error response -
    • userCurrentPutFollowWithHttpInfo

      public ApiResponse<Void> userCurrentPutFollowWithHttpInfo(@Nonnull String username) throws ApiException
      Follow a user
      Parameters:
      username - username of user to follow (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 -
      401 APIUnauthorizedError is a unauthorized error response -
      403 APIForbiddenError is a forbidden error response -
      404 APINotFound is a not found error response -
    • userCurrentPutFollowAsync

      public okhttp3.Call userCurrentPutFollowAsync(@Nonnull String username, ApiCallback<Void> _callback) throws ApiException
      Follow a user (asynchronously)
      Parameters:
      username - username of user to follow (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 -
      401 APIUnauthorizedError is a unauthorized error response -
      403 APIForbiddenError is a forbidden error response -
      404 APINotFound is a not found error response -
    • userCurrentPutStarCall

      public okhttp3.Call userCurrentPutStarCall(@Nonnull String owner, @Nonnull String repo, ApiCallback _callback) throws ApiException
      Build call for userCurrentPutStar
      Parameters:
      owner - owner of the repo to star (required)
      repo - name of the repo to star (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 -
      401 APIUnauthorizedError is a unauthorized error response -
      403 APIForbiddenError is a forbidden error response -
      404 APINotFound is a not found error response -
    • userCurrentPutStar

      public void userCurrentPutStar(@Nonnull String owner, @Nonnull String repo) throws ApiException
      Star the given repo
      Parameters:
      owner - owner of the repo to star (required)
      repo - name of the repo to star (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 -
      401 APIUnauthorizedError is a unauthorized error response -
      403 APIForbiddenError is a forbidden error response -
      404 APINotFound is a not found error response -
    • userCurrentPutStarWithHttpInfo

      public ApiResponse<Void> userCurrentPutStarWithHttpInfo(@Nonnull String owner, @Nonnull String repo) throws ApiException
      Star the given repo
      Parameters:
      owner - owner of the repo to star (required)
      repo - name of the repo to star (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 -
      401 APIUnauthorizedError is a unauthorized error response -
      403 APIForbiddenError is a forbidden error response -
      404 APINotFound is a not found error response -
    • userCurrentPutStarAsync

      public okhttp3.Call userCurrentPutStarAsync(@Nonnull String owner, @Nonnull String repo, ApiCallback<Void> _callback) throws ApiException
      Star the given repo (asynchronously)
      Parameters:
      owner - owner of the repo to star (required)
      repo - name of the repo to star (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 -
      401 APIUnauthorizedError is a unauthorized error response -
      403 APIForbiddenError is a forbidden error response -
      404 APINotFound is a not found error response -
    • userCurrentTrackedTimesCall

      public okhttp3.Call userCurrentTrackedTimesCall(@Nullable Integer page, @Nullable Integer limit, @Nullable OffsetDateTime since, @Nullable OffsetDateTime before, ApiCallback _callback) throws ApiException
      Build call for userCurrentTrackedTimes
      Parameters:
      page - page number of results to return (1-based) (optional)
      limit - page size of results (optional)
      since - Only show times updated after the given time. This is a timestamp in RFC 3339 format (optional)
      before - Only show times updated before the given time. This is a timestamp in RFC 3339 format (optional)
      _callback - Callback for upload/download progress
      Returns:
      Call to execute
      Throws:
      ApiException - If fail to serialize the request body object
      Http Response Details
      Response Details
      Status Code Description Response Headers
      200 TrackedTimeList * X-Total-Count - The total number of access tokens
      401 APIUnauthorizedError is a unauthorized error response -
      403 APIForbiddenError is a forbidden error response -
    • userCurrentTrackedTimes

      public List<TrackedTime> userCurrentTrackedTimes(@Nullable Integer page, @Nullable Integer limit, @Nullable OffsetDateTime since, @Nullable OffsetDateTime before) throws ApiException
      List the current user's tracked times
      Parameters:
      page - page number of results to return (1-based) (optional)
      limit - page size of results (optional)
      since - Only show times updated after the given time. This is a timestamp in RFC 3339 format (optional)
      before - Only show times updated before the given time. This is a timestamp in RFC 3339 format (optional)
      Returns:
      List<TrackedTime>
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      Http Response Details
      Response Details
      Status Code Description Response Headers
      200 TrackedTimeList * X-Total-Count - The total number of access tokens
      401 APIUnauthorizedError is a unauthorized error response -
      403 APIForbiddenError is a forbidden error response -
    • userCurrentTrackedTimesWithHttpInfo

      public ApiResponse<List<TrackedTime>> userCurrentTrackedTimesWithHttpInfo(@Nullable Integer page, @Nullable Integer limit, @Nullable OffsetDateTime since, @Nullable OffsetDateTime before) throws ApiException
      List the current user's tracked times
      Parameters:
      page - page number of results to return (1-based) (optional)
      limit - page size of results (optional)
      since - Only show times updated after the given time. This is a timestamp in RFC 3339 format (optional)
      before - Only show times updated before the given time. This is a timestamp in RFC 3339 format (optional)
      Returns:
      ApiResponse<List<TrackedTime>>
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      Http Response Details
      Response Details
      Status Code Description Response Headers
      200 TrackedTimeList * X-Total-Count - The total number of access tokens
      401 APIUnauthorizedError is a unauthorized error response -
      403 APIForbiddenError is a forbidden error response -
    • userCurrentTrackedTimesAsync

      public okhttp3.Call userCurrentTrackedTimesAsync(@Nullable Integer page, @Nullable Integer limit, @Nullable OffsetDateTime since, @Nullable OffsetDateTime before, ApiCallback<List<TrackedTime>> _callback) throws ApiException
      List the current user's tracked times (asynchronously)
      Parameters:
      page - page number of results to return (1-based) (optional)
      limit - page size of results (optional)
      since - Only show times updated after the given time. This is a timestamp in RFC 3339 format (optional)
      before - Only show times updated before the given time. This is a timestamp in RFC 3339 format (optional)
      _callback - The callback to be executed when the API call finishes
      Returns:
      The request call
      Throws:
      ApiException - If fail to process the API call, e.g. serializing the request body object
      Http Response Details
      Response Details
      Status Code Description Response Headers
      200 TrackedTimeList * X-Total-Count - The total number of access tokens
      401 APIUnauthorizedError is a unauthorized error response -
      403 APIForbiddenError is a forbidden error response -
    • userDeleteAccessTokenCall

      public okhttp3.Call userDeleteAccessTokenCall(@Nonnull String username, @Nonnull String token, ApiCallback _callback) throws ApiException
      Build call for userDeleteAccessToken
      Parameters:
      username - username of user (required)
      token - token to be deleted, identified by ID and if not available by name (required)
      _callback - Callback for upload/download progress
      Returns:
      Call to execute
      Throws:
      ApiException - If fail to serialize the request body object
      Http Response Details
      Response Details
      Status Code Description Response Headers
      204 APIEmpty is an empty response -
      403 APIForbiddenError is a forbidden error response -
      404 APINotFound is a not found error response -
      422 APIError is error format response -
    • userDeleteAccessToken

      public void userDeleteAccessToken(@Nonnull String username, @Nonnull String token) throws ApiException
      Delete an access token from the specified user's account
      Parameters:
      username - username of user (required)
      token - token to be deleted, identified by ID and if not available by name (required)
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      Http Response Details
      Response Details
      Status Code Description Response Headers
      204 APIEmpty is an empty response -
      403 APIForbiddenError is a forbidden error response -
      404 APINotFound is a not found error response -
      422 APIError is error format response -
    • userDeleteAccessTokenWithHttpInfo

      public ApiResponse<Void> userDeleteAccessTokenWithHttpInfo(@Nonnull String username, @Nonnull String token) throws ApiException
      Delete an access token from the specified user's account
      Parameters:
      username - username of user (required)
      token - token to be deleted, identified by ID and if not available by name (required)
      Returns:
      ApiResponse<Void>
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      Http Response Details
      Response Details
      Status Code Description Response Headers
      204 APIEmpty is an empty response -
      403 APIForbiddenError is a forbidden error response -
      404 APINotFound is a not found error response -
      422 APIError is error format response -
    • userDeleteAccessTokenAsync

      public okhttp3.Call userDeleteAccessTokenAsync(@Nonnull String username, @Nonnull String token, ApiCallback<Void> _callback) throws ApiException
      Delete an access token from the specified user's account (asynchronously)
      Parameters:
      username - username of user (required)
      token - token to be deleted, identified by ID and if not available by name (required)
      _callback - The callback to be executed when the API call finishes
      Returns:
      The request call
      Throws:
      ApiException - If fail to process the API call, e.g. serializing the request body object
      Http Response Details
      Response Details
      Status Code Description Response Headers
      204 APIEmpty is an empty response -
      403 APIForbiddenError is a forbidden error response -
      404 APINotFound is a not found error response -
      422 APIError is error format response -
    • userDeleteAvatarCall

      public okhttp3.Call userDeleteAvatarCall(ApiCallback _callback) throws ApiException
      Build call for userDeleteAvatar
      Parameters:
      _callback - Callback for upload/download progress
      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 -
      401 APIUnauthorizedError is a unauthorized error response -
      403 APIForbiddenError is a forbidden error response -
    • userDeleteAvatar

      public void userDeleteAvatar() throws ApiException
      Delete avatar of the current user. It will be replaced by a default one
      Throws:
      ApiException - If fail 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 -
      401 APIUnauthorizedError is a unauthorized error response -
      403 APIForbiddenError is a forbidden error response -
    • userDeleteAvatarWithHttpInfo

      public ApiResponse<Void> userDeleteAvatarWithHttpInfo() throws ApiException
      Delete avatar of the current user. It will be replaced by a default one
      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 -
      401 APIUnauthorizedError is a unauthorized error response -
      403 APIForbiddenError is a forbidden error response -
    • userDeleteAvatarAsync

      public okhttp3.Call userDeleteAvatarAsync(ApiCallback<Void> _callback) throws ApiException
      Delete avatar of the current user. It will be replaced by a default one (asynchronously)
      Parameters:
      _callback - The callback to be executed when the API call finishes
      Returns:
      The request call
      Throws:
      ApiException - 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 -
      401 APIUnauthorizedError is a unauthorized error response -
      403 APIForbiddenError is a forbidden error response -
    • userDeleteEmailCall

      public okhttp3.Call userDeleteEmailCall(@Nullable DeleteEmailOption body, ApiCallback _callback) throws ApiException
      Build call for userDeleteEmail
      Parameters:
      body - (optional)
      _callback - Callback for upload/download progress
      Returns:
      Call to execute
      Throws:
      ApiException - If fail to serialize the request body object
      Http Response Details
      Response Details
      Status Code Description Response Headers
      204 APIEmpty is an empty response -
      401 APIUnauthorizedError is a unauthorized error response -
      403 APIForbiddenError is a forbidden error response -
      404 APINotFound is a not found error response -
    • userDeleteEmail

      public void userDeleteEmail(@Nullable DeleteEmailOption body) throws ApiException
      Delete email addresses from the current user's account
      Parameters:
      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 -
      401 APIUnauthorizedError is a unauthorized error response -
      403 APIForbiddenError is a forbidden error response -
      404 APINotFound is a not found error response -
    • userDeleteEmailWithHttpInfo

      public ApiResponse<Void> userDeleteEmailWithHttpInfo(@Nullable DeleteEmailOption body) throws ApiException
      Delete email addresses from the current user's account
      Parameters:
      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 -
      401 APIUnauthorizedError is a unauthorized error response -
      403 APIForbiddenError is a forbidden error response -
      404 APINotFound is a not found error response -
    • userDeleteEmailAsync

      public okhttp3.Call userDeleteEmailAsync(@Nullable DeleteEmailOption body, ApiCallback<Void> _callback) throws ApiException
      Delete email addresses from the current user's account (asynchronously)
      Parameters:
      body - (optional)
      _callback - The callback to be executed when the API call finishes
      Returns:
      The request call
      Throws:
      ApiException - If fail to process the API call, e.g. serializing the request body object
      Http Response Details
      Response Details
      Status Code Description Response Headers
      204 APIEmpty is an empty response -
      401 APIUnauthorizedError is a unauthorized error response -
      403 APIForbiddenError is a forbidden error response -
      404 APINotFound is a not found error response -
    • userDeleteHookCall

      public okhttp3.Call userDeleteHookCall(@Nonnull Long id, ApiCallback _callback) throws ApiException
      Build call for userDeleteHook
      Parameters:
      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 -
      401 APIUnauthorizedError is a unauthorized error response -
      403 APIForbiddenError is a forbidden error response -
    • userDeleteHook

      public void userDeleteHook(@Nonnull Long id) throws ApiException
      Delete a hook
      Parameters:
      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 -
      401 APIUnauthorizedError is a unauthorized error response -
      403 APIForbiddenError is a forbidden error response -
    • userDeleteHookWithHttpInfo

      public ApiResponse<Void> userDeleteHookWithHttpInfo(@Nonnull Long id) throws ApiException
      Delete a hook
      Parameters:
      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 -
      401 APIUnauthorizedError is a unauthorized error response -
      403 APIForbiddenError is a forbidden error response -
    • userDeleteHookAsync

      public okhttp3.Call userDeleteHookAsync(@Nonnull Long id, ApiCallback<Void> _callback) throws ApiException
      Delete a hook (asynchronously)
      Parameters:
      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 -
      401 APIUnauthorizedError is a unauthorized error response -
      403 APIForbiddenError is a forbidden error response -
    • userDeleteOAuth2ApplicationCall

      public okhttp3.Call userDeleteOAuth2ApplicationCall(@Nonnull Long id, ApiCallback _callback) throws ApiException
      Build call for userDeleteOAuth2Application
      Parameters:
      id - token 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 -
      401 APIUnauthorizedError is a unauthorized error response -
      403 APIForbiddenError is a forbidden error response -
      404 APINotFound is a not found error response -
    • userDeleteOAuth2Application

      public void userDeleteOAuth2Application(@Nonnull Long id) throws ApiException
      Delete an OAuth2 application
      Parameters:
      id - token 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 -
      401 APIUnauthorizedError is a unauthorized error response -
      403 APIForbiddenError is a forbidden error response -
      404 APINotFound is a not found error response -
    • userDeleteOAuth2ApplicationWithHttpInfo

      public ApiResponse<Void> userDeleteOAuth2ApplicationWithHttpInfo(@Nonnull Long id) throws ApiException
      Delete an OAuth2 application
      Parameters:
      id - token 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 -
      401 APIUnauthorizedError is a unauthorized error response -
      403 APIForbiddenError is a forbidden error response -
      404 APINotFound is a not found error response -
    • userDeleteOAuth2ApplicationAsync

      public okhttp3.Call userDeleteOAuth2ApplicationAsync(@Nonnull Long id, ApiCallback<Void> _callback) throws ApiException
      Delete an OAuth2 application (asynchronously)
      Parameters:
      id - token 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 -
      401 APIUnauthorizedError is a unauthorized error response -
      403 APIForbiddenError is a forbidden error response -
      404 APINotFound is a not found error response -
    • userEditHookCall

      public okhttp3.Call userEditHookCall(@Nonnull Long id, @Nullable EditHookOption body, ApiCallback _callback) throws ApiException
      Build call for userEditHook
      Parameters:
      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 -
      401 APIUnauthorizedError is a unauthorized error response -
      403 APIForbiddenError is a forbidden error response -
    • userEditHook

      public Hook userEditHook(@Nonnull Long id, @Nullable EditHookOption body) throws ApiException
      Update a hook
      Parameters:
      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 -
      401 APIUnauthorizedError is a unauthorized error response -
      403 APIForbiddenError is a forbidden error response -
    • userEditHookWithHttpInfo

      public ApiResponse<Hook> userEditHookWithHttpInfo(@Nonnull Long id, @Nullable EditHookOption body) throws ApiException
      Update a hook
      Parameters:
      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 -
      401 APIUnauthorizedError is a unauthorized error response -
      403 APIForbiddenError is a forbidden error response -
    • userEditHookAsync

      public okhttp3.Call userEditHookAsync(@Nonnull Long id, @Nullable EditHookOption body, ApiCallback<Hook> _callback) throws ApiException
      Update a hook (asynchronously)
      Parameters:
      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 -
      401 APIUnauthorizedError is a unauthorized error response -
      403 APIForbiddenError is a forbidden error response -
    • userGetCall

      public okhttp3.Call userGetCall(@Nonnull String username, ApiCallback _callback) throws ApiException
      Build call for userGet
      Parameters:
      username - username of user 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 User -
      404 APINotFound is a not found error response -
    • userGet

      public User userGet(@Nonnull String username) throws ApiException
      Get a user
      Parameters:
      username - username of user to get (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 -
    • userGetWithHttpInfo

      public ApiResponse<User> userGetWithHttpInfo(@Nonnull String username) throws ApiException
      Get a user
      Parameters:
      username - username of user to get (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 -
    • userGetAsync

      public okhttp3.Call userGetAsync(@Nonnull String username, ApiCallback<User> _callback) throws ApiException
      Get a user (asynchronously)
      Parameters:
      username - username of user 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 User -
      404 APINotFound is a not found error response -
    • userGetCurrentCall

      public okhttp3.Call userGetCurrentCall(ApiCallback _callback) throws ApiException
      Build call for userGetCurrent
      Parameters:
      _callback - Callback for upload/download progress
      Returns:
      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 -
      401 APIUnauthorizedError is a unauthorized error response -
      403 APIForbiddenError is a forbidden error response -
    • userGetCurrent

      public User userGetCurrent() throws ApiException
      Get the authenticated user
      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 -
      401 APIUnauthorizedError is a unauthorized error response -
      403 APIForbiddenError is a forbidden error response -
    • userGetCurrentWithHttpInfo

      public ApiResponse<User> userGetCurrentWithHttpInfo() throws ApiException
      Get the authenticated user
      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 -
      401 APIUnauthorizedError is a unauthorized error response -
      403 APIForbiddenError is a forbidden error response -
    • userGetCurrentAsync

      public okhttp3.Call userGetCurrentAsync(ApiCallback<User> _callback) throws ApiException
      Get the authenticated user (asynchronously)
      Parameters:
      _callback - The callback to be executed when the API call finishes
      Returns:
      The request call
      Throws:
      ApiException - If 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 -
      401 APIUnauthorizedError is a unauthorized error response -
      403 APIForbiddenError is a forbidden error response -
    • userGetHeatmapDataCall

      public okhttp3.Call userGetHeatmapDataCall(@Nonnull String username, ApiCallback _callback) throws ApiException
      Build call for userGetHeatmapData
      Parameters:
      username - username of user 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 UserHeatmapData -
      404 APINotFound is a not found error response -
    • userGetHeatmapData

      public List<UserHeatmapData> userGetHeatmapData(@Nonnull String username) throws ApiException
      Get a user's heatmap
      Parameters:
      username - username of user to get (required)
      Returns:
      List<UserHeatmapData>
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      Http Response Details
      Response Details
      Status Code Description Response Headers
      200 UserHeatmapData -
      404 APINotFound is a not found error response -
    • userGetHeatmapDataWithHttpInfo

      public ApiResponse<List<UserHeatmapData>> userGetHeatmapDataWithHttpInfo(@Nonnull String username) throws ApiException
      Get a user's heatmap
      Parameters:
      username - username of user to get (required)
      Returns:
      ApiResponse<List<UserHeatmapData>>
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      Http Response Details
      Response Details
      Status Code Description Response Headers
      200 UserHeatmapData -
      404 APINotFound is a not found error response -
    • userGetHeatmapDataAsync

      public okhttp3.Call userGetHeatmapDataAsync(@Nonnull String username, ApiCallback<List<UserHeatmapData>> _callback) throws ApiException
      Get a user's heatmap (asynchronously)
      Parameters:
      username - username of user 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 UserHeatmapData -
      404 APINotFound is a not found error response -
    • userGetHookCall

      public okhttp3.Call userGetHookCall(@Nonnull Long id, ApiCallback _callback) throws ApiException
      Build call for userGetHook
      Parameters:
      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 -
      401 APIUnauthorizedError is a unauthorized error response -
      403 APIForbiddenError is a forbidden error response -
    • userGetHook

      public Hook userGetHook(@Nonnull Long id) throws ApiException
      Get a hook
      Parameters:
      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 -
      401 APIUnauthorizedError is a unauthorized error response -
      403 APIForbiddenError is a forbidden error response -
    • userGetHookWithHttpInfo

      public ApiResponse<Hook> userGetHookWithHttpInfo(@Nonnull Long id) throws ApiException
      Get a hook
      Parameters:
      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 -
      401 APIUnauthorizedError is a unauthorized error response -
      403 APIForbiddenError is a forbidden error response -
    • userGetHookAsync

      public okhttp3.Call userGetHookAsync(@Nonnull Long id, ApiCallback<Hook> _callback) throws ApiException
      Get a hook (asynchronously)
      Parameters:
      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 -
      401 APIUnauthorizedError is a unauthorized error response -
      403 APIForbiddenError is a forbidden error response -
    • userGetOAuth2ApplicationCall

      public okhttp3.Call userGetOAuth2ApplicationCall(@Nonnull Long id, ApiCallback _callback) throws ApiException
      Build call for userGetOAuth2Application
      Parameters:
      id - Application ID to be found (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 OAuth2Application -
      401 APIUnauthorizedError is a unauthorized error response -
      403 APIForbiddenError is a forbidden error response -
      404 APINotFound is a not found error response -
    • userGetOAuth2Application

      public OAuth2Application userGetOAuth2Application(@Nonnull Long id) throws ApiException
      Get an OAuth2 application
      Parameters:
      id - Application ID to be found (required)
      Returns:
      OAuth2Application
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      Http Response Details
      Response Details
      Status Code Description Response Headers
      200 OAuth2Application -
      401 APIUnauthorizedError is a unauthorized error response -
      403 APIForbiddenError is a forbidden error response -
      404 APINotFound is a not found error response -
    • userGetOAuth2ApplicationWithHttpInfo

      public ApiResponse<OAuth2Application> userGetOAuth2ApplicationWithHttpInfo(@Nonnull Long id) throws ApiException
      Get an OAuth2 application
      Parameters:
      id - Application ID to be found (required)
      Returns:
      ApiResponse<OAuth2Application>
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      Http Response Details
      Response Details
      Status Code Description Response Headers
      200 OAuth2Application -
      401 APIUnauthorizedError is a unauthorized error response -
      403 APIForbiddenError is a forbidden error response -
      404 APINotFound is a not found error response -
    • userGetOAuth2ApplicationAsync

      public okhttp3.Call userGetOAuth2ApplicationAsync(@Nonnull Long id, ApiCallback<OAuth2Application> _callback) throws ApiException
      Get an OAuth2 application (asynchronously)
      Parameters:
      id - Application ID to be found (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 OAuth2Application -
      401 APIUnauthorizedError is a unauthorized error response -
      403 APIForbiddenError is a forbidden error response -
      404 APINotFound is a not found error response -
    • userGetOAuth2ApplicationsCall

      public okhttp3.Call userGetOAuth2ApplicationsCall(@Nullable Integer page, @Nullable Integer limit, ApiCallback _callback) throws ApiException
      Build call for userGetOAuth2Applications
      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 OAuth2ApplicationList * X-Total-Count - The total number of access tokens
      401 APIUnauthorizedError is a unauthorized error response -
      403 APIForbiddenError is a forbidden error response -
    • userGetOAuth2Applications

      public List<OAuth2Application> userGetOAuth2Applications(@Nullable Integer page, @Nullable Integer limit) throws ApiException
      List the authenticated user's oauth2 applications
      Parameters:
      page - page number of results to return (1-based) (optional)
      limit - page size of results (optional)
      Returns:
      List<OAuth2Application>
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      Http Response Details
      Response Details
      Status Code Description Response Headers
      200 OAuth2ApplicationList * X-Total-Count - The total number of access tokens
      401 APIUnauthorizedError is a unauthorized error response -
      403 APIForbiddenError is a forbidden error response -
    • userGetOAuth2ApplicationsWithHttpInfo

      public ApiResponse<List<OAuth2Application>> userGetOAuth2ApplicationsWithHttpInfo(@Nullable Integer page, @Nullable Integer limit) throws ApiException
      List the authenticated user's oauth2 applications
      Parameters:
      page - page number of results to return (1-based) (optional)
      limit - page size of results (optional)
      Returns:
      ApiResponse<List<OAuth2Application>>
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      Http Response Details
      Response Details
      Status Code Description Response Headers
      200 OAuth2ApplicationList * X-Total-Count - The total number of access tokens
      401 APIUnauthorizedError is a unauthorized error response -
      403 APIForbiddenError is a forbidden error response -
    • userGetOAuth2ApplicationsAsync

      public okhttp3.Call userGetOAuth2ApplicationsAsync(@Nullable Integer page, @Nullable Integer limit, ApiCallback<List<OAuth2Application>> _callback) throws ApiException
      List the authenticated user's oauth2 applications (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 OAuth2ApplicationList * X-Total-Count - The total number of access tokens
      401 APIUnauthorizedError is a unauthorized error response -
      403 APIForbiddenError is a forbidden error response -
    • userGetQuotaCall

      public okhttp3.Call userGetQuotaCall(ApiCallback _callback) throws ApiException
      Build call for userGetQuota
      Parameters:
      _callback - Callback for upload/download progress
      Returns:
      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 -
      401 APIUnauthorizedError is a unauthorized error response -
      403 APIForbiddenError is a forbidden error response -
    • userGetQuota

      public QuotaInfo userGetQuota() throws ApiException
      Get quota information for the authenticated user
      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 -
      401 APIUnauthorizedError is a unauthorized error response -
      403 APIForbiddenError is a forbidden error response -
    • userGetQuotaWithHttpInfo

      public ApiResponse<QuotaInfo> userGetQuotaWithHttpInfo() throws ApiException
      Get quota information for the authenticated user
      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 -
      401 APIUnauthorizedError is a unauthorized error response -
      403 APIForbiddenError is a forbidden error response -
    • userGetQuotaAsync

      public okhttp3.Call userGetQuotaAsync(ApiCallback<QuotaInfo> _callback) throws ApiException
      Get quota information for the authenticated user (asynchronously)
      Parameters:
      _callback - The callback to be executed when the API call finishes
      Returns:
      The request call
      Throws:
      ApiException - If 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 -
      401 APIUnauthorizedError is a unauthorized error response -
      403 APIForbiddenError is a forbidden error response -
    • userGetRunnerRegistrationTokenCall

      @Deprecated public okhttp3.Call userGetRunnerRegistrationTokenCall(ApiCallback _callback) throws ApiException
      Deprecated.
      Build call for userGetRunnerRegistrationToken
      Parameters:
      _callback - Callback for upload/download progress
      Returns:
      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 -
      401 APIUnauthorizedError is a unauthorized error response -
      403 APIForbiddenError is a forbidden error response -
    • userGetRunnerRegistrationToken

      @Deprecated public RegistrationToken userGetRunnerRegistrationToken() throws ApiException
      Deprecated.
      Get the user's runner registration token This operation has been deprecated in Forgejo 15. Use the web UI or [`/user/actions/runners`](#/user/registerUserRunner) instead.
      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 -
      401 APIUnauthorizedError is a unauthorized error response -
      403 APIForbiddenError is a forbidden error response -
    • userGetRunnerRegistrationTokenWithHttpInfo

      @Deprecated public ApiResponse<RegistrationToken> userGetRunnerRegistrationTokenWithHttpInfo() throws ApiException
      Deprecated.
      Get the user's runner registration token This operation has been deprecated in Forgejo 15. Use the web UI or [`/user/actions/runners`](#/user/registerUserRunner) instead.
      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 -
      401 APIUnauthorizedError is a unauthorized error response -
      403 APIForbiddenError is a forbidden error response -
    • userGetRunnerRegistrationTokenAsync

      @Deprecated public okhttp3.Call userGetRunnerRegistrationTokenAsync(ApiCallback<RegistrationToken> _callback) throws ApiException
      Deprecated.
      Get the user's runner registration token (asynchronously) This operation has been deprecated in Forgejo 15. Use the web UI or [`/user/actions/runners`](#/user/registerUserRunner) instead.
      Parameters:
      _callback - The callback to be executed when the API call finishes
      Returns:
      The request call
      Throws:
      ApiException - If 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 -
      401 APIUnauthorizedError is a unauthorized error response -
      403 APIForbiddenError is a forbidden error response -
    • userGetStopWatchesCall

      public okhttp3.Call userGetStopWatchesCall(@Nullable Integer page, @Nullable Integer limit, ApiCallback _callback) throws ApiException
      Build call for userGetStopWatches
      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 StopWatchList * X-Total-Count - The total number of access tokens
      401 APIUnauthorizedError is a unauthorized error response -
      403 APIForbiddenError is a forbidden error response -
    • userGetStopWatches

      public List<StopWatch> userGetStopWatches(@Nullable Integer page, @Nullable Integer limit) throws ApiException
      Get list of all existing stopwatches
      Parameters:
      page - page number of results to return (1-based) (optional)
      limit - page size of results (optional)
      Returns:
      List<StopWatch>
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      Http Response Details
      Response Details
      Status Code Description Response Headers
      200 StopWatchList * X-Total-Count - The total number of access tokens
      401 APIUnauthorizedError is a unauthorized error response -
      403 APIForbiddenError is a forbidden error response -
    • userGetStopWatchesWithHttpInfo

      public ApiResponse<List<StopWatch>> userGetStopWatchesWithHttpInfo(@Nullable Integer page, @Nullable Integer limit) throws ApiException
      Get list of all existing stopwatches
      Parameters:
      page - page number of results to return (1-based) (optional)
      limit - page size of results (optional)
      Returns:
      ApiResponse<List<StopWatch>>
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      Http Response Details
      Response Details
      Status Code Description Response Headers
      200 StopWatchList * X-Total-Count - The total number of access tokens
      401 APIUnauthorizedError is a unauthorized error response -
      403 APIForbiddenError is a forbidden error response -
    • userGetStopWatchesAsync

      public okhttp3.Call userGetStopWatchesAsync(@Nullable Integer page, @Nullable Integer limit, ApiCallback<List<StopWatch>> _callback) throws ApiException
      Get list of all existing stopwatches (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 StopWatchList * X-Total-Count - The total number of access tokens
      401 APIUnauthorizedError is a unauthorized error response -
      403 APIForbiddenError is a forbidden error response -
    • userGetTokensCall

      public okhttp3.Call userGetTokensCall(@Nonnull String username, @Nullable Integer page, @Nullable Integer limit, ApiCallback _callback) throws ApiException
      Build call for userGetTokens
      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 AccessTokenList * X-Total-Count - The total number of access tokens
      403 APIForbiddenError is a forbidden error response -
      404 APINotFound is a not found error response -
    • userGetTokens

      public List<AccessToken> userGetTokens(@Nonnull String username, @Nullable Integer page, @Nullable Integer limit) throws ApiException
      List the specified user's access tokens
      Parameters:
      username - username of user (required)
      page - page number of results to return (1-based) (optional)
      limit - page size of results (optional)
      Returns:
      List<AccessToken>
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      Http Response Details
      Response Details
      Status Code Description Response Headers
      200 AccessTokenList * X-Total-Count - The total number of access tokens
      403 APIForbiddenError is a forbidden error response -
      404 APINotFound is a not found error response -
    • userGetTokensWithHttpInfo

      public ApiResponse<List<AccessToken>> userGetTokensWithHttpInfo(@Nonnull String username, @Nullable Integer page, @Nullable Integer limit) throws ApiException
      List the specified user's access tokens
      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<AccessToken>>
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      Http Response Details
      Response Details
      Status Code Description Response Headers
      200 AccessTokenList * X-Total-Count - The total number of access tokens
      403 APIForbiddenError is a forbidden error response -
      404 APINotFound is a not found error response -
    • userGetTokensAsync

      public okhttp3.Call userGetTokensAsync(@Nonnull String username, @Nullable Integer page, @Nullable Integer limit, ApiCallback<List<AccessToken>> _callback) throws ApiException
      List the specified user's access tokens (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 AccessTokenList * X-Total-Count - The total number of access tokens
      403 APIForbiddenError is a forbidden error response -
      404 APINotFound is a not found error response -
    • userListActivityFeedsCall

      public okhttp3.Call userListActivityFeedsCall(@Nonnull String username, @Nullable Boolean onlyPerformedBy, @Nullable LocalDate date, @Nullable Integer page, @Nullable Integer limit, ApiCallback _callback) throws ApiException
      Build call for userListActivityFeeds
      Parameters:
      username - username of user (required)
      onlyPerformedBy - if true, only show actions performed by the requested user (optional)
      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 -
    • userListActivityFeeds

      public List<Activity> userListActivityFeeds(@Nonnull String username, @Nullable Boolean onlyPerformedBy, @Nullable LocalDate date, @Nullable Integer page, @Nullable Integer limit) throws ApiException
      List a user's activity feeds
      Parameters:
      username - username of user (required)
      onlyPerformedBy - if true, only show actions performed by the requested user (optional)
      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 -
    • userListActivityFeedsWithHttpInfo

      public ApiResponse<List<Activity>> userListActivityFeedsWithHttpInfo(@Nonnull String username, @Nullable Boolean onlyPerformedBy, @Nullable LocalDate date, @Nullable Integer page, @Nullable Integer limit) throws ApiException
      List a user's activity feeds
      Parameters:
      username - username of user (required)
      onlyPerformedBy - if true, only show actions performed by the requested user (optional)
      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 -
    • userListActivityFeedsAsync

      public okhttp3.Call userListActivityFeedsAsync(@Nonnull String username, @Nullable Boolean onlyPerformedBy, @Nullable LocalDate date, @Nullable Integer page, @Nullable Integer limit, ApiCallback<List<Activity>> _callback) throws ApiException
      List a user's activity feeds (asynchronously)
      Parameters:
      username - username of user (required)
      onlyPerformedBy - if true, only show actions performed by the requested user (optional)
      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 -
    • userListBlockedUsersCall

      public okhttp3.Call userListBlockedUsersCall(@Nullable Integer page, @Nullable Integer limit, ApiCallback _callback) throws ApiException
      Build call for userListBlockedUsers
      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 BlockedUserList -
      401 APIUnauthorizedError is a unauthorized error response -
      403 APIForbiddenError is a forbidden error response -
    • userListBlockedUsers

      public List<BlockedUser> userListBlockedUsers(@Nullable Integer page, @Nullable Integer limit) throws ApiException
      List the authenticated user's blocked users
      Parameters:
      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 -
      401 APIUnauthorizedError is a unauthorized error response -
      403 APIForbiddenError is a forbidden error response -
    • userListBlockedUsersWithHttpInfo

      public ApiResponse<List<BlockedUser>> userListBlockedUsersWithHttpInfo(@Nullable Integer page, @Nullable Integer limit) throws ApiException
      List the authenticated user's blocked users
      Parameters:
      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 -
      401 APIUnauthorizedError is a unauthorized error response -
      403 APIForbiddenError is a forbidden error response -
    • userListBlockedUsersAsync

      public okhttp3.Call userListBlockedUsersAsync(@Nullable Integer page, @Nullable Integer limit, ApiCallback<List<BlockedUser>> _callback) throws ApiException
      List the authenticated user's blocked users (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 BlockedUserList -
      401 APIUnauthorizedError is a unauthorized error response -
      403 APIForbiddenError is a forbidden error response -
    • userListEmailsCall

      public okhttp3.Call userListEmailsCall(ApiCallback _callback) throws ApiException
      Build call for userListEmails
      Parameters:
      _callback - Callback for upload/download progress
      Returns:
      Call to execute
      Throws:
      ApiException - If fail to serialize the request body object
      Http Response Details
      Response Details
      Status Code Description Response Headers
      200 EmailList -
      401 APIUnauthorizedError is a unauthorized error response -
      403 APIForbiddenError is a forbidden error response -
    • userListEmails

      public List<Email> userListEmails() throws ApiException
      List all email addresses of the current user
      Returns:
      List<Email>
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      Http Response Details
      Response Details
      Status Code Description Response Headers
      200 EmailList -
      401 APIUnauthorizedError is a unauthorized error response -
      403 APIForbiddenError is a forbidden error response -
    • userListEmailsWithHttpInfo

      public ApiResponse<List<Email>> userListEmailsWithHttpInfo() throws ApiException
      List all email addresses of the current user
      Returns:
      ApiResponse<List<Email>>
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      Http Response Details
      Response Details
      Status Code Description Response Headers
      200 EmailList -
      401 APIUnauthorizedError is a unauthorized error response -
      403 APIForbiddenError is a forbidden error response -
    • userListEmailsAsync

      public okhttp3.Call userListEmailsAsync(ApiCallback<List<Email>> _callback) throws ApiException
      List all email addresses of the current user (asynchronously)
      Parameters:
      _callback - The callback to be executed when the API call finishes
      Returns:
      The request call
      Throws:
      ApiException - If fail to process the API call, e.g. serializing the request body object
      Http Response Details
      Response Details
      Status Code Description Response Headers
      200 EmailList -
      401 APIUnauthorizedError is a unauthorized error response -
      403 APIForbiddenError is a forbidden error response -
    • userListFollowersCall

      public okhttp3.Call userListFollowersCall(@Nonnull String username, @Nullable Integer page, @Nullable Integer limit, ApiCallback _callback) throws ApiException
      Build call for userListFollowers
      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 UserList -
      404 APINotFound is a not found error response -
    • userListFollowers

      public List<User> userListFollowers(@Nonnull String username, @Nullable Integer page, @Nullable Integer limit) throws ApiException
      List the given user's followers
      Parameters:
      username - username of user (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 -
    • userListFollowersWithHttpInfo

      public ApiResponse<List<User>> userListFollowersWithHttpInfo(@Nonnull String username, @Nullable Integer page, @Nullable Integer limit) throws ApiException
      List the given user's followers
      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<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 -
    • userListFollowersAsync

      public okhttp3.Call userListFollowersAsync(@Nonnull String username, @Nullable Integer page, @Nullable Integer limit, ApiCallback<List<User>> _callback) throws ApiException
      List the given user's followers (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 UserList -
      404 APINotFound is a not found error response -
    • userListFollowingCall

      public okhttp3.Call userListFollowingCall(@Nonnull String username, @Nullable Integer page, @Nullable Integer limit, ApiCallback _callback) throws ApiException
      Build call for userListFollowing
      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 UserList -
      404 APINotFound is a not found error response -
    • userListFollowing

      public List<User> userListFollowing(@Nonnull String username, @Nullable Integer page, @Nullable Integer limit) throws ApiException
      List the users that the given user is following
      Parameters:
      username - username of user (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 -
    • userListFollowingWithHttpInfo

      public ApiResponse<List<User>> userListFollowingWithHttpInfo(@Nonnull String username, @Nullable Integer page, @Nullable Integer limit) throws ApiException
      List the users that the given user is following
      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<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 -
    • userListFollowingAsync

      public okhttp3.Call userListFollowingAsync(@Nonnull String username, @Nullable Integer page, @Nullable Integer limit, ApiCallback<List<User>> _callback) throws ApiException
      List the users that the given user is following (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 UserList -
      404 APINotFound is a not found error response -
    • userListGPGKeysCall

      public okhttp3.Call userListGPGKeysCall(@Nonnull String username, @Nullable Integer page, @Nullable Integer limit, ApiCallback _callback) throws ApiException
      Build call for userListGPGKeys
      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 GPGKeyList -
      404 APINotFound is a not found error response -
    • userListGPGKeys

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

      public ApiResponse<List<GPGKey>> userListGPGKeysWithHttpInfo(@Nonnull String username, @Nullable Integer page, @Nullable Integer limit) throws ApiException
      List the given user's GPG keys
      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<GPGKey>>
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      Http Response Details
      Response Details
      Status Code Description Response Headers
      200 GPGKeyList -
      404 APINotFound is a not found error response -
    • userListGPGKeysAsync

      public okhttp3.Call userListGPGKeysAsync(@Nonnull String username, @Nullable Integer page, @Nullable Integer limit, ApiCallback<List<GPGKey>> _callback) throws ApiException
      List the given user's GPG keys (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 GPGKeyList -
      404 APINotFound is a not found error response -
    • userListHooksCall

      public okhttp3.Call userListHooksCall(@Nullable Integer page, @Nullable Integer limit, ApiCallback _callback) throws ApiException
      Build call for userListHooks
      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 HookListWithoutPagination - Hooks without pagination headers -
      401 APIUnauthorizedError is a unauthorized error response -
      403 APIForbiddenError is a forbidden error response -
    • userListHooks

      public List<Hook> userListHooks(@Nullable Integer page, @Nullable Integer limit) throws ApiException
      List the authenticated user's webhooks
      Parameters:
      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 -
      401 APIUnauthorizedError is a unauthorized error response -
      403 APIForbiddenError is a forbidden error response -
    • userListHooksWithHttpInfo

      public ApiResponse<List<Hook>> userListHooksWithHttpInfo(@Nullable Integer page, @Nullable Integer limit) throws ApiException
      List the authenticated user's webhooks
      Parameters:
      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 -
      401 APIUnauthorizedError is a unauthorized error response -
      403 APIForbiddenError is a forbidden error response -
    • userListHooksAsync

      public okhttp3.Call userListHooksAsync(@Nullable Integer page, @Nullable Integer limit, ApiCallback<List<Hook>> _callback) throws ApiException
      List the authenticated user's webhooks (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 HookListWithoutPagination - Hooks without pagination headers -
      401 APIUnauthorizedError is a unauthorized error response -
      403 APIForbiddenError is a forbidden error response -
    • userListKeysCall

      public okhttp3.Call userListKeysCall(@Nonnull String username, @Nullable String fingerprint, @Nullable Integer page, @Nullable Integer limit, ApiCallback _callback) throws ApiException
      Build call for userListKeys
      Parameters:
      username - username of user (required)
      fingerprint - fingerprint of the key (optional)
      page - page number of results to return (1-based) (optional)
      limit - page size of results (optional)
      _callback - Callback for upload/download progress
      Returns:
      Call to execute
      Throws:
      ApiException - If fail to serialize the request body object
      Http Response Details
      Response Details
      Status Code Description Response Headers
      200 PublicKeyList -
      404 APINotFound is a not found error response -
    • userListKeys

      public List<PublicKey> userListKeys(@Nonnull String username, @Nullable String fingerprint, @Nullable Integer page, @Nullable Integer limit) throws ApiException
      List the given user's public keys
      Parameters:
      username - username of user (required)
      fingerprint - fingerprint of the key (optional)
      page - page number of results to return (1-based) (optional)
      limit - page size of results (optional)
      Returns:
      List<PublicKey>
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      Http Response Details
      Response Details
      Status Code Description Response Headers
      200 PublicKeyList -
      404 APINotFound is a not found error response -
    • userListKeysWithHttpInfo

      public ApiResponse<List<PublicKey>> userListKeysWithHttpInfo(@Nonnull String username, @Nullable String fingerprint, @Nullable Integer page, @Nullable Integer limit) throws ApiException
      List the given user's public keys
      Parameters:
      username - username of user (required)
      fingerprint - fingerprint of the key (optional)
      page - page number of results to return (1-based) (optional)
      limit - page size of results (optional)
      Returns:
      ApiResponse<List<PublicKey>>
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      Http Response Details
      Response Details
      Status Code Description Response Headers
      200 PublicKeyList -
      404 APINotFound is a not found error response -
    • userListKeysAsync

      public okhttp3.Call userListKeysAsync(@Nonnull String username, @Nullable String fingerprint, @Nullable Integer page, @Nullable Integer limit, ApiCallback<List<PublicKey>> _callback) throws ApiException
      List the given user's public keys (asynchronously)
      Parameters:
      username - username of user (required)
      fingerprint - fingerprint of the key (optional)
      page - page number of results to return (1-based) (optional)
      limit - page size of results (optional)
      _callback - The callback to be executed when the API call finishes
      Returns:
      The request call
      Throws:
      ApiException - If fail to process the API call, e.g. serializing the request body object
      Http Response Details
      Response Details
      Status Code Description Response Headers
      200 PublicKeyList -
      404 APINotFound is a not found error response -
    • userListQuotaArtifactsCall

      public okhttp3.Call userListQuotaArtifactsCall(@Nullable Integer page, @Nullable Integer limit, ApiCallback _callback) throws ApiException
      Build call for userListQuotaArtifacts
      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 QuotaUsedArtifactList -
      401 APIUnauthorizedError is a unauthorized error response -
      403 APIForbiddenError is a forbidden error response -
    • userListQuotaArtifacts

      public List<QuotaUsedArtifact> userListQuotaArtifacts(@Nullable Integer page, @Nullable Integer limit) throws ApiException
      List the artifacts affecting the authenticated user's quota
      Parameters:
      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 -
      401 APIUnauthorizedError is a unauthorized error response -
      403 APIForbiddenError is a forbidden error response -
    • userListQuotaArtifactsWithHttpInfo

      public ApiResponse<List<QuotaUsedArtifact>> userListQuotaArtifactsWithHttpInfo(@Nullable Integer page, @Nullable Integer limit) throws ApiException
      List the artifacts affecting the authenticated user's quota
      Parameters:
      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 -
      401 APIUnauthorizedError is a unauthorized error response -
      403 APIForbiddenError is a forbidden error response -
    • userListQuotaArtifactsAsync

      public okhttp3.Call userListQuotaArtifactsAsync(@Nullable Integer page, @Nullable Integer limit, ApiCallback<List<QuotaUsedArtifact>> _callback) throws ApiException
      List the artifacts affecting the authenticated user's quota (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 QuotaUsedArtifactList -
      401 APIUnauthorizedError is a unauthorized error response -
      403 APIForbiddenError is a forbidden error response -
    • userListQuotaAttachmentsCall

      public okhttp3.Call userListQuotaAttachmentsCall(@Nullable Integer page, @Nullable Integer limit, ApiCallback _callback) throws ApiException
      Build call for userListQuotaAttachments
      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 QuotaUsedAttachmentList -
      401 APIUnauthorizedError is a unauthorized error response -
      403 APIForbiddenError is a forbidden error response -
    • userListQuotaAttachments

      public List<QuotaUsedAttachment> userListQuotaAttachments(@Nullable Integer page, @Nullable Integer limit) throws ApiException
      List the attachments affecting the authenticated user's quota
      Parameters:
      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 -
      401 APIUnauthorizedError is a unauthorized error response -
      403 APIForbiddenError is a forbidden error response -
    • userListQuotaAttachmentsWithHttpInfo

      public ApiResponse<List<QuotaUsedAttachment>> userListQuotaAttachmentsWithHttpInfo(@Nullable Integer page, @Nullable Integer limit) throws ApiException
      List the attachments affecting the authenticated user's quota
      Parameters:
      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 -
      401 APIUnauthorizedError is a unauthorized error response -
      403 APIForbiddenError is a forbidden error response -
    • userListQuotaAttachmentsAsync

      public okhttp3.Call userListQuotaAttachmentsAsync(@Nullable Integer page, @Nullable Integer limit, ApiCallback<List<QuotaUsedAttachment>> _callback) throws ApiException
      List the attachments affecting the authenticated user's quota (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 QuotaUsedAttachmentList -
      401 APIUnauthorizedError is a unauthorized error response -
      403 APIForbiddenError is a forbidden error response -
    • userListQuotaPackagesCall

      public okhttp3.Call userListQuotaPackagesCall(@Nullable Integer page, @Nullable Integer limit, ApiCallback _callback) throws ApiException
      Build call for userListQuotaPackages
      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 QuotaUsedPackageList -
      401 APIUnauthorizedError is a unauthorized error response -
      403 APIForbiddenError is a forbidden error response -
    • userListQuotaPackages

      public List<QuotaUsedPackage> userListQuotaPackages(@Nullable Integer page, @Nullable Integer limit) throws ApiException
      List the packages affecting the authenticated user's quota
      Parameters:
      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 -
      401 APIUnauthorizedError is a unauthorized error response -
      403 APIForbiddenError is a forbidden error response -
    • userListQuotaPackagesWithHttpInfo

      public ApiResponse<List<QuotaUsedPackage>> userListQuotaPackagesWithHttpInfo(@Nullable Integer page, @Nullable Integer limit) throws ApiException
      List the packages affecting the authenticated user's quota
      Parameters:
      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 -
      401 APIUnauthorizedError is a unauthorized error response -
      403 APIForbiddenError is a forbidden error response -
    • userListQuotaPackagesAsync

      public okhttp3.Call userListQuotaPackagesAsync(@Nullable Integer page, @Nullable Integer limit, ApiCallback<List<QuotaUsedPackage>> _callback) throws ApiException
      List the packages affecting the authenticated user's quota (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 QuotaUsedPackageList -
      401 APIUnauthorizedError is a unauthorized error response -
      403 APIForbiddenError is a forbidden error response -
    • userListReposCall

      public okhttp3.Call userListReposCall(@Nonnull String username, @Nullable Integer page, @Nullable Integer limit, ApiCallback _callback) throws ApiException
      Build call for userListRepos
      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 RepositoryList * X-Total-Count - The total number of access tokens
      404 APINotFound is a not found error response -
    • userListRepos

      public List<Repository> userListRepos(@Nonnull String username, @Nullable Integer page, @Nullable Integer limit) throws ApiException
      List the repos owned by the given user
      Parameters:
      username - username of user (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 -
    • userListReposWithHttpInfo

      public ApiResponse<List<Repository>> userListReposWithHttpInfo(@Nonnull String username, @Nullable Integer page, @Nullable Integer limit) throws ApiException
      List the repos owned by the given user
      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<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 -
    • userListReposAsync

      public okhttp3.Call userListReposAsync(@Nonnull String username, @Nullable Integer page, @Nullable Integer limit, ApiCallback<List<Repository>> _callback) throws ApiException
      List the repos owned by the given user (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 RepositoryList * X-Total-Count - The total number of access tokens
      404 APINotFound is a not found error response -
    • userListStarredCall

      public okhttp3.Call userListStarredCall(@Nonnull String username, @Nullable Integer page, @Nullable Integer limit, ApiCallback _callback) throws ApiException
      Build call for userListStarred
      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 RepositoryList * X-Total-Count - The total number of access tokens
      404 APINotFound is a not found error response -
    • userListStarred

      public List<Repository> userListStarred(@Nonnull String username, @Nullable Integer page, @Nullable Integer limit) throws ApiException
      The repos that the given user has starred
      Parameters:
      username - username of user (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 -
    • userListStarredWithHttpInfo

      public ApiResponse<List<Repository>> userListStarredWithHttpInfo(@Nonnull String username, @Nullable Integer page, @Nullable Integer limit) throws ApiException
      The repos that the given user has starred
      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<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 -
    • userListStarredAsync

      public okhttp3.Call userListStarredAsync(@Nonnull String username, @Nullable Integer page, @Nullable Integer limit, ApiCallback<List<Repository>> _callback) throws ApiException
      The repos that the given user has starred (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 RepositoryList * X-Total-Count - The total number of access tokens
      404 APINotFound is a not found error response -
    • userListSubscriptionsCall

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

      public List<Repository> userListSubscriptions(@Nonnull String username, @Nullable Integer page, @Nullable Integer limit) throws ApiException
      List the repositories watched by a user
      Parameters:
      username - username of the user (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 -
    • userListSubscriptionsWithHttpInfo

      public ApiResponse<List<Repository>> userListSubscriptionsWithHttpInfo(@Nonnull String username, @Nullable Integer page, @Nullable Integer limit) throws ApiException
      List the repositories watched by a user
      Parameters:
      username - username of the user (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 -
    • userListSubscriptionsAsync

      public okhttp3.Call userListSubscriptionsAsync(@Nonnull String username, @Nullable Integer page, @Nullable Integer limit, ApiCallback<List<Repository>> _callback) throws ApiException
      List the repositories watched by a user (asynchronously)
      Parameters:
      username - username of the 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 RepositoryList * X-Total-Count - The total number of access tokens
      404 APINotFound is a not found error response -
    • userListTeamsCall

      public okhttp3.Call userListTeamsCall(@Nullable Integer page, @Nullable Integer limit, ApiCallback _callback) throws ApiException
      Build call for userListTeams
      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 TeamList * X-Total-Count - The total number of access tokens
      401 APIUnauthorizedError is a unauthorized error response -
      403 APIForbiddenError is a forbidden error response -
    • userListTeams

      public List<Team> userListTeams(@Nullable Integer page, @Nullable Integer limit) throws ApiException
      List all the teams a user belongs to
      Parameters:
      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
      401 APIUnauthorizedError is a unauthorized error response -
      403 APIForbiddenError is a forbidden error response -
    • userListTeamsWithHttpInfo

      public ApiResponse<List<Team>> userListTeamsWithHttpInfo(@Nullable Integer page, @Nullable Integer limit) throws ApiException
      List all the teams a user belongs to
      Parameters:
      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
      401 APIUnauthorizedError is a unauthorized error response -
      403 APIForbiddenError is a forbidden error response -
    • userListTeamsAsync

      public okhttp3.Call userListTeamsAsync(@Nullable Integer page, @Nullable Integer limit, ApiCallback<List<Team>> _callback) throws ApiException
      List all the teams a user belongs to (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 TeamList * X-Total-Count - The total number of access tokens
      401 APIUnauthorizedError is a unauthorized error response -
      403 APIForbiddenError is a forbidden error response -
    • userSearchCall

      public okhttp3.Call userSearchCall(@Nullable String q, @Nullable Long uid, @Nullable String sort, @Nullable Integer page, @Nullable Integer limit, ApiCallback _callback) throws ApiException
      Build call for userSearch
      Parameters:
      q - keyword (optional)
      uid - ID of the user to search for (optional)
      sort - sort order of results (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 -
    • userSearch

      public UserSearchResults userSearch(@Nullable String q, @Nullable Long uid, @Nullable String sort, @Nullable Integer page, @Nullable Integer limit) throws ApiException
      Search for users
      Parameters:
      q - keyword (optional)
      uid - ID of the user to search for (optional)
      sort - sort order of results (optional)
      page - page number of results to return (1-based) (optional)
      limit - page size of results (optional)
      Returns:
      UserSearchResults
      Throws:
      ApiException - If fail to 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 -
    • userSearchWithHttpInfo

      public ApiResponse<UserSearchResults> userSearchWithHttpInfo(@Nullable String q, @Nullable Long uid, @Nullable String sort, @Nullable Integer page, @Nullable Integer limit) throws ApiException
      Search for users
      Parameters:
      q - keyword (optional)
      uid - ID of the user to search for (optional)
      sort - sort order of results (optional)
      page - page number of results to return (1-based) (optional)
      limit - page size of results (optional)
      Returns:
      ApiResponse<UserSearchResults>
      Throws:
      ApiException - If fail to 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 -
    • userSearchAsync

      public okhttp3.Call userSearchAsync(@Nullable String q, @Nullable Long uid, @Nullable String sort, @Nullable Integer page, @Nullable Integer limit, ApiCallback<UserSearchResults> _callback) throws ApiException
      Search for users (asynchronously)
      Parameters:
      q - keyword (optional)
      uid - ID of the user to search for (optional)
      sort - sort order of results (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 -
    • userSearchRunJobsCall

      public okhttp3.Call userSearchRunJobsCall(@Nullable String labels, ApiCallback _callback) throws ApiException
      Build call for userSearchRunJobs
      Parameters:
      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 -
      401 APIUnauthorizedError is a unauthorized error response -
      403 APIForbiddenError is a forbidden error response -
    • userSearchRunJobs

      public List<ActionRunJob> userSearchRunJobs(@Nullable String labels) throws ApiException
      Search for user's action jobs according filter conditions
      Parameters:
      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 -
      401 APIUnauthorizedError is a unauthorized error response -
      403 APIForbiddenError is a forbidden error response -
    • userSearchRunJobsWithHttpInfo

      public ApiResponse<List<ActionRunJob>> userSearchRunJobsWithHttpInfo(@Nullable String labels) throws ApiException
      Search for user's action jobs according filter conditions
      Parameters:
      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 -
      401 APIUnauthorizedError is a unauthorized error response -
      403 APIForbiddenError is a forbidden error response -
    • userSearchRunJobsAsync

      public okhttp3.Call userSearchRunJobsAsync(@Nullable String labels, ApiCallback<List<ActionRunJob>> _callback) throws ApiException
      Search for user's action jobs according filter conditions (asynchronously)
      Parameters:
      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 -
      401 APIUnauthorizedError is a unauthorized error response -
      403 APIForbiddenError is a forbidden error response -
    • userUnblockUserCall

      public okhttp3.Call userUnblockUserCall(@Nonnull String username, ApiCallback _callback) throws ApiException
      Build call for userUnblockUser
      Parameters:
      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 -
      401 APIUnauthorizedError is a unauthorized error response -
      403 APIForbiddenError is a forbidden error response -
      404 APINotFound is a not found error response -
      422 APIValidationError is error format response related to input validation -
    • userUnblockUser

      public void userUnblockUser(@Nonnull String username) throws ApiException
      Unblocks a user from the doer
      Parameters:
      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 -
      401 APIUnauthorizedError is a unauthorized error response -
      403 APIForbiddenError is a forbidden error response -
      404 APINotFound is a not found error response -
      422 APIValidationError is error format response related to input validation -
    • userUnblockUserWithHttpInfo

      public ApiResponse<Void> userUnblockUserWithHttpInfo(@Nonnull String username) throws ApiException
      Unblocks a user from the doer
      Parameters:
      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 -
      401 APIUnauthorizedError is a unauthorized error response -
      403 APIForbiddenError is a forbidden error response -
      404 APINotFound is a not found error response -
      422 APIValidationError is error format response related to input validation -
    • userUnblockUserAsync

      public okhttp3.Call userUnblockUserAsync(@Nonnull String username, ApiCallback<Void> _callback) throws ApiException
      Unblocks a user from the doer (asynchronously)
      Parameters:
      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 -
      401 APIUnauthorizedError is a unauthorized error response -
      403 APIForbiddenError is a forbidden error response -
      404 APINotFound is a not found error response -
      422 APIValidationError is error format response related to input validation -
    • userUpdateAvatarCall

      public okhttp3.Call userUpdateAvatarCall(@Nullable UpdateUserAvatarOption body, ApiCallback _callback) throws ApiException
      Build call for userUpdateAvatar
      Parameters:
      body - (optional)
      _callback - Callback for upload/download progress
      Returns:
      Call to execute
      Throws:
      ApiException - If fail to serialize the request body object
      Http Response Details
      Response Details
      Status Code Description Response Headers
      204 APIEmpty is an empty response -
      401 APIUnauthorizedError is a unauthorized error response -
      403 APIForbiddenError is a forbidden error response -
    • userUpdateAvatar

      public void userUpdateAvatar(@Nullable UpdateUserAvatarOption body) throws ApiException
      Update avatar of the current user
      Parameters:
      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 -
      401 APIUnauthorizedError is a unauthorized error response -
      403 APIForbiddenError is a forbidden error response -
    • userUpdateAvatarWithHttpInfo

      public ApiResponse<Void> userUpdateAvatarWithHttpInfo(@Nullable UpdateUserAvatarOption body) throws ApiException
      Update avatar of the current user
      Parameters:
      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 -
      401 APIUnauthorizedError is a unauthorized error response -
      403 APIForbiddenError is a forbidden error response -
    • userUpdateAvatarAsync

      public okhttp3.Call userUpdateAvatarAsync(@Nullable UpdateUserAvatarOption body, ApiCallback<Void> _callback) throws ApiException
      Update avatar of the current user (asynchronously)
      Parameters:
      body - (optional)
      _callback - The callback to be executed when the API call finishes
      Returns:
      The request call
      Throws:
      ApiException - If fail to process the API call, e.g. serializing the request body object
      Http Response Details
      Response Details
      Status Code Description Response Headers
      204 APIEmpty is an empty response -
      401 APIUnauthorizedError is a unauthorized error response -
      403 APIForbiddenError is a forbidden error response -
    • userUpdateOAuth2ApplicationCall

      public okhttp3.Call userUpdateOAuth2ApplicationCall(@Nonnull Long id, @Nonnull CreateOAuth2ApplicationOptions body, ApiCallback _callback) throws ApiException
      Build call for userUpdateOAuth2Application
      Parameters:
      id - application to be updated (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 OAuth2Application -
      401 APIUnauthorizedError is a unauthorized error response -
      403 APIForbiddenError is a forbidden error response -
      404 APINotFound is a not found error response -
    • userUpdateOAuth2Application

      public OAuth2Application userUpdateOAuth2Application(@Nonnull Long id, @Nonnull CreateOAuth2ApplicationOptions body) throws ApiException
      Update an OAuth2 application, this includes regenerating the client secret
      Parameters:
      id - application to be updated (required)
      body - (required)
      Returns:
      OAuth2Application
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      Http Response Details
      Response Details
      Status Code Description Response Headers
      200 OAuth2Application -
      401 APIUnauthorizedError is a unauthorized error response -
      403 APIForbiddenError is a forbidden error response -
      404 APINotFound is a not found error response -
    • userUpdateOAuth2ApplicationWithHttpInfo

      public ApiResponse<OAuth2Application> userUpdateOAuth2ApplicationWithHttpInfo(@Nonnull Long id, @Nonnull CreateOAuth2ApplicationOptions body) throws ApiException
      Update an OAuth2 application, this includes regenerating the client secret
      Parameters:
      id - application to be updated (required)
      body - (required)
      Returns:
      ApiResponse<OAuth2Application>
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      Http Response Details
      Response Details
      Status Code Description Response Headers
      200 OAuth2Application -
      401 APIUnauthorizedError is a unauthorized error response -
      403 APIForbiddenError is a forbidden error response -
      404 APINotFound is a not found error response -
    • userUpdateOAuth2ApplicationAsync

      public okhttp3.Call userUpdateOAuth2ApplicationAsync(@Nonnull Long id, @Nonnull CreateOAuth2ApplicationOptions body, ApiCallback<OAuth2Application> _callback) throws ApiException
      Update an OAuth2 application, this includes regenerating the client secret (asynchronously)
      Parameters:
      id - application to be updated (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 OAuth2Application -
      401 APIUnauthorizedError is a unauthorized error response -
      403 APIForbiddenError is a forbidden error response -
      404 APINotFound is a not found error response -
    • userVerifyGPGKeyCall

      public okhttp3.Call userVerifyGPGKeyCall(@Nullable VerifyGPGKeyOption body, ApiCallback _callback) throws ApiException
      Build call for userVerifyGPGKey
      Parameters:
      body - (optional)
      _callback - Callback for upload/download progress
      Returns:
      Call to execute
      Throws:
      ApiException - If fail to serialize the request body object
      Http Response Details
      Response Details
      Status Code Description Response Headers
      201 GPGKey -
      401 APIUnauthorizedError is a unauthorized error response -
      403 APIForbiddenError is a forbidden error response -
      404 APINotFound is a not found error response -
      422 APIValidationError is error format response related to input validation -
    • userVerifyGPGKey

      public GPGKey userVerifyGPGKey(@Nullable VerifyGPGKeyOption body) throws ApiException
      Verify a GPG key
      Parameters:
      body - (optional)
      Returns:
      GPGKey
      Throws:
      ApiException - If fail 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 GPGKey -
      401 APIUnauthorizedError is a unauthorized error response -
      403 APIForbiddenError is a forbidden error response -
      404 APINotFound is a not found error response -
      422 APIValidationError is error format response related to input validation -
    • userVerifyGPGKeyWithHttpInfo

      public ApiResponse<GPGKey> userVerifyGPGKeyWithHttpInfo(@Nullable VerifyGPGKeyOption body) throws ApiException
      Verify a GPG key
      Parameters:
      body - (optional)
      Returns:
      ApiResponse<GPGKey>
      Throws:
      ApiException - If fail 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 GPGKey -
      401 APIUnauthorizedError is a unauthorized error response -
      403 APIForbiddenError is a forbidden error response -
      404 APINotFound is a not found error response -
      422 APIValidationError is error format response related to input validation -
    • userVerifyGPGKeyAsync

      public okhttp3.Call userVerifyGPGKeyAsync(@Nullable VerifyGPGKeyOption body, ApiCallback<GPGKey> _callback) throws ApiException
      Verify a GPG key (asynchronously)
      Parameters:
      body - (optional)
      _callback - The callback to be executed when the API call finishes
      Returns:
      The request call
      Throws:
      ApiException - If fail to process the API call, e.g. serializing the request body object
      Http Response Details
      Response Details
      Status Code Description Response Headers
      201 GPGKey -
      401 APIUnauthorizedError is a unauthorized error response -
      403 APIForbiddenError is a forbidden error response -
      404 APINotFound is a not found error response -
      422 APIValidationError is error format response related to input validation -