# Migration Guide: Client Methods to Services

This file is generated by `go generate ./...`. Do not edit it manually.

The SDK now exposes business APIs through service-specific entry points on `Client`,
following the `go-github` style.

The old `Client` business methods are still available in the current module, but they are now
generated compatibility wrappers in `client_services_wrappers.go` and are marked
as deprecated. They are intended to be removed in the next major version.

## What changed

Instead of calling business methods directly on `Client`:

```go
repo, _, err := client.GetRepo(ctx, "owner", "repo")
```

Call them through the matching service:

```go
repo, _, err := client.Repositories.GetRepo(ctx, "owner", "repo")
```

The underlying implementations stay in their existing files. This migration only
changes the public entry points and grouping.

## Service overview

| Service | Scope | Methods |
| --- | --- | ---: |
| [`client.Actions`](#clientactions) | Gitea Actions workflows, jobs, runners, secrets, and variables. | 71 |
| [`client.Activity`](#clientactivity) | Activity feed APIs for users, organizations, teams, and repositories. | 5 |
| [`client.ActivityPub`](#clientactivitypub) | ActivityPub federation APIs. | 3 |
| [`client.Admin`](#clientadmin) | Administrative APIs. | 20 |
| [`client.Git`](#clientgit) | Low-level git data APIs such as blobs, refs, trees, notes, and git hooks. | 10 |
| [`client.Hooks`](#clienthooks) | Global, organization, user, and repository hook APIs. | 21 |
| [`client.Issues`](#clientissues) | Issues, comments, labels, reactions, subscriptions, and tracked time. | 65 |
| [`client.Render`](#clientrender) | Markdown and markup rendering APIs. | 3 |
| [`client.Meta`](#clientmeta) | Instance metadata APIs such as version, node info, and signing keys. | 4 |
| [`client.Notifications`](#clientnotifications) | Notification APIs. | 7 |
| [`client.OAuth2`](#clientoauth2) | OAuth2 application APIs. | 5 |
| [`client.Organizations`](#clientorganizations) | Organizations, teams, members, labels, blocks, and avatar helpers. | 41 |
| [`client.Packages`](#clientpackages) | Package registry APIs. | 8 |
| [`client.PullRequests`](#clientpullrequests) | Pull requests and reviews. | 28 |
| [`client.Repositories`](#clientrepositories) | Repositories, branches, files, milestones, tags, stars, watches, and collaborators. | 125 |
| [`client.Releases`](#clientreleases) | Repository releases and release attachments. | 13 |
| [`client.Settings`](#clientsettings) | Global settings APIs. | 4 |
| [`client.Templates`](#clienttemplates) | Instance template APIs for gitignores, licenses, and labels. | 6 |
| [`client.Users`](#clientusers) | Users, emails, keys, follows, settings, and other user-scoped APIs. | 38 |
| [`client.Wiki`](#clientwiki) | Repository wiki pages and revision history. | 6 |

## Full mapping

### `client.Actions`

Gitea Actions workflows, jobs, runners, secrets, and variables.

| Deprecated `Client` method | Service method |
| --- | --- |
| [`client.CreateAdminActionRunnerRegistrationToken`](../client_services_wrappers.go#L11) | [`client.Actions.CreateGlobalRunnerRegistrationToken`](../actions_runners.go#L266) |
| [`client.CreateOrgActionRunnerRegistrationToken`](../client_services_wrappers.go#L17) | [`client.Actions.CreateOrgRunnerRegistrationToken`](../actions_runners.go#L179) |
| [`client.CreateOrgActionSecret`](../client_services_wrappers.go#L23) | [`client.Actions.CreateOrgSecret`](../actions_secrets.go#L113) |
| [`client.CreateOrgActionVariable`](../client_services_wrappers.go#L29) | [`client.Actions.CreateOrgVariable`](../actions_variables.go#L209) |
| [`client.CreateRepoActionRunnerRegistrationToken`](../client_services_wrappers.go#L35) | [`client.Actions.CreateRepoRunnerRegistrationToken`](../actions_runners.go#L124) |
| [`client.CreateRepoActionSecret`](../client_services_wrappers.go#L41) | [`client.Actions.CreateRepoSecret`](../actions_secrets.go#L65) |
| [`client.CreateRepoActionVariable`](../client_services_wrappers.go#L47) | [`client.Actions.CreateRepoVariable`](../actions_variables.go#L122) |
| [`client.CreateUserActionRunnerRegistrationToken`](../client_services_wrappers.go#L53) | [`client.Actions.CreateUserRunnerRegistrationToken`](../actions_runners.go#L274) |
| [`client.CreateUserActionSecret`](../client_services_wrappers.go#L59) | [`client.Actions.CreateUserSecret`](../actions_secrets.go#L139) |
| [`client.CreateUserActionVariable`](../client_services_wrappers.go#L65) | [`client.Actions.CreateUserVariable`](../actions_variables.go#L274) |
| [`client.DeleteAdminActionRunner`](../client_services_wrappers.go#L71) | [`client.Actions.DeleteGlobalRunner`](../actions_runners.go#L250) |
| [`client.DeleteOrgActionRunner`](../client_services_wrappers.go#L77) | [`client.Actions.DeleteOrgRunner`](../actions_runners.go#L212) |
| [`client.DeleteOrgActionSecret`](../client_services_wrappers.go#L83) | [`client.Actions.DeleteOrgSecret`](../actions_secrets.go#L128) |
| [`client.DeleteOrgActionVariable`](../client_services_wrappers.go#L89) | [`client.Actions.DeleteOrgVariable`](../actions_variables.go#L239) |
| [`client.DeleteRepoActionArtifact`](../client_services_wrappers.go#L95) | [`client.Actions.DeleteRepoArtifact`](../actions_artifacts.go#L105) |
| [`client.DeleteRepoActionRun`](../client_services_wrappers.go#L101) | [`client.Actions.DeleteRepoRun`](../actions_run.go#L192) |
| [`client.DeleteRepoActionRunner`](../client_services_wrappers.go#L107) | [`client.Actions.DeleteRepoRunner`](../actions_runners.go#L157) |
| [`client.DeleteRepoActionSecret`](../client_services_wrappers.go#L113) | [`client.Actions.DeleteRepoSecret`](../actions_secrets.go#L82) |
| [`client.DeleteRepoActionVariable`](../client_services_wrappers.go#L119) | [`client.Actions.DeleteRepoVariable`](../actions_variables.go#L163) |
| [`client.DeleteUserActionRunner`](../client_services_wrappers.go#L125) | [`client.Actions.DeleteUserRunner`](../actions_runners.go#L298) |
| [`client.DeleteUserActionSecret`](../client_services_wrappers.go#L131) | [`client.Actions.DeleteUserSecret`](../actions_secrets.go#L157) |
| [`client.DeleteUserActionVariable`](../client_services_wrappers.go#L137) | [`client.Actions.DeleteUserVariable`](../actions_variables.go#L310) |
| [`client.DisableRepoActionWorkflow`](../client_services_wrappers.go#L143) | [`client.Actions.DisableRepoWorkflow`](../actions_workflows.go#L87) |
| [`client.DispatchRepoActionWorkflow`](../client_services_wrappers.go#L149) | [`client.Actions.DispatchRepoWorkflow`](../actions_workflows.go#L109) |
| [`client.EnableRepoActionWorkflow`](../client_services_wrappers.go#L155) | [`client.Actions.EnableRepoWorkflow`](../actions_workflows.go#L98) |
| [`client.GetAdminActionRunner`](../client_services_wrappers.go#L161) | [`client.Actions.GetGlobalRunner`](../actions_runners.go#L242) |
| [`client.GetOrgActionRunner`](../client_services_wrappers.go#L167) | [`client.Actions.GetOrgRunner`](../actions_runners.go#L201) |
| [`client.GetOrgActionVariable`](../client_services_wrappers.go#L173) | [`client.Actions.GetOrgVariable`](../actions_variables.go#L194) |
| [`client.GetRepoActionArtifact`](../client_services_wrappers.go#L179) | [`client.Actions.GetRepoArtifact`](../actions_artifacts.go#L92) |
| [`client.GetRepoActionArtifactArchive`](../client_services_wrappers.go#L185) | [`client.Actions.GetRepoArtifactArchive`](../actions_artifacts.go#L116) |
| [`client.GetRepoActionArtifactArchiveReader`](../client_services_wrappers.go#L191) | [`client.Actions.GetRepoArtifactArchiveReader`](../actions_artifacts.go#L127) |
| [`client.GetRepoActionRun`](../client_services_wrappers.go#L197) | [`client.Actions.GetRepoRun`](../actions_run.go#L161) |
| [`client.GetRepoActionJob`](../client_services_wrappers.go#L203) | [`client.Actions.GetRepoRunJob`](../actions_run_jobs.go#L119) |
| [`client.GetRepoActionJobLogs`](../client_services_wrappers.go#L209) | [`client.Actions.GetRepoRunJobLogs`](../actions_run_jobs.go#L134) |
| [`client.GetRepoActionRunner`](../client_services_wrappers.go#L215) | [`client.Actions.GetRepoRunner`](../actions_runners.go#L146) |
| [`client.GetRepoActionVariable`](../client_services_wrappers.go#L221) | [`client.Actions.GetRepoVariable`](../actions_variables.go#L110) |
| [`client.GetRepoActionWorkflow`](../client_services_wrappers.go#L227) | [`client.Actions.GetRepoWorkflow`](../actions_workflows.go#L74) |
| [`client.GetUserActionRunner`](../client_services_wrappers.go#L233) | [`client.Actions.GetUserRunner`](../actions_runners.go#L290) |
| [`client.GetUserActionVariable`](../client_services_wrappers.go#L239) | [`client.Actions.GetUserVariable`](../actions_variables.go#L261) |
| [`client.ListAdminActionRunners`](../client_services_wrappers.go#L245) | [`client.Actions.ListGlobalRunners`](../actions_runners.go#L234) |
| [`client.ListOrgActionJobs`](../client_services_wrappers.go#L251) | [`client.Actions.ListOrgRunJobs`](../actions_run_jobs.go#L174) |
| [`client.ListOrgActionRunners`](../client_services_wrappers.go#L257) | [`client.Actions.ListOrgRunners`](../actions_runners.go#L190) |
| [`client.ListOrgActionRuns`](../client_services_wrappers.go#L263) | [`client.Actions.ListOrgRuns`](../actions_run.go#L231) |
| [`client.ListOrgActionSecret`](../client_services_wrappers.go#L269) | [`client.Actions.ListOrgSecrets`](../actions_secrets.go#L99) |
| [`client.ListOrgActionVariable`](../client_services_wrappers.go#L275) | [`client.Actions.ListOrgVariables`](../actions_variables.go#L180) |
| [`client.ListRepoActionArtifacts`](../client_services_wrappers.go#L281) | [`client.Actions.ListRepoArtifacts`](../actions_artifacts.go#L81) |
| [`client.ListRepoActionRunJobs`](../client_services_wrappers.go#L287) | [`client.Actions.ListRepoJobsByRun`](../actions_run_jobs.go#L81) |
| [`client.ListRepoActionRunArtifacts`](../client_services_wrappers.go#L293) | [`client.Actions.ListRepoRunArtifacts`](../actions_artifacts.go#L70) |
| [`client.ListRepoActionJobs`](../client_services_wrappers.go#L299) | [`client.Actions.ListRepoRunJobs`](../actions_run_jobs.go#L100) |
| [`client.ListRepoActionRunners`](../client_services_wrappers.go#L305) | [`client.Actions.ListRepoRunners`](../actions_runners.go#L135) |
| [`client.ListRepoActionRuns`](../client_services_wrappers.go#L311) | [`client.Actions.ListRepoRuns`](../actions_run.go#L142) |
| [`client.ListRepoActionSecret`](../client_services_wrappers.go#L317) | [`client.Actions.ListRepoSecrets`](../actions_secrets.go#L51) |
| [`client.ListRepoActionTasks`](../client_services_wrappers.go#L323) | [`client.Actions.ListRepoTasks`](../actions_run.go#L176) |
| [`client.ListRepoActionVariable`](../client_services_wrappers.go#L329) | [`client.Actions.ListRepoVariables`](../actions_variables.go#L94) |
| [`client.ListRepoActionWorkflows`](../client_services_wrappers.go#L335) | [`client.Actions.ListRepoWorkflows`](../actions_workflows.go#L61) |
| [`client.ListAdminActionJobs`](../client_services_wrappers.go#L341) | [`client.Actions.ListRunJobs`](../actions_run_jobs.go#L187) |
| [`client.ListAdminActionRuns`](../client_services_wrappers.go#L347) | [`client.Actions.ListRuns`](../actions_run.go#L219) |
| [`client.ListUserActionJobs`](../client_services_wrappers.go#L353) | [`client.Actions.ListUserRunJobs`](../actions_run_jobs.go#L182) |
| [`client.ListUserActionRunners`](../client_services_wrappers.go#L359) | [`client.Actions.ListUserRunners`](../actions_runners.go#L282) |
| [`client.ListUserActionRuns`](../client_services_wrappers.go#L365) | [`client.Actions.ListUserRuns`](../actions_run.go#L239) |
| [`client.ListUserActionVariable`](../client_services_wrappers.go#L371) | [`client.Actions.ListUserVariables`](../actions_variables.go#L250) |
| [`client.RerunRepoActionRun`](../client_services_wrappers.go#L377) | [`client.Actions.RerunRepoRun`](../actions_run.go#L205) |
| [`client.RerunRepoActionRunFailedJobs`](../client_services_wrappers.go#L383) | [`client.Actions.RerunRepoRunFailedJobs`](../actions_run_jobs.go#L147) |
| [`client.RerunRepoActionJob`](../client_services_wrappers.go#L389) | [`client.Actions.RerunRepoRunJob`](../actions_run_jobs.go#L160) |
| [`client.UpdateAdminActionRunner`](../client_services_wrappers.go#L395) | [`client.Actions.UpdateGlobalRunner`](../actions_runners.go#L258) |
| [`client.UpdateOrgActionRunner`](../client_services_wrappers.go#L401) | [`client.Actions.UpdateOrgRunner`](../actions_runners.go#L223) |
| [`client.UpdateOrgActionVariable`](../client_services_wrappers.go#L407) | [`client.Actions.UpdateOrgVariable`](../actions_variables.go#L224) |
| [`client.UpdateRepoActionRunner`](../client_services_wrappers.go#L413) | [`client.Actions.UpdateRepoRunner`](../actions_runners.go#L168) |
| [`client.UpdateRepoActionVariable`](../client_services_wrappers.go#L419) | [`client.Actions.UpdateRepoVariable`](../actions_variables.go#L142) |
| [`client.UpdateUserActionRunner`](../client_services_wrappers.go#L425) | [`client.Actions.UpdateUserRunner`](../actions_runners.go#L306) |
| [`client.UpdateUserActionVariable`](../client_services_wrappers.go#L431) | [`client.Actions.UpdateUserVariable`](../actions_variables.go#L292) |

### `client.Activity`

Activity feed APIs for users, organizations, teams, and repositories.

| Deprecated `Client` method | Service method |
| --- | --- |
| [`client.GetUserHeatmap`](../client_services_wrappers.go#L437) | [`client.Activity.GetUserHeatmap`](../activity.go#L38) |
| [`client.ListOrgActivityFeeds`](../client_services_wrappers.go#L443) | [`client.Activity.ListOrgFeeds`](../activity.go#L111) |
| [`client.ListRepoActivityFeeds`](../client_services_wrappers.go#L449) | [`client.Activity.ListRepoFeeds`](../activity.go#L86) |
| [`client.ListTeamActivityFeeds`](../client_services_wrappers.go#L455) | [`client.Activity.ListTeamFeeds`](../activity.go#L136) |
| [`client.ListUserActivityFeeds`](../client_services_wrappers.go#L461) | [`client.Activity.ListUserFeeds`](../activity.go#L58) |

### `client.ActivityPub`

ActivityPub federation APIs.

| Deprecated `Client` method | Service method |
| --- | --- |
| [`client.GetActivityPubPerson`](../client_services_wrappers.go#L467) | [`client.ActivityPub.GetPerson`](../activitypub.go#L19) |
| [`client.GetActivityPubPersonResponse`](../client_services_wrappers.go#L473) | [`client.ActivityPub.GetPersonResponse`](../activitypub.go#L46) |
| [`client.SendActivityPubInbox`](../client_services_wrappers.go#L479) | [`client.ActivityPub.SendInbox`](../activitypub.go#L28) |

### `client.Admin`

Administrative APIs.

| Deprecated `Client` method | Service method |
| --- | --- |
| [`client.AddUserBadges`](../client_services_wrappers.go#L485) | [`client.Admin.AddUserBadges`](../admin_badges.go#L41) |
| [`client.AdoptUnadoptedRepo`](../client_services_wrappers.go#L491) | [`client.Admin.AdoptUnadoptedRepo`](../admin.go#L53) |
| [`client.AdminCreateOrg`](../client_services_wrappers.go#L497) | [`client.Admin.CreateOrg`](../admin.go#L86) |
| [`client.AdminCreateRepo`](../client_services_wrappers.go#L503) | [`client.Admin.CreateRepo`](../admin.go#L17) |
| [`client.AdminCreateUser`](../client_services_wrappers.go#L509) | [`client.Admin.CreateUser`](../admin_user.go#L103) |
| [`client.AdminCreateUserPublicKey`](../client_services_wrappers.go#L515) | [`client.Admin.CreateUserPublicKey`](../admin_user.go#L159) |
| [`client.DeleteUnadoptedRepo`](../client_services_wrappers.go#L521) | [`client.Admin.DeleteUnadoptedRepo`](../admin.go#L63) |
| [`client.AdminDeleteUser`](../client_services_wrappers.go#L527) | [`client.Admin.DeleteUser`](../admin_user.go#L151) |
| [`client.DeleteUserBadge`](../client_services_wrappers.go#L533) | [`client.Admin.DeleteUserBadge`](../admin_badges.go#L62) |
| [`client.AdminDeleteUserPublicKey`](../client_services_wrappers.go#L539) | [`client.Admin.DeleteUserPublicKey`](../admin_user.go#L173) |
| [`client.AdminEditUser`](../client_services_wrappers.go#L545) | [`client.Admin.EditUser`](../admin_user.go#L139) |
| [`client.ListCronTasks`](../client_services_wrappers.go#L551) | [`client.Admin.ListCronTasks`](../admin_cron.go#L28) |
| [`client.ListAdminEmails`](../client_services_wrappers.go#L557) | [`client.Admin.ListEmails`](../admin_email.go#L18) |
| [`client.AdminListOrgs`](../client_services_wrappers.go#L563) | [`client.Admin.ListOrgs`](../admin.go#L78) |
| [`client.ListUnadoptedRepos`](../client_services_wrappers.go#L569) | [`client.Admin.ListUnadoptedRepos`](../admin.go#L37) |
| [`client.ListUserBadges`](../client_services_wrappers.go#L575) | [`client.Admin.ListUserBadges`](../admin_badges.go#L24) |
| [`client.AdminListUsers`](../client_services_wrappers.go#L581) | [`client.Admin.ListUsers`](../admin_user.go#L71) |
| [`client.AdminRenameUser`](../client_services_wrappers.go#L587) | [`client.Admin.RenameUser`](../admin_user.go#L186) |
| [`client.RunCronTasks`](../client_services_wrappers.go#L593) | [`client.Admin.RunCronTasks`](../admin_cron.go#L39) |
| [`client.SearchAdminEmails`](../client_services_wrappers.go#L599) | [`client.Admin.SearchEmails`](../admin_email.go#L36) |

### `client.Git`

Low-level git data APIs such as blobs, refs, trees, notes, and git hooks.

| Deprecated `Client` method | Service method |
| --- | --- |
| [`client.DeleteRepoGitHook`](../client_services_wrappers.go#L605) | [`client.Git.DeleteRepoGitHook`](../git_hook.go#L65) |
| [`client.EditRepoGitHook`](../client_services_wrappers.go#L611) | [`client.Git.EditRepoGitHook`](../git_hook.go#L53) |
| [`client.GetBlob`](../client_services_wrappers.go#L617) | [`client.Git.GetBlob`](../git.go#L106) |
| [`client.GetRepoGitHook`](../client_services_wrappers.go#L623) | [`client.Git.GetRepoGitHook`](../git_hook.go#L38) |
| [`client.GetRepoNote`](../client_services_wrappers.go#L629) | [`client.Git.GetRepoNote`](../git.go#L133) |
| [`client.GetRepoRef`](../client_services_wrappers.go#L635) | [`client.Git.GetRepoRef`](../git.go#L36) |
| [`client.GetRepoRefs`](../client_services_wrappers.go#L641) | [`client.Git.GetRepoRefs`](../git.go#L54) |
| [`client.GetTrees`](../client_services_wrappers.go#L647) | [`client.Git.GetTrees`](../git.go#L194) |
| [`client.ListAllGitRefs`](../client_services_wrappers.go#L653) | [`client.Git.ListAllGitRefs`](../git.go#L87) |
| [`client.ListRepoGitHooks`](../client_services_wrappers.go#L659) | [`client.Git.ListRepoGitHooks`](../git_hook.go#L27) |

### `client.Hooks`

Global, organization, user, and repository hook APIs.

| Deprecated `Client` method | Service method |
| --- | --- |
| [`client.CreateAdminHook`](../client_services_wrappers.go#L665) | [`client.Hooks.CreateGlobalHook`](../hook.go#L291) |
| [`client.CreateMyHook`](../client_services_wrappers.go#L671) | [`client.Hooks.CreateMyHook`](../hook.go#L152) |
| [`client.CreateOrgHook`](../client_services_wrappers.go#L677) | [`client.Hooks.CreateOrgHook`](../hook.go#L135) |
| [`client.CreateRepoHook`](../client_services_wrappers.go#L683) | [`client.Hooks.CreateRepoHook`](../hook.go#L166) |
| [`client.DeleteAdminHook`](../client_services_wrappers.go#L689) | [`client.Hooks.DeleteGlobalHook`](../hook.go#L323) |
| [`client.DeleteMyHook`](../client_services_wrappers.go#L695) | [`client.Hooks.DeleteMyHook`](../hook.go#L230) |
| [`client.DeleteOrgHook`](../client_services_wrappers.go#L701) | [`client.Hooks.DeleteOrgHook`](../hook.go#L222) |
| [`client.DeleteRepoHook`](../client_services_wrappers.go#L707) | [`client.Hooks.DeleteRepoHook`](../hook.go#L235) |
| [`client.EditAdminHook`](../client_services_wrappers.go#L713) | [`client.Hooks.EditGlobalHook`](../hook.go#L312) |
| [`client.EditMyHook`](../client_services_wrappers.go#L719) | [`client.Hooks.EditMyHook`](../hook.go#L201) |
| [`client.EditOrgHook`](../client_services_wrappers.go#L725) | [`client.Hooks.EditOrgHook`](../hook.go#L189) |
| [`client.EditRepoHook`](../client_services_wrappers.go#L731) | [`client.Hooks.EditRepoHook`](../hook.go#L210) |
| [`client.GetAdminHook`](../client_services_wrappers.go#L737) | [`client.Hooks.GetGlobalHook`](../hook.go#L305) |
| [`client.GetMyHook`](../client_services_wrappers.go#L743) | [`client.Hooks.GetMyHook`](../hook.go#L100) |
| [`client.GetOrgHook`](../client_services_wrappers.go#L749) | [`client.Hooks.GetOrgHook`](../hook.go#L90) |
| [`client.GetRepoHook`](../client_services_wrappers.go#L755) | [`client.Hooks.GetRepoHook`](../hook.go#L107) |
| [`client.ListAdminHooks`](../client_services_wrappers.go#L761) | [`client.Hooks.ListGlobalHooks`](../hook.go#L275) |
| [`client.ListMyHooks`](../client_services_wrappers.go#L767) | [`client.Hooks.ListMyHooks`](../hook.go#L71) |
| [`client.ListOrgHooks`](../client_services_wrappers.go#L773) | [`client.Hooks.ListOrgHooks`](../hook.go#L60) |
| [`client.ListRepoHooks`](../client_services_wrappers.go#L779) | [`client.Hooks.ListRepoHooks`](../hook.go#L79) |
| [`client.TestWebhook`](../client_services_wrappers.go#L785) | [`client.Hooks.TestWebhook`](../hook.go#L243) |

### `client.Issues`

Issues, comments, labels, reactions, subscriptions, and tracked time.

| Deprecated `Client` method | Service method |
| --- | --- |
| [`client.AddIssueLabels`](../client_services_wrappers.go#L791) | [`client.Issues.AddIssueLabels`](../issue_label.go#L31) |
| [`client.AddIssueSubscription`](../client_services_wrappers.go#L797) | [`client.Issues.AddIssueSubscription`](../issue_subscription.go#L33) |
| [`client.AddTime`](../client_services_wrappers.go#L803) | [`client.Issues.AddTime`](../issue_tracked_time.go#L111) |
| [`client.CheckIssueSubscription`](../client_services_wrappers.go#L809) | [`client.Issues.CheckIssueSubscription`](../issue_subscription.go#L69) |
| [`client.ClearIssueLabels`](../client_services_wrappers.go#L815) | [`client.Issues.ClearIssueLabels`](../issue_label.go#L68) |
| [`client.CreateIssue`](../client_services_wrappers.go#L821) | [`client.Issues.CreateIssue`](../issue.go#L236) |
| [`client.CreateIssueAttachment`](../client_services_wrappers.go#L827) | [`client.Issues.CreateIssueAttachment`](../issue_attachment.go#L43) |
| [`client.CreateIssueBlocking`](../client_services_wrappers.go#L833) | [`client.Issues.CreateIssueBlocking`](../issue.go#L344) |
| [`client.CreateIssueComment`](../client_services_wrappers.go#L839) | [`client.Issues.CreateIssueComment`](../issue_comment.go#L106) |
| [`client.CreateIssueCommentAttachment`](../client_services_wrappers.go#L845) | [`client.Issues.CreateIssueCommentAttachment`](../issue_comment.go#L173) |
| [`client.CreateIssueDependency`](../client_services_wrappers.go#L851) | [`client.Issues.CreateIssueDependency`](../issue.go#L394) |
| [`client.DeleteIssue`](../client_services_wrappers.go#L857) | [`client.Issues.DeleteIssue`](../issue.go#L295) |
| [`client.DeleteIssueAttachment`](../client_services_wrappers.go#L863) | [`client.Issues.DeleteIssueAttachment`](../issue_attachment.go#L86) |
| [`client.DeleteIssueComment`](../client_services_wrappers.go#L869) | [`client.Issues.DeleteIssueComment`](../issue_comment.go#L153) |
| [`client.DeleteIssueCommentAttachment`](../client_services_wrappers.go#L875) | [`client.Issues.DeleteIssueCommentAttachment`](../issue_comment.go#L228) |
| [`client.DeleteIssueCommentReaction`](../client_services_wrappers.go#L881) | [`client.Issues.DeleteIssueCommentReaction`](../issue_reaction.go#L101) |
| [`client.DeleteIssueLabel`](../client_services_wrappers.go#L887) | [`client.Issues.DeleteIssueLabel`](../issue_label.go#L60) |
| [`client.DeleteIssueReaction`](../client_services_wrappers.go#L893) | [`client.Issues.DeleteIssueReaction`](../issue_reaction.go#L73) |
| [`client.DeleteIssueStopwatch`](../client_services_wrappers.go#L899) | [`client.Issues.DeleteIssueStopwatch`](../issue_stopwatch.go#L41) |
| [`client.DeleteIssueSubscription`](../client_services_wrappers.go#L905) | [`client.Issues.DeleteIssueSubscription`](../issue_subscription.go#L51) |
| [`client.DeleteTime`](../client_services_wrappers.go#L911) | [`client.Issues.DeleteTime`](../issue_tracked_time.go#L151) |
| [`client.EditIssue`](../client_services_wrappers.go#L917) | [`client.Issues.EditIssue`](../issue.go#L275) |
| [`client.EditIssueAttachment`](../client_services_wrappers.go#L923) | [`client.Issues.EditIssueAttachment`](../issue_attachment.go#L70) |
| [`client.EditIssueComment`](../client_services_wrappers.go#L929) | [`client.Issues.EditIssueComment`](../issue_comment.go#L136) |
| [`client.EditIssueCommentAttachment`](../client_services_wrappers.go#L935) | [`client.Issues.EditIssueCommentAttachment`](../issue_comment.go#L212) |
| [`client.GetIssue`](../client_services_wrappers.go#L941) | [`client.Issues.GetIssue`](../issue.go#L200) |
| [`client.GetIssueAttachment`](../client_services_wrappers.go#L947) | [`client.Issues.GetIssueAttachment`](../issue_attachment.go#L31) |
| [`client.GetIssueComment`](../client_services_wrappers.go#L953) | [`client.Issues.GetIssueComment`](../issue_comment.go#L80) |
| [`client.GetIssueCommentAttachment`](../client_services_wrappers.go#L959) | [`client.Issues.GetIssueCommentAttachment`](../issue_comment.go#L200) |
| [`client.GetIssueCommentReactions`](../client_services_wrappers.go#L965) | [`client.Issues.GetIssueCommentReactions`](../issue_reaction.go#L42) |
| [`client.GetIssueLabels`](../client_services_wrappers.go#L971) | [`client.Issues.GetIssueLabels`](../issue_label.go#L15) |
| [`client.GetIssueTemplates`](../client_services_wrappers.go#L977) | [`client.Issues.GetIssueTemplates`](../issue_template.go#L86) |
| [`client.GetUserTrackedTimes`](../client_services_wrappers.go#L983) | [`client.Issues.GetUserTrackedTimes`](../issue_tracked_time.go#L81) |
| [`client.IssueSubscribe`](../client_services_wrappers.go#L989) | [`client.Issues.IssueSubscribe`](../issue_subscription.go#L82) |
| [`client.IssueUnSubscribe`](../client_services_wrappers.go#L995) | [`client.Issues.IssueUnSubscribe`](../issue_subscription.go#L91) |
| [`client.ListIssueAttachments`](../client_services_wrappers.go#L1001) | [`client.Issues.ListIssueAttachments`](../issue_attachment.go#L19) |
| [`client.ListIssueBlocks`](../client_services_wrappers.go#L1007) | [`client.Issues.ListIssueBlocks`](../issue.go#L326) |
| [`client.ListIssueCommentAttachments`](../client_services_wrappers.go#L1013) | [`client.Issues.ListIssueCommentAttachments`](../issue_comment.go#L161) |
| [`client.ListIssueComments`](../client_services_wrappers.go#L1019) | [`client.Issues.ListIssueComments`](../issue_comment.go#L54) |
| [`client.ListIssueDependencies`](../client_services_wrappers.go#L1025) | [`client.Issues.ListIssueDependencies`](../issue.go#L381) |
| [`client.ListIssueReactions`](../client_services_wrappers.go#L1031) | [`client.Issues.ListIssueReactions`](../issue_reaction.go#L29) |
| [`client.ListIssueSubscribers`](../client_services_wrappers.go#L1037) | [`client.Issues.ListIssueSubscribers`](../issue_subscription.go#L20) |
| [`client.ListIssueTimeline`](../client_services_wrappers.go#L1043) | [`client.Issues.ListIssueTimeline`](../issue_comment.go#L257) |
| [`client.ListIssueTrackedTimes`](../client_services_wrappers.go#L1049) | [`client.Issues.ListIssueTrackedTimes`](../issue_tracked_time.go#L130) |
| [`client.ListIssues`](../client_services_wrappers.go#L1055) | [`client.Issues.ListIssues`](../issue.go#L155) |
| [`client.ListMyStopwatches`](../client_services_wrappers.go#L1061) | [`client.Issues.ListMyStopwatches`](../issue_stopwatch.go#L31) |
| [`client.ListMyTrackedTimes`](../client_services_wrappers.go#L1067) | [`client.Issues.ListMyTrackedTimes`](../issue_tracked_time.go#L71) |
| [`client.ListRepoIssueComments`](../client_services_wrappers.go#L1073) | [`client.Issues.ListRepoIssueComments`](../issue_comment.go#L67) |
| [`client.ListRepoIssues`](../client_services_wrappers.go#L1079) | [`client.Issues.ListRepoIssues`](../issue.go#L176) |
| [`client.ListRepoPinnedIssues`](../client_services_wrappers.go#L1085) | [`client.Issues.ListRepoPinnedIssues`](../issue_pin.go#L14) |
| [`client.ListRepoTrackedTimes`](../client_services_wrappers.go#L1091) | [`client.Issues.ListRepoTrackedTimes`](../issue_tracked_time.go#L58) |
| [`client.LockIssue`](../client_services_wrappers.go#L1097) | [`client.Issues.LockIssue`](../issue.go#L431) |
| [`client.MoveIssuePin`](../client_services_wrappers.go#L1103) | [`client.Issues.MoveIssuePin`](../issue_pin.go#L60) |
| [`client.PinIssue`](../client_services_wrappers.go#L1109) | [`client.Issues.PinIssue`](../issue_pin.go#L26) |
| [`client.PostIssueCommentReaction`](../client_services_wrappers.go#L1115) | [`client.Issues.PostIssueCommentReaction`](../issue_reaction.go#L85) |
| [`client.PostIssueReaction`](../client_services_wrappers.go#L1121) | [`client.Issues.PostIssueReaction`](../issue_reaction.go#L57) |
| [`client.RemoveIssueBlocking`](../client_services_wrappers.go#L1127) | [`client.Issues.RemoveIssueBlocking`](../issue.go#L360) |
| [`client.RemoveIssueDependency`](../client_services_wrappers.go#L1133) | [`client.Issues.RemoveIssueDependency`](../issue.go#L410) |
| [`client.ReplaceIssueLabels`](../client_services_wrappers.go#L1139) | [`client.Issues.ReplaceIssueLabels`](../issue_label.go#L45) |
| [`client.ResetIssueTime`](../client_services_wrappers.go#L1145) | [`client.Issues.ResetIssueTime`](../issue_tracked_time.go#L143) |
| [`client.StartIssueStopWatch`](../client_services_wrappers.go#L1151) | [`client.Issues.StartIssueStopWatch`](../issue_stopwatch.go#L50) |
| [`client.StopIssueStopWatch`](../client_services_wrappers.go#L1157) | [`client.Issues.StopIssueStopWatch`](../issue_stopwatch.go#L59) |
| [`client.UnlockIssue`](../client_services_wrappers.go#L1163) | [`client.Issues.UnlockIssue`](../issue.go#L452) |
| [`client.UnpinIssue`](../client_services_wrappers.go#L1169) | [`client.Issues.UnpinIssue`](../issue_pin.go#L43) |
| [`client.UpdateIssueDeadline`](../client_services_wrappers.go#L1175) | [`client.Issues.UpdateIssueDeadline`](../issue.go#L474) |

### `client.Render`

Markdown and markup rendering APIs.

| Deprecated `Client` method | Service method |
| --- | --- |
| [`client.RenderMarkdown`](../client_services_wrappers.go#L1817) | [`client.Render.RenderMarkdown`](../miscellaneous.go#L158) |
| [`client.RenderMarkdownRaw`](../client_services_wrappers.go#L1823) | [`client.Render.RenderMarkdownRaw`](../miscellaneous.go#L169) |
| [`client.RenderMarkup`](../client_services_wrappers.go#L1829) | [`client.Render.RenderMarkup`](../miscellaneous.go#L180) |

### `client.Meta`

Instance metadata APIs such as version, node info, and signing keys.

| Deprecated `Client` method | Service method |
| --- | --- |
| [`client.GetNodeInfo`](../client_services_wrappers.go#L1181) | [`client.Meta.GetNodeInfo`](../miscellaneous.go#L194) |
| [`client.GetSigningKeyGPG`](../client_services_wrappers.go#L1187) | [`client.Meta.GetSigningKeyGPG`](../miscellaneous.go#L201) |
| [`client.GetSigningKeySSH`](../client_services_wrappers.go#L1193) | [`client.Meta.GetSigningKeySSH`](../miscellaneous.go#L210) |
| [`client.ServerVersion`](../client_services_wrappers.go#L1199) | [`client.Meta.ServerVersion`](../version.go#L16) |

### `client.Notifications`

Notification APIs.

| Deprecated `Client` method | Service method |
| --- | --- |
| [`client.CheckNotifications`](../client_services_wrappers.go#L1205) | [`client.Notifications.Check`](../notifications.go#L172) |
| [`client.GetNotification`](../client_services_wrappers.go#L1211) | [`client.Notifications.GetByID`](../notifications.go#L185) |
| [`client.ListNotifications`](../client_services_wrappers.go#L1217) | [`client.Notifications.List`](../notifications.go#L215) |
| [`client.ListRepoNotifications`](../client_services_wrappers.go#L1223) | [`client.Notifications.ListByRepo`](../notifications.go#L251) |
| [`client.ReadNotifications`](../client_services_wrappers.go#L1229) | [`client.Notifications.MarkRead`](../notifications.go#L231) |
| [`client.ReadNotification`](../client_services_wrappers.go#L1235) | [`client.Notifications.MarkReadByID`](../notifications.go#L197) |
| [`client.ReadRepoNotifications`](../client_services_wrappers.go#L1241) | [`client.Notifications.MarkReadByRepo`](../notifications.go#L270) |

### `client.OAuth2`

OAuth2 application APIs.

| Deprecated `Client` method | Service method |
| --- | --- |
| [`client.CreateOauth2`](../client_services_wrappers.go#L1247) | [`client.OAuth2.CreateApplication`](../oauth2.go#L48) |
| [`client.DeleteOauth2`](../client_services_wrappers.go#L1253) | [`client.OAuth2.DeleteApplication`](../oauth2.go#L97) |
| [`client.GetOauth2`](../client_services_wrappers.go#L1259) | [`client.OAuth2.GetApplication`](../oauth2.go#L76) |
| [`client.ListOauth2`](../client_services_wrappers.go#L1265) | [`client.OAuth2.ListApplications`](../oauth2.go#L86) |
| [`client.UpdateOauth2`](../client_services_wrappers.go#L1271) | [`client.OAuth2.UpdateApplication`](../oauth2.go#L62) |

### `client.Organizations`

Organizations, teams, members, labels, blocks, and avatar helpers.

| Deprecated `Client` method | Service method |
| --- | --- |
| [`client.AddTeamMember`](../client_services_wrappers.go#L1277) | [`client.Organizations.AddTeamMember`](../org_team.go#L241) |
| [`client.AddTeamRepository`](../client_services_wrappers.go#L1283) | [`client.Organizations.AddTeamRepository`](../org_team.go#L280) |
| [`client.BlockOrgUser`](../client_services_wrappers.go#L1289) | [`client.Organizations.BlockOrgUser`](../org.go#L274) |
| [`client.CheckOrgBlock`](../client_services_wrappers.go#L1295) | [`client.Organizations.CheckOrgBlock`](../org.go#L260) |
| [`client.CheckOrgMembership`](../client_services_wrappers.go#L1301) | [`client.Organizations.CheckOrgMembership`](../org_member.go#L56) |
| [`client.CheckPublicOrgMembership`](../client_services_wrappers.go#L1307) | [`client.Organizations.CheckPublicOrgMembership`](../org_member.go#L75) |
| [`client.CreateOrg`](../client_services_wrappers.go#L1313) | [`client.Organizations.CreateOrg`](../org.go#L120) |
| [`client.CreateOrgLabel`](../client_services_wrappers.go#L1319) | [`client.Organizations.CreateOrgLabel`](../org_label.go#L62) |
| [`client.CreateTeam`](../client_services_wrappers.go#L1325) | [`client.Organizations.CreateTeam`](../org_team.go#L154) |
| [`client.DeleteOrg`](../client_services_wrappers.go#L1331) | [`client.Organizations.DeleteOrg`](../org.go#L168) |
| [`client.DeleteOrgAvatar`](../client_services_wrappers.go#L1337) | [`client.Organizations.DeleteOrgAvatar`](../org.go#L197) |
| [`client.DeleteOrgLabel`](../client_services_wrappers.go#L1343) | [`client.Organizations.DeleteOrgLabel`](../org_label.go#L111) |
| [`client.DeleteOrgMembership`](../client_services_wrappers.go#L1349) | [`client.Organizations.DeleteOrgMembership`](../org_member.go#L15) |
| [`client.DeleteTeam`](../client_services_wrappers.go#L1355) | [`client.Organizations.DeleteTeam`](../org_team.go#L213) |
| [`client.EditOrg`](../client_services_wrappers.go#L1361) | [`client.Organizations.EditOrg`](../org.go#L153) |
| [`client.EditOrgLabel`](../client_services_wrappers.go#L1367) | [`client.Organizations.EditOrgLabel`](../org_label.go#L97) |
| [`client.EditTeam`](../client_services_wrappers.go#L1373) | [`client.Organizations.EditTeam`](../org_team.go#L201) |
| [`client.GetOrg`](../client_services_wrappers.go#L1379) | [`client.Organizations.GetOrg`](../org.go#L82) |
| [`client.GetOrgLabel`](../client_services_wrappers.go#L1385) | [`client.Organizations.GetOrgLabel`](../org_label.go#L76) |
| [`client.GetOrgPermissions`](../client_services_wrappers.go#L1391) | [`client.Organizations.GetOrgPermissions`](../org_member.go#L131) |
| [`client.GetTeam`](../client_services_wrappers.go#L1397) | [`client.Organizations.GetTeam`](../org_team.go#L79) |
| [`client.GetTeamMember`](../client_services_wrappers.go#L1403) | [`client.Organizations.GetTeamMember`](../org_team.go#L231) |
| [`client.GetTeamRepository`](../client_services_wrappers.go#L1409) | [`client.Organizations.GetTeamRepository`](../org_team.go#L270) |
| [`client.ListMyOrgs`](../client_services_wrappers.go#L1415) | [`client.Organizations.ListMyOrgs`](../org.go#L63) |
| [`client.ListMyTeams`](../client_services_wrappers.go#L1421) | [`client.Organizations.ListMyTeams`](../org_team.go#L71) |
| [`client.ListOrgBlocks`](../client_services_wrappers.go#L1427) | [`client.Organizations.ListOrgBlocks`](../org.go#L245) |
| [`client.ListOrgLabels`](../client_services_wrappers.go#L1433) | [`client.Organizations.ListOrgLabels`](../org_label.go#L23) |
| [`client.ListOrgMembership`](../client_services_wrappers.go#L1439) | [`client.Organizations.ListOrgMembership`](../org_member.go#L28) |
| [`client.ListOrgTeams`](../client_services_wrappers.go#L1445) | [`client.Organizations.ListOrgTeams`](../org_team.go#L60) |
| [`client.ListOrgs`](../client_services_wrappers.go#L1451) | [`client.Organizations.ListOrgs`](../org.go#L53) |
| [`client.ListPublicOrgMembership`](../client_services_wrappers.go#L1457) | [`client.Organizations.ListPublicOrgMembership`](../org_member.go#L42) |
| [`client.ListTeamMembers`](../client_services_wrappers.go#L1463) | [`client.Organizations.ListTeamMembers`](../org_team.go#L223) |
| [`client.ListTeamRepositories`](../client_services_wrappers.go#L1469) | [`client.Organizations.ListTeamRepositories`](../org_team.go#L262) |
| [`client.ListUserOrgs`](../client_services_wrappers.go#L1475) | [`client.Organizations.ListUserOrgs`](../org.go#L71) |
| [`client.RemoveTeamMember`](../client_services_wrappers.go#L1481) | [`client.Organizations.RemoveTeamMember`](../org_team.go#L249) |
| [`client.RemoveTeamRepository`](../client_services_wrappers.go#L1487) | [`client.Organizations.RemoveTeamRepository`](../org_team.go#L288) |
| [`client.RenameOrg`](../client_services_wrappers.go#L1493) | [`client.Organizations.RenameOrg`](../org.go#L219) |
| [`client.SearchOrgTeams`](../client_services_wrappers.go#L1499) | [`client.Organizations.SearchOrgTeams`](../org_team.go#L110) |
| [`client.SetPublicOrgMembership`](../client_services_wrappers.go#L1505) | [`client.Organizations.SetPublicOrgMembership`](../org_member.go#L94) |
| [`client.UnblockOrgUser`](../client_services_wrappers.go#L1511) | [`client.Organizations.UnblockOrgUser`](../org.go#L291) |
| [`client.UpdateOrgAvatar`](../client_services_wrappers.go#L1517) | [`client.Organizations.UpdateOrgAvatar`](../org.go#L176) |

### `client.Packages`

Package registry APIs.

| Deprecated `Client` method | Service method |
| --- | --- |
| [`client.DeletePackage`](../client_services_wrappers.go#L1523) | [`client.Packages.DeletePackage`](../package.go#L106) |
| [`client.GetLatestPackage`](../client_services_wrappers.go#L1529) | [`client.Packages.GetLatestPackage`](../package.go#L124) |
| [`client.GetPackage`](../client_services_wrappers.go#L1535) | [`client.Packages.GetPackage`](../package.go#L96) |
| [`client.LinkPackage`](../client_services_wrappers.go#L1541) | [`client.Packages.LinkPackage`](../package.go#L134) |
| [`client.ListPackageFiles`](../client_services_wrappers.go#L1547) | [`client.Packages.ListPackageFiles`](../package.go#L114) |
| [`client.ListPackageVersions`](../client_services_wrappers.go#L1553) | [`client.Packages.ListPackageVersions`](../package.go#L85) |
| [`client.ListPackages`](../client_services_wrappers.go#L1559) | [`client.Packages.ListPackages`](../package.go#L74) |
| [`client.UnlinkPackage`](../client_services_wrappers.go#L1565) | [`client.Packages.UnlinkPackage`](../package.go#L142) |

### `client.PullRequests`

Pull requests and reviews.

| Deprecated `Client` method | Service method |
| --- | --- |
| [`client.CancelScheduledAutoMerge`](../client_services_wrappers.go#L1571) | [`client.PullRequests.CancelScheduledAutoMerge`](../pull.go#L375) |
| [`client.CreatePullRequest`](../client_services_wrappers.go#L1577) | [`client.PullRequests.CreatePullRequest`](../pull.go#L200) |
| [`client.CreatePullReview`](../client_services_wrappers.go#L1583) | [`client.PullRequests.CreatePullReview`](../pull_review.go#L223) |
| [`client.CreatePullReviewCommentReply`](../client_services_wrappers.go#L1589) | [`client.PullRequests.CreatePullReviewCommentReply`](../pull_review.go#L248) |
| [`client.CreateReviewRequests`](../client_services_wrappers.go#L1595) | [`client.PullRequests.CreateReviewRequests`](../pull_review.go#L291) |
| [`client.DeletePullReview`](../client_services_wrappers.go#L1601) | [`client.PullRequests.DeletePullReview`](../pull_review.go#L211) |
| [`client.DeleteReviewRequests`](../client_services_wrappers.go#L1607) | [`client.PullRequests.DeleteReviewRequests`](../pull_review.go#L309) |
| [`client.DismissPullReview`](../client_services_wrappers.go#L1613) | [`client.PullRequests.DismissPullReview`](../pull_review.go#L327) |
| [`client.EditPullRequest`](../client_services_wrappers.go#L1619) | [`client.PullRequests.EditPullRequest`](../pull.go#L244) |
| [`client.GetCommitPullRequest`](../client_services_wrappers.go#L1625) | [`client.PullRequests.GetCommitPullRequest`](../pull.go#L454) |
| [`client.GetPullRequest`](../client_services_wrappers.go#L1631) | [`client.PullRequests.GetPullRequest`](../pull.go#L151) |
| [`client.GetPullRequestByBaseHead`](../client_services_wrappers.go#L1637) | [`client.PullRequests.GetPullRequestByBaseHead`](../pull.go#L166) |
| [`client.GetPullRequestDiff`](../client_services_wrappers.go#L1643) | [`client.PullRequests.GetPullRequestDiff`](../pull.go#L370) |
| [`client.GetPullRequestPatch`](../client_services_wrappers.go#L1649) | [`client.PullRequests.GetPullRequestPatch`](../pull.go#L365) |
| [`client.GetPullReview`](../client_services_wrappers.go#L1655) | [`client.PullRequests.GetPullReview`](../pull_review.go#L182) |
| [`client.IsPullRequestMerged`](../client_services_wrappers.go#L1661) | [`client.PullRequests.IsPullRequestMerged`](../pull.go#L313) |
| [`client.ListPullRequestCommits`](../client_services_wrappers.go#L1667) | [`client.PullRequests.ListPullRequestCommits`](../pull.go#L391) |
| [`client.ListPullRequestFiles`](../client_services_wrappers.go#L1673) | [`client.PullRequests.ListPullRequestFiles`](../pull.go#L429) |
| [`client.ListPullReviewComments`](../client_services_wrappers.go#L1679) | [`client.PullRequests.ListPullReviewComments`](../pull_review.go#L196) |
| [`client.ListPullReviews`](../client_services_wrappers.go#L1685) | [`client.PullRequests.ListPullReviews`](../pull_review.go#L164) |
| [`client.ListRepoPinnedPullRequests`](../client_services_wrappers.go#L1691) | [`client.PullRequests.ListRepoPinnedPullRequests`](../pull.go#L442) |
| [`client.ListRepoPullRequests`](../client_services_wrappers.go#L1697) | [`client.PullRequests.ListRepoPullRequests`](../pull.go#L130) |
| [`client.MergePullRequest`](../client_services_wrappers.go#L1703) | [`client.PullRequests.MergePullRequest`](../pull.go#L285) |
| [`client.ResolvePullReviewComment`](../client_services_wrappers.go#L1709) | [`client.PullRequests.ResolvePullReviewComment`](../pull_review.go#L361) |
| [`client.SubmitPullReview`](../client_services_wrappers.go#L1715) | [`client.PullRequests.SubmitPullReview`](../pull_review.go#L268) |
| [`client.UnDismissPullReview`](../client_services_wrappers.go#L1721) | [`client.PullRequests.UnDismissPullReview`](../pull_review.go#L345) |
| [`client.UnresolvePullReviewComment`](../client_services_wrappers.go#L1727) | [`client.PullRequests.UnresolvePullReviewComment`](../pull_review.go#L371) |
| [`client.UpdatePullRequest`](../client_services_wrappers.go#L1733) | [`client.PullRequests.UpdatePullRequest`](../pull.go#L466) |

### `client.Repositories`

Repositories, branches, files, milestones, tags, stars, watches, and collaborators.

| Deprecated `Client` method | Service method |
| --- | --- |
| [`client.AcceptRepoTransfer`](../client_services_wrappers.go#L1835) | [`client.Repositories.AcceptRepoTransfer`](../repo_migrate.go#L234) |
| [`client.AddCollaborator`](../client_services_wrappers.go#L1841) | [`client.Repositories.AddCollaborator`](../repo_collaboration.go#L116) |
| [`client.AddRepoTeam`](../client_services_wrappers.go#L1847) | [`client.Repositories.AddRepoTeam`](../repo_collaboration.go#L179) |
| [`client.AddRepoTopic`](../client_services_wrappers.go#L1853) | [`client.Repositories.AddRepoTopic`](../repo_topics.go#L55) |
| [`client.ApplyRepoDiffPatch`](../client_services_wrappers.go#L1859) | [`client.Repositories.ApplyRepoDiffPatch`](../repo_misc.go#L140) |
| [`client.ChangeFiles`](../client_services_wrappers.go#L1865) | [`client.Repositories.ChangeFiles`](../repo_file.go#L319) |
| [`client.CheckPinAllowed`](../client_services_wrappers.go#L1871) | [`client.Repositories.CheckPinAllowed`](../repo_misc.go#L42) |
| [`client.CheckRepoTeam`](../client_services_wrappers.go#L1877) | [`client.Repositories.CheckRepoTeam`](../repo_collaboration.go#L202) |
| [`client.CheckRepoWatch`](../client_services_wrappers.go#L1883) | [`client.Repositories.CheckRepoWatch`](../repo_watch.go#L42) |
| [`client.CollaboratorPermission`](../client_services_wrappers.go#L1889) | [`client.Repositories.CollaboratorPermission`](../repo_collaboration.go#L57) |
| [`client.CompareCommits`](../client_services_wrappers.go#L1895) | [`client.Repositories.CompareCommits`](../repo_commit.go#L263) |
| [`client.CreateBranch`](../client_services_wrappers.go#L1901) | [`client.Repositories.CreateBranch`](../repo_branch.go#L209) |
| [`client.CreateBranchProtection`](../client_services_wrappers.go#L1907) | [`client.Repositories.CreateBranchProtection`](../repo_protection.go#L136) |
| [`client.CreateDeployKey`](../client_services_wrappers.go#L1913) | [`client.Repositories.CreateDeployKey`](../repo_key.go#L72) |
| [`client.CreateFile`](../client_services_wrappers.go#L1919) | [`client.Repositories.CreateFile`](../repo_file.go#L217) |
| [`client.CreateFork`](../client_services_wrappers.go#L1925) | [`client.Repositories.CreateFork`](../repo_migrate.go#L286) |
| [`client.CreateLabel`](../client_services_wrappers.go#L1931) | [`client.Repositories.CreateLabel`](../repo_label.go#L80) |
| [`client.CreateMilestone`](../client_services_wrappers.go#L1937) | [`client.Repositories.CreateMilestone`](../repo_milestone.go#L107) |
| [`client.CreateOrgRepo`](../client_services_wrappers.go#L1943) | [`client.Repositories.CreateOrgRepo`](../repo.go#L413) |
| [`client.CreateRepo`](../client_services_wrappers.go#L1949) | [`client.Repositories.CreateRepo`](../repo.go#L395) |
| [`client.CreateRepoFromTemplate`](../client_services_wrappers.go#L1955) | [`client.Repositories.CreateRepoFromTemplate`](../repo_template.go#L50) |
| [`client.CreateStatus`](../client_services_wrappers.go#L1961) | [`client.Repositories.CreateStatus`](../repo_commit.go#L200) |
| [`client.CreateTag`](../client_services_wrappers.go#L1967) | [`client.Repositories.CreateTag`](../repo_tag.go#L100) |
| [`client.CreateTagProtection`](../client_services_wrappers.go#L1973) | [`client.Repositories.CreateTagProtection`](../repo_protection.go#L240) |
| [`client.DeleteBranchProtection`](../client_services_wrappers.go#L1979) | [`client.Repositories.DeleteBranchProtection`](../repo_protection.go#L170) |
| [`client.DeleteCollaborator`](../client_services_wrappers.go#L1985) | [`client.Repositories.DeleteCollaborator`](../repo_collaboration.go#L131) |
| [`client.DeleteDeployKey`](../client_services_wrappers.go#L1991) | [`client.Repositories.DeleteDeployKey`](../repo_key.go#L86) |
| [`client.DeleteFile`](../client_services_wrappers.go#L1997) | [`client.Repositories.DeleteFile`](../repo_file.go#L258) |
| [`client.DeleteLabel`](../client_services_wrappers.go#L2003) | [`client.Repositories.DeleteLabel`](../repo_label.go#L149) |
| [`client.DeleteMilestone`](../client_services_wrappers.go#L2009) | [`client.Repositories.DeleteMilestone`](../repo_milestone.go#L192) |
| [`client.DeleteMilestoneByName`](../client_services_wrappers.go#L2015) | [`client.Repositories.DeleteMilestoneByName`](../repo_milestone.go#L200) |
| [`client.DeletePushMirror`](../client_services_wrappers.go#L2021) | [`client.Repositories.DeletePushMirror`](../repo_migrate.go#L193) |
| [`client.DeleteRepo`](../client_services_wrappers.go#L2027) | [`client.Repositories.DeleteRepo`](../repo.go#L525) |
| [`client.DeleteRepoAvatar`](../client_services_wrappers.go#L2033) | [`client.Repositories.DeleteRepoAvatar`](../repo.go#L616) |
| [`client.DeleteRepoBranch`](../client_services_wrappers.go#L2039) | [`client.Repositories.DeleteRepoBranch`](../repo_branch.go#L92) |
| [`client.DeleteRepoTopic`](../client_services_wrappers.go#L2045) | [`client.Repositories.DeleteRepoTopic`](../repo_topics.go#L63) |
| [`client.DeleteTag`](../client_services_wrappers.go#L2051) | [`client.Repositories.DeleteTag`](../repo_tag.go#L120) |
| [`client.DeleteTagProtection`](../client_services_wrappers.go#L2057) | [`client.Repositories.DeleteTagProtection`](../repo_protection.go#L278) |
| [`client.EditBranchProtection`](../client_services_wrappers.go#L2063) | [`client.Repositories.EditBranchProtection`](../repo_protection.go#L153) |
| [`client.EditLabel`](../client_services_wrappers.go#L2069) | [`client.Repositories.EditLabel`](../repo_label.go#L132) |
| [`client.EditMilestone`](../client_services_wrappers.go#L2075) | [`client.Repositories.EditMilestone`](../repo_milestone.go#L150) |
| [`client.EditMilestoneByName`](../client_services_wrappers.go#L2081) | [`client.Repositories.EditMilestoneByName`](../repo_milestone.go#L167) |
| [`client.EditRepo`](../client_services_wrappers.go#L2087) | [`client.Repositories.EditRepo`](../repo.go#L511) |
| [`client.EditTagProtection`](../client_services_wrappers.go#L2093) | [`client.Repositories.EditTagProtection`](../repo_protection.go#L258) |
| [`client.GetAnnotatedTag`](../client_services_wrappers.go#L2099) | [`client.Repositories.GetAnnotatedTag`](../repo_tag.go#L72) |
| [`client.GetArchive`](../client_services_wrappers.go#L2105) | [`client.Repositories.GetArchive`](../repo.go#L569) |
| [`client.GetArchiveReader`](../client_services_wrappers.go#L2111) | [`client.Repositories.GetArchiveReader`](../repo.go#L581) |
| [`client.GetAssignees`](../client_services_wrappers.go#L2117) | [`client.Repositories.GetAssignees`](../repo_collaboration.go#L153) |
| [`client.GetBranchProtection`](../client_services_wrappers.go#L2123) | [`client.Repositories.GetBranchProtection`](../repo_protection.go#L123) |
| [`client.GetCombinedStatus`](../client_services_wrappers.go#L2129) | [`client.Repositories.GetCombinedStatus`](../repo_commit.go#L241) |
| [`client.GetCommitDiff`](../client_services_wrappers.go#L2135) | [`client.Repositories.GetCommitDiff`](../repo_commit.go#L136) |
| [`client.GetCommitPatch`](../client_services_wrappers.go#L2141) | [`client.Repositories.GetCommitPatch`](../repo_commit.go#L149) |
| [`client.GetContents`](../client_services_wrappers.go#L2147) | [`client.Repositories.GetContents`](../repo_file.go#L182) |
| [`client.GetContentsExt`](../client_services_wrappers.go#L2153) | [`client.Repositories.GetContentsExt`](../repo_file.go#L412) |
| [`client.GetDeployKey`](../client_services_wrappers.go#L2159) | [`client.Repositories.GetDeployKey`](../repo_key.go#L62) |
| [`client.GetEditorConfig`](../client_services_wrappers.go#L2165) | [`client.Repositories.GetEditorConfig`](../repo_file.go#L436) |
| [`client.GetFile`](../client_services_wrappers.go#L2171) | [`client.Repositories.GetFile`](../repo_file.go#L136) |
| [`client.GetFileReader`](../client_services_wrappers.go#L2177) | [`client.Repositories.GetFileReader`](../repo_file.go#L158) |
| [`client.GetIssueConfig`](../client_services_wrappers.go#L2183) | [`client.Repositories.GetIssueConfig`](../repo_misc.go#L69) |
| [`client.GetMilestone`](../client_services_wrappers.go#L2189) | [`client.Repositories.GetMilestone`](../repo_milestone.go#L66) |
| [`client.GetMilestoneByName`](../client_services_wrappers.go#L2195) | [`client.Repositories.GetMilestoneByName`](../repo_milestone.go#L76) |
| [`client.GetMyStarredRepos`](../client_services_wrappers.go#L2201) | [`client.Repositories.GetMyStarredRepos`](../repo_stars.go#L40) |
| [`client.GetMyWatchedRepos`](../client_services_wrappers.go#L2207) | [`client.Repositories.GetMyWatchedRepos`](../repo_watch.go#L35) |
| [`client.GetPushMirrorByRemoteName`](../client_services_wrappers.go#L2213) | [`client.Repositories.GetPushMirrorByRemoteName`](../repo_migrate.go#L183) |
| [`client.GetRawFile`](../client_services_wrappers.go#L2219) | [`client.Repositories.GetRawFile`](../repo_file.go#L472) |
| [`client.GetRawFileOrLFS`](../client_services_wrappers.go#L2225) | [`client.Repositories.GetRawFileOrLFS`](../repo_file.go#L454) |
| [`client.GetRepo`](../client_services_wrappers.go#L2231) | [`client.Repositories.GetRepo`](../repo.go#L430) |
| [`client.GetRepoBranch`](../client_services_wrappers.go#L2237) | [`client.Repositories.GetRepoBranch`](../repo_branch.go#L78) |
| [`client.GetRepoByID`](../client_services_wrappers.go#L2243) | [`client.Repositories.GetRepoByID`](../repo.go#L440) |
| [`client.GetRepoFileContents`](../client_services_wrappers.go#L2249) | [`client.Repositories.GetRepoFileContents`](../repo_file.go#L350) |
| [`client.GetRepoLabel`](../client_services_wrappers.go#L2255) | [`client.Repositories.GetRepoLabel`](../repo_label.go#L45) |
| [`client.GetRepoLanguages`](../client_services_wrappers.go#L2261) | [`client.Repositories.GetRepoLanguages`](../repo.go#L541) |
| [`client.GetRepoLicenses`](../client_services_wrappers.go#L2267) | [`client.Repositories.GetRepoLicenses`](../repo_misc.go#L81) |
| [`client.GetRepoSigningKeyGPG`](../client_services_wrappers.go#L2273) | [`client.Repositories.GetRepoSigningKeyGPG`](../repo_misc.go#L93) |
| [`client.GetRepoSigningKeySSH`](../client_services_wrappers.go#L2279) | [`client.Repositories.GetRepoSigningKeySSH`](../repo_misc.go#L102) |
| [`client.GetRepoTeams`](../client_services_wrappers.go#L2285) | [`client.Repositories.GetRepoTeams`](../repo_collaboration.go#L166) |
| [`client.GetReviewers`](../client_services_wrappers.go#L2291) | [`client.Repositories.GetReviewers`](../repo_collaboration.go#L140) |
| [`client.GetSingleCommit`](../client_services_wrappers.go#L2297) | [`client.Repositories.GetSingleCommit`](../repo_commit.go#L78) |
| [`client.GetStarredRepos`](../client_services_wrappers.go#L2303) | [`client.Repositories.GetStarredRepos`](../repo_stars.go#L30) |
| [`client.GetTag`](../client_services_wrappers.go#L2309) | [`client.Repositories.GetTag`](../repo_tag.go#L59) |
| [`client.GetTagProtection`](../client_services_wrappers.go#L2315) | [`client.Repositories.GetTagProtection`](../repo_protection.go#L226) |
| [`client.GetWatchedRepos`](../client_services_wrappers.go#L2321) | [`client.Repositories.GetWatchedRepos`](../repo_watch.go#L25) |
| [`client.IsCollaborator`](../client_services_wrappers.go#L2327) | [`client.Repositories.IsCollaborator`](../repo_collaboration.go#L42) |
| [`client.IsRepoStarring`](../client_services_wrappers.go#L2333) | [`client.Repositories.IsRepoStarring`](../repo_stars.go#L47) |
| [`client.ListBranchProtections`](../client_services_wrappers.go#L2339) | [`client.Repositories.ListBranchProtections`](../repo_protection.go#L108) |
| [`client.ListCollaborators`](../client_services_wrappers.go#L2345) | [`client.Repositories.ListCollaborators`](../repo_collaboration.go#L29) |
| [`client.ListContents`](../client_services_wrappers.go#L2351) | [`client.Repositories.ListContents`](../repo_file.go#L196) |
| [`client.ListDeployKeys`](../client_services_wrappers.go#L2357) | [`client.Repositories.ListDeployKeys`](../repo_key.go#L49) |
| [`client.ListForks`](../client_services_wrappers.go#L2363) | [`client.Repositories.ListForks`](../repo_migrate.go#L265) |
| [`client.ListRepoMilestones`](../client_services_wrappers.go#L2369) | [`client.Repositories.ListMilestones`](../repo_milestone.go#L52) |
| [`client.ListMyRepos`](../client_services_wrappers.go#L2375) | [`client.Repositories.ListMyRepos`](../repo.go#L173) |
| [`client.ListOrgRepos`](../client_services_wrappers.go#L2381) | [`client.Repositories.ListOrgRepos`](../repo.go#L197) |
| [`client.ListPushMirrors`](../client_services_wrappers.go#L2387) | [`client.Repositories.ListPushMirrors`](../repo_migrate.go#L170) |
| [`client.ListRepoBranches`](../client_services_wrappers.go#L2393) | [`client.Repositories.ListRepoBranches`](../repo_branch.go#L67) |
| [`client.ListRepoCommits`](../client_services_wrappers.go#L2399) | [`client.Repositories.ListRepoCommits`](../repo_commit.go#L123) |
| [`client.ListRepoLabels`](../client_services_wrappers.go#L2405) | [`client.Repositories.ListRepoLabels`](../repo_label.go#L34) |
| [`client.ListRepoStargazers`](../client_services_wrappers.go#L2411) | [`client.Repositories.ListRepoStargazers`](../repo_stars.go#L19) |
| [`client.ListRepoSubscribers`](../client_services_wrappers.go#L2417) | [`client.Repositories.ListRepoSubscribers`](../repo_misc.go#L113) |
| [`client.ListRepoTags`](../client_services_wrappers.go#L2423) | [`client.Repositories.ListRepoTags`](../repo_tag.go#L48) |
| [`client.ListRepoTopics`](../client_services_wrappers.go#L2429) | [`client.Repositories.ListRepoTopics`](../repo_topics.go#L27) |
| [`client.ListStatuses`](../client_services_wrappers.go#L2435) | [`client.Repositories.ListStatuses`](../repo_commit.go#L219) |
| [`client.ListTagProtection`](../client_services_wrappers.go#L2441) | [`client.Repositories.ListTagProtection`](../repo_protection.go#L210) |
| [`client.ListUserRepos`](../client_services_wrappers.go#L2447) | [`client.Repositories.ListUserRepos`](../repo.go#L181) |
| [`client.MergeUpstream`](../client_services_wrappers.go#L2453) | [`client.Repositories.MergeUpstream`](../repo_migrate.go#L311) |
| [`client.MigrateRepo`](../client_services_wrappers.go#L2459) | [`client.Repositories.MigrateRepo`](../repo_migrate.go#L98) |
| [`client.MirrorSync`](../client_services_wrappers.go#L2465) | [`client.Repositories.MirrorSync`](../repo.go#L533) |
| [`client.PostRepoFileContents`](../client_services_wrappers.go#L2471) | [`client.Repositories.PostRepoFileContents`](../repo_file.go#L375) |
| [`client.PushMirrors`](../client_services_wrappers.go#L2477) | [`client.Repositories.PushMirrors`](../repo_migrate.go#L156) |
| [`client.RejectRepoTransfer`](../client_services_wrappers.go#L2483) | [`client.Repositories.RejectRepoTransfer`](../repo_migrate.go#L247) |
| [`client.RemoveRepoTeam`](../client_services_wrappers.go#L2489) | [`client.Repositories.RemoveRepoTeam`](../repo_collaboration.go#L190) |
| [`client.RenameRepoBranch`](../client_services_wrappers.go#L2495) | [`client.Repositories.RenameRepoBranch`](../repo_branch.go#L148) |
| [`client.SearchRepos`](../client_services_wrappers.go#L2501) | [`client.Repositories.SearchRepos`](../repo.go#L313) |
| [`client.SearchTopics`](../client_services_wrappers.go#L2507) | [`client.Repositories.SearchTopics`](../repo_topics.go#L91) |
| [`client.SetRepoTopics`](../client_services_wrappers.go#L2513) | [`client.Repositories.SetRepoTopics`](../repo_topics.go#L42) |
| [`client.StarRepo`](../client_services_wrappers.go#L2519) | [`client.Repositories.StarRepo`](../repo_stars.go#L66) |
| [`client.TransferRepo`](../client_services_wrappers.go#L2525) | [`client.Repositories.TransferRepo`](../repo_migrate.go#L217) |
| [`client.TriggerPushMirrorsSync`](../client_services_wrappers.go#L2531) | [`client.Repositories.TriggerPushMirrorsSync`](../repo_migrate.go#L201) |
| [`client.UnStarRepo`](../client_services_wrappers.go#L2537) | [`client.Repositories.UnStarRepo`](../repo_stars.go#L83) |
| [`client.UnWatchRepo`](../client_services_wrappers.go#L2543) | [`client.Repositories.UnWatchRepo`](../repo_watch.go#L76) |
| [`client.UpdateBranchProtectionPriorities`](../client_services_wrappers.go#L2549) | [`client.Repositories.UpdateBranchProtectionPriorities`](../repo_protection.go#L291) |
| [`client.UpdateFile`](../client_services_wrappers.go#L2555) | [`client.Repositories.UpdateFile`](../repo_file.go#L237) |
| [`client.UpdateRepoAvatar`](../client_services_wrappers.go#L2561) | [`client.Repositories.UpdateRepoAvatar`](../repo.go#L595) |
| [`client.UpdateRepoBranchRef`](../client_services_wrappers.go#L2567) | [`client.Repositories.UpdateRepoBranchRef`](../repo_branch.go#L170) |
| [`client.ValidateIssueConfig`](../client_services_wrappers.go#L2573) | [`client.Repositories.ValidateIssueConfig`](../repo_misc.go#L22) |
| [`client.WatchRepo`](../client_services_wrappers.go#L2579) | [`client.Repositories.WatchRepo`](../repo_watch.go#L61) |

### `client.Releases`

Repository releases and release attachments.

| Deprecated `Client` method | Service method |
| --- | --- |
| [`client.CreateRelease`](../client_services_wrappers.go#L1739) | [`client.Releases.CreateRelease`](../release.go#L130) |
| [`client.CreateReleaseAttachment`](../client_services_wrappers.go#L1745) | [`client.Releases.CreateReleaseAttachment`](../release.go#L259) |
| [`client.DeleteRelease`](../client_services_wrappers.go#L1751) | [`client.Releases.DeleteRelease`](../release.go#L175) |
| [`client.DeleteReleaseAttachment`](../client_services_wrappers.go#L1757) | [`client.Releases.DeleteReleaseAttachment`](../release.go#L306) |
| [`client.DeleteReleaseByTag`](../client_services_wrappers.go#L1763) | [`client.Releases.DeleteReleaseByTag`](../release.go#L185) |
| [`client.EditRelease`](../client_services_wrappers.go#L1769) | [`client.Releases.EditRelease`](../release.go#L159) |
| [`client.EditReleaseAttachment`](../client_services_wrappers.go#L1775) | [`client.Releases.EditReleaseAttachment`](../release.go#L292) |
| [`client.GetLatestRelease`](../client_services_wrappers.go#L1781) | [`client.Releases.GetLatestRelease`](../release.go#L85) |
| [`client.GetRelease`](../client_services_wrappers.go#L1787) | [`client.Releases.GetRelease`](../release.go#L73) |
| [`client.GetReleaseAttachment`](../client_services_wrappers.go#L1793) | [`client.Releases.GetReleaseAttachment`](../release.go#L247) |
| [`client.GetReleaseByTag`](../client_services_wrappers.go#L1799) | [`client.Releases.GetReleaseByTag`](../release.go#L97) |
| [`client.ListReleaseAttachments`](../client_services_wrappers.go#L1805) | [`client.Releases.ListReleaseAttachments`](../release.go#L234) |
| [`client.ListReleases`](../client_services_wrappers.go#L1811) | [`client.Releases.ListReleases`](../release.go#L60) |

### `client.Settings`

Global settings APIs.

| Deprecated `Client` method | Service method |
| --- | --- |
| [`client.GetGlobalAPISettings`](../client_services_wrappers.go#L2585) | [`client.Settings.GetGlobalAPISettings`](../settings.go#L63) |
| [`client.GetGlobalAttachmentSettings`](../client_services_wrappers.go#L2591) | [`client.Settings.GetGlobalAttachmentSettings`](../settings.go#L73) |
| [`client.GetGlobalRepoSettings`](../client_services_wrappers.go#L2597) | [`client.Settings.GetGlobalRepoSettings`](../settings.go#L53) |
| [`client.GetGlobalUISettings`](../client_services_wrappers.go#L2603) | [`client.Settings.GetGlobalUISettings`](../settings.go#L43) |

### `client.Templates`

Instance template APIs for gitignores, licenses, and labels.

| Deprecated `Client` method | Service method |
| --- | --- |
| [`client.GetGitignoreTemplateInfo`](../client_services_wrappers.go#L2609) | [`client.Templates.GetGitignore`](../miscellaneous.go#L108) |
| [`client.GetLabelTemplate`](../client_services_wrappers.go#L2615) | [`client.Templates.GetLabel`](../miscellaneous.go#L127) |
| [`client.GetLicenseTemplateInfo`](../client_services_wrappers.go#L2621) | [`client.Templates.GetLicense`](../miscellaneous.go#L146) |
| [`client.ListGitignoresTemplates`](../client_services_wrappers.go#L2627) | [`client.Templates.ListGitignores`](../miscellaneous.go#L101) |
| [`client.ListLabelTemplates`](../client_services_wrappers.go#L2633) | [`client.Templates.ListLabels`](../miscellaneous.go#L120) |
| [`client.ListLicenseTemplates`](../client_services_wrappers.go#L2639) | [`client.Templates.ListLicenses`](../miscellaneous.go#L139) |

### `client.Users`

Users, emails, keys, follows, settings, and other user-scoped APIs.

| Deprecated `Client` method | Service method |
| --- | --- |
| [`client.AddEmail`](../client_services_wrappers.go#L2645) | [`client.Users.AddEmail`](../user_email.go#L43) |
| [`client.BlockUser`](../client_services_wrappers.go#L2651) | [`client.Users.BlockUser`](../user_block.go#L46) |
| [`client.CheckUserBlock`](../client_services_wrappers.go#L2657) | [`client.Users.CheckUserBlock`](../user_block.go#L32) |
| [`client.CreateAccessToken`](../client_services_wrappers.go#L2663) | [`client.Users.CreateAccessToken`](../user_app.go#L106) |
| [`client.CreateGPGKey`](../client_services_wrappers.go#L2669) | [`client.Users.CreateGPGKey`](../user_keys.go#L149) |
| [`client.CreatePublicKey`](../client_services_wrappers.go#L2675) | [`client.Users.CreatePublicKey`](../user_keys.go#L71) |
| [`client.DeleteAccessToken`](../client_services_wrappers.go#L2681) | [`client.Users.DeleteAccessToken`](../user_app.go#L123) |
| [`client.DeleteEmail`](../client_services_wrappers.go#L2687) | [`client.Users.DeleteEmail`](../user_email.go#L60) |
| [`client.DeleteGPGKey`](../client_services_wrappers.go#L2693) | [`client.Users.DeleteGPGKey`](../user_keys.go#L160) |
| [`client.DeletePublicKey`](../client_services_wrappers.go#L2699) | [`client.Users.DeletePublicKey`](../user_keys.go#L82) |
| [`client.DeleteUserAvatar`](../client_services_wrappers.go#L2705) | [`client.Users.DeleteUserAvatar`](../user.go#L166) |
| [`client.Follow`](../client_services_wrappers.go#L2711) | [`client.Users.Follow`](../user_follow.go#L81) |
| [`client.GetGPGKey`](../client_services_wrappers.go#L2717) | [`client.Users.GetGPGKey`](../user_keys.go#L134) |
| [`client.GetGPGKeyVerificationToken`](../client_services_wrappers.go#L2723) | [`client.Users.GetGPGKeyVerificationToken`](../user_keys.go#L167) |
| [`client.GetMyUserInfo`](../client_services_wrappers.go#L2729) | [`client.Users.GetMyUserInfo`](../user.go#L75) |
| [`client.GetPublicKey`](../client_services_wrappers.go#L2735) | [`client.Users.GetPublicKey`](../user_keys.go#L54) |
| [`client.GetUserByID`](../client_services_wrappers.go#L2741) | [`client.Users.GetUserByID`](../user.go#L82) |
| [`client.GetUserInfo`](../client_services_wrappers.go#L2747) | [`client.Users.GetUserInfo`](../user.go#L65) |
| [`client.GetUserSettings`](../client_services_wrappers.go#L2753) | [`client.Users.GetUserSettings`](../user.go#L206) |
| [`client.IsFollowing`](../client_services_wrappers.go#L2759) | [`client.Users.IsFollowing`](../user_follow.go#L61) |
| [`client.IsUserFollowing`](../client_services_wrappers.go#L2765) | [`client.Users.IsUserFollowing`](../user_follow.go#L71) |
| [`client.ListAccessTokens`](../client_services_wrappers.go#L2771) | [`client.Users.ListAccessTokens`](../user_app.go#L86) |
| [`client.ListEmails`](../client_services_wrappers.go#L2777) | [`client.Users.ListEmails`](../user_email.go#L29) |
| [`client.ListFollowers`](../client_services_wrappers.go#L2783) | [`client.Users.ListFollowers`](../user_follow.go#L26) |
| [`client.ListFollowing`](../client_services_wrappers.go#L2789) | [`client.Users.ListFollowing`](../user_follow.go#L50) |
| [`client.ListGPGKeys`](../client_services_wrappers.go#L2795) | [`client.Users.ListGPGKeys`](../user_keys.go#L115) |
| [`client.ListMyBlocks`](../client_services_wrappers.go#L2801) | [`client.Users.ListMyBlocks`](../user_block.go#L20) |
| [`client.ListMyFollowers`](../client_services_wrappers.go#L2807) | [`client.Users.ListMyFollowers`](../user_follow.go#L18) |
| [`client.ListMyFollowing`](../client_services_wrappers.go#L2813) | [`client.Users.ListMyFollowing`](../user_follow.go#L42) |
| [`client.ListMyGPGKeys`](../client_services_wrappers.go#L2819) | [`client.Users.ListMyGPGKeys`](../user_keys.go#L126) |
| [`client.ListMyPublicKeys`](../client_services_wrappers.go#L2825) | [`client.Users.ListMyPublicKeys`](../user_keys.go#L46) |
| [`client.ListPublicKeys`](../client_services_wrappers.go#L2831) | [`client.Users.ListPublicKeys`](../user_keys.go#L35) |
| [`client.SearchUsers`](../client_services_wrappers.go#L2837) | [`client.Users.SearchUsers`](../user.go#L139) |
| [`client.UnblockUser`](../client_services_wrappers.go#L2843) | [`client.Users.UnblockUser`](../user_block.go#L63) |
| [`client.Unfollow`](../client_services_wrappers.go#L2849) | [`client.Users.Unfollow`](../user_follow.go#L90) |
| [`client.UpdateUserAvatar`](../client_services_wrappers.go#L2855) | [`client.Users.UpdateUserAvatar`](../user.go#L149) |
| [`client.UpdateUserSettings`](../client_services_wrappers.go#L2861) | [`client.Users.UpdateUserSettings`](../user.go#L216) |
| [`client.VerifyGPGKey`](../client_services_wrappers.go#L2867) | [`client.Users.VerifyGPGKey`](../user_keys.go#L183) |

### `client.Wiki`

Repository wiki pages and revision history.

| Deprecated `Client` method | Service method |
| --- | --- |
| [`client.CreateWikiPage`](../client_services_wrappers.go#L2873) | [`client.Wiki.CreatePage`](../wiki.go#L68) |
| [`client.DeleteWikiPage`](../client_services_wrappers.go#L2879) | [`client.Wiki.DeletePage`](../wiki.go#L117) |
| [`client.EditWikiPage`](../client_services_wrappers.go#L2885) | [`client.Wiki.EditPage`](../wiki.go#L99) |
| [`client.GetWikiPage`](../client_services_wrappers.go#L2891) | [`client.Wiki.GetPage`](../wiki.go#L86) |
| [`client.GetWikiPageRevisions`](../client_services_wrappers.go#L2897) | [`client.Wiki.GetPageRevisions`](../wiki.go#L150) |
| [`client.ListWikiPages`](../client_services_wrappers.go#L2903) | [`client.Wiki.ListPages`](../wiki.go#L135) |

## What stays on Client

Low-level client setup and transport helpers still live on `Client`, for example:

- `gitea.NewClient(...)`
- `client.SetHTTPClient(...)`
- `client.SetBasicAuth(...)`
- `client.SetOTP(...)`
- `client.SetSudo(...)`
- `client.SetUserAgent(...)`
- `client.CheckServerVersionConstraint(...)`

## Compatibility wrappers

The deprecated wrappers are generated. If you change exported service methods,
regenerate them with:

```bash
make generate
```

or:

```bash
go generate ./...
```
