# Gitea.net
**Repository Path**: anysharp/Gitea.net
## Basic Information
- **Project Name**: Gitea.net
- **Description**: C# library for the Gitea API
- **Primary Language**: Unknown
- **License**: MIT
- **Default Branch**: master
- **Homepage**: None
- **GVP Project**: No
## Statistics
- **Stars**: 0
- **Forks**: 0
- **Created**: 2025-11-13
- **Last Updated**: 2025-11-21
## Categories & Tags
**Categories**: Uncategorized
**Tags**: None
## README
# Gitea.Net.API - the C# library for the Gitea API
[](https://www.nuget.org/packages/Gitea.Net.API/)
This documentation describes the Gitea API.
This C# SDK is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
- API version: 1.22.0
- SDK version: 1.0.0
- Generator version: 7.6.0
- Build package: org.openapitools.codegen.languages.CSharpClientCodegen
## Frameworks supported
## Dependencies
- [RestSharp](https://www.nuget.org/packages/RestSharp) - 106.13.0 or later
- [Json.NET](https://www.nuget.org/packages/Newtonsoft.Json/) - 13.0.2 or later
- [JsonSubTypes](https://www.nuget.org/packages/JsonSubTypes/) - 1.8.0 or later
- [System.ComponentModel.Annotations](https://www.nuget.org/packages/System.ComponentModel.Annotations) - 5.0.0 or later
The DLLs included in the package may not be the latest version. We recommend using [NuGet](https://docs.nuget.org/consume/installing-nuget) to obtain the latest version of the packages:
```
Install-Package RestSharp
Install-Package Newtonsoft.Json
Install-Package JsonSubTypes
Install-Package System.ComponentModel.Annotations
```
NOTE: RestSharp versions greater than 105.1.0 have a bug which causes file uploads to fail. See [RestSharp#742](https://github.com/restsharp/RestSharp/issues/742).
NOTE: RestSharp for .Net Core creates a new socket for each api call, which can lead to a socket exhaustion problem. See [RestSharp#1406](https://github.com/restsharp/RestSharp/issues/1406).
## Installation
Run the following command to generate the DLL
- [Mac/Linux] `/bin/sh build.sh`
- [Windows] `build.bat`
Then include the DLL (under the `bin` folder) in the C# project, and use the namespaces:
```csharp
using Gitea.Net.Api;
using Gitea.Net.Client;
using Gitea.Net.Model;
```
## Packaging
A `.nuspec` is included with the project. You can follow the Nuget quickstart to [create](https://docs.microsoft.com/en-us/nuget/quickstart/create-and-publish-a-package#create-the-package) and [publish](https://docs.microsoft.com/en-us/nuget/quickstart/create-and-publish-a-package#publish-the-package) packages.
This `.nuspec` uses placeholders from the `.csproj`, so build the `.csproj` directly:
```
nuget pack -Build -OutputDirectory out Gitea.Net.csproj
```
Then, publish to a [local feed](https://docs.microsoft.com/en-us/nuget/hosting-packages/local-feeds) or [other host](https://docs.microsoft.com/en-us/nuget/hosting-packages/overview) and consume the new package via Nuget as usual.
## Usage
To use the API client with a HTTP proxy, setup a `System.Net.WebProxy`
```csharp
Configuration c = new Configuration();
System.Net.WebProxy webProxy = new System.Net.WebProxy("http://myProxyUrl:80/");
webProxy.Credentials = System.Net.CredentialCache.DefaultCredentials;
c.Proxy = webProxy;
```
## Getting Started
```csharp
using System.Collections.Generic;
using System.Diagnostics;
using Gitea.Net.Api;
using Gitea.Net.Client;
using Gitea.Net.Model;
namespace Example
{
public class Example
{
public static void Main()
{
Configuration config = new Configuration();
config.BasePath = "/api/v1";
// Configure API key authorization: TOTPHeader
config.ApiKey.Add("X-GITEA-OTP", "YOUR_API_KEY");
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// config.ApiKeyPrefix.Add("X-GITEA-OTP", "Bearer");
// Configure API key authorization: AuthorizationHeaderToken
config.ApiKey.Add("Authorization", "YOUR_API_KEY");
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// config.ApiKeyPrefix.Add("Authorization", "Bearer");
// Configure API key authorization: SudoHeader
config.ApiKey.Add("Sudo", "YOUR_API_KEY");
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// config.ApiKeyPrefix.Add("Sudo", "Bearer");
// Configure HTTP basic authorization: BasicAuth
config.Username = "YOUR_USERNAME";
config.Password = "YOUR_PASSWORD";
// Configure API key authorization: AccessToken
config.ApiKey.Add("access_token", "YOUR_API_KEY");
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// config.ApiKeyPrefix.Add("access_token", "Bearer");
// Configure API key authorization: SudoParam
config.ApiKey.Add("sudo", "YOUR_API_KEY");
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// config.ApiKeyPrefix.Add("sudo", "Bearer");
// Configure API key authorization: Token
config.ApiKey.Add("token", "YOUR_API_KEY");
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// config.ApiKeyPrefix.Add("token", "Bearer");
var apiInstance = new ActivitypubApi(config);
var userId = 56; // int | user ID of the user
try
{
// Returns the Person actor for a user
ActivityPub result = apiInstance.ActivitypubPerson(userId);
Debug.WriteLine(result);
}
catch (ApiException e)
{
Debug.Print("Exception when calling ActivitypubApi.ActivitypubPerson: " + e.Message );
Debug.Print("Status Code: "+ e.ErrorCode);
Debug.Print(e.StackTrace);
}
}
}
}
```
## Documentation for API Endpoints
All URIs are relative to */api/v1*
Class | Method | HTTP request | Description
------------ | ------------- | ------------- | -------------
*ActivitypubApi* | [**ActivitypubPerson**](docs/ActivitypubApi.md#activitypubperson) | **GET** /activitypub/user-id/{user-id} | Returns the Person actor for a user
*ActivitypubApi* | [**ActivitypubPersonInbox**](docs/ActivitypubApi.md#activitypubpersoninbox) | **POST** /activitypub/user-id/{user-id}/inbox | Send to the inbox
*AdminApi* | [**AdminAddUserBadges**](docs/AdminApi.md#adminadduserbadges) | **POST** /admin/users/{username}/badges | Add a badge to a user
*AdminApi* | [**AdminAdoptRepository**](docs/AdminApi.md#adminadoptrepository) | **POST** /admin/unadopted/{owner}/{repo} | Adopt unadopted files as a repository
*AdminApi* | [**AdminCreateHook**](docs/AdminApi.md#admincreatehook) | **POST** /admin/hooks | Create a hook
*AdminApi* | [**AdminCreateOrg**](docs/AdminApi.md#admincreateorg) | **POST** /admin/users/{username}/orgs | Create an organization
*AdminApi* | [**AdminCreatePublicKey**](docs/AdminApi.md#admincreatepublickey) | **POST** /admin/users/{username}/keys | Add a public key on behalf of a user
*AdminApi* | [**AdminCreateRepo**](docs/AdminApi.md#admincreaterepo) | **POST** /admin/users/{username}/repos | Create a repository on behalf of a user
*AdminApi* | [**AdminCreateUser**](docs/AdminApi.md#admincreateuser) | **POST** /admin/users | Create a user
*AdminApi* | [**AdminCronList**](docs/AdminApi.md#admincronlist) | **GET** /admin/cron | List cron tasks
*AdminApi* | [**AdminCronRun**](docs/AdminApi.md#admincronrun) | **POST** /admin/cron/{task} | Run cron task
*AdminApi* | [**AdminDeleteHook**](docs/AdminApi.md#admindeletehook) | **DELETE** /admin/hooks/{id} | Delete a hook
*AdminApi* | [**AdminDeleteUnadoptedRepository**](docs/AdminApi.md#admindeleteunadoptedrepository) | **DELETE** /admin/unadopted/{owner}/{repo} | Delete unadopted files
*AdminApi* | [**AdminDeleteUser**](docs/AdminApi.md#admindeleteuser) | **DELETE** /admin/users/{username} | Delete a user
*AdminApi* | [**AdminDeleteUserBadges**](docs/AdminApi.md#admindeleteuserbadges) | **DELETE** /admin/users/{username}/badges | Remove a badge from a user
*AdminApi* | [**AdminDeleteUserPublicKey**](docs/AdminApi.md#admindeleteuserpublickey) | **DELETE** /admin/users/{username}/keys/{id} | Delete a user's public key
*AdminApi* | [**AdminEditHook**](docs/AdminApi.md#adminedithook) | **PATCH** /admin/hooks/{id} | Update a hook
*AdminApi* | [**AdminEditUser**](docs/AdminApi.md#adminedituser) | **PATCH** /admin/users/{username} | Edit an existing user
*AdminApi* | [**AdminGetAllEmails**](docs/AdminApi.md#admingetallemails) | **GET** /admin/emails | List all emails
*AdminApi* | [**AdminGetAllOrgs**](docs/AdminApi.md#admingetallorgs) | **GET** /admin/orgs | List all organizations
*AdminApi* | [**AdminGetHook**](docs/AdminApi.md#admingethook) | **GET** /admin/hooks/{id} | Get a hook
*AdminApi* | [**AdminGetRunnerRegistrationToken**](docs/AdminApi.md#admingetrunnerregistrationtoken) | **GET** /admin/runners/registration-token | Get an global actions runner registration token
*AdminApi* | [**AdminListHooks**](docs/AdminApi.md#adminlisthooks) | **GET** /admin/hooks | List system's webhooks
*AdminApi* | [**AdminListUserBadges**](docs/AdminApi.md#adminlistuserbadges) | **GET** /admin/users/{username}/badges | List a user's badges
*AdminApi* | [**AdminRenameUser**](docs/AdminApi.md#adminrenameuser) | **POST** /admin/users/{username}/rename | Rename a user
*AdminApi* | [**AdminSearchEmails**](docs/AdminApi.md#adminsearchemails) | **GET** /admin/emails/search | Search all emails
*AdminApi* | [**AdminSearchUsers**](docs/AdminApi.md#adminsearchusers) | **GET** /admin/users | Search users according filter conditions
*AdminApi* | [**AdminUnadoptedList**](docs/AdminApi.md#adminunadoptedlist) | **GET** /admin/unadopted | List unadopted repositories
*IssueApi* | [**IssueAddLabel**](docs/IssueApi.md#issueaddlabel) | **POST** /repos/{owner}/{repo}/issues/{index}/labels | Add a label to an issue
*IssueApi* | [**IssueAddSubscription**](docs/IssueApi.md#issueaddsubscription) | **PUT** /repos/{owner}/{repo}/issues/{index}/subscriptions/{user} | Subscribe user to issue
*IssueApi* | [**IssueAddTime**](docs/IssueApi.md#issueaddtime) | **POST** /repos/{owner}/{repo}/issues/{index}/times | Add tracked time to a issue
*IssueApi* | [**IssueCheckSubscription**](docs/IssueApi.md#issuechecksubscription) | **GET** /repos/{owner}/{repo}/issues/{index}/subscriptions/check | Check if user is subscribed to an issue
*IssueApi* | [**IssueClearLabels**](docs/IssueApi.md#issueclearlabels) | **DELETE** /repos/{owner}/{repo}/issues/{index}/labels | Remove all labels from an issue
*IssueApi* | [**IssueCreateComment**](docs/IssueApi.md#issuecreatecomment) | **POST** /repos/{owner}/{repo}/issues/{index}/comments | Add a comment to an issue
*IssueApi* | [**IssueCreateIssue**](docs/IssueApi.md#issuecreateissue) | **POST** /repos/{owner}/{repo}/issues | Create an issue. If using deadline only the date will be taken into account, and time of day ignored.
*IssueApi* | [**IssueCreateIssueAttachment**](docs/IssueApi.md#issuecreateissueattachment) | **POST** /repos/{owner}/{repo}/issues/{index}/assets | Create an issue attachment
*IssueApi* | [**IssueCreateIssueBlocking**](docs/IssueApi.md#issuecreateissueblocking) | **POST** /repos/{owner}/{repo}/issues/{index}/blocks | Block the issue given in the body by the issue in path
*IssueApi* | [**IssueCreateIssueCommentAttachment**](docs/IssueApi.md#issuecreateissuecommentattachment) | **POST** /repos/{owner}/{repo}/issues/comments/{id}/assets | Create a comment attachment
*IssueApi* | [**IssueCreateIssueDependencies**](docs/IssueApi.md#issuecreateissuedependencies) | **POST** /repos/{owner}/{repo}/issues/{index}/dependencies | Make the issue in the url depend on the issue in the form.
*IssueApi* | [**IssueCreateLabel**](docs/IssueApi.md#issuecreatelabel) | **POST** /repos/{owner}/{repo}/labels | Create a label
*IssueApi* | [**IssueCreateMilestone**](docs/IssueApi.md#issuecreatemilestone) | **POST** /repos/{owner}/{repo}/milestones | Create a milestone
*IssueApi* | [**IssueDelete**](docs/IssueApi.md#issuedelete) | **DELETE** /repos/{owner}/{repo}/issues/{index} | Delete an issue
*IssueApi* | [**IssueDeleteComment**](docs/IssueApi.md#issuedeletecomment) | **DELETE** /repos/{owner}/{repo}/issues/comments/{id} | Delete a comment
*IssueApi* | [**IssueDeleteCommentDeprecated**](docs/IssueApi.md#issuedeletecommentdeprecated) | **DELETE** /repos/{owner}/{repo}/issues/{index}/comments/{id} | Delete a comment
*IssueApi* | [**IssueDeleteCommentReaction**](docs/IssueApi.md#issuedeletecommentreaction) | **DELETE** /repos/{owner}/{repo}/issues/comments/{id}/reactions | Remove a reaction from a comment of an issue
*IssueApi* | [**IssueDeleteIssueAttachment**](docs/IssueApi.md#issuedeleteissueattachment) | **DELETE** /repos/{owner}/{repo}/issues/{index}/assets/{attachment_id} | Delete an issue attachment
*IssueApi* | [**IssueDeleteIssueCommentAttachment**](docs/IssueApi.md#issuedeleteissuecommentattachment) | **DELETE** /repos/{owner}/{repo}/issues/comments/{id}/assets/{attachment_id} | Delete a comment attachment
*IssueApi* | [**IssueDeleteIssueReaction**](docs/IssueApi.md#issuedeleteissuereaction) | **DELETE** /repos/{owner}/{repo}/issues/{index}/reactions | Remove a reaction from an issue
*IssueApi* | [**IssueDeleteLabel**](docs/IssueApi.md#issuedeletelabel) | **DELETE** /repos/{owner}/{repo}/labels/{id} | Delete a label
*IssueApi* | [**IssueDeleteMilestone**](docs/IssueApi.md#issuedeletemilestone) | **DELETE** /repos/{owner}/{repo}/milestones/{id} | Delete a milestone
*IssueApi* | [**IssueDeleteStopWatch**](docs/IssueApi.md#issuedeletestopwatch) | **DELETE** /repos/{owner}/{repo}/issues/{index}/stopwatch/delete | Delete an issue's existing stopwatch.
*IssueApi* | [**IssueDeleteSubscription**](docs/IssueApi.md#issuedeletesubscription) | **DELETE** /repos/{owner}/{repo}/issues/{index}/subscriptions/{user} | Unsubscribe user from issue
*IssueApi* | [**IssueDeleteTime**](docs/IssueApi.md#issuedeletetime) | **DELETE** /repos/{owner}/{repo}/issues/{index}/times/{id} | Delete specific tracked time
*IssueApi* | [**IssueEditComment**](docs/IssueApi.md#issueeditcomment) | **PATCH** /repos/{owner}/{repo}/issues/comments/{id} | Edit a comment
*IssueApi* | [**IssueEditCommentDeprecated**](docs/IssueApi.md#issueeditcommentdeprecated) | **PATCH** /repos/{owner}/{repo}/issues/{index}/comments/{id} | Edit a comment
*IssueApi* | [**IssueEditIssue**](docs/IssueApi.md#issueeditissue) | **PATCH** /repos/{owner}/{repo}/issues/{index} | Edit an issue. If using deadline only the date will be taken into account, and time of day ignored.
*IssueApi* | [**IssueEditIssueAttachment**](docs/IssueApi.md#issueeditissueattachment) | **PATCH** /repos/{owner}/{repo}/issues/{index}/assets/{attachment_id} | Edit an issue attachment
*IssueApi* | [**IssueEditIssueCommentAttachment**](docs/IssueApi.md#issueeditissuecommentattachment) | **PATCH** /repos/{owner}/{repo}/issues/comments/{id}/assets/{attachment_id} | Edit a comment attachment
*IssueApi* | [**IssueEditIssueDeadline**](docs/IssueApi.md#issueeditissuedeadline) | **POST** /repos/{owner}/{repo}/issues/{index}/deadline | Set an issue deadline. If set to null, the deadline is deleted. If using deadline only the date will be taken into account, and time of day ignored.
*IssueApi* | [**IssueEditLabel**](docs/IssueApi.md#issueeditlabel) | **PATCH** /repos/{owner}/{repo}/labels/{id} | Update a label
*IssueApi* | [**IssueEditMilestone**](docs/IssueApi.md#issueeditmilestone) | **PATCH** /repos/{owner}/{repo}/milestones/{id} | Update a milestone
*IssueApi* | [**IssueGetComment**](docs/IssueApi.md#issuegetcomment) | **GET** /repos/{owner}/{repo}/issues/comments/{id} | Get a comment
*IssueApi* | [**IssueGetCommentReactions**](docs/IssueApi.md#issuegetcommentreactions) | **GET** /repos/{owner}/{repo}/issues/comments/{id}/reactions | Get a list of reactions from a comment of an issue
*IssueApi* | [**IssueGetComments**](docs/IssueApi.md#issuegetcomments) | **GET** /repos/{owner}/{repo}/issues/{index}/comments | List all comments on an issue
*IssueApi* | [**IssueGetCommentsAndTimeline**](docs/IssueApi.md#issuegetcommentsandtimeline) | **GET** /repos/{owner}/{repo}/issues/{index}/timeline | List all comments and events on an issue
*IssueApi* | [**IssueGetIssue**](docs/IssueApi.md#issuegetissue) | **GET** /repos/{owner}/{repo}/issues/{index} | Get an issue
*IssueApi* | [**IssueGetIssueAttachment**](docs/IssueApi.md#issuegetissueattachment) | **GET** /repos/{owner}/{repo}/issues/{index}/assets/{attachment_id} | Get an issue attachment
*IssueApi* | [**IssueGetIssueCommentAttachment**](docs/IssueApi.md#issuegetissuecommentattachment) | **GET** /repos/{owner}/{repo}/issues/comments/{id}/assets/{attachment_id} | Get a comment attachment
*IssueApi* | [**IssueGetIssueReactions**](docs/IssueApi.md#issuegetissuereactions) | **GET** /repos/{owner}/{repo}/issues/{index}/reactions | Get a list reactions of an issue
*IssueApi* | [**IssueGetLabel**](docs/IssueApi.md#issuegetlabel) | **GET** /repos/{owner}/{repo}/labels/{id} | Get a single label
*IssueApi* | [**IssueGetLabels**](docs/IssueApi.md#issuegetlabels) | **GET** /repos/{owner}/{repo}/issues/{index}/labels | Get an issue's labels
*IssueApi* | [**IssueGetMilestone**](docs/IssueApi.md#issuegetmilestone) | **GET** /repos/{owner}/{repo}/milestones/{id} | Get a milestone
*IssueApi* | [**IssueGetMilestonesList**](docs/IssueApi.md#issuegetmilestoneslist) | **GET** /repos/{owner}/{repo}/milestones | Get all of a repository's opened milestones
*IssueApi* | [**IssueGetRepoComments**](docs/IssueApi.md#issuegetrepocomments) | **GET** /repos/{owner}/{repo}/issues/comments | List all comments in a repository
*IssueApi* | [**IssueListBlocks**](docs/IssueApi.md#issuelistblocks) | **GET** /repos/{owner}/{repo}/issues/{index}/blocks | List issues that are blocked by this issue
*IssueApi* | [**IssueListIssueAttachments**](docs/IssueApi.md#issuelistissueattachments) | **GET** /repos/{owner}/{repo}/issues/{index}/assets | List issue's attachments
*IssueApi* | [**IssueListIssueCommentAttachments**](docs/IssueApi.md#issuelistissuecommentattachments) | **GET** /repos/{owner}/{repo}/issues/comments/{id}/assets | List comment's attachments
*IssueApi* | [**IssueListIssueDependencies**](docs/IssueApi.md#issuelistissuedependencies) | **GET** /repos/{owner}/{repo}/issues/{index}/dependencies | List an issue's dependencies, i.e all issues that block this issue.
*IssueApi* | [**IssueListIssues**](docs/IssueApi.md#issuelistissues) | **GET** /repos/{owner}/{repo}/issues | List a repository's issues
*IssueApi* | [**IssueListLabels**](docs/IssueApi.md#issuelistlabels) | **GET** /repos/{owner}/{repo}/labels | Get all of a repository's labels
*IssueApi* | [**IssuePostCommentReaction**](docs/IssueApi.md#issuepostcommentreaction) | **POST** /repos/{owner}/{repo}/issues/comments/{id}/reactions | Add a reaction to a comment of an issue
*IssueApi* | [**IssuePostIssueReaction**](docs/IssueApi.md#issuepostissuereaction) | **POST** /repos/{owner}/{repo}/issues/{index}/reactions | Add a reaction to an issue
*IssueApi* | [**IssueRemoveIssueBlocking**](docs/IssueApi.md#issueremoveissueblocking) | **DELETE** /repos/{owner}/{repo}/issues/{index}/blocks | Unblock the issue given in the body by the issue in path
*IssueApi* | [**IssueRemoveIssueDependencies**](docs/IssueApi.md#issueremoveissuedependencies) | **DELETE** /repos/{owner}/{repo}/issues/{index}/dependencies | Remove an issue dependency
*IssueApi* | [**IssueRemoveLabel**](docs/IssueApi.md#issueremovelabel) | **DELETE** /repos/{owner}/{repo}/issues/{index}/labels/{id} | Remove a label from an issue
*IssueApi* | [**IssueReplaceLabels**](docs/IssueApi.md#issuereplacelabels) | **PUT** /repos/{owner}/{repo}/issues/{index}/labels | Replace an issue's labels
*IssueApi* | [**IssueResetTime**](docs/IssueApi.md#issueresettime) | **DELETE** /repos/{owner}/{repo}/issues/{index}/times | Reset a tracked time of an issue
*IssueApi* | [**IssueSearchIssues**](docs/IssueApi.md#issuesearchissues) | **GET** /repos/issues/search | Search for issues across the repositories that the user has access to
*IssueApi* | [**IssueStartStopWatch**](docs/IssueApi.md#issuestartstopwatch) | **POST** /repos/{owner}/{repo}/issues/{index}/stopwatch/start | Start stopwatch on an issue.
*IssueApi* | [**IssueStopStopWatch**](docs/IssueApi.md#issuestopstopwatch) | **POST** /repos/{owner}/{repo}/issues/{index}/stopwatch/stop | Stop an issue's existing stopwatch.
*IssueApi* | [**IssueSubscriptions**](docs/IssueApi.md#issuesubscriptions) | **GET** /repos/{owner}/{repo}/issues/{index}/subscriptions | Get users who subscribed on an issue.
*IssueApi* | [**IssueTrackedTimes**](docs/IssueApi.md#issuetrackedtimes) | **GET** /repos/{owner}/{repo}/issues/{index}/times | List an issue's tracked times
*IssueApi* | [**MoveIssuePin**](docs/IssueApi.md#moveissuepin) | **PATCH** /repos/{owner}/{repo}/issues/{index}/pin/{position} | Moves the Pin to the given Position
*IssueApi* | [**PinIssue**](docs/IssueApi.md#pinissue) | **POST** /repos/{owner}/{repo}/issues/{index}/pin | Pin an Issue
*IssueApi* | [**UnpinIssue**](docs/IssueApi.md#unpinissue) | **DELETE** /repos/{owner}/{repo}/issues/{index}/pin | Unpin an Issue
*MiscellaneousApi* | [**GetGitignoreTemplateInfo**](docs/MiscellaneousApi.md#getgitignoretemplateinfo) | **GET** /gitignore/templates/{name} | Returns information about a gitignore template
*MiscellaneousApi* | [**GetLabelTemplateInfo**](docs/MiscellaneousApi.md#getlabeltemplateinfo) | **GET** /label/templates/{name} | Returns all labels in a template
*MiscellaneousApi* | [**GetLicenseTemplateInfo**](docs/MiscellaneousApi.md#getlicensetemplateinfo) | **GET** /licenses/{name} | Returns information about a license template
*MiscellaneousApi* | [**GetNodeInfo**](docs/MiscellaneousApi.md#getnodeinfo) | **GET** /nodeinfo | Returns the nodeinfo of the Gitea application
*MiscellaneousApi* | [**GetSigningKey**](docs/MiscellaneousApi.md#getsigningkey) | **GET** /signing-key.gpg | Get default signing-key.gpg
*MiscellaneousApi* | [**GetVersion**](docs/MiscellaneousApi.md#getversion) | **GET** /version | Returns the version of the Gitea application
*MiscellaneousApi* | [**ListGitignoresTemplates**](docs/MiscellaneousApi.md#listgitignorestemplates) | **GET** /gitignore/templates | Returns a list of all gitignore templates
*MiscellaneousApi* | [**ListLabelTemplates**](docs/MiscellaneousApi.md#listlabeltemplates) | **GET** /label/templates | Returns a list of all label templates
*MiscellaneousApi* | [**ListLicenseTemplates**](docs/MiscellaneousApi.md#listlicensetemplates) | **GET** /licenses | Returns a list of all license templates
*MiscellaneousApi* | [**RenderMarkdown**](docs/MiscellaneousApi.md#rendermarkdown) | **POST** /markdown | Render a markdown document as HTML
*MiscellaneousApi* | [**RenderMarkdownRaw**](docs/MiscellaneousApi.md#rendermarkdownraw) | **POST** /markdown/raw | Render raw markdown as HTML
*MiscellaneousApi* | [**RenderMarkup**](docs/MiscellaneousApi.md#rendermarkup) | **POST** /markup | Render a markup document as HTML
*NotificationApi* | [**NotifyGetList**](docs/NotificationApi.md#notifygetlist) | **GET** /notifications | List users's notification threads
*NotificationApi* | [**NotifyGetRepoList**](docs/NotificationApi.md#notifygetrepolist) | **GET** /repos/{owner}/{repo}/notifications | List users's notification threads on a specific repo
*NotificationApi* | [**NotifyGetThread**](docs/NotificationApi.md#notifygetthread) | **GET** /notifications/threads/{id} | Get notification thread by ID
*NotificationApi* | [**NotifyNewAvailable**](docs/NotificationApi.md#notifynewavailable) | **GET** /notifications/new | Check if unread notifications exist
*NotificationApi* | [**NotifyReadList**](docs/NotificationApi.md#notifyreadlist) | **PUT** /notifications | Mark notification threads as read, pinned or unread
*NotificationApi* | [**NotifyReadRepoList**](docs/NotificationApi.md#notifyreadrepolist) | **PUT** /repos/{owner}/{repo}/notifications | Mark notification threads as read, pinned or unread on a specific repo
*NotificationApi* | [**NotifyReadThread**](docs/NotificationApi.md#notifyreadthread) | **PATCH** /notifications/threads/{id} | Mark notification thread as read by ID
*OrganizationApi* | [**CreateOrgRepo**](docs/OrganizationApi.md#createorgrepo) | **POST** /orgs/{org}/repos | Create a repository in an organization
*OrganizationApi* | [**CreateOrgRepoDeprecated**](docs/OrganizationApi.md#createorgrepodeprecated) | **POST** /org/{org}/repos | Create a repository in an organization
*OrganizationApi* | [**CreateOrgVariable**](docs/OrganizationApi.md#createorgvariable) | **POST** /orgs/{org}/actions/variables/{variablename} | Create an org-level variable
*OrganizationApi* | [**DeleteOrgSecret**](docs/OrganizationApi.md#deleteorgsecret) | **DELETE** /orgs/{org}/actions/secrets/{secretname} | Delete a secret in an organization
*OrganizationApi* | [**DeleteOrgVariable**](docs/OrganizationApi.md#deleteorgvariable) | **DELETE** /orgs/{org}/actions/variables/{variablename} | Delete an org-level variable
*OrganizationApi* | [**GetOrgVariable**](docs/OrganizationApi.md#getorgvariable) | **GET** /orgs/{org}/actions/variables/{variablename} | Get an org-level variable
*OrganizationApi* | [**GetOrgVariablesList**](docs/OrganizationApi.md#getorgvariableslist) | **GET** /orgs/{org}/actions/variables | Get an org-level variables list
*OrganizationApi* | [**OrgAddTeamMember**](docs/OrganizationApi.md#orgaddteammember) | **PUT** /teams/{id}/members/{username} | Add a team member
*OrganizationApi* | [**OrgAddTeamRepository**](docs/OrganizationApi.md#orgaddteamrepository) | **PUT** /teams/{id}/repos/{org}/{repo} | Add a repository to a team
*OrganizationApi* | [**OrgConcealMember**](docs/OrganizationApi.md#orgconcealmember) | **DELETE** /orgs/{org}/public_members/{username} | Conceal a user's membership
*OrganizationApi* | [**OrgCreate**](docs/OrganizationApi.md#orgcreate) | **POST** /orgs | Create an organization
*OrganizationApi* | [**OrgCreateHook**](docs/OrganizationApi.md#orgcreatehook) | **POST** /orgs/{org}/hooks | Create a hook
*OrganizationApi* | [**OrgCreateLabel**](docs/OrganizationApi.md#orgcreatelabel) | **POST** /orgs/{org}/labels | Create a label for an organization
*OrganizationApi* | [**OrgCreateTeam**](docs/OrganizationApi.md#orgcreateteam) | **POST** /orgs/{org}/teams | Create a team
*OrganizationApi* | [**OrgDelete**](docs/OrganizationApi.md#orgdelete) | **DELETE** /orgs/{org} | Delete an organization
*OrganizationApi* | [**OrgDeleteAvatar**](docs/OrganizationApi.md#orgdeleteavatar) | **DELETE** /orgs/{org}/avatar | Delete Avatar
*OrganizationApi* | [**OrgDeleteHook**](docs/OrganizationApi.md#orgdeletehook) | **DELETE** /orgs/{org}/hooks/{id} | Delete a hook
*OrganizationApi* | [**OrgDeleteLabel**](docs/OrganizationApi.md#orgdeletelabel) | **DELETE** /orgs/{org}/labels/{id} | Delete a label
*OrganizationApi* | [**OrgDeleteMember**](docs/OrganizationApi.md#orgdeletemember) | **DELETE** /orgs/{org}/members/{username} | Remove a member from an organization
*OrganizationApi* | [**OrgDeleteTeam**](docs/OrganizationApi.md#orgdeleteteam) | **DELETE** /teams/{id} | Delete a team
*OrganizationApi* | [**OrgEdit**](docs/OrganizationApi.md#orgedit) | **PATCH** /orgs/{org} | Edit an organization
*OrganizationApi* | [**OrgEditHook**](docs/OrganizationApi.md#orgedithook) | **PATCH** /orgs/{org}/hooks/{id} | Update a hook
*OrganizationApi* | [**OrgEditLabel**](docs/OrganizationApi.md#orgeditlabel) | **PATCH** /orgs/{org}/labels/{id} | Update a label
*OrganizationApi* | [**OrgEditTeam**](docs/OrganizationApi.md#orgeditteam) | **PATCH** /teams/{id} | Edit a team
*OrganizationApi* | [**OrgGet**](docs/OrganizationApi.md#orgget) | **GET** /orgs/{org} | Get an organization
*OrganizationApi* | [**OrgGetAll**](docs/OrganizationApi.md#orggetall) | **GET** /orgs | Get list of organizations
*OrganizationApi* | [**OrgGetHook**](docs/OrganizationApi.md#orggethook) | **GET** /orgs/{org}/hooks/{id} | Get a hook
*OrganizationApi* | [**OrgGetLabel**](docs/OrganizationApi.md#orggetlabel) | **GET** /orgs/{org}/labels/{id} | Get a single label
*OrganizationApi* | [**OrgGetRunnerRegistrationToken**](docs/OrganizationApi.md#orggetrunnerregistrationtoken) | **GET** /orgs/{org}/actions/runners/registration-token | Get an organization's actions runner registration token
*OrganizationApi* | [**OrgGetTeam**](docs/OrganizationApi.md#orggetteam) | **GET** /teams/{id} | Get a team
*OrganizationApi* | [**OrgGetUserPermissions**](docs/OrganizationApi.md#orggetuserpermissions) | **GET** /users/{username}/orgs/{org}/permissions | Get user permissions in organization
*OrganizationApi* | [**OrgIsMember**](docs/OrganizationApi.md#orgismember) | **GET** /orgs/{org}/members/{username} | Check if a user is a member of an organization
*OrganizationApi* | [**OrgIsPublicMember**](docs/OrganizationApi.md#orgispublicmember) | **GET** /orgs/{org}/public_members/{username} | Check if a user is a public member of an organization
*OrganizationApi* | [**OrgListActionsSecrets**](docs/OrganizationApi.md#orglistactionssecrets) | **GET** /orgs/{org}/actions/secrets | List an organization's actions secrets
*OrganizationApi* | [**OrgListActivityFeeds**](docs/OrganizationApi.md#orglistactivityfeeds) | **GET** /orgs/{org}/activities/feeds | List an organization's activity feeds
*OrganizationApi* | [**OrgListCurrentUserOrgs**](docs/OrganizationApi.md#orglistcurrentuserorgs) | **GET** /user/orgs | List the current user's organizations
*OrganizationApi* | [**OrgListHooks**](docs/OrganizationApi.md#orglisthooks) | **GET** /orgs/{org}/hooks | List an organization's webhooks
*OrganizationApi* | [**OrgListLabels**](docs/OrganizationApi.md#orglistlabels) | **GET** /orgs/{org}/labels | List an organization's labels
*OrganizationApi* | [**OrgListMembers**](docs/OrganizationApi.md#orglistmembers) | **GET** /orgs/{org}/members | List an organization's members
*OrganizationApi* | [**OrgListPublicMembers**](docs/OrganizationApi.md#orglistpublicmembers) | **GET** /orgs/{org}/public_members | List an organization's public members
*OrganizationApi* | [**OrgListRepos**](docs/OrganizationApi.md#orglistrepos) | **GET** /orgs/{org}/repos | List an organization's repos
*OrganizationApi* | [**OrgListTeamActivityFeeds**](docs/OrganizationApi.md#orglistteamactivityfeeds) | **GET** /teams/{id}/activities/feeds | List a team's activity feeds
*OrganizationApi* | [**OrgListTeamMember**](docs/OrganizationApi.md#orglistteammember) | **GET** /teams/{id}/members/{username} | List a particular member of team
*OrganizationApi* | [**OrgListTeamMembers**](docs/OrganizationApi.md#orglistteammembers) | **GET** /teams/{id}/members | List a team's members
*OrganizationApi* | [**OrgListTeamRepo**](docs/OrganizationApi.md#orglistteamrepo) | **GET** /teams/{id}/repos/{org}/{repo} | List a particular repo of team
*OrganizationApi* | [**OrgListTeamRepos**](docs/OrganizationApi.md#orglistteamrepos) | **GET** /teams/{id}/repos | List a team's repos
*OrganizationApi* | [**OrgListTeams**](docs/OrganizationApi.md#orglistteams) | **GET** /orgs/{org}/teams | List an organization's teams
*OrganizationApi* | [**OrgListUserOrgs**](docs/OrganizationApi.md#orglistuserorgs) | **GET** /users/{username}/orgs | List a user's organizations
*OrganizationApi* | [**OrgPublicizeMember**](docs/OrganizationApi.md#orgpublicizemember) | **PUT** /orgs/{org}/public_members/{username} | Publicize a user's membership
*OrganizationApi* | [**OrgRemoveTeamMember**](docs/OrganizationApi.md#orgremoveteammember) | **DELETE** /teams/{id}/members/{username} | Remove a team member
*OrganizationApi* | [**OrgRemoveTeamRepository**](docs/OrganizationApi.md#orgremoveteamrepository) | **DELETE** /teams/{id}/repos/{org}/{repo} | Remove a repository from a team
*OrganizationApi* | [**OrgUpdateAvatar**](docs/OrganizationApi.md#orgupdateavatar) | **POST** /orgs/{org}/avatar | Update Avatar
*OrganizationApi* | [**OrganizationBlockUser**](docs/OrganizationApi.md#organizationblockuser) | **PUT** /orgs/{org}/blocks/{username} | Block a user
*OrganizationApi* | [**OrganizationCheckUserBlock**](docs/OrganizationApi.md#organizationcheckuserblock) | **GET** /orgs/{org}/blocks/{username} | Check if a user is blocked by the organization
*OrganizationApi* | [**OrganizationListBlocks**](docs/OrganizationApi.md#organizationlistblocks) | **GET** /orgs/{org}/blocks | List users blocked by the organization
*OrganizationApi* | [**OrganizationUnblockUser**](docs/OrganizationApi.md#organizationunblockuser) | **DELETE** /orgs/{org}/blocks/{username} | Unblock a user
*OrganizationApi* | [**TeamSearch**](docs/OrganizationApi.md#teamsearch) | **GET** /orgs/{org}/teams/search | Search for teams within an organization
*OrganizationApi* | [**UpdateOrgSecret**](docs/OrganizationApi.md#updateorgsecret) | **PUT** /orgs/{org}/actions/secrets/{secretname} | Create or Update a secret value in an organization
*OrganizationApi* | [**UpdateOrgVariable**](docs/OrganizationApi.md#updateorgvariable) | **PUT** /orgs/{org}/actions/variables/{variablename} | Update an org-level variable
*PackageApi* | [**DeletePackage**](docs/PackageApi.md#deletepackage) | **DELETE** /packages/{owner}/{type}/{name}/{version} | Delete a package
*PackageApi* | [**GetPackage**](docs/PackageApi.md#getpackage) | **GET** /packages/{owner}/{type}/{name}/{version} | Gets a package
*PackageApi* | [**ListPackageFiles**](docs/PackageApi.md#listpackagefiles) | **GET** /packages/{owner}/{type}/{name}/{version}/files | Gets all files of a package
*PackageApi* | [**ListPackages**](docs/PackageApi.md#listpackages) | **GET** /packages/{owner} | Gets all packages of an owner
*RepositoryApi* | [**AcceptRepoTransfer**](docs/RepositoryApi.md#acceptrepotransfer) | **POST** /repos/{owner}/{repo}/transfer/accept | Accept a repo transfer
*RepositoryApi* | [**CreateCurrentUserRepo**](docs/RepositoryApi.md#createcurrentuserrepo) | **POST** /user/repos | Create a repository
*RepositoryApi* | [**CreateFork**](docs/RepositoryApi.md#createfork) | **POST** /repos/{owner}/{repo}/forks | Fork a repository
*RepositoryApi* | [**CreateRepoVariable**](docs/RepositoryApi.md#createrepovariable) | **POST** /repos/{owner}/{repo}/actions/variables/{variablename} | Create a repo-level variable
*RepositoryApi* | [**DeleteRepoSecret**](docs/RepositoryApi.md#deletereposecret) | **DELETE** /repos/{owner}/{repo}/actions/secrets/{secretname} | Delete a secret in a repository
*RepositoryApi* | [**DeleteRepoVariable**](docs/RepositoryApi.md#deleterepovariable) | **DELETE** /repos/{owner}/{repo}/actions/variables/{variablename} | Delete a repo-level variable
*RepositoryApi* | [**GenerateRepo**](docs/RepositoryApi.md#generaterepo) | **POST** /repos/{template_owner}/{template_repo}/generate | Create a repository using a template
*RepositoryApi* | [**GetAnnotatedTag**](docs/RepositoryApi.md#getannotatedtag) | **GET** /repos/{owner}/{repo}/git/tags/{sha} | Gets the tag object of an annotated tag (not lightweight tags)
*RepositoryApi* | [**GetBlob**](docs/RepositoryApi.md#getblob) | **GET** /repos/{owner}/{repo}/git/blobs/{sha} | Gets the blob of a repository.
*RepositoryApi* | [**GetRepoVariable**](docs/RepositoryApi.md#getrepovariable) | **GET** /repos/{owner}/{repo}/actions/variables/{variablename} | Get a repo-level variable
*RepositoryApi* | [**GetRepoVariablesList**](docs/RepositoryApi.md#getrepovariableslist) | **GET** /repos/{owner}/{repo}/actions/variables | Get repo-level variables list
*RepositoryApi* | [**GetTree**](docs/RepositoryApi.md#gettree) | **GET** /repos/{owner}/{repo}/git/trees/{sha} | Gets the tree of a repository.
*RepositoryApi* | [**ListForks**](docs/RepositoryApi.md#listforks) | **GET** /repos/{owner}/{repo}/forks | List a repository's forks
*RepositoryApi* | [**RejectRepoTransfer**](docs/RepositoryApi.md#rejectrepotransfer) | **POST** /repos/{owner}/{repo}/transfer/reject | Reject a repo transfer
*RepositoryApi* | [**RepoAddCollaborator**](docs/RepositoryApi.md#repoaddcollaborator) | **PUT** /repos/{owner}/{repo}/collaborators/{collaborator} | Add a collaborator to a repository
*RepositoryApi* | [**RepoAddPushMirror**](docs/RepositoryApi.md#repoaddpushmirror) | **POST** /repos/{owner}/{repo}/push_mirrors | add a push mirror to the repository
*RepositoryApi* | [**RepoAddTeam**](docs/RepositoryApi.md#repoaddteam) | **PUT** /repos/{owner}/{repo}/teams/{team} | Add a team to a repository
*RepositoryApi* | [**RepoAddTopic**](docs/RepositoryApi.md#repoaddtopic) | **PUT** /repos/{owner}/{repo}/topics/{topic} | Add a topic to a repository
*RepositoryApi* | [**RepoApplyDiffPatch**](docs/RepositoryApi.md#repoapplydiffpatch) | **POST** /repos/{owner}/{repo}/diffpatch | Apply diff patch to repository
*RepositoryApi* | [**RepoCancelScheduledAutoMerge**](docs/RepositoryApi.md#repocancelscheduledautomerge) | **DELETE** /repos/{owner}/{repo}/pulls/{index}/merge | Cancel the scheduled auto merge for the given pull request
*RepositoryApi* | [**RepoChangeFiles**](docs/RepositoryApi.md#repochangefiles) | **POST** /repos/{owner}/{repo}/contents | Modify multiple files in a repository
*RepositoryApi* | [**RepoCheckCollaborator**](docs/RepositoryApi.md#repocheckcollaborator) | **GET** /repos/{owner}/{repo}/collaborators/{collaborator} | Check if a user is a collaborator of a repository
*RepositoryApi* | [**RepoCheckTeam**](docs/RepositoryApi.md#repocheckteam) | **GET** /repos/{owner}/{repo}/teams/{team} | Check if a team is assigned to a repository
*RepositoryApi* | [**RepoCompareDiff**](docs/RepositoryApi.md#repocomparediff) | **GET** /repos/{owner}/{repo}/compare/{basehead} | Get commit comparison information
*RepositoryApi* | [**RepoCreateBranch**](docs/RepositoryApi.md#repocreatebranch) | **POST** /repos/{owner}/{repo}/branches | Create a branch
*RepositoryApi* | [**RepoCreateBranchProtection**](docs/RepositoryApi.md#repocreatebranchprotection) | **POST** /repos/{owner}/{repo}/branch_protections | Create a branch protections for a repository
*RepositoryApi* | [**RepoCreateFile**](docs/RepositoryApi.md#repocreatefile) | **POST** /repos/{owner}/{repo}/contents/{filepath} | Create a file in a repository
*RepositoryApi* | [**RepoCreateHook**](docs/RepositoryApi.md#repocreatehook) | **POST** /repos/{owner}/{repo}/hooks | Create a hook
*RepositoryApi* | [**RepoCreateKey**](docs/RepositoryApi.md#repocreatekey) | **POST** /repos/{owner}/{repo}/keys | Add a key to a repository
*RepositoryApi* | [**RepoCreatePullRequest**](docs/RepositoryApi.md#repocreatepullrequest) | **POST** /repos/{owner}/{repo}/pulls | Create a pull request
*RepositoryApi* | [**RepoCreatePullReview**](docs/RepositoryApi.md#repocreatepullreview) | **POST** /repos/{owner}/{repo}/pulls/{index}/reviews | Create a review to an pull request
*RepositoryApi* | [**RepoCreatePullReviewRequests**](docs/RepositoryApi.md#repocreatepullreviewrequests) | **POST** /repos/{owner}/{repo}/pulls/{index}/requested_reviewers | create review requests for a pull request
*RepositoryApi* | [**RepoCreateRelease**](docs/RepositoryApi.md#repocreaterelease) | **POST** /repos/{owner}/{repo}/releases | Create a release
*RepositoryApi* | [**RepoCreateReleaseAttachment**](docs/RepositoryApi.md#repocreatereleaseattachment) | **POST** /repos/{owner}/{repo}/releases/{id}/assets | Create a release attachment
*RepositoryApi* | [**RepoCreateStatus**](docs/RepositoryApi.md#repocreatestatus) | **POST** /repos/{owner}/{repo}/statuses/{sha} | Create a commit status
*RepositoryApi* | [**RepoCreateTag**](docs/RepositoryApi.md#repocreatetag) | **POST** /repos/{owner}/{repo}/tags | Create a new git tag in a repository
*RepositoryApi* | [**RepoCreateWikiPage**](docs/RepositoryApi.md#repocreatewikipage) | **POST** /repos/{owner}/{repo}/wiki/new | Create a wiki page
*RepositoryApi* | [**RepoDelete**](docs/RepositoryApi.md#repodelete) | **DELETE** /repos/{owner}/{repo} | Delete a repository
*RepositoryApi* | [**RepoDeleteAvatar**](docs/RepositoryApi.md#repodeleteavatar) | **DELETE** /repos/{owner}/{repo}/avatar | Delete avatar
*RepositoryApi* | [**RepoDeleteBranch**](docs/RepositoryApi.md#repodeletebranch) | **DELETE** /repos/{owner}/{repo}/branches/{branch} | Delete a specific branch from a repository
*RepositoryApi* | [**RepoDeleteBranchProtection**](docs/RepositoryApi.md#repodeletebranchprotection) | **DELETE** /repos/{owner}/{repo}/branch_protections/{name} | Delete a specific branch protection for the repository
*RepositoryApi* | [**RepoDeleteCollaborator**](docs/RepositoryApi.md#repodeletecollaborator) | **DELETE** /repos/{owner}/{repo}/collaborators/{collaborator} | Delete a collaborator from a repository
*RepositoryApi* | [**RepoDeleteFile**](docs/RepositoryApi.md#repodeletefile) | **DELETE** /repos/{owner}/{repo}/contents/{filepath} | Delete a file in a repository
*RepositoryApi* | [**RepoDeleteGitHook**](docs/RepositoryApi.md#repodeletegithook) | **DELETE** /repos/{owner}/{repo}/hooks/git/{id} | Delete a Git hook in a repository
*RepositoryApi* | [**RepoDeleteHook**](docs/RepositoryApi.md#repodeletehook) | **DELETE** /repos/{owner}/{repo}/hooks/{id} | Delete a hook in a repository
*RepositoryApi* | [**RepoDeleteKey**](docs/RepositoryApi.md#repodeletekey) | **DELETE** /repos/{owner}/{repo}/keys/{id} | Delete a key from a repository
*RepositoryApi* | [**RepoDeletePullReview**](docs/RepositoryApi.md#repodeletepullreview) | **DELETE** /repos/{owner}/{repo}/pulls/{index}/reviews/{id} | Delete a specific review from a pull request
*RepositoryApi* | [**RepoDeletePullReviewRequests**](docs/RepositoryApi.md#repodeletepullreviewrequests) | **DELETE** /repos/{owner}/{repo}/pulls/{index}/requested_reviewers | cancel review requests for a pull request
*RepositoryApi* | [**RepoDeletePushMirror**](docs/RepositoryApi.md#repodeletepushmirror) | **DELETE** /repos/{owner}/{repo}/push_mirrors/{name} | deletes a push mirror from a repository by remoteName
*RepositoryApi* | [**RepoDeleteRelease**](docs/RepositoryApi.md#repodeleterelease) | **DELETE** /repos/{owner}/{repo}/releases/{id} | Delete a release
*RepositoryApi* | [**RepoDeleteReleaseAttachment**](docs/RepositoryApi.md#repodeletereleaseattachment) | **DELETE** /repos/{owner}/{repo}/releases/{id}/assets/{attachment_id} | Delete a release attachment
*RepositoryApi* | [**RepoDeleteReleaseByTag**](docs/RepositoryApi.md#repodeletereleasebytag) | **DELETE** /repos/{owner}/{repo}/releases/tags/{tag} | Delete a release by tag name
*RepositoryApi* | [**RepoDeleteTag**](docs/RepositoryApi.md#repodeletetag) | **DELETE** /repos/{owner}/{repo}/tags/{tag} | Delete a repository's tag by name
*RepositoryApi* | [**RepoDeleteTeam**](docs/RepositoryApi.md#repodeleteteam) | **DELETE** /repos/{owner}/{repo}/teams/{team} | Delete a team from a repository
*RepositoryApi* | [**RepoDeleteTopic**](docs/RepositoryApi.md#repodeletetopic) | **DELETE** /repos/{owner}/{repo}/topics/{topic} | Delete a topic from a repository
*RepositoryApi* | [**RepoDeleteWikiPage**](docs/RepositoryApi.md#repodeletewikipage) | **DELETE** /repos/{owner}/{repo}/wiki/page/{pageName} | Delete a wiki page
*RepositoryApi* | [**RepoDismissPullReview**](docs/RepositoryApi.md#repodismisspullreview) | **POST** /repos/{owner}/{repo}/pulls/{index}/reviews/{id}/dismissals | Dismiss a review for a pull request
*RepositoryApi* | [**RepoDownloadCommitDiffOrPatch**](docs/RepositoryApi.md#repodownloadcommitdifforpatch) | **GET** /repos/{owner}/{repo}/git/commits/{sha}.{diffType} | Get a commit's diff or patch
*RepositoryApi* | [**RepoDownloadPullDiffOrPatch**](docs/RepositoryApi.md#repodownloadpulldifforpatch) | **GET** /repos/{owner}/{repo}/pulls/{index}.{diffType} | Get a pull request diff or patch
*RepositoryApi* | [**RepoEdit**](docs/RepositoryApi.md#repoedit) | **PATCH** /repos/{owner}/{repo} | Edit a repository's properties. Only fields that are set will be changed.
*RepositoryApi* | [**RepoEditBranchProtection**](docs/RepositoryApi.md#repoeditbranchprotection) | **PATCH** /repos/{owner}/{repo}/branch_protections/{name} | Edit a branch protections for a repository. Only fields that are set will be changed
*RepositoryApi* | [**RepoEditGitHook**](docs/RepositoryApi.md#repoeditgithook) | **PATCH** /repos/{owner}/{repo}/hooks/git/{id} | Edit a Git hook in a repository
*RepositoryApi* | [**RepoEditHook**](docs/RepositoryApi.md#repoedithook) | **PATCH** /repos/{owner}/{repo}/hooks/{id} | Edit a hook in a repository
*RepositoryApi* | [**RepoEditPullRequest**](docs/RepositoryApi.md#repoeditpullrequest) | **PATCH** /repos/{owner}/{repo}/pulls/{index} | Update a pull request. If using deadline only the date will be taken into account, and time of day ignored.
*RepositoryApi* | [**RepoEditRelease**](docs/RepositoryApi.md#repoeditrelease) | **PATCH** /repos/{owner}/{repo}/releases/{id} | Update a release
*RepositoryApi* | [**RepoEditReleaseAttachment**](docs/RepositoryApi.md#repoeditreleaseattachment) | **PATCH** /repos/{owner}/{repo}/releases/{id}/assets/{attachment_id} | Edit a release attachment
*RepositoryApi* | [**RepoEditWikiPage**](docs/RepositoryApi.md#repoeditwikipage) | **PATCH** /repos/{owner}/{repo}/wiki/page/{pageName} | Edit a wiki page
*RepositoryApi* | [**RepoGet**](docs/RepositoryApi.md#repoget) | **GET** /repos/{owner}/{repo} | Get a repository
*RepositoryApi* | [**RepoGetAllCommits**](docs/RepositoryApi.md#repogetallcommits) | **GET** /repos/{owner}/{repo}/commits | Get a list of all commits from a repository
*RepositoryApi* | [**RepoGetArchive**](docs/RepositoryApi.md#repogetarchive) | **GET** /repos/{owner}/{repo}/archive/{archive} | Get an archive of a repository
*RepositoryApi* | [**RepoGetAssignees**](docs/RepositoryApi.md#repogetassignees) | **GET** /repos/{owner}/{repo}/assignees | Return all users that have write access and can be assigned to issues
*RepositoryApi* | [**RepoGetBranch**](docs/RepositoryApi.md#repogetbranch) | **GET** /repos/{owner}/{repo}/branches/{branch} | Retrieve a specific branch from a repository, including its effective branch protection
*RepositoryApi* | [**RepoGetBranchProtection**](docs/RepositoryApi.md#repogetbranchprotection) | **GET** /repos/{owner}/{repo}/branch_protections/{name} | Get a specific branch protection for the repository
*RepositoryApi* | [**RepoGetByID**](docs/RepositoryApi.md#repogetbyid) | **GET** /repositories/{id} | Get a repository by id
*RepositoryApi* | [**RepoGetCombinedStatusByRef**](docs/RepositoryApi.md#repogetcombinedstatusbyref) | **GET** /repos/{owner}/{repo}/commits/{ref}/status | Get a commit's combined status, by branch/tag/commit reference
*RepositoryApi* | [**RepoGetCommitPullRequest**](docs/RepositoryApi.md#repogetcommitpullrequest) | **GET** /repos/{owner}/{repo}/commits/{sha}/pull | Get the pull request of the commit
*RepositoryApi* | [**RepoGetContents**](docs/RepositoryApi.md#repogetcontents) | **GET** /repos/{owner}/{repo}/contents/{filepath} | Gets the metadata and contents (if a file) of an entry in a repository, or a list of entries if a dir
*RepositoryApi* | [**RepoGetContentsList**](docs/RepositoryApi.md#repogetcontentslist) | **GET** /repos/{owner}/{repo}/contents | Gets the metadata of all the entries of the root dir
*RepositoryApi* | [**RepoGetEditorConfig**](docs/RepositoryApi.md#repogeteditorconfig) | **GET** /repos/{owner}/{repo}/editorconfig/{filepath} | Get the EditorConfig definitions of a file in a repository
*RepositoryApi* | [**RepoGetGitHook**](docs/RepositoryApi.md#repogetgithook) | **GET** /repos/{owner}/{repo}/hooks/git/{id} | Get a Git hook
*RepositoryApi* | [**RepoGetHook**](docs/RepositoryApi.md#repogethook) | **GET** /repos/{owner}/{repo}/hooks/{id} | Get a hook
*RepositoryApi* | [**RepoGetIssueConfig**](docs/RepositoryApi.md#repogetissueconfig) | **GET** /repos/{owner}/{repo}/issue_config | Returns the issue config for a repo
*RepositoryApi* | [**RepoGetIssueTemplates**](docs/RepositoryApi.md#repogetissuetemplates) | **GET** /repos/{owner}/{repo}/issue_templates | Get available issue templates for a repository
*RepositoryApi* | [**RepoGetKey**](docs/RepositoryApi.md#repogetkey) | **GET** /repos/{owner}/{repo}/keys/{id} | Get a repository's key by id
*RepositoryApi* | [**RepoGetLanguages**](docs/RepositoryApi.md#repogetlanguages) | **GET** /repos/{owner}/{repo}/languages | Get languages and number of bytes of code written
*RepositoryApi* | [**RepoGetLatestRelease**](docs/RepositoryApi.md#repogetlatestrelease) | **GET** /repos/{owner}/{repo}/releases/latest | Gets the most recent non-prerelease, non-draft release of a repository, sorted by created_at
*RepositoryApi* | [**RepoGetNote**](docs/RepositoryApi.md#repogetnote) | **GET** /repos/{owner}/{repo}/git/notes/{sha} | Get a note corresponding to a single commit from a repository
*RepositoryApi* | [**RepoGetPullRequest**](docs/RepositoryApi.md#repogetpullrequest) | **GET** /repos/{owner}/{repo}/pulls/{index} | Get a pull request
*RepositoryApi* | [**RepoGetPullRequestByBaseHead**](docs/RepositoryApi.md#repogetpullrequestbybasehead) | **GET** /repos/{owner}/{repo}/pulls/{base}/{head} | Get a pull request by base and head
*RepositoryApi* | [**RepoGetPullRequestCommits**](docs/RepositoryApi.md#repogetpullrequestcommits) | **GET** /repos/{owner}/{repo}/pulls/{index}/commits | Get commits for a pull request
*RepositoryApi* | [**RepoGetPullRequestFiles**](docs/RepositoryApi.md#repogetpullrequestfiles) | **GET** /repos/{owner}/{repo}/pulls/{index}/files | Get changed files for a pull request
*RepositoryApi* | [**RepoGetPullReview**](docs/RepositoryApi.md#repogetpullreview) | **GET** /repos/{owner}/{repo}/pulls/{index}/reviews/{id} | Get a specific review for a pull request
*RepositoryApi* | [**RepoGetPullReviewComments**](docs/RepositoryApi.md#repogetpullreviewcomments) | **GET** /repos/{owner}/{repo}/pulls/{index}/reviews/{id}/comments | Get a specific review for a pull request
*RepositoryApi* | [**RepoGetPushMirrorByRemoteName**](docs/RepositoryApi.md#repogetpushmirrorbyremotename) | **GET** /repos/{owner}/{repo}/push_mirrors/{name} | Get push mirror of the repository by remoteName
*RepositoryApi* | [**RepoGetRawFile**](docs/RepositoryApi.md#repogetrawfile) | **GET** /repos/{owner}/{repo}/raw/{filepath} | Get a file from a repository
*RepositoryApi* | [**RepoGetRawFileOrLFS**](docs/RepositoryApi.md#repogetrawfileorlfs) | **GET** /repos/{owner}/{repo}/media/{filepath} | Get a file or it's LFS object from a repository
*RepositoryApi* | [**RepoGetRelease**](docs/RepositoryApi.md#repogetrelease) | **GET** /repos/{owner}/{repo}/releases/{id} | Get a release
*RepositoryApi* | [**RepoGetReleaseAttachment**](docs/RepositoryApi.md#repogetreleaseattachment) | **GET** /repos/{owner}/{repo}/releases/{id}/assets/{attachment_id} | Get a release attachment
*RepositoryApi* | [**RepoGetReleaseByTag**](docs/RepositoryApi.md#repogetreleasebytag) | **GET** /repos/{owner}/{repo}/releases/tags/{tag} | Get a release by tag name
*RepositoryApi* | [**RepoGetRepoPermissions**](docs/RepositoryApi.md#repogetrepopermissions) | **GET** /repos/{owner}/{repo}/collaborators/{collaborator}/permission | Get repository permissions for a user
*RepositoryApi* | [**RepoGetReviewers**](docs/RepositoryApi.md#repogetreviewers) | **GET** /repos/{owner}/{repo}/reviewers | Return all users that can be requested to review in this repo
*RepositoryApi* | [**RepoGetRunnerRegistrationToken**](docs/RepositoryApi.md#repogetrunnerregistrationtoken) | **GET** /repos/{owner}/{repo}/runners/registration-token | Get a repository's actions runner registration token
*RepositoryApi* | [**RepoGetSingleCommit**](docs/RepositoryApi.md#repogetsinglecommit) | **GET** /repos/{owner}/{repo}/git/commits/{sha} | Get a single commit from a repository
*RepositoryApi* | [**RepoGetTag**](docs/RepositoryApi.md#repogettag) | **GET** /repos/{owner}/{repo}/tags/{tag} | Get the tag of a repository by tag name
*RepositoryApi* | [**RepoGetWikiPage**](docs/RepositoryApi.md#repogetwikipage) | **GET** /repos/{owner}/{repo}/wiki/page/{pageName} | Get a wiki page
*RepositoryApi* | [**RepoGetWikiPageRevisions**](docs/RepositoryApi.md#repogetwikipagerevisions) | **GET** /repos/{owner}/{repo}/wiki/revisions/{pageName} | Get revisions of a wiki page
*RepositoryApi* | [**RepoGetWikiPages**](docs/RepositoryApi.md#repogetwikipages) | **GET** /repos/{owner}/{repo}/wiki/pages | Get all wiki pages
*RepositoryApi* | [**RepoListActionsSecrets**](docs/RepositoryApi.md#repolistactionssecrets) | **GET** /repos/{owner}/{repo}/actions/secrets | List an repo's actions secrets
*RepositoryApi* | [**RepoListActivityFeeds**](docs/RepositoryApi.md#repolistactivityfeeds) | **GET** /repos/{owner}/{repo}/activities/feeds | List a repository's activity feeds
*RepositoryApi* | [**RepoListAllGitRefs**](docs/RepositoryApi.md#repolistallgitrefs) | **GET** /repos/{owner}/{repo}/git/refs | Get specified ref or filtered repository's refs
*RepositoryApi* | [**RepoListBranchProtection**](docs/RepositoryApi.md#repolistbranchprotection) | **GET** /repos/{owner}/{repo}/branch_protections | List branch protections for a repository
*RepositoryApi* | [**RepoListBranches**](docs/RepositoryApi.md#repolistbranches) | **GET** /repos/{owner}/{repo}/branches | List a repository's branches
*RepositoryApi* | [**RepoListCollaborators**](docs/RepositoryApi.md#repolistcollaborators) | **GET** /repos/{owner}/{repo}/collaborators | List a repository's collaborators
*RepositoryApi* | [**RepoListGitHooks**](docs/RepositoryApi.md#repolistgithooks) | **GET** /repos/{owner}/{repo}/hooks/git | List the Git hooks in a repository
*RepositoryApi* | [**RepoListGitRefs**](docs/RepositoryApi.md#repolistgitrefs) | **GET** /repos/{owner}/{repo}/git/refs/{ref} | Get specified ref or filtered repository's refs
*RepositoryApi* | [**RepoListHooks**](docs/RepositoryApi.md#repolisthooks) | **GET** /repos/{owner}/{repo}/hooks | List the hooks in a repository
*RepositoryApi* | [**RepoListKeys**](docs/RepositoryApi.md#repolistkeys) | **GET** /repos/{owner}/{repo}/keys | List a repository's keys
*RepositoryApi* | [**RepoListPinnedIssues**](docs/RepositoryApi.md#repolistpinnedissues) | **GET** /repos/{owner}/{repo}/issues/pinned | List a repo's pinned issues
*RepositoryApi* | [**RepoListPinnedPullRequests**](docs/RepositoryApi.md#repolistpinnedpullrequests) | **GET** /repos/{owner}/{repo}/pulls/pinned | List a repo's pinned pull requests
*RepositoryApi* | [**RepoListPullRequests**](docs/RepositoryApi.md#repolistpullrequests) | **GET** /repos/{owner}/{repo}/pulls | List a repo's pull requests
*RepositoryApi* | [**RepoListPullReviews**](docs/RepositoryApi.md#repolistpullreviews) | **GET** /repos/{owner}/{repo}/pulls/{index}/reviews | List all reviews for a pull request
*RepositoryApi* | [**RepoListPushMirrors**](docs/RepositoryApi.md#repolistpushmirrors) | **GET** /repos/{owner}/{repo}/push_mirrors | Get all push mirrors of the repository
*RepositoryApi* | [**RepoListReleaseAttachments**](docs/RepositoryApi.md#repolistreleaseattachments) | **GET** /repos/{owner}/{repo}/releases/{id}/assets | List release's attachments
*RepositoryApi* | [**RepoListReleases**](docs/RepositoryApi.md#repolistreleases) | **GET** /repos/{owner}/{repo}/releases | List a repo's releases
*RepositoryApi* | [**RepoListStargazers**](docs/RepositoryApi.md#repoliststargazers) | **GET** /repos/{owner}/{repo}/stargazers | List a repo's stargazers
*RepositoryApi* | [**RepoListStatuses**](docs/RepositoryApi.md#repoliststatuses) | **GET** /repos/{owner}/{repo}/statuses/{sha} | Get a commit's statuses
*RepositoryApi* | [**RepoListStatusesByRef**](docs/RepositoryApi.md#repoliststatusesbyref) | **GET** /repos/{owner}/{repo}/commits/{ref}/statuses | Get a commit's statuses, by branch/tag/commit reference
*RepositoryApi* | [**RepoListSubscribers**](docs/RepositoryApi.md#repolistsubscribers) | **GET** /repos/{owner}/{repo}/subscribers | List a repo's watchers
*RepositoryApi* | [**RepoListTags**](docs/RepositoryApi.md#repolisttags) | **GET** /repos/{owner}/{repo}/tags | List a repository's tags
*RepositoryApi* | [**RepoListTeams**](docs/RepositoryApi.md#repolistteams) | **GET** /repos/{owner}/{repo}/teams | List a repository's teams
*RepositoryApi* | [**RepoListTopics**](docs/RepositoryApi.md#repolisttopics) | **GET** /repos/{owner}/{repo}/topics | Get list of topics that a repository has
*RepositoryApi* | [**RepoMergePullRequest**](docs/RepositoryApi.md#repomergepullrequest) | **POST** /repos/{owner}/{repo}/pulls/{index}/merge | Merge a pull request
*RepositoryApi* | [**RepoMigrate**](docs/RepositoryApi.md#repomigrate) | **POST** /repos/migrate | Migrate a remote git repository
*RepositoryApi* | [**RepoMirrorSync**](docs/RepositoryApi.md#repomirrorsync) | **POST** /repos/{owner}/{repo}/mirror-sync | Sync a mirrored repository
*RepositoryApi* | [**RepoNewPinAllowed**](docs/RepositoryApi.md#reponewpinallowed) | **GET** /repos/{owner}/{repo}/new_pin_allowed | Returns if new Issue Pins are allowed
*RepositoryApi* | [**RepoPullRequestIsMerged**](docs/RepositoryApi.md#repopullrequestismerged) | **GET** /repos/{owner}/{repo}/pulls/{index}/merge | Check if a pull request has been merged
*RepositoryApi* | [**RepoPushMirrorSync**](docs/RepositoryApi.md#repopushmirrorsync) | **POST** /repos/{owner}/{repo}/push_mirrors-sync | Sync all push mirrored repository
*RepositoryApi* | [**RepoSearch**](docs/RepositoryApi.md#reposearch) | **GET** /repos/search | Search for repositories
*RepositoryApi* | [**RepoSigningKey**](docs/RepositoryApi.md#reposigningkey) | **GET** /repos/{owner}/{repo}/signing-key.gpg | Get signing-key.gpg for given repository
*RepositoryApi* | [**RepoSubmitPullReview**](docs/RepositoryApi.md#reposubmitpullreview) | **POST** /repos/{owner}/{repo}/pulls/{index}/reviews/{id} | Submit a pending review to an pull request
*RepositoryApi* | [**RepoTestHook**](docs/RepositoryApi.md#repotesthook) | **POST** /repos/{owner}/{repo}/hooks/{id}/tests | Test a push webhook
*RepositoryApi* | [**RepoTrackedTimes**](docs/RepositoryApi.md#repotrackedtimes) | **GET** /repos/{owner}/{repo}/times | List a repo's tracked times
*RepositoryApi* | [**RepoTransfer**](docs/RepositoryApi.md#repotransfer) | **POST** /repos/{owner}/{repo}/transfer | Transfer a repo ownership
*RepositoryApi* | [**RepoUnDismissPullReview**](docs/RepositoryApi.md#repoundismisspullreview) | **POST** /repos/{owner}/{repo}/pulls/{index}/reviews/{id}/undismissals | Cancel to dismiss a review for a pull request
*RepositoryApi* | [**RepoUpdateAvatar**](docs/RepositoryApi.md#repoupdateavatar) | **POST** /repos/{owner}/{repo}/avatar | Update avatar
*RepositoryApi* | [**RepoUpdateFile**](docs/RepositoryApi.md#repoupdatefile) | **PUT** /repos/{owner}/{repo}/contents/{filepath} | Update a file in a repository
*RepositoryApi* | [**RepoUpdatePullRequest**](docs/RepositoryApi.md#repoupdatepullrequest) | **POST** /repos/{owner}/{repo}/pulls/{index}/update | Merge PR's baseBranch into headBranch
*RepositoryApi* | [**RepoUpdateTopics**](docs/RepositoryApi.md#repoupdatetopics) | **PUT** /repos/{owner}/{repo}/topics | Replace list of topics for a repository
*RepositoryApi* | [**RepoValidateIssueConfig**](docs/RepositoryApi.md#repovalidateissueconfig) | **GET** /repos/{owner}/{repo}/issue_config/validate | Returns the validation information for a issue config
*RepositoryApi* | [**TopicSearch**](docs/RepositoryApi.md#topicsearch) | **GET** /topics/search | search topics via keyword
*RepositoryApi* | [**UpdateRepoSecret**](docs/RepositoryApi.md#updatereposecret) | **PUT** /repos/{owner}/{repo}/actions/secrets/{secretname} | Create or Update a secret value in a repository
*RepositoryApi* | [**UpdateRepoVariable**](docs/RepositoryApi.md#updaterepovariable) | **PUT** /repos/{owner}/{repo}/actions/variables/{variablename} | Update a repo-level variable
*RepositoryApi* | [**UserCurrentCheckSubscription**](docs/RepositoryApi.md#usercurrentchecksubscription) | **GET** /repos/{owner}/{repo}/subscription | Check if the current user is watching a repo
*RepositoryApi* | [**UserCurrentDeleteSubscription**](docs/RepositoryApi.md#usercurrentdeletesubscription) | **DELETE** /repos/{owner}/{repo}/subscription | Unwatch a repo
*RepositoryApi* | [**UserCurrentPutSubscription**](docs/RepositoryApi.md#usercurrentputsubscription) | **PUT** /repos/{owner}/{repo}/subscription | Watch a repo
*RepositoryApi* | [**UserTrackedTimes**](docs/RepositoryApi.md#usertrackedtimes) | **GET** /repos/{owner}/{repo}/times/{user} | List a user's tracked times in a repo
*SettingsApi* | [**GetGeneralAPISettings**](docs/SettingsApi.md#getgeneralapisettings) | **GET** /settings/api | Get instance's global settings for api
*SettingsApi* | [**GetGeneralAttachmentSettings**](docs/SettingsApi.md#getgeneralattachmentsettings) | **GET** /settings/attachment | Get instance's global settings for Attachment
*SettingsApi* | [**GetGeneralRepositorySettings**](docs/SettingsApi.md#getgeneralrepositorysettings) | **GET** /settings/repository | Get instance's global settings for repositories
*SettingsApi* | [**GetGeneralUISettings**](docs/SettingsApi.md#getgeneraluisettings) | **GET** /settings/ui | Get instance's global settings for ui
*UserApi* | [**CreateCurrentUserRepo**](docs/UserApi.md#createcurrentuserrepo) | **POST** /user/repos | Create a repository
*UserApi* | [**CreateUserVariable**](docs/UserApi.md#createuservariable) | **POST** /user/actions/variables/{variablename} | Create a user-level variable
*UserApi* | [**DeleteUserSecret**](docs/UserApi.md#deleteusersecret) | **DELETE** /user/actions/secrets/{secretname} | Delete a secret in a user scope
*UserApi* | [**DeleteUserVariable**](docs/UserApi.md#deleteuservariable) | **DELETE** /user/actions/variables/{variablename} | Delete a user-level variable which is created by current doer
*UserApi* | [**GetUserSettings**](docs/UserApi.md#getusersettings) | **GET** /user/settings | Get user settings
*UserApi* | [**GetUserVariable**](docs/UserApi.md#getuservariable) | **GET** /user/actions/variables/{variablename} | Get a user-level variable which is created by current doer
*UserApi* | [**GetUserVariablesList**](docs/UserApi.md#getuservariableslist) | **GET** /user/actions/variables | Get the user-level list of variables which is created by current doer
*UserApi* | [**GetVerificationToken**](docs/UserApi.md#getverificationtoken) | **GET** /user/gpg_key_token | Get a Token to verify
*UserApi* | [**UpdateUserSecret**](docs/UserApi.md#updateusersecret) | **PUT** /user/actions/secrets/{secretname} | Create or Update a secret value in a user scope
*UserApi* | [**UpdateUserSettings**](docs/UserApi.md#updateusersettings) | **PATCH** /user/settings | Update user settings
*UserApi* | [**UpdateUserVariable**](docs/UserApi.md#updateuservariable) | **PUT** /user/actions/variables/{variablename} | Update a user-level variable which is created by current doer
*UserApi* | [**UserAddEmail**](docs/UserApi.md#useraddemail) | **POST** /user/emails | Add email addresses
*UserApi* | [**UserBlockUser**](docs/UserApi.md#userblockuser) | **PUT** /user/blocks/{username} | Block a user
*UserApi* | [**UserCheckFollowing**](docs/UserApi.md#usercheckfollowing) | **GET** /users/{username}/following/{target} | Check if one user is following another user
*UserApi* | [**UserCheckUserBlock**](docs/UserApi.md#usercheckuserblock) | **GET** /user/blocks/{username} | Check if a user is blocked by the authenticated user
*UserApi* | [**UserCreateHook**](docs/UserApi.md#usercreatehook) | **POST** /user/hooks | Create a hook
*UserApi* | [**UserCreateOAuth2Application**](docs/UserApi.md#usercreateoauth2application) | **POST** /user/applications/oauth2 | creates a new OAuth2 application
*UserApi* | [**UserCreateToken**](docs/UserApi.md#usercreatetoken) | **POST** /users/{username}/tokens | Create an access token
*UserApi* | [**UserCurrentCheckFollowing**](docs/UserApi.md#usercurrentcheckfollowing) | **GET** /user/following/{username} | Check whether a user is followed by the authenticated user
*UserApi* | [**UserCurrentCheckStarring**](docs/UserApi.md#usercurrentcheckstarring) | **GET** /user/starred/{owner}/{repo} | Whether the authenticated is starring the repo
*UserApi* | [**UserCurrentDeleteFollow**](docs/UserApi.md#usercurrentdeletefollow) | **DELETE** /user/following/{username} | Unfollow a user
*UserApi* | [**UserCurrentDeleteGPGKey**](docs/UserApi.md#usercurrentdeletegpgkey) | **DELETE** /user/gpg_keys/{id} | Remove a GPG key
*UserApi* | [**UserCurrentDeleteKey**](docs/UserApi.md#usercurrentdeletekey) | **DELETE** /user/keys/{id} | Delete a public key
*UserApi* | [**UserCurrentDeleteStar**](docs/UserApi.md#usercurrentdeletestar) | **DELETE** /user/starred/{owner}/{repo} | Unstar the given repo
*UserApi* | [**UserCurrentGetGPGKey**](docs/UserApi.md#usercurrentgetgpgkey) | **GET** /user/gpg_keys/{id} | Get a GPG key
*UserApi* | [**UserCurrentGetKey**](docs/UserApi.md#usercurrentgetkey) | **GET** /user/keys/{id} | Get a public key
*UserApi* | [**UserCurrentListFollowers**](docs/UserApi.md#usercurrentlistfollowers) | **GET** /user/followers | List the authenticated user's followers
*UserApi* | [**UserCurrentListFollowing**](docs/UserApi.md#usercurrentlistfollowing) | **GET** /user/following | List the users that the authenticated user is following
*UserApi* | [**UserCurrentListGPGKeys**](docs/UserApi.md#usercurrentlistgpgkeys) | **GET** /user/gpg_keys | List the authenticated user's GPG keys
*UserApi* | [**UserCurrentListKeys**](docs/UserApi.md#usercurrentlistkeys) | **GET** /user/keys | List the authenticated user's public keys
*UserApi* | [**UserCurrentListRepos**](docs/UserApi.md#usercurrentlistrepos) | **GET** /user/repos | List the repos that the authenticated user owns
*UserApi* | [**UserCurrentListStarred**](docs/UserApi.md#usercurrentliststarred) | **GET** /user/starred | The repos that the authenticated user has starred
*UserApi* | [**UserCurrentListSubscriptions**](docs/UserApi.md#usercurrentlistsubscriptions) | **GET** /user/subscriptions | List repositories watched by the authenticated user
*UserApi* | [**UserCurrentPostGPGKey**](docs/UserApi.md#usercurrentpostgpgkey) | **POST** /user/gpg_keys | Create a GPG key
*UserApi* | [**UserCurrentPostKey**](docs/UserApi.md#usercurrentpostkey) | **POST** /user/keys | Create a public key
*UserApi* | [**UserCurrentPutFollow**](docs/UserApi.md#usercurrentputfollow) | **PUT** /user/following/{username} | Follow a user
*UserApi* | [**UserCurrentPutStar**](docs/UserApi.md#usercurrentputstar) | **PUT** /user/starred/{owner}/{repo} | Star the given repo
*UserApi* | [**UserCurrentTrackedTimes**](docs/UserApi.md#usercurrenttrackedtimes) | **GET** /user/times | List the current user's tracked times
*UserApi* | [**UserDeleteAccessToken**](docs/UserApi.md#userdeleteaccesstoken) | **DELETE** /users/{username}/tokens/{token} | delete an access token
*UserApi* | [**UserDeleteAvatar**](docs/UserApi.md#userdeleteavatar) | **DELETE** /user/avatar | Delete Avatar
*UserApi* | [**UserDeleteEmail**](docs/UserApi.md#userdeleteemail) | **DELETE** /user/emails | Delete email addresses
*UserApi* | [**UserDeleteHook**](docs/UserApi.md#userdeletehook) | **DELETE** /user/hooks/{id} | Delete a hook
*UserApi* | [**UserDeleteOAuth2Application**](docs/UserApi.md#userdeleteoauth2application) | **DELETE** /user/applications/oauth2/{id} | delete an OAuth2 Application
*UserApi* | [**UserEditHook**](docs/UserApi.md#useredithook) | **PATCH** /user/hooks/{id} | Update a hook
*UserApi* | [**UserGet**](docs/UserApi.md#userget) | **GET** /users/{username} | Get a user
*UserApi* | [**UserGetCurrent**](docs/UserApi.md#usergetcurrent) | **GET** /user | Get the authenticated user
*UserApi* | [**UserGetHeatmapData**](docs/UserApi.md#usergetheatmapdata) | **GET** /users/{username}/heatmap | Get a user's heatmap
*UserApi* | [**UserGetHook**](docs/UserApi.md#usergethook) | **GET** /user/hooks/{id} | Get a hook
*UserApi* | [**UserGetOAuth2Application**](docs/UserApi.md#usergetoauth2application) | **GET** /user/applications/oauth2/{id} | get an OAuth2 Application
*UserApi* | [**UserGetOauth2Application**](docs/UserApi.md#usergetoauth2application) | **GET** /user/applications/oauth2 | List the authenticated user's oauth2 applications
*UserApi* | [**UserGetRunnerRegistrationToken**](docs/UserApi.md#usergetrunnerregistrationtoken) | **GET** /user/actions/runners/registration-token | Get an user's actions runner registration token
*UserApi* | [**UserGetStopWatches**](docs/UserApi.md#usergetstopwatches) | **GET** /user/stopwatches | Get list of all existing stopwatches
*UserApi* | [**UserGetTokens**](docs/UserApi.md#usergettokens) | **GET** /users/{username}/tokens | List the authenticated user's access tokens
*UserApi* | [**UserListActivityFeeds**](docs/UserApi.md#userlistactivityfeeds) | **GET** /users/{username}/activities/feeds | List a user's activity feeds
*UserApi* | [**UserListBlocks**](docs/UserApi.md#userlistblocks) | **GET** /user/blocks | List users blocked by the authenticated user
*UserApi* | [**UserListEmails**](docs/UserApi.md#userlistemails) | **GET** /user/emails | List the authenticated user's email addresses
*UserApi* | [**UserListFollowers**](docs/UserApi.md#userlistfollowers) | **GET** /users/{username}/followers | List the given user's followers
*UserApi* | [**UserListFollowing**](docs/UserApi.md#userlistfollowing) | **GET** /users/{username}/following | List the users that the given user is following
*UserApi* | [**UserListGPGKeys**](docs/UserApi.md#userlistgpgkeys) | **GET** /users/{username}/gpg_keys | List the given user's GPG keys
*UserApi* | [**UserListHooks**](docs/UserApi.md#userlisthooks) | **GET** /user/hooks | List the authenticated user's webhooks
*UserApi* | [**UserListKeys**](docs/UserApi.md#userlistkeys) | **GET** /users/{username}/keys | List the given user's public keys
*UserApi* | [**UserListRepos**](docs/UserApi.md#userlistrepos) | **GET** /users/{username}/repos | List the repos owned by the given user
*UserApi* | [**UserListStarred**](docs/UserApi.md#userliststarred) | **GET** /users/{username}/starred | The repos that the given user has starred
*UserApi* | [**UserListSubscriptions**](docs/UserApi.md#userlistsubscriptions) | **GET** /users/{username}/subscriptions | List the repositories watched by a user
*UserApi* | [**UserListTeams**](docs/UserApi.md#userlistteams) | **GET** /user/teams | List all the teams a user belongs to
*UserApi* | [**UserSearch**](docs/UserApi.md#usersearch) | **GET** /users/search | Search for users
*UserApi* | [**UserUnblockUser**](docs/UserApi.md#userunblockuser) | **DELETE** /user/blocks/{username} | Unblock a user
*UserApi* | [**UserUpdateAvatar**](docs/UserApi.md#userupdateavatar) | **POST** /user/avatar | Update Avatar
*UserApi* | [**UserUpdateOAuth2Application**](docs/UserApi.md#userupdateoauth2application) | **PATCH** /user/applications/oauth2/{id} | update an OAuth2 Application, this includes regenerating the client secret
*UserApi* | [**UserVerifyGPGKey**](docs/UserApi.md#userverifygpgkey) | **POST** /user/gpg_key_verify | Verify a GPG key
## Documentation for Models
- [Model.APIError](docs/APIError.md)
- [Model.AccessToken](docs/AccessToken.md)
- [Model.ActionVariable](docs/ActionVariable.md)
- [Model.Activity](docs/Activity.md)
- [Model.ActivityPub](docs/ActivityPub.md)
- [Model.AddCollaboratorOption](docs/AddCollaboratorOption.md)
- [Model.AddTimeOption](docs/AddTimeOption.md)
- [Model.AnnotatedTag](docs/AnnotatedTag.md)
- [Model.AnnotatedTagObject](docs/AnnotatedTagObject.md)
- [Model.Attachment](docs/Attachment.md)
- [Model.Badge](docs/Badge.md)
- [Model.Branch](docs/Branch.md)
- [Model.BranchProtection](docs/BranchProtection.md)
- [Model.ChangeFileOperation](docs/ChangeFileOperation.md)
- [Model.ChangeFilesOptions](docs/ChangeFilesOptions.md)
- [Model.ChangedFile](docs/ChangedFile.md)
- [Model.CombinedStatus](docs/CombinedStatus.md)
- [Model.Comment](docs/Comment.md)
- [Model.Commit](docs/Commit.md)
- [Model.CommitAffectedFiles](docs/CommitAffectedFiles.md)
- [Model.CommitDateOptions](docs/CommitDateOptions.md)
- [Model.CommitMeta](docs/CommitMeta.md)
- [Model.CommitStats](docs/CommitStats.md)
- [Model.CommitStatus](docs/CommitStatus.md)
- [Model.CommitUser](docs/CommitUser.md)
- [Model.Compare](docs/Compare.md)
- [Model.ContentsResponse](docs/ContentsResponse.md)
- [Model.CreateAccessTokenOption](docs/CreateAccessTokenOption.md)
- [Model.CreateBranchProtectionOption](docs/CreateBranchProtectionOption.md)
- [Model.CreateBranchRepoOption](docs/CreateBranchRepoOption.md)
- [Model.CreateEmailOption](docs/CreateEmailOption.md)
- [Model.CreateFileOptions](docs/CreateFileOptions.md)
- [Model.CreateForkOption](docs/CreateForkOption.md)
- [Model.CreateGPGKeyOption](docs/CreateGPGKeyOption.md)
- [Model.CreateHookOption](docs/CreateHookOption.md)
- [Model.CreateIssueCommentOption](docs/CreateIssueCommentOption.md)
- [Model.CreateIssueOption](docs/CreateIssueOption.md)
- [Model.CreateKeyOption](docs/CreateKeyOption.md)
- [Model.CreateLabelOption](docs/CreateLabelOption.md)
- [Model.CreateMilestoneOption](docs/CreateMilestoneOption.md)
- [Model.CreateOAuth2ApplicationOptions](docs/CreateOAuth2ApplicationOptions.md)
- [Model.CreateOrUpdateSecretOption](docs/CreateOrUpdateSecretOption.md)
- [Model.CreateOrgOption](docs/CreateOrgOption.md)
- [Model.CreatePullRequestOption](docs/CreatePullRequestOption.md)
- [Model.CreatePullReviewComment](docs/CreatePullReviewComment.md)
- [Model.CreatePullReviewOptions](docs/CreatePullReviewOptions.md)
- [Model.CreatePushMirrorOption](docs/CreatePushMirrorOption.md)
- [Model.CreateReleaseOption](docs/CreateReleaseOption.md)
- [Model.CreateRepoOption](docs/CreateRepoOption.md)
- [Model.CreateStatusOption](docs/CreateStatusOption.md)
- [Model.CreateTagOption](docs/CreateTagOption.md)
- [Model.CreateTeamOption](docs/CreateTeamOption.md)
- [Model.CreateUserOption](docs/CreateUserOption.md)
- [Model.CreateVariableOption](docs/CreateVariableOption.md)
- [Model.CreateWikiPageOptions](docs/CreateWikiPageOptions.md)
- [Model.Cron](docs/Cron.md)
- [Model.DeleteEmailOption](docs/DeleteEmailOption.md)
- [Model.DeleteFileOptions](docs/DeleteFileOptions.md)
- [Model.DeployKey](docs/DeployKey.md)
- [Model.DismissPullReviewOptions](docs/DismissPullReviewOptions.md)
- [Model.EditAttachmentOptions](docs/EditAttachmentOptions.md)
- [Model.EditBranchProtectionOption](docs/EditBranchProtectionOption.md)
- [Model.EditDeadlineOption](docs/EditDeadlineOption.md)
- [Model.EditGitHookOption](docs/EditGitHookOption.md)
- [Model.EditHookOption](docs/EditHookOption.md)
- [Model.EditIssueCommentOption](docs/EditIssueCommentOption.md)
- [Model.EditIssueOption](docs/EditIssueOption.md)
- [Model.EditLabelOption](docs/EditLabelOption.md)
- [Model.EditMilestoneOption](docs/EditMilestoneOption.md)
- [Model.EditOrgOption](docs/EditOrgOption.md)
- [Model.EditPullRequestOption](docs/EditPullRequestOption.md)
- [Model.EditReactionOption](docs/EditReactionOption.md)
- [Model.EditReleaseOption](docs/EditReleaseOption.md)
- [Model.EditRepoOption](docs/EditRepoOption.md)
- [Model.EditTeamOption](docs/EditTeamOption.md)
- [Model.EditUserOption](docs/EditUserOption.md)
- [Model.Email](docs/Email.md)
- [Model.ExternalTracker](docs/ExternalTracker.md)
- [Model.ExternalWiki](docs/ExternalWiki.md)
- [Model.FileCommitResponse](docs/FileCommitResponse.md)
- [Model.FileDeleteResponse](docs/FileDeleteResponse.md)
- [Model.FileLinksResponse](docs/FileLinksResponse.md)
- [Model.FileResponse](docs/FileResponse.md)
- [Model.FilesResponse](docs/FilesResponse.md)
- [Model.GPGKey](docs/GPGKey.md)
- [Model.GPGKeyEmail](docs/GPGKeyEmail.md)
- [Model.GeneralAPISettings](docs/GeneralAPISettings.md)
- [Model.GeneralAttachmentSettings](docs/GeneralAttachmentSettings.md)
- [Model.GeneralRepoSettings](docs/GeneralRepoSettings.md)
- [Model.GeneralUISettings](docs/GeneralUISettings.md)
- [Model.GenerateRepoOption](docs/GenerateRepoOption.md)
- [Model.GitBlobResponse](docs/GitBlobResponse.md)
- [Model.GitEntry](docs/GitEntry.md)
- [Model.GitHook](docs/GitHook.md)
- [Model.GitObject](docs/GitObject.md)
- [Model.GitTreeResponse](docs/GitTreeResponse.md)
- [Model.GitignoreTemplateInfo](docs/GitignoreTemplateInfo.md)
- [Model.Hook](docs/Hook.md)
- [Model.Identity](docs/Identity.md)
- [Model.InternalTracker](docs/InternalTracker.md)
- [Model.Issue](docs/Issue.md)
- [Model.IssueConfig](docs/IssueConfig.md)
- [Model.IssueConfigContactLink](docs/IssueConfigContactLink.md)
- [Model.IssueConfigValidation](docs/IssueConfigValidation.md)
- [Model.IssueDeadline](docs/IssueDeadline.md)
- [Model.IssueFormField](docs/IssueFormField.md)
- [Model.IssueLabelsOption](docs/IssueLabelsOption.md)
- [Model.IssueMeta](docs/IssueMeta.md)
- [Model.IssueTemplate](docs/IssueTemplate.md)
- [Model.Label](docs/Label.md)
- [Model.LabelTemplate](docs/LabelTemplate.md)
- [Model.LicenseTemplateInfo](docs/LicenseTemplateInfo.md)
- [Model.LicensesTemplateListEntry](docs/LicensesTemplateListEntry.md)
- [Model.MarkdownOption](docs/MarkdownOption.md)
- [Model.MarkupOption](docs/MarkupOption.md)
- [Model.MergePullRequestOption](docs/MergePullRequestOption.md)
- [Model.MigrateRepoOptions](docs/MigrateRepoOptions.md)
- [Model.Milestone](docs/Milestone.md)
- [Model.NewIssuePinsAllowed](docs/NewIssuePinsAllowed.md)
- [Model.NodeInfo](docs/NodeInfo.md)
- [Model.NodeInfoServices](docs/NodeInfoServices.md)
- [Model.NodeInfoSoftware](docs/NodeInfoSoftware.md)
- [Model.NodeInfoUsage](docs/NodeInfoUsage.md)
- [Model.NodeInfoUsageUsers](docs/NodeInfoUsageUsers.md)
- [Model.Note](docs/Note.md)
- [Model.NotificationCount](docs/NotificationCount.md)
- [Model.NotificationSubject](docs/NotificationSubject.md)
- [Model.NotificationThread](docs/NotificationThread.md)
- [Model.OAuth2Application](docs/OAuth2Application.md)
- [Model.Organization](docs/Organization.md)
- [Model.OrganizationPermissions](docs/OrganizationPermissions.md)
- [Model.PRBranchInfo](docs/PRBranchInfo.md)
- [Model.Package](docs/Package.md)
- [Model.PackageFile](docs/PackageFile.md)
- [Model.PayloadCommit](docs/PayloadCommit.md)
- [Model.PayloadCommitVerification](docs/PayloadCommitVerification.md)
- [Model.PayloadUser](docs/PayloadUser.md)
- [Model.Permission](docs/Permission.md)
- [Model.PublicKey](docs/PublicKey.md)
- [Model.PullRequest](docs/PullRequest.md)
- [Model.PullRequestMeta](docs/PullRequestMeta.md)
- [Model.PullReview](docs/PullReview.md)
- [Model.PullReviewComment](docs/PullReviewComment.md)
- [Model.PullReviewRequestOptions](docs/PullReviewRequestOptions.md)
- [Model.PushMirror](docs/PushMirror.md)
- [Model.Reaction](docs/Reaction.md)
- [Model.Reference](docs/Reference.md)
- [Model.Release](docs/Release.md)
- [Model.RenameUserOption](docs/RenameUserOption.md)
- [Model.RepoCollaboratorPermission](docs/RepoCollaboratorPermission.md)
- [Model.RepoCommit](docs/RepoCommit.md)
- [Model.RepoCreateReleaseAttachmentRequest](docs/RepoCreateReleaseAttachmentRequest.md)
- [Model.RepoTopicOptions](docs/RepoTopicOptions.md)
- [Model.RepoTransfer](docs/RepoTransfer.md)
- [Model.Repository](docs/Repository.md)
- [Model.RepositoryMeta](docs/RepositoryMeta.md)
- [Model.SearchResults](docs/SearchResults.md)
- [Model.Secret](docs/Secret.md)
- [Model.ServerVersion](docs/ServerVersion.md)
- [Model.StopWatch](docs/StopWatch.md)
- [Model.SubmitPullReviewOptions](docs/SubmitPullReviewOptions.md)
- [Model.Tag](docs/Tag.md)
- [Model.Team](docs/Team.md)
- [Model.TeamSearch200Response](docs/TeamSearch200Response.md)
- [Model.TimelineComment](docs/TimelineComment.md)
- [Model.TopicName](docs/TopicName.md)
- [Model.TopicResponse](docs/TopicResponse.md)
- [Model.TrackedTime](docs/TrackedTime.md)
- [Model.TransferRepoOption](docs/TransferRepoOption.md)
- [Model.UpdateFileOptions](docs/UpdateFileOptions.md)
- [Model.UpdateRepoAvatarOption](docs/UpdateRepoAvatarOption.md)
- [Model.UpdateUserAvatarOption](docs/UpdateUserAvatarOption.md)
- [Model.UpdateVariableOption](docs/UpdateVariableOption.md)
- [Model.User](docs/User.md)
- [Model.UserBadgeOption](docs/UserBadgeOption.md)
- [Model.UserHeatmapData](docs/UserHeatmapData.md)
- [Model.UserSearch200Response](docs/UserSearch200Response.md)
- [Model.UserSettings](docs/UserSettings.md)
- [Model.UserSettingsOptions](docs/UserSettingsOptions.md)
- [Model.WatchInfo](docs/WatchInfo.md)
- [Model.WikiCommit](docs/WikiCommit.md)
- [Model.WikiCommitList](docs/WikiCommitList.md)
- [Model.WikiPage](docs/WikiPage.md)
- [Model.WikiPageMetaData](docs/WikiPageMetaData.md)
## Documentation for Authorization
Authentication schemes defined for the API:
### AccessToken
- **Type**: API key
- **API key parameter name**: access_token
- **Location**: URL query string
### AuthorizationHeaderToken
- **Type**: API key
- **API key parameter name**: Authorization
- **Location**: HTTP header
### BasicAuth
- **Type**: HTTP basic authentication
### SudoHeader
- **Type**: API key
- **API key parameter name**: Sudo
- **Location**: HTTP header
### SudoParam
- **Type**: API key
- **API key parameter name**: sudo
- **Location**: URL query string
### TOTPHeader
- **Type**: API key
- **API key parameter name**: X-GITEA-OTP
- **Location**: HTTP header
### Token
- **Type**: API key
- **API key parameter name**: token
- **Location**: URL query string