Package build.cursed.genapi.forgejo.api
Class UserApi
java.lang.Object
build.cursed.genapi.forgejo.api.UserApi
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionCreate a repositoryokhttp3.CallcreateCurrentUserRepoAsync(CreateRepoOption body, ApiCallback<Repository> _callback) Create a repository (asynchronously)okhttp3.CallcreateCurrentUserRepoCall(CreateRepoOption body, ApiCallback _callback) Build call for createCurrentUserRepoCreate a repositoryvoidcreateUserVariable(String variablename, CreateVariableOption body) Create a user-level variableokhttp3.CallcreateUserVariableAsync(String variablename, CreateVariableOption body, ApiCallback<Void> _callback) Create a user-level variable (asynchronously)okhttp3.CallcreateUserVariableCall(String variablename, CreateVariableOption body, ApiCallback _callback) Build call for createUserVariablecreateUserVariableWithHttpInfo(String variablename, CreateVariableOption body) Create a user-level variablevoiddeleteUserRunner(String runnerId) Delete a particular user-level runnerokhttp3.CalldeleteUserRunnerAsync(String runnerId, ApiCallback<Void> _callback) Delete a particular user-level runner (asynchronously)okhttp3.CalldeleteUserRunnerCall(String runnerId, ApiCallback _callback) Build call for deleteUserRunnerdeleteUserRunnerWithHttpInfo(String runnerId) Delete a particular user-level runnervoiddeleteUserSecret(String secretname) Delete a secret in a user scopeokhttp3.CalldeleteUserSecretAsync(String secretname, ApiCallback<Void> _callback) Delete a secret in a user scope (asynchronously)okhttp3.CalldeleteUserSecretCall(String secretname, ApiCallback _callback) Build call for deleteUserSecretdeleteUserSecretWithHttpInfo(String secretname) Delete a secret in a user scopevoiddeleteUserVariable(String variablename) Delete a user-level variable which is created by current doerokhttp3.CalldeleteUserVariableAsync(String variablename, ApiCallback<Void> _callback) Delete a user-level variable which is created by current doer (asynchronously)okhttp3.CalldeleteUserVariableCall(String variablename, ApiCallback _callback) Build call for deleteUserVariabledeleteUserVariableWithHttpInfo(String variablename) Delete a user-level variable which is created by current doerintgetUserRunner(String runnerId) Get a particular runner that belongs to the userokhttp3.CallgetUserRunnerAsync(String runnerId, ApiCallback<ActionRunner> _callback) Get a particular runner that belongs to the user (asynchronously)okhttp3.CallgetUserRunnerCall(String runnerId, ApiCallback _callback) Build call for getUserRunnergetUserRunners(Boolean visible, Integer page, Integer limit) Get the user's runnersokhttp3.CallgetUserRunnersAsync(Boolean visible, Integer page, Integer limit, ApiCallback<List<ActionRunner>> _callback) Get the user's runners (asynchronously)okhttp3.CallgetUserRunnersCall(Boolean visible, Integer page, Integer limit, ApiCallback _callback) Build call for getUserRunnersgetUserRunnersWithHttpInfo(Boolean visible, Integer page, Integer limit) Get the user's runnersgetUserRunnerWithHttpInfo(String runnerId) Get a particular runner that belongs to the userGet current user's account settingsokhttp3.CallgetUserSettingsAsync(ApiCallback<UserSettings> _callback) Get current user's account settings (asynchronously)okhttp3.CallgetUserSettingsCall(ApiCallback _callback) Build call for getUserSettingsGet current user's account settingsgetUserVariable(String variablename) Get a user-level variable which is created by current doerokhttp3.CallgetUserVariableAsync(String variablename, ApiCallback<ActionVariable> _callback) Get a user-level variable which is created by current doer (asynchronously)okhttp3.CallgetUserVariableCall(String variablename, ApiCallback _callback) Build call for getUserVariablegetUserVariablesList(Integer page, Integer limit) Get the user-level list of variables which is created by current doerokhttp3.CallgetUserVariablesListAsync(Integer page, Integer limit, ApiCallback<List<ActionVariable>> _callback) Get the user-level list of variables which is created by current doer (asynchronously)okhttp3.CallgetUserVariablesListCall(Integer page, Integer limit, ApiCallback _callback) Build call for getUserVariablesListgetUserVariablesListWithHttpInfo(Integer page, Integer limit) Get the user-level list of variables which is created by current doergetUserVariableWithHttpInfo(String variablename) Get a user-level variable which is created by current doerGet a Token to verifyokhttp3.CallgetVerificationTokenAsync(ApiCallback<String> _callback) Get a Token to verify (asynchronously)okhttp3.CallgetVerificationTokenCall(ApiCallback _callback) Build call for getVerificationTokenGet a Token to verifyRegister a new user-level runnerokhttp3.CallregisterUserRunnerAsync(RegisterRunnerOptions body, ApiCallback<RegisterRunnerResponse> _callback) Register a new user-level runner (asynchronously)okhttp3.CallregisterUserRunnerCall(RegisterRunnerOptions body, ApiCallback _callback) Build call for registerUserRunnerRegister a new user-level runnervoidsetApiClient(ApiClient apiClient) voidsetCustomBaseUrl(String customBaseUrl) voidsetHostIndex(int hostIndex) voidupdateUserSecret(String secretname, CreateOrUpdateSecretOption body) Create or Update a secret value in a user scopeokhttp3.CallupdateUserSecretAsync(String secretname, CreateOrUpdateSecretOption body, ApiCallback<Void> _callback) Create or Update a secret value in a user scope (asynchronously)okhttp3.CallupdateUserSecretCall(String secretname, CreateOrUpdateSecretOption body, ApiCallback _callback) Build call for updateUserSecretupdateUserSecretWithHttpInfo(String secretname, CreateOrUpdateSecretOption body) Create or Update a secret value in a user scopeUpdate settings in current user's accountokhttp3.CallupdateUserSettingsAsync(UserSettingsOptions body, ApiCallback<UserSettings> _callback) Update settings in current user's account (asynchronously)okhttp3.CallupdateUserSettingsCall(UserSettingsOptions body, ApiCallback _callback) Build call for updateUserSettingsUpdate settings in current user's accountvoidupdateUserVariable(String variablename, UpdateVariableOption body) Update a user-level variable which is created by current doerokhttp3.CallupdateUserVariableAsync(String variablename, UpdateVariableOption body, ApiCallback<Void> _callback) Update a user-level variable which is created by current doer (asynchronously)okhttp3.CallupdateUserVariableCall(String variablename, UpdateVariableOption body, ApiCallback _callback) Build call for updateUserVariableupdateUserVariableWithHttpInfo(String variablename, UpdateVariableOption body) Update a user-level variable which is created by current doerAdd an email addresses to the current user's accountokhttp3.CalluserAddEmailAsync(CreateEmailOption body, ApiCallback<List<Email>> _callback) Add an email addresses to the current user's account (asynchronously)okhttp3.CalluserAddEmailCall(CreateEmailOption body, ApiCallback _callback) Build call for userAddEmailAdd an email addresses to the current user's accountvoiduserBlockUser(String username) Blocks a user from the doerokhttp3.CalluserBlockUserAsync(String username, ApiCallback<Void> _callback) Blocks a user from the doer (asynchronously)okhttp3.CalluserBlockUserCall(String username, ApiCallback _callback) Build call for userBlockUseruserBlockUserWithHttpInfo(String username) Blocks a user from the doervoiduserCheckFollowing(String username, String target) Check if one user is following another userokhttp3.CalluserCheckFollowingAsync(String username, String target, ApiCallback<Void> _callback) Check if one user is following another user (asynchronously)okhttp3.CalluserCheckFollowingCall(String username, String target, ApiCallback _callback) Build call for userCheckFollowinguserCheckFollowingWithHttpInfo(String username, String target) Check if one user is following another useruserCheckQuota(String subject) Check if the authenticated user is over quota for a given subjectokhttp3.CalluserCheckQuotaAsync(String subject, ApiCallback<Boolean> _callback) Check if the authenticated user is over quota for a given subject (asynchronously)okhttp3.CalluserCheckQuotaCall(String subject, ApiCallback _callback) Build call for userCheckQuotauserCheckQuotaWithHttpInfo(String subject) Check if the authenticated user is over quota for a given subjectCreate a hookokhttp3.CalluserCreateHookAsync(CreateHookOption body, ApiCallback<Hook> _callback) Create a hook (asynchronously)okhttp3.CalluserCreateHookCall(CreateHookOption body, ApiCallback _callback) Build call for userCreateHookCreate a hookCreates a new OAuth2 applicationokhttp3.CalluserCreateOAuth2ApplicationAsync(CreateOAuth2ApplicationOptions body, ApiCallback<OAuth2Application> _callback) Creates a new OAuth2 application (asynchronously)okhttp3.CalluserCreateOAuth2ApplicationCall(CreateOAuth2ApplicationOptions body, ApiCallback _callback) Build call for userCreateOAuth2ApplicationCreates a new OAuth2 applicationuserCreateToken(String username, CreateAccessTokenOption body) Generate an access token for the specified userokhttp3.CalluserCreateTokenAsync(String username, CreateAccessTokenOption body, ApiCallback<AccessToken> _callback) Generate an access token for the specified user (asynchronously)okhttp3.CalluserCreateTokenCall(String username, CreateAccessTokenOption body, ApiCallback _callback) Build call for userCreateTokenuserCreateTokenWithHttpInfo(String username, CreateAccessTokenOption body) Generate an access token for the specified uservoiduserCurrentCheckFollowing(String username) Check whether a user is followed by the authenticated userokhttp3.CalluserCurrentCheckFollowingAsync(String username, ApiCallback<Void> _callback) Check whether a user is followed by the authenticated user (asynchronously)okhttp3.CalluserCurrentCheckFollowingCall(String username, ApiCallback _callback) Build call for userCurrentCheckFollowinguserCurrentCheckFollowingWithHttpInfo(String username) Check whether a user is followed by the authenticated uservoiduserCurrentCheckStarring(String owner, String repo) Whether the authenticated is starring the repookhttp3.CalluserCurrentCheckStarringAsync(String owner, String repo, ApiCallback<Void> _callback) Whether the authenticated is starring the repo (asynchronously)okhttp3.CalluserCurrentCheckStarringCall(String owner, String repo, ApiCallback _callback) Build call for userCurrentCheckStarringuserCurrentCheckStarringWithHttpInfo(String owner, String repo) Whether the authenticated is starring the repovoiduserCurrentDeleteFollow(String username) Unfollow a userokhttp3.CalluserCurrentDeleteFollowAsync(String username, ApiCallback<Void> _callback) Unfollow a user (asynchronously)okhttp3.CalluserCurrentDeleteFollowCall(String username, ApiCallback _callback) Build call for userCurrentDeleteFollowuserCurrentDeleteFollowWithHttpInfo(String username) Unfollow a uservoidRemove a GPG public key from current user's accountokhttp3.CalluserCurrentDeleteGPGKeyAsync(Long id, ApiCallback<Void> _callback) Remove a GPG public key from current user's account (asynchronously)okhttp3.CalluserCurrentDeleteGPGKeyCall(Long id, ApiCallback _callback) Build call for userCurrentDeleteGPGKeyRemove a GPG public key from current user's accountvoidDelete a public keyokhttp3.CalluserCurrentDeleteKeyAsync(Long id, ApiCallback<Void> _callback) Delete a public key (asynchronously)okhttp3.CalluserCurrentDeleteKeyCall(Long id, ApiCallback _callback) Build call for userCurrentDeleteKeyDelete a public keyvoiduserCurrentDeleteStar(String owner, String repo) Unstar the given repookhttp3.CalluserCurrentDeleteStarAsync(String owner, String repo, ApiCallback<Void> _callback) Unstar the given repo (asynchronously)okhttp3.CalluserCurrentDeleteStarCall(String owner, String repo, ApiCallback _callback) Build call for userCurrentDeleteStaruserCurrentDeleteStarWithHttpInfo(String owner, String repo) Unstar the given repoGet a GPG keyokhttp3.CalluserCurrentGetGPGKeyAsync(Long id, ApiCallback<GPGKey> _callback) Get a GPG key (asynchronously)okhttp3.CalluserCurrentGetGPGKeyCall(Long id, ApiCallback _callback) Build call for userCurrentGetGPGKeyGet a GPG keyGet a public keyokhttp3.CalluserCurrentGetKeyAsync(Long id, ApiCallback<PublicKey> _callback) Get a public key (asynchronously)okhttp3.CalluserCurrentGetKeyCall(Long id, ApiCallback _callback) Build call for userCurrentGetKeyGet a public keyuserCurrentListFollowers(Integer page, Integer limit) List the authenticated user's followersokhttp3.CalluserCurrentListFollowersAsync(Integer page, Integer limit, ApiCallback<List<User>> _callback) List the authenticated user's followers (asynchronously)okhttp3.CalluserCurrentListFollowersCall(Integer page, Integer limit, ApiCallback _callback) Build call for userCurrentListFollowersuserCurrentListFollowersWithHttpInfo(Integer page, Integer limit) List the authenticated user's followersuserCurrentListFollowing(Integer page, Integer limit) List the users that the authenticated user is followingokhttp3.CalluserCurrentListFollowingAsync(Integer page, Integer limit, ApiCallback<List<User>> _callback) List the users that the authenticated user is following (asynchronously)okhttp3.CalluserCurrentListFollowingCall(Integer page, Integer limit, ApiCallback _callback) Build call for userCurrentListFollowinguserCurrentListFollowingWithHttpInfo(Integer page, Integer limit) List the users that the authenticated user is followinguserCurrentListGPGKeys(Integer page, Integer limit) List the authenticated user's GPG keysokhttp3.CalluserCurrentListGPGKeysAsync(Integer page, Integer limit, ApiCallback<List<GPGKey>> _callback) List the authenticated user's GPG keys (asynchronously)okhttp3.CalluserCurrentListGPGKeysCall(Integer page, Integer limit, ApiCallback _callback) Build call for userCurrentListGPGKeysuserCurrentListGPGKeysWithHttpInfo(Integer page, Integer limit) List the authenticated user's GPG keysuserCurrentListKeys(String fingerprint, Integer page, Integer limit) List the authenticated user's public keysokhttp3.CalluserCurrentListKeysAsync(String fingerprint, Integer page, Integer limit, ApiCallback<List<PublicKey>> _callback) List the authenticated user's public keys (asynchronously)okhttp3.CalluserCurrentListKeysCall(String fingerprint, Integer page, Integer limit, ApiCallback _callback) Build call for userCurrentListKeysuserCurrentListKeysWithHttpInfo(String fingerprint, Integer page, Integer limit) List the authenticated user's public keysuserCurrentListRepos(Integer page, Integer limit, String orderBy) List the repos that the authenticated user ownsokhttp3.CalluserCurrentListReposAsync(Integer page, Integer limit, String orderBy, ApiCallback<List<Repository>> _callback) List the repos that the authenticated user owns (asynchronously)okhttp3.CalluserCurrentListReposCall(Integer page, Integer limit, String orderBy, ApiCallback _callback) Build call for userCurrentListReposuserCurrentListReposWithHttpInfo(Integer page, Integer limit, String orderBy) List the repos that the authenticated user ownsuserCurrentListStarred(Integer page, Integer limit) The repos that the authenticated user has starredokhttp3.CalluserCurrentListStarredAsync(Integer page, Integer limit, ApiCallback<List<Repository>> _callback) The repos that the authenticated user has starred (asynchronously)okhttp3.CalluserCurrentListStarredCall(Integer page, Integer limit, ApiCallback _callback) Build call for userCurrentListStarreduserCurrentListStarredWithHttpInfo(Integer page, Integer limit) The repos that the authenticated user has starreduserCurrentListSubscriptions(Integer page, Integer limit) List repositories watched by the authenticated userokhttp3.CalluserCurrentListSubscriptionsAsync(Integer page, Integer limit, ApiCallback<List<Repository>> _callback) List repositories watched by the authenticated user (asynchronously)okhttp3.CalluserCurrentListSubscriptionsCall(Integer page, Integer limit, ApiCallback _callback) Build call for userCurrentListSubscriptionsuserCurrentListSubscriptionsWithHttpInfo(Integer page, Integer limit) List repositories watched by the authenticated userAdd a GPG public key to current user's accountokhttp3.CalluserCurrentPostGPGKeyAsync(CreateGPGKeyOption form, ApiCallback<GPGKey> _callback) Add a GPG public key to current user's account (asynchronously)okhttp3.CalluserCurrentPostGPGKeyCall(CreateGPGKeyOption form, ApiCallback _callback) Build call for userCurrentPostGPGKeyAdd a GPG public key to current user's accountCreate a public keyokhttp3.CalluserCurrentPostKeyAsync(CreateKeyOption body, ApiCallback<PublicKey> _callback) Create a public key (asynchronously)okhttp3.CalluserCurrentPostKeyCall(CreateKeyOption body, ApiCallback _callback) Build call for userCurrentPostKeyCreate a public keyvoiduserCurrentPutFollow(String username) Follow a userokhttp3.CalluserCurrentPutFollowAsync(String username, ApiCallback<Void> _callback) Follow a user (asynchronously)okhttp3.CalluserCurrentPutFollowCall(String username, ApiCallback _callback) Build call for userCurrentPutFollowuserCurrentPutFollowWithHttpInfo(String username) Follow a uservoiduserCurrentPutStar(String owner, String repo) Star the given repookhttp3.CalluserCurrentPutStarAsync(String owner, String repo, ApiCallback<Void> _callback) Star the given repo (asynchronously)okhttp3.CalluserCurrentPutStarCall(String owner, String repo, ApiCallback _callback) Build call for userCurrentPutStaruserCurrentPutStarWithHttpInfo(String owner, String repo) Star the given repouserCurrentTrackedTimes(Integer page, Integer limit, OffsetDateTime since, OffsetDateTime before) List the current user's tracked timesokhttp3.CalluserCurrentTrackedTimesAsync(Integer page, Integer limit, OffsetDateTime since, OffsetDateTime before, ApiCallback<List<TrackedTime>> _callback) List the current user's tracked times (asynchronously)okhttp3.CalluserCurrentTrackedTimesCall(Integer page, Integer limit, OffsetDateTime since, OffsetDateTime before, ApiCallback _callback) Build call for userCurrentTrackedTimesuserCurrentTrackedTimesWithHttpInfo(Integer page, Integer limit, OffsetDateTime since, OffsetDateTime before) List the current user's tracked timesvoiduserDeleteAccessToken(String username, String token) Delete an access token from the specified user's accountokhttp3.CalluserDeleteAccessTokenAsync(String username, String token, ApiCallback<Void> _callback) Delete an access token from the specified user's account (asynchronously)okhttp3.CalluserDeleteAccessTokenCall(String username, String token, ApiCallback _callback) Build call for userDeleteAccessTokenuserDeleteAccessTokenWithHttpInfo(String username, String token) Delete an access token from the specified user's accountvoidDelete avatar of the current user.okhttp3.CalluserDeleteAvatarAsync(ApiCallback<Void> _callback) Delete avatar of the current user.okhttp3.CalluserDeleteAvatarCall(ApiCallback _callback) Build call for userDeleteAvatarDelete avatar of the current user.voidDelete email addresses from the current user's accountokhttp3.CalluserDeleteEmailAsync(DeleteEmailOption body, ApiCallback<Void> _callback) Delete email addresses from the current user's account (asynchronously)okhttp3.CalluserDeleteEmailCall(DeleteEmailOption body, ApiCallback _callback) Build call for userDeleteEmailDelete email addresses from the current user's accountvoiduserDeleteHook(Long id) Delete a hookokhttp3.CalluserDeleteHookAsync(Long id, ApiCallback<Void> _callback) Delete a hook (asynchronously)okhttp3.CalluserDeleteHookCall(Long id, ApiCallback _callback) Build call for userDeleteHookDelete a hookvoidDelete an OAuth2 applicationokhttp3.CalluserDeleteOAuth2ApplicationAsync(Long id, ApiCallback<Void> _callback) Delete an OAuth2 application (asynchronously)okhttp3.CalluserDeleteOAuth2ApplicationCall(Long id, ApiCallback _callback) Build call for userDeleteOAuth2ApplicationDelete an OAuth2 applicationuserEditHook(Long id, EditHookOption body) Update a hookokhttp3.CalluserEditHookAsync(Long id, EditHookOption body, ApiCallback<Hook> _callback) Update a hook (asynchronously)okhttp3.CalluserEditHookCall(Long id, EditHookOption body, ApiCallback _callback) Build call for userEditHookuserEditHookWithHttpInfo(Long id, EditHookOption body) Update a hookGet a userokhttp3.CalluserGetAsync(String username, ApiCallback<User> _callback) Get a user (asynchronously)okhttp3.CalluserGetCall(String username, ApiCallback _callback) Build call for userGetGet the authenticated userokhttp3.CalluserGetCurrentAsync(ApiCallback<User> _callback) Get the authenticated user (asynchronously)okhttp3.CalluserGetCurrentCall(ApiCallback _callback) Build call for userGetCurrentGet the authenticated useruserGetHeatmapData(String username) Get a user's heatmapokhttp3.CalluserGetHeatmapDataAsync(String username, ApiCallback<List<UserHeatmapData>> _callback) Get a user's heatmap (asynchronously)okhttp3.CalluserGetHeatmapDataCall(String username, ApiCallback _callback) Build call for userGetHeatmapDatauserGetHeatmapDataWithHttpInfo(String username) Get a user's heatmapuserGetHook(Long id) Get a hookokhttp3.CalluserGetHookAsync(Long id, ApiCallback<Hook> _callback) Get a hook (asynchronously)okhttp3.CalluserGetHookCall(Long id, ApiCallback _callback) Build call for userGetHookGet a hookGet an OAuth2 applicationokhttp3.CalluserGetOAuth2ApplicationAsync(Long id, ApiCallback<OAuth2Application> _callback) Get an OAuth2 application (asynchronously)okhttp3.CalluserGetOAuth2ApplicationCall(Long id, ApiCallback _callback) Build call for userGetOAuth2ApplicationuserGetOAuth2Applications(Integer page, Integer limit) List the authenticated user's oauth2 applicationsokhttp3.CalluserGetOAuth2ApplicationsAsync(Integer page, Integer limit, ApiCallback<List<OAuth2Application>> _callback) List the authenticated user's oauth2 applications (asynchronously)okhttp3.CalluserGetOAuth2ApplicationsCall(Integer page, Integer limit, ApiCallback _callback) Build call for userGetOAuth2ApplicationsuserGetOAuth2ApplicationsWithHttpInfo(Integer page, Integer limit) List the authenticated user's oauth2 applicationsGet an OAuth2 applicationGet quota information for the authenticated userokhttp3.CalluserGetQuotaAsync(ApiCallback<QuotaInfo> _callback) Get quota information for the authenticated user (asynchronously)okhttp3.CalluserGetQuotaCall(ApiCallback _callback) Build call for userGetQuotaGet quota information for the authenticated userDeprecated.okhttp3.CallDeprecated.okhttp3.CalluserGetRunnerRegistrationTokenCall(ApiCallback _callback) Deprecated.Deprecated.userGetStopWatches(Integer page, Integer limit) Get list of all existing stopwatchesokhttp3.CalluserGetStopWatchesAsync(Integer page, Integer limit, ApiCallback<List<StopWatch>> _callback) Get list of all existing stopwatches (asynchronously)okhttp3.CalluserGetStopWatchesCall(Integer page, Integer limit, ApiCallback _callback) Build call for userGetStopWatchesuserGetStopWatchesWithHttpInfo(Integer page, Integer limit) Get list of all existing stopwatchesuserGetTokens(String username, Integer page, Integer limit) List the specified user's access tokensokhttp3.CalluserGetTokensAsync(String username, Integer page, Integer limit, ApiCallback<List<AccessToken>> _callback) List the specified user's access tokens (asynchronously)okhttp3.CalluserGetTokensCall(String username, Integer page, Integer limit, ApiCallback _callback) Build call for userGetTokensuserGetTokensWithHttpInfo(String username, Integer page, Integer limit) List the specified user's access tokensuserGetWithHttpInfo(String username) Get a useruserListActivityFeeds(String username, Boolean onlyPerformedBy, LocalDate date, Integer page, Integer limit) List a user's activity feedsokhttp3.CalluserListActivityFeedsAsync(String username, Boolean onlyPerformedBy, LocalDate date, Integer page, Integer limit, ApiCallback<List<Activity>> _callback) List a user's activity feeds (asynchronously)okhttp3.CalluserListActivityFeedsCall(String username, Boolean onlyPerformedBy, LocalDate date, Integer page, Integer limit, ApiCallback _callback) Build call for userListActivityFeedsuserListActivityFeedsWithHttpInfo(String username, Boolean onlyPerformedBy, LocalDate date, Integer page, Integer limit) List a user's activity feedsuserListBlockedUsers(Integer page, Integer limit) List the authenticated user's blocked usersokhttp3.CalluserListBlockedUsersAsync(Integer page, Integer limit, ApiCallback<List<BlockedUser>> _callback) List the authenticated user's blocked users (asynchronously)okhttp3.CalluserListBlockedUsersCall(Integer page, Integer limit, ApiCallback _callback) Build call for userListBlockedUsersuserListBlockedUsersWithHttpInfo(Integer page, Integer limit) List the authenticated user's blocked usersList all email addresses of the current userokhttp3.CalluserListEmailsAsync(ApiCallback<List<Email>> _callback) List all email addresses of the current user (asynchronously)okhttp3.CalluserListEmailsCall(ApiCallback _callback) Build call for userListEmailsList all email addresses of the current useruserListFollowers(String username, Integer page, Integer limit) List the given user's followersokhttp3.CalluserListFollowersAsync(String username, Integer page, Integer limit, ApiCallback<List<User>> _callback) List the given user's followers (asynchronously)okhttp3.CalluserListFollowersCall(String username, Integer page, Integer limit, ApiCallback _callback) Build call for userListFollowersuserListFollowersWithHttpInfo(String username, Integer page, Integer limit) List the given user's followersuserListFollowing(String username, Integer page, Integer limit) List the users that the given user is followingokhttp3.CalluserListFollowingAsync(String username, Integer page, Integer limit, ApiCallback<List<User>> _callback) List the users that the given user is following (asynchronously)okhttp3.CalluserListFollowingCall(String username, Integer page, Integer limit, ApiCallback _callback) Build call for userListFollowinguserListFollowingWithHttpInfo(String username, Integer page, Integer limit) List the users that the given user is followinguserListGPGKeys(String username, Integer page, Integer limit) List the given user's GPG keysokhttp3.CalluserListGPGKeysAsync(String username, Integer page, Integer limit, ApiCallback<List<GPGKey>> _callback) List the given user's GPG keys (asynchronously)okhttp3.CalluserListGPGKeysCall(String username, Integer page, Integer limit, ApiCallback _callback) Build call for userListGPGKeysuserListGPGKeysWithHttpInfo(String username, Integer page, Integer limit) List the given user's GPG keysuserListHooks(Integer page, Integer limit) List the authenticated user's webhooksokhttp3.CalluserListHooksAsync(Integer page, Integer limit, ApiCallback<List<Hook>> _callback) List the authenticated user's webhooks (asynchronously)okhttp3.CalluserListHooksCall(Integer page, Integer limit, ApiCallback _callback) Build call for userListHooksuserListHooksWithHttpInfo(Integer page, Integer limit) List the authenticated user's webhooksuserListKeys(String username, String fingerprint, Integer page, Integer limit) List the given user's public keysokhttp3.CalluserListKeysAsync(String username, String fingerprint, Integer page, Integer limit, ApiCallback<List<PublicKey>> _callback) List the given user's public keys (asynchronously)okhttp3.CalluserListKeysCall(String username, String fingerprint, Integer page, Integer limit, ApiCallback _callback) Build call for userListKeysuserListKeysWithHttpInfo(String username, String fingerprint, Integer page, Integer limit) List the given user's public keysuserListQuotaArtifacts(Integer page, Integer limit) List the artifacts affecting the authenticated user's quotaokhttp3.CalluserListQuotaArtifactsAsync(Integer page, Integer limit, ApiCallback<List<QuotaUsedArtifact>> _callback) List the artifacts affecting the authenticated user's quota (asynchronously)okhttp3.CalluserListQuotaArtifactsCall(Integer page, Integer limit, ApiCallback _callback) Build call for userListQuotaArtifactsuserListQuotaArtifactsWithHttpInfo(Integer page, Integer limit) List the artifacts affecting the authenticated user's quotauserListQuotaAttachments(Integer page, Integer limit) List the attachments affecting the authenticated user's quotaokhttp3.CalluserListQuotaAttachmentsAsync(Integer page, Integer limit, ApiCallback<List<QuotaUsedAttachment>> _callback) List the attachments affecting the authenticated user's quota (asynchronously)okhttp3.CalluserListQuotaAttachmentsCall(Integer page, Integer limit, ApiCallback _callback) Build call for userListQuotaAttachmentsuserListQuotaAttachmentsWithHttpInfo(Integer page, Integer limit) List the attachments affecting the authenticated user's quotauserListQuotaPackages(Integer page, Integer limit) List the packages affecting the authenticated user's quotaokhttp3.CalluserListQuotaPackagesAsync(Integer page, Integer limit, ApiCallback<List<QuotaUsedPackage>> _callback) List the packages affecting the authenticated user's quota (asynchronously)okhttp3.CalluserListQuotaPackagesCall(Integer page, Integer limit, ApiCallback _callback) Build call for userListQuotaPackagesuserListQuotaPackagesWithHttpInfo(Integer page, Integer limit) List the packages affecting the authenticated user's quotauserListRepos(String username, Integer page, Integer limit) List the repos owned by the given userokhttp3.CalluserListReposAsync(String username, Integer page, Integer limit, ApiCallback<List<Repository>> _callback) List the repos owned by the given user (asynchronously)okhttp3.CalluserListReposCall(String username, Integer page, Integer limit, ApiCallback _callback) Build call for userListReposuserListReposWithHttpInfo(String username, Integer page, Integer limit) List the repos owned by the given useruserListStarred(String username, Integer page, Integer limit) The repos that the given user has starredokhttp3.CalluserListStarredAsync(String username, Integer page, Integer limit, ApiCallback<List<Repository>> _callback) The repos that the given user has starred (asynchronously)okhttp3.CalluserListStarredCall(String username, Integer page, Integer limit, ApiCallback _callback) Build call for userListStarreduserListStarredWithHttpInfo(String username, Integer page, Integer limit) The repos that the given user has starreduserListSubscriptions(String username, Integer page, Integer limit) List the repositories watched by a userokhttp3.CalluserListSubscriptionsAsync(String username, Integer page, Integer limit, ApiCallback<List<Repository>> _callback) List the repositories watched by a user (asynchronously)okhttp3.CalluserListSubscriptionsCall(String username, Integer page, Integer limit, ApiCallback _callback) Build call for userListSubscriptionsuserListSubscriptionsWithHttpInfo(String username, Integer page, Integer limit) List the repositories watched by a useruserListTeams(Integer page, Integer limit) List all the teams a user belongs tookhttp3.CalluserListTeamsAsync(Integer page, Integer limit, ApiCallback<List<Team>> _callback) List all the teams a user belongs to (asynchronously)okhttp3.CalluserListTeamsCall(Integer page, Integer limit, ApiCallback _callback) Build call for userListTeamsuserListTeamsWithHttpInfo(Integer page, Integer limit) List all the teams a user belongs toSearch for usersokhttp3.CalluserSearchAsync(String q, Long uid, String sort, Integer page, Integer limit, ApiCallback<UserSearchResults> _callback) Search for users (asynchronously)okhttp3.CalluserSearchCall(String q, Long uid, String sort, Integer page, Integer limit, ApiCallback _callback) Build call for userSearchuserSearchRunJobs(String labels) Search for user's action jobs according filter conditionsokhttp3.CalluserSearchRunJobsAsync(String labels, ApiCallback<List<ActionRunJob>> _callback) Search for user's action jobs according filter conditions (asynchronously)okhttp3.CalluserSearchRunJobsCall(String labels, ApiCallback _callback) Build call for userSearchRunJobsuserSearchRunJobsWithHttpInfo(String labels) Search for user's action jobs according filter conditionsSearch for usersvoiduserUnblockUser(String username) Unblocks a user from the doerokhttp3.CalluserUnblockUserAsync(String username, ApiCallback<Void> _callback) Unblocks a user from the doer (asynchronously)okhttp3.CalluserUnblockUserCall(String username, ApiCallback _callback) Build call for userUnblockUseruserUnblockUserWithHttpInfo(String username) Unblocks a user from the doervoidUpdate avatar of the current userokhttp3.CalluserUpdateAvatarAsync(UpdateUserAvatarOption body, ApiCallback<Void> _callback) Update avatar of the current user (asynchronously)okhttp3.CalluserUpdateAvatarCall(UpdateUserAvatarOption body, ApiCallback _callback) Build call for userUpdateAvatarUpdate avatar of the current userUpdate an OAuth2 application, this includes regenerating the client secretokhttp3.CalluserUpdateOAuth2ApplicationAsync(Long id, CreateOAuth2ApplicationOptions body, ApiCallback<OAuth2Application> _callback) Update an OAuth2 application, this includes regenerating the client secret (asynchronously)okhttp3.CalluserUpdateOAuth2ApplicationCall(Long id, CreateOAuth2ApplicationOptions body, ApiCallback _callback) Build call for userUpdateOAuth2ApplicationUpdate an OAuth2 application, this includes regenerating the client secretVerify a GPG keyokhttp3.CalluserVerifyGPGKeyAsync(VerifyGPGKeyOption body, ApiCallback<GPGKey> _callback) Verify a GPG key (asynchronously)okhttp3.CalluserVerifyGPGKeyCall(VerifyGPGKeyOption body, ApiCallback _callback) Build call for userVerifyGPGKeyVerify a GPG key
-
Constructor Details
-
UserApi
public UserApi() -
UserApi
-
-
Method Details
-
getApiClient
-
setApiClient
-
getHostIndex
public int getHostIndex() -
setHostIndex
public void setHostIndex(int hostIndex) -
getCustomBaseUrl
-
setCustomBaseUrl
-
createCurrentUserRepoCall
public okhttp3.Call createCurrentUserRepoCall(@Nullable CreateRepoOption body, ApiCallback _callback) throws ApiException Build call for createCurrentUserRepo- Parameters:
body- (optional)_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object- Http Response Details
Response Details Status Code Description Response Headers 201 Repository - 400 APIError is error format response - 401 APIUnauthorizedError is a unauthorized error response - 403 APIForbiddenError is a forbidden error response - 409 The repository with the same name already exists. - 413 QuotaExceeded * user_id -
* message -
* username -
422 APIValidationError is error format response related to input validation -
-
createCurrentUserRepo
Create a repository- Parameters:
body- (optional)- Returns:
- Repository
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details
Response Details Status Code Description Response Headers 201 Repository - 400 APIError is error format response - 401 APIUnauthorizedError is a unauthorized error response - 403 APIForbiddenError is a forbidden error response - 409 The repository with the same name already exists. - 413 QuotaExceeded * user_id -
* message -
* username -
422 APIValidationError is error format response related to input validation -
-
createCurrentUserRepoWithHttpInfo
public ApiResponse<Repository> createCurrentUserRepoWithHttpInfo(@Nullable CreateRepoOption body) throws ApiException Create a repository- Parameters:
body- (optional)- Returns:
- ApiResponse<Repository>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details
Response Details Status Code Description Response Headers 201 Repository - 400 APIError is error format response - 401 APIUnauthorizedError is a unauthorized error response - 403 APIForbiddenError is a forbidden error response - 409 The repository with the same name already exists. - 413 QuotaExceeded * user_id -
* message -
* username -
422 APIValidationError is error format response related to input validation -
-
createCurrentUserRepoAsync
public okhttp3.Call createCurrentUserRepoAsync(@Nullable CreateRepoOption body, ApiCallback<Repository> _callback) throws ApiException Create a repository (asynchronously)- Parameters:
body- (optional)_callback- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException- If fail to process the API call, e.g. serializing the request body object- Http Response Details
Response Details Status Code Description Response Headers 201 Repository - 400 APIError is error format response - 401 APIUnauthorizedError is a unauthorized error response - 403 APIForbiddenError is a forbidden error response - 409 The repository with the same name already exists. - 413 QuotaExceeded * user_id -
* message -
* username -
422 APIValidationError is error format response related to input validation -
-
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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.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 ApiExceptionDeprecated.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
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
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
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
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
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
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
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
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
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 -
-