Gitea.Net.API
1.0.0
CVE-2024-30105
See the version list below for details.
dotnet add package Gitea.Net.API --version 1.0.0
NuGet\Install-Package Gitea.Net.API -Version 1.0.0
<PackageReference Include="Gitea.Net.API" Version="1.0.0" />
<PackageVersion Include="Gitea.Net.API" Version="1.0.0" />
<PackageReference Include="Gitea.Net.API" />
paket add Gitea.Net.API --version 1.0.0
#r "nuget: Gitea.Net.API, 1.0.0"
#addin nuget:?package=Gitea.Net.API&version=1.0.0
#tool nuget:?package=Gitea.Net.API&version=1.0.0
Gitea.Net.API - the C# library for the Gitea API
This documentation describes the Gitea API.
This C# SDK is automatically generated by the OpenAPI Generator project:
- API version: 1.22.0
- SDK version: 1.0.0
- Generator version: 7.6.0
- Build package: org.openapitools.codegen.languages.CSharpClientCodegen
<a id="frameworks-supported"></a>
Frameworks supported
<a id="dependencies"></a>
Dependencies
- RestSharp - 106.13.0 or later
- Json.NET - 13.0.2 or later
- JsonSubTypes - 1.8.0 or later
- System.ComponentModel.Annotations - 5.0.0 or later
The DLLs included in the package may not be the latest version. We recommend using 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. NOTE: RestSharp for .Net Core creates a new socket for each api call, which can lead to a socket exhaustion problem. See RestSharp#1406.
<a id="installation"></a>
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:
using Gitea.Net.Api;
using Gitea.Net.Client;
using Gitea.Net.Model;
<a id="packaging"></a>
Packaging
A .nuspec
is included with the project. You can follow the Nuget quickstart to create and publish 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 or other host and consume the new package via Nuget as usual.
<a id="usage"></a>
Usage
To use the API client with a HTTP proxy, setup a System.Net.WebProxy
Configuration c = new Configuration();
System.Net.WebProxy webProxy = new System.Net.WebProxy("http://myProxyUrl:80/");
webProxy.Credentials = System.Net.CredentialCache.DefaultCredentials;
c.Proxy = webProxy;
<a id="getting-started"></a>
Getting Started
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);
}
}
}
}
<a id="documentation-for-api-endpoints"></a>
Documentation for API Endpoints
All URIs are relative to /api/v1
Class | Method | HTTP request | Description |
---|---|---|---|
ActivitypubApi | ActivitypubPerson | GET /activitypub/user-id/{user-id} | Returns the Person actor for a user |
ActivitypubApi | ActivitypubPersonInbox | POST /activitypub/user-id/{user-id}/inbox | Send to the inbox |
AdminApi | AdminAddUserBadges | POST /admin/users/{username}/badges | Add a badge to a user |
AdminApi | AdminAdoptRepository | POST /admin/unadopted/{owner}/{repo} | Adopt unadopted files as a repository |
AdminApi | AdminCreateHook | POST /admin/hooks | Create a hook |
AdminApi | AdminCreateOrg | POST /admin/users/{username}/orgs | Create an organization |
AdminApi | AdminCreatePublicKey | POST /admin/users/{username}/keys | Add a public key on behalf of a user |
AdminApi | AdminCreateRepo | POST /admin/users/{username}/repos | Create a repository on behalf of a user |
AdminApi | AdminCreateUser | POST /admin/users | Create a user |
AdminApi | AdminCronList | GET /admin/cron | List cron tasks |
AdminApi | AdminCronRun | POST /admin/cron/{task} | Run cron task |
AdminApi | AdminDeleteHook | DELETE /admin/hooks/{id} | Delete a hook |
AdminApi | AdminDeleteUnadoptedRepository | DELETE /admin/unadopted/{owner}/{repo} | Delete unadopted files |
AdminApi | AdminDeleteUser | DELETE /admin/users/{username} | Delete a user |
AdminApi | AdminDeleteUserBadges | DELETE /admin/users/{username}/badges | Remove a badge from a user |
AdminApi | AdminDeleteUserPublicKey | DELETE /admin/users/{username}/keys/{id} | Delete a user's public key |
AdminApi | AdminEditHook | PATCH /admin/hooks/{id} | Update a hook |
AdminApi | AdminEditUser | PATCH /admin/users/{username} | Edit an existing user |
AdminApi | AdminGetAllEmails | GET /admin/emails | List all emails |
AdminApi | AdminGetAllOrgs | GET /admin/orgs | List all organizations |
AdminApi | AdminGetHook | GET /admin/hooks/{id} | Get a hook |
AdminApi | AdminGetRunnerRegistrationToken | GET /admin/runners/registration-token | Get an global actions runner registration token |
AdminApi | AdminListHooks | GET /admin/hooks | List system's webhooks |
AdminApi | AdminListUserBadges | GET /admin/users/{username}/badges | List a user's badges |
AdminApi | AdminRenameUser | POST /admin/users/{username}/rename | Rename a user |
AdminApi | AdminSearchEmails | GET /admin/emails/search | Search all emails |
AdminApi | AdminSearchUsers | GET /admin/users | Search users according filter conditions |
AdminApi | AdminUnadoptedList | GET /admin/unadopted | List unadopted repositories |
IssueApi | IssueAddLabel | POST /repos/{owner}/{repo}/issues/{index}/labels | Add a label to an issue |
IssueApi | IssueAddSubscription | PUT /repos/{owner}/{repo}/issues/{index}/subscriptions/{user} | Subscribe user to issue |
IssueApi | IssueAddTime | POST /repos/{owner}/{repo}/issues/{index}/times | Add tracked time to a issue |
IssueApi | IssueCheckSubscription | GET /repos/{owner}/{repo}/issues/{index}/subscriptions/check | Check if user is subscribed to an issue |
IssueApi | IssueClearLabels | DELETE /repos/{owner}/{repo}/issues/{index}/labels | Remove all labels from an issue |
IssueApi | IssueCreateComment | POST /repos/{owner}/{repo}/issues/{index}/comments | Add a comment to an issue |
IssueApi | 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 | POST /repos/{owner}/{repo}/issues/{index}/assets | Create an issue attachment |
IssueApi | IssueCreateIssueBlocking | POST /repos/{owner}/{repo}/issues/{index}/blocks | Block the issue given in the body by the issue in path |
IssueApi | IssueCreateIssueCommentAttachment | POST /repos/{owner}/{repo}/issues/comments/{id}/assets | Create a comment attachment |
IssueApi | IssueCreateIssueDependencies | POST /repos/{owner}/{repo}/issues/{index}/dependencies | Make the issue in the url depend on the issue in the form. |
IssueApi | IssueCreateLabel | POST /repos/{owner}/{repo}/labels | Create a label |
IssueApi | IssueCreateMilestone | POST /repos/{owner}/{repo}/milestones | Create a milestone |
IssueApi | IssueDelete | DELETE /repos/{owner}/{repo}/issues/{index} | Delete an issue |
IssueApi | IssueDeleteComment | DELETE /repos/{owner}/{repo}/issues/comments/{id} | Delete a comment |
IssueApi | IssueDeleteCommentDeprecated | DELETE /repos/{owner}/{repo}/issues/{index}/comments/{id} | Delete a comment |
IssueApi | IssueDeleteCommentReaction | DELETE /repos/{owner}/{repo}/issues/comments/{id}/reactions | Remove a reaction from a comment of an issue |
IssueApi | IssueDeleteIssueAttachment | DELETE /repos/{owner}/{repo}/issues/{index}/assets/{attachment_id} | Delete an issue attachment |
IssueApi | IssueDeleteIssueCommentAttachment | DELETE /repos/{owner}/{repo}/issues/comments/{id}/assets/{attachment_id} | Delete a comment attachment |
IssueApi | IssueDeleteIssueReaction | DELETE /repos/{owner}/{repo}/issues/{index}/reactions | Remove a reaction from an issue |
IssueApi | IssueDeleteLabel | DELETE /repos/{owner}/{repo}/labels/{id} | Delete a label |
IssueApi | IssueDeleteMilestone | DELETE /repos/{owner}/{repo}/milestones/{id} | Delete a milestone |
IssueApi | IssueDeleteStopWatch | DELETE /repos/{owner}/{repo}/issues/{index}/stopwatch/delete | Delete an issue's existing stopwatch. |
IssueApi | IssueDeleteSubscription | DELETE /repos/{owner}/{repo}/issues/{index}/subscriptions/{user} | Unsubscribe user from issue |
IssueApi | IssueDeleteTime | DELETE /repos/{owner}/{repo}/issues/{index}/times/{id} | Delete specific tracked time |
IssueApi | IssueEditComment | PATCH /repos/{owner}/{repo}/issues/comments/{id} | Edit a comment |
IssueApi | IssueEditCommentDeprecated | PATCH /repos/{owner}/{repo}/issues/{index}/comments/{id} | Edit a comment |
IssueApi | 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 | PATCH /repos/{owner}/{repo}/issues/{index}/assets/{attachment_id} | Edit an issue attachment |
IssueApi | IssueEditIssueCommentAttachment | PATCH /repos/{owner}/{repo}/issues/comments/{id}/assets/{attachment_id} | Edit a comment attachment |
IssueApi | 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 | PATCH /repos/{owner}/{repo}/labels/{id} | Update a label |
IssueApi | IssueEditMilestone | PATCH /repos/{owner}/{repo}/milestones/{id} | Update a milestone |
IssueApi | IssueGetComment | GET /repos/{owner}/{repo}/issues/comments/{id} | Get a comment |
IssueApi | IssueGetCommentReactions | GET /repos/{owner}/{repo}/issues/comments/{id}/reactions | Get a list of reactions from a comment of an issue |
IssueApi | IssueGetComments | GET /repos/{owner}/{repo}/issues/{index}/comments | List all comments on an issue |
IssueApi | IssueGetCommentsAndTimeline | GET /repos/{owner}/{repo}/issues/{index}/timeline | List all comments and events on an issue |
IssueApi | IssueGetIssue | GET /repos/{owner}/{repo}/issues/{index} | Get an issue |
IssueApi | IssueGetIssueAttachment | GET /repos/{owner}/{repo}/issues/{index}/assets/{attachment_id} | Get an issue attachment |
IssueApi | IssueGetIssueCommentAttachment | GET /repos/{owner}/{repo}/issues/comments/{id}/assets/{attachment_id} | Get a comment attachment |
IssueApi | IssueGetIssueReactions | GET /repos/{owner}/{repo}/issues/{index}/reactions | Get a list reactions of an issue |
IssueApi | IssueGetLabel | GET /repos/{owner}/{repo}/labels/{id} | Get a single label |
IssueApi | IssueGetLabels | GET /repos/{owner}/{repo}/issues/{index}/labels | Get an issue's labels |
IssueApi | IssueGetMilestone | GET /repos/{owner}/{repo}/milestones/{id} | Get a milestone |
IssueApi | IssueGetMilestonesList | GET /repos/{owner}/{repo}/milestones | Get all of a repository's opened milestones |
IssueApi | IssueGetRepoComments | GET /repos/{owner}/{repo}/issues/comments | List all comments in a repository |
IssueApi | IssueListBlocks | GET /repos/{owner}/{repo}/issues/{index}/blocks | List issues that are blocked by this issue |
IssueApi | IssueListIssueAttachments | GET /repos/{owner}/{repo}/issues/{index}/assets | List issue's attachments |
IssueApi | IssueListIssueCommentAttachments | GET /repos/{owner}/{repo}/issues/comments/{id}/assets | List comment's attachments |
IssueApi | IssueListIssueDependencies | GET /repos/{owner}/{repo}/issues/{index}/dependencies | List an issue's dependencies, i.e all issues that block this issue. |
IssueApi | IssueListIssues | GET /repos/{owner}/{repo}/issues | List a repository's issues |
IssueApi | IssueListLabels | GET /repos/{owner}/{repo}/labels | Get all of a repository's labels |
IssueApi | IssuePostCommentReaction | POST /repos/{owner}/{repo}/issues/comments/{id}/reactions | Add a reaction to a comment of an issue |
IssueApi | IssuePostIssueReaction | POST /repos/{owner}/{repo}/issues/{index}/reactions | Add a reaction to an issue |
IssueApi | IssueRemoveIssueBlocking | DELETE /repos/{owner}/{repo}/issues/{index}/blocks | Unblock the issue given in the body by the issue in path |
IssueApi | IssueRemoveIssueDependencies | DELETE /repos/{owner}/{repo}/issues/{index}/dependencies | Remove an issue dependency |
IssueApi | IssueRemoveLabel | DELETE /repos/{owner}/{repo}/issues/{index}/labels/{id} | Remove a label from an issue |
IssueApi | IssueReplaceLabels | PUT /repos/{owner}/{repo}/issues/{index}/labels | Replace an issue's labels |
IssueApi | IssueResetTime | DELETE /repos/{owner}/{repo}/issues/{index}/times | Reset a tracked time of an issue |
IssueApi | IssueSearchIssues | GET /repos/issues/search | Search for issues across the repositories that the user has access to |
IssueApi | IssueStartStopWatch | POST /repos/{owner}/{repo}/issues/{index}/stopwatch/start | Start stopwatch on an issue. |
IssueApi | IssueStopStopWatch | POST /repos/{owner}/{repo}/issues/{index}/stopwatch/stop | Stop an issue's existing stopwatch. |
IssueApi | IssueSubscriptions | GET /repos/{owner}/{repo}/issues/{index}/subscriptions | Get users who subscribed on an issue. |
IssueApi | IssueTrackedTimes | GET /repos/{owner}/{repo}/issues/{index}/times | List an issue's tracked times |
IssueApi | MoveIssuePin | PATCH /repos/{owner}/{repo}/issues/{index}/pin/{position} | Moves the Pin to the given Position |
IssueApi | PinIssue | POST /repos/{owner}/{repo}/issues/{index}/pin | Pin an Issue |
IssueApi | UnpinIssue | DELETE /repos/{owner}/{repo}/issues/{index}/pin | Unpin an Issue |
MiscellaneousApi | GetGitignoreTemplateInfo | GET /gitignore/templates/{name} | Returns information about a gitignore template |
MiscellaneousApi | GetLabelTemplateInfo | GET /label/templates/{name} | Returns all labels in a template |
MiscellaneousApi | GetLicenseTemplateInfo | GET /licenses/{name} | Returns information about a license template |
MiscellaneousApi | GetNodeInfo | GET /nodeinfo | Returns the nodeinfo of the Gitea application |
MiscellaneousApi | GetSigningKey | GET /signing-key.gpg | Get default signing-key.gpg |
MiscellaneousApi | GetVersion | GET /version | Returns the version of the Gitea application |
MiscellaneousApi | ListGitignoresTemplates | GET /gitignore/templates | Returns a list of all gitignore templates |
MiscellaneousApi | ListLabelTemplates | GET /label/templates | Returns a list of all label templates |
MiscellaneousApi | ListLicenseTemplates | GET /licenses | Returns a list of all license templates |
MiscellaneousApi | RenderMarkdown | POST /markdown | Render a markdown document as HTML |
MiscellaneousApi | RenderMarkdownRaw | POST /markdown/raw | Render raw markdown as HTML |
MiscellaneousApi | RenderMarkup | POST /markup | Render a markup document as HTML |
NotificationApi | NotifyGetList | GET /notifications | List users's notification threads |
NotificationApi | NotifyGetRepoList | GET /repos/{owner}/{repo}/notifications | List users's notification threads on a specific repo |
NotificationApi | NotifyGetThread | GET /notifications/threads/{id} | Get notification thread by ID |
NotificationApi | NotifyNewAvailable | GET /notifications/new | Check if unread notifications exist |
NotificationApi | NotifyReadList | PUT /notifications | Mark notification threads as read, pinned or unread |
NotificationApi | NotifyReadRepoList | PUT /repos/{owner}/{repo}/notifications | Mark notification threads as read, pinned or unread on a specific repo |
NotificationApi | NotifyReadThread | PATCH /notifications/threads/{id} | Mark notification thread as read by ID |
OrganizationApi | CreateOrgRepo | POST /orgs/{org}/repos | Create a repository in an organization |
OrganizationApi | CreateOrgRepoDeprecated | POST /org/{org}/repos | Create a repository in an organization |
OrganizationApi | CreateOrgVariable | POST /orgs/{org}/actions/variables/{variablename} | Create an org-level variable |
OrganizationApi | DeleteOrgSecret | DELETE /orgs/{org}/actions/secrets/{secretname} | Delete a secret in an organization |
OrganizationApi | DeleteOrgVariable | DELETE /orgs/{org}/actions/variables/{variablename} | Delete an org-level variable |
OrganizationApi | GetOrgVariable | GET /orgs/{org}/actions/variables/{variablename} | Get an org-level variable |
OrganizationApi | GetOrgVariablesList | GET /orgs/{org}/actions/variables | Get an org-level variables list |
OrganizationApi | OrgAddTeamMember | PUT /teams/{id}/members/{username} | Add a team member |
OrganizationApi | OrgAddTeamRepository | PUT /teams/{id}/repos/{org}/{repo} | Add a repository to a team |
OrganizationApi | OrgConcealMember | DELETE /orgs/{org}/public_members/{username} | Conceal a user's membership |
OrganizationApi | OrgCreate | POST /orgs | Create an organization |
OrganizationApi | OrgCreateHook | POST /orgs/{org}/hooks | Create a hook |
OrganizationApi | OrgCreateLabel | POST /orgs/{org}/labels | Create a label for an organization |
OrganizationApi | OrgCreateTeam | POST /orgs/{org}/teams | Create a team |
OrganizationApi | OrgDelete | DELETE /orgs/{org} | Delete an organization |
OrganizationApi | OrgDeleteAvatar | DELETE /orgs/{org}/avatar | Delete Avatar |
OrganizationApi | OrgDeleteHook | DELETE /orgs/{org}/hooks/{id} | Delete a hook |
OrganizationApi | OrgDeleteLabel | DELETE /orgs/{org}/labels/{id} | Delete a label |
OrganizationApi | OrgDeleteMember | DELETE /orgs/{org}/members/{username} | Remove a member from an organization |
OrganizationApi | OrgDeleteTeam | DELETE /teams/{id} | Delete a team |
OrganizationApi | OrgEdit | PATCH /orgs/{org} | Edit an organization |
OrganizationApi | OrgEditHook | PATCH /orgs/{org}/hooks/{id} | Update a hook |
OrganizationApi | OrgEditLabel | PATCH /orgs/{org}/labels/{id} | Update a label |
OrganizationApi | OrgEditTeam | PATCH /teams/{id} | Edit a team |
OrganizationApi | OrgGet | GET /orgs/{org} | Get an organization |
OrganizationApi | OrgGetAll | GET /orgs | Get list of organizations |
OrganizationApi | OrgGetHook | GET /orgs/{org}/hooks/{id} | Get a hook |
OrganizationApi | OrgGetLabel | GET /orgs/{org}/labels/{id} | Get a single label |
OrganizationApi | OrgGetRunnerRegistrationToken | GET /orgs/{org}/actions/runners/registration-token | Get an organization's actions runner registration token |
OrganizationApi | OrgGetTeam | GET /teams/{id} | Get a team |
OrganizationApi | OrgGetUserPermissions | GET /users/{username}/orgs/{org}/permissions | Get user permissions in organization |
OrganizationApi | OrgIsMember | GET /orgs/{org}/members/{username} | Check if a user is a member of an organization |
OrganizationApi | OrgIsPublicMember | GET /orgs/{org}/public_members/{username} | Check if a user is a public member of an organization |
OrganizationApi | OrgListActionsSecrets | GET /orgs/{org}/actions/secrets | List an organization's actions secrets |
OrganizationApi | OrgListActivityFeeds | GET /orgs/{org}/activities/feeds | List an organization's activity feeds |
OrganizationApi | OrgListCurrentUserOrgs | GET /user/orgs | List the current user's organizations |
OrganizationApi | OrgListHooks | GET /orgs/{org}/hooks | List an organization's webhooks |
OrganizationApi | OrgListLabels | GET /orgs/{org}/labels | List an organization's labels |
OrganizationApi | OrgListMembers | GET /orgs/{org}/members | List an organization's members |
OrganizationApi | OrgListPublicMembers | GET /orgs/{org}/public_members | List an organization's public members |
OrganizationApi | OrgListRepos | GET /orgs/{org}/repos | List an organization's repos |
OrganizationApi | OrgListTeamActivityFeeds | GET /teams/{id}/activities/feeds | List a team's activity feeds |
OrganizationApi | OrgListTeamMember | GET /teams/{id}/members/{username} | List a particular member of team |
OrganizationApi | OrgListTeamMembers | GET /teams/{id}/members | List a team's members |
OrganizationApi | OrgListTeamRepo | GET /teams/{id}/repos/{org}/{repo} | List a particular repo of team |
OrganizationApi | OrgListTeamRepos | GET /teams/{id}/repos | List a team's repos |
OrganizationApi | OrgListTeams | GET /orgs/{org}/teams | List an organization's teams |
OrganizationApi | OrgListUserOrgs | GET /users/{username}/orgs | List a user's organizations |
OrganizationApi | OrgPublicizeMember | PUT /orgs/{org}/public_members/{username} | Publicize a user's membership |
OrganizationApi | OrgRemoveTeamMember | DELETE /teams/{id}/members/{username} | Remove a team member |
OrganizationApi | OrgRemoveTeamRepository | DELETE /teams/{id}/repos/{org}/{repo} | Remove a repository from a team |
OrganizationApi | OrgUpdateAvatar | POST /orgs/{org}/avatar | Update Avatar |
OrganizationApi | OrganizationBlockUser | PUT /orgs/{org}/blocks/{username} | Block a user |
OrganizationApi | OrganizationCheckUserBlock | GET /orgs/{org}/blocks/{username} | Check if a user is blocked by the organization |
OrganizationApi | OrganizationListBlocks | GET /orgs/{org}/blocks | List users blocked by the organization |
OrganizationApi | OrganizationUnblockUser | DELETE /orgs/{org}/blocks/{username} | Unblock a user |
OrganizationApi | TeamSearch | GET /orgs/{org}/teams/search | Search for teams within an organization |
OrganizationApi | UpdateOrgSecret | PUT /orgs/{org}/actions/secrets/{secretname} | Create or Update a secret value in an organization |
OrganizationApi | UpdateOrgVariable | PUT /orgs/{org}/actions/variables/{variablename} | Update an org-level variable |
PackageApi | DeletePackage | DELETE /packages/{owner}/{type}/{name}/{version} | Delete a package |
PackageApi | GetPackage | GET /packages/{owner}/{type}/{name}/{version} | Gets a package |
PackageApi | ListPackageFiles | GET /packages/{owner}/{type}/{name}/{version}/files | Gets all files of a package |
PackageApi | ListPackages | GET /packages/{owner} | Gets all packages of an owner |
RepositoryApi | AcceptRepoTransfer | POST /repos/{owner}/{repo}/transfer/accept | Accept a repo transfer |
RepositoryApi | CreateCurrentUserRepo | POST /user/repos | Create a repository |
RepositoryApi | CreateFork | POST /repos/{owner}/{repo}/forks | Fork a repository |
RepositoryApi | CreateRepoVariable | POST /repos/{owner}/{repo}/actions/variables/{variablename} | Create a repo-level variable |
RepositoryApi | DeleteRepoSecret | DELETE /repos/{owner}/{repo}/actions/secrets/{secretname} | Delete a secret in a repository |
RepositoryApi | DeleteRepoVariable | DELETE /repos/{owner}/{repo}/actions/variables/{variablename} | Delete a repo-level variable |
RepositoryApi | GenerateRepo | POST /repos/{template_owner}/{template_repo}/generate | Create a repository using a template |
RepositoryApi | GetAnnotatedTag | GET /repos/{owner}/{repo}/git/tags/{sha} | Gets the tag object of an annotated tag (not lightweight tags) |
RepositoryApi | GetBlob | GET /repos/{owner}/{repo}/git/blobs/{sha} | Gets the blob of a repository. |
RepositoryApi | GetRepoVariable | GET /repos/{owner}/{repo}/actions/variables/{variablename} | Get a repo-level variable |
RepositoryApi | GetRepoVariablesList | GET /repos/{owner}/{repo}/actions/variables | Get repo-level variables list |
RepositoryApi | GetTree | GET /repos/{owner}/{repo}/git/trees/{sha} | Gets the tree of a repository. |
RepositoryApi | ListForks | GET /repos/{owner}/{repo}/forks | List a repository's forks |
RepositoryApi | RejectRepoTransfer | POST /repos/{owner}/{repo}/transfer/reject | Reject a repo transfer |
RepositoryApi | RepoAddCollaborator | PUT /repos/{owner}/{repo}/collaborators/{collaborator} | Add a collaborator to a repository |
RepositoryApi | RepoAddPushMirror | POST /repos/{owner}/{repo}/push_mirrors | add a push mirror to the repository |
RepositoryApi | RepoAddTeam | PUT /repos/{owner}/{repo}/teams/{team} | Add a team to a repository |
RepositoryApi | RepoAddTopic | PUT /repos/{owner}/{repo}/topics/{topic} | Add a topic to a repository |
RepositoryApi | RepoApplyDiffPatch | POST /repos/{owner}/{repo}/diffpatch | Apply diff patch to repository |
RepositoryApi | RepoCancelScheduledAutoMerge | DELETE /repos/{owner}/{repo}/pulls/{index}/merge | Cancel the scheduled auto merge for the given pull request |
RepositoryApi | RepoChangeFiles | POST /repos/{owner}/{repo}/contents | Modify multiple files in a repository |
RepositoryApi | RepoCheckCollaborator | GET /repos/{owner}/{repo}/collaborators/{collaborator} | Check if a user is a collaborator of a repository |
RepositoryApi | RepoCheckTeam | GET /repos/{owner}/{repo}/teams/{team} | Check if a team is assigned to a repository |
RepositoryApi | RepoCompareDiff | GET /repos/{owner}/{repo}/compare/{basehead} | Get commit comparison information |
RepositoryApi | RepoCreateBranch | POST /repos/{owner}/{repo}/branches | Create a branch |
RepositoryApi | RepoCreateBranchProtection | POST /repos/{owner}/{repo}/branch_protections | Create a branch protections for a repository |
RepositoryApi | RepoCreateFile | POST /repos/{owner}/{repo}/contents/{filepath} | Create a file in a repository |
RepositoryApi | RepoCreateHook | POST /repos/{owner}/{repo}/hooks | Create a hook |
RepositoryApi | RepoCreateKey | POST /repos/{owner}/{repo}/keys | Add a key to a repository |
RepositoryApi | RepoCreatePullRequest | POST /repos/{owner}/{repo}/pulls | Create a pull request |
RepositoryApi | RepoCreatePullReview | POST /repos/{owner}/{repo}/pulls/{index}/reviews | Create a review to an pull request |
RepositoryApi | RepoCreatePullReviewRequests | POST /repos/{owner}/{repo}/pulls/{index}/requested_reviewers | create review requests for a pull request |
RepositoryApi | RepoCreateRelease | POST /repos/{owner}/{repo}/releases | Create a release |
RepositoryApi | RepoCreateReleaseAttachment | POST /repos/{owner}/{repo}/releases/{id}/assets | Create a release attachment |
RepositoryApi | RepoCreateStatus | POST /repos/{owner}/{repo}/statuses/{sha} | Create a commit status |
RepositoryApi | RepoCreateTag | POST /repos/{owner}/{repo}/tags | Create a new git tag in a repository |
RepositoryApi | RepoCreateWikiPage | POST /repos/{owner}/{repo}/wiki/new | Create a wiki page |
RepositoryApi | RepoDelete | DELETE /repos/{owner}/{repo} | Delete a repository |
RepositoryApi | RepoDeleteAvatar | DELETE /repos/{owner}/{repo}/avatar | Delete avatar |
RepositoryApi | RepoDeleteBranch | DELETE /repos/{owner}/{repo}/branches/{branch} | Delete a specific branch from a repository |
RepositoryApi | RepoDeleteBranchProtection | DELETE /repos/{owner}/{repo}/branch_protections/{name} | Delete a specific branch protection for the repository |
RepositoryApi | RepoDeleteCollaborator | DELETE /repos/{owner}/{repo}/collaborators/{collaborator} | Delete a collaborator from a repository |
RepositoryApi | RepoDeleteFile | DELETE /repos/{owner}/{repo}/contents/{filepath} | Delete a file in a repository |
RepositoryApi | RepoDeleteGitHook | DELETE /repos/{owner}/{repo}/hooks/git/{id} | Delete a Git hook in a repository |
RepositoryApi | RepoDeleteHook | DELETE /repos/{owner}/{repo}/hooks/{id} | Delete a hook in a repository |
RepositoryApi | RepoDeleteKey | DELETE /repos/{owner}/{repo}/keys/{id} | Delete a key from a repository |
RepositoryApi | RepoDeletePullReview | DELETE /repos/{owner}/{repo}/pulls/{index}/reviews/{id} | Delete a specific review from a pull request |
RepositoryApi | RepoDeletePullReviewRequests | DELETE /repos/{owner}/{repo}/pulls/{index}/requested_reviewers | cancel review requests for a pull request |
RepositoryApi | RepoDeletePushMirror | DELETE /repos/{owner}/{repo}/push_mirrors/{name} | deletes a push mirror from a repository by remoteName |
RepositoryApi | RepoDeleteRelease | DELETE /repos/{owner}/{repo}/releases/{id} | Delete a release |
RepositoryApi | RepoDeleteReleaseAttachment | DELETE /repos/{owner}/{repo}/releases/{id}/assets/{attachment_id} | Delete a release attachment |
RepositoryApi | RepoDeleteReleaseByTag | DELETE /repos/{owner}/{repo}/releases/tags/{tag} | Delete a release by tag name |
RepositoryApi | RepoDeleteTag | DELETE /repos/{owner}/{repo}/tags/{tag} | Delete a repository's tag by name |
RepositoryApi | RepoDeleteTeam | DELETE /repos/{owner}/{repo}/teams/{team} | Delete a team from a repository |
RepositoryApi | RepoDeleteTopic | DELETE /repos/{owner}/{repo}/topics/{topic} | Delete a topic from a repository |
RepositoryApi | RepoDeleteWikiPage | DELETE /repos/{owner}/{repo}/wiki/page/{pageName} | Delete a wiki page |
RepositoryApi | RepoDismissPullReview | POST /repos/{owner}/{repo}/pulls/{index}/reviews/{id}/dismissals | Dismiss a review for a pull request |
RepositoryApi | RepoDownloadCommitDiffOrPatch | GET /repos/{owner}/{repo}/git/commits/{sha}.{diffType} | Get a commit's diff or patch |
RepositoryApi | RepoDownloadPullDiffOrPatch | GET /repos/{owner}/{repo}/pulls/{index}.{diffType} | Get a pull request diff or patch |
RepositoryApi | RepoEdit | PATCH /repos/{owner}/{repo} | Edit a repository's properties. Only fields that are set will be changed. |
RepositoryApi | 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 | PATCH /repos/{owner}/{repo}/hooks/git/{id} | Edit a Git hook in a repository |
RepositoryApi | RepoEditHook | PATCH /repos/{owner}/{repo}/hooks/{id} | Edit a hook in a repository |
RepositoryApi | 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 | PATCH /repos/{owner}/{repo}/releases/{id} | Update a release |
RepositoryApi | RepoEditReleaseAttachment | PATCH /repos/{owner}/{repo}/releases/{id}/assets/{attachment_id} | Edit a release attachment |
RepositoryApi | RepoEditWikiPage | PATCH /repos/{owner}/{repo}/wiki/page/{pageName} | Edit a wiki page |
RepositoryApi | RepoGet | GET /repos/{owner}/{repo} | Get a repository |
RepositoryApi | RepoGetAllCommits | GET /repos/{owner}/{repo}/commits | Get a list of all commits from a repository |
RepositoryApi | RepoGetArchive | GET /repos/{owner}/{repo}/archive/{archive} | Get an archive of a repository |
RepositoryApi | RepoGetAssignees | GET /repos/{owner}/{repo}/assignees | Return all users that have write access and can be assigned to issues |
RepositoryApi | RepoGetBranch | GET /repos/{owner}/{repo}/branches/{branch} | Retrieve a specific branch from a repository, including its effective branch protection |
RepositoryApi | RepoGetBranchProtection | GET /repos/{owner}/{repo}/branch_protections/{name} | Get a specific branch protection for the repository |
RepositoryApi | RepoGetByID | GET /repositories/{id} | Get a repository by id |
RepositoryApi | RepoGetCombinedStatusByRef | GET /repos/{owner}/{repo}/commits/{ref}/status | Get a commit's combined status, by branch/tag/commit reference |
RepositoryApi | RepoGetCommitPullRequest | GET /repos/{owner}/{repo}/commits/{sha}/pull | Get the pull request of the commit |
RepositoryApi | 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 | GET /repos/{owner}/{repo}/contents | Gets the metadata of all the entries of the root dir |
RepositoryApi | RepoGetEditorConfig | GET /repos/{owner}/{repo}/editorconfig/{filepath} | Get the EditorConfig definitions of a file in a repository |
RepositoryApi | RepoGetGitHook | GET /repos/{owner}/{repo}/hooks/git/{id} | Get a Git hook |
RepositoryApi | RepoGetHook | GET /repos/{owner}/{repo}/hooks/{id} | Get a hook |
RepositoryApi | RepoGetIssueConfig | GET /repos/{owner}/{repo}/issue_config | Returns the issue config for a repo |
RepositoryApi | RepoGetIssueTemplates | GET /repos/{owner}/{repo}/issue_templates | Get available issue templates for a repository |
RepositoryApi | RepoGetKey | GET /repos/{owner}/{repo}/keys/{id} | Get a repository's key by id |
RepositoryApi | RepoGetLanguages | GET /repos/{owner}/{repo}/languages | Get languages and number of bytes of code written |
RepositoryApi | 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 | GET /repos/{owner}/{repo}/git/notes/{sha} | Get a note corresponding to a single commit from a repository |
RepositoryApi | RepoGetPullRequest | GET /repos/{owner}/{repo}/pulls/{index} | Get a pull request |
RepositoryApi | RepoGetPullRequestByBaseHead | GET /repos/{owner}/{repo}/pulls/{base}/{head} | Get a pull request by base and head |
RepositoryApi | RepoGetPullRequestCommits | GET /repos/{owner}/{repo}/pulls/{index}/commits | Get commits for a pull request |
RepositoryApi | RepoGetPullRequestFiles | GET /repos/{owner}/{repo}/pulls/{index}/files | Get changed files for a pull request |
RepositoryApi | RepoGetPullReview | GET /repos/{owner}/{repo}/pulls/{index}/reviews/{id} | Get a specific review for a pull request |
RepositoryApi | RepoGetPullReviewComments | GET /repos/{owner}/{repo}/pulls/{index}/reviews/{id}/comments | Get a specific review for a pull request |
RepositoryApi | RepoGetPushMirrorByRemoteName | GET /repos/{owner}/{repo}/push_mirrors/{name} | Get push mirror of the repository by remoteName |
RepositoryApi | RepoGetRawFile | GET /repos/{owner}/{repo}/raw/{filepath} | Get a file from a repository |
RepositoryApi | RepoGetRawFileOrLFS | GET /repos/{owner}/{repo}/media/{filepath} | Get a file or it's LFS object from a repository |
RepositoryApi | RepoGetRelease | GET /repos/{owner}/{repo}/releases/{id} | Get a release |
RepositoryApi | RepoGetReleaseAttachment | GET /repos/{owner}/{repo}/releases/{id}/assets/{attachment_id} | Get a release attachment |
RepositoryApi | RepoGetReleaseByTag | GET /repos/{owner}/{repo}/releases/tags/{tag} | Get a release by tag name |
RepositoryApi | RepoGetRepoPermissions | GET /repos/{owner}/{repo}/collaborators/{collaborator}/permission | Get repository permissions for a user |
RepositoryApi | RepoGetReviewers | GET /repos/{owner}/{repo}/reviewers | Return all users that can be requested to review in this repo |
RepositoryApi | RepoGetRunnerRegistrationToken | GET /repos/{owner}/{repo}/runners/registration-token | Get a repository's actions runner registration token |
RepositoryApi | RepoGetSingleCommit | GET /repos/{owner}/{repo}/git/commits/{sha} | Get a single commit from a repository |
RepositoryApi | RepoGetTag | GET /repos/{owner}/{repo}/tags/{tag} | Get the tag of a repository by tag name |
RepositoryApi | RepoGetWikiPage | GET /repos/{owner}/{repo}/wiki/page/{pageName} | Get a wiki page |
RepositoryApi | RepoGetWikiPageRevisions | GET /repos/{owner}/{repo}/wiki/revisions/{pageName} | Get revisions of a wiki page |
RepositoryApi | RepoGetWikiPages | GET /repos/{owner}/{repo}/wiki/pages | Get all wiki pages |
RepositoryApi | RepoListActionsSecrets | GET /repos/{owner}/{repo}/actions/secrets | List an repo's actions secrets |
RepositoryApi | RepoListActivityFeeds | GET /repos/{owner}/{repo}/activities/feeds | List a repository's activity feeds |
RepositoryApi | RepoListAllGitRefs | GET /repos/{owner}/{repo}/git/refs | Get specified ref or filtered repository's refs |
RepositoryApi | RepoListBranchProtection | GET /repos/{owner}/{repo}/branch_protections | List branch protections for a repository |
RepositoryApi | RepoListBranches | GET /repos/{owner}/{repo}/branches | List a repository's branches |
RepositoryApi | RepoListCollaborators | GET /repos/{owner}/{repo}/collaborators | List a repository's collaborators |
RepositoryApi | RepoListGitHooks | GET /repos/{owner}/{repo}/hooks/git | List the Git hooks in a repository |
RepositoryApi | RepoListGitRefs | GET /repos/{owner}/{repo}/git/refs/{ref} | Get specified ref or filtered repository's refs |
RepositoryApi | RepoListHooks | GET /repos/{owner}/{repo}/hooks | List the hooks in a repository |
RepositoryApi | RepoListKeys | GET /repos/{owner}/{repo}/keys | List a repository's keys |
RepositoryApi | RepoListPinnedIssues | GET /repos/{owner}/{repo}/issues/pinned | List a repo's pinned issues |
RepositoryApi | RepoListPinnedPullRequests | GET /repos/{owner}/{repo}/pulls/pinned | List a repo's pinned pull requests |
RepositoryApi | RepoListPullRequests | GET /repos/{owner}/{repo}/pulls | List a repo's pull requests |
RepositoryApi | RepoListPullReviews | GET /repos/{owner}/{repo}/pulls/{index}/reviews | List all reviews for a pull request |
RepositoryApi | RepoListPushMirrors | GET /repos/{owner}/{repo}/push_mirrors | Get all push mirrors of the repository |
RepositoryApi | RepoListReleaseAttachments | GET /repos/{owner}/{repo}/releases/{id}/assets | List release's attachments |
RepositoryApi | RepoListReleases | GET /repos/{owner}/{repo}/releases | List a repo's releases |
RepositoryApi | RepoListStargazers | GET /repos/{owner}/{repo}/stargazers | List a repo's stargazers |
RepositoryApi | RepoListStatuses | GET /repos/{owner}/{repo}/statuses/{sha} | Get a commit's statuses |
RepositoryApi | RepoListStatusesByRef | GET /repos/{owner}/{repo}/commits/{ref}/statuses | Get a commit's statuses, by branch/tag/commit reference |
RepositoryApi | RepoListSubscribers | GET /repos/{owner}/{repo}/subscribers | List a repo's watchers |
RepositoryApi | RepoListTags | GET /repos/{owner}/{repo}/tags | List a repository's tags |
RepositoryApi | RepoListTeams | GET /repos/{owner}/{repo}/teams | List a repository's teams |
RepositoryApi | RepoListTopics | GET /repos/{owner}/{repo}/topics | Get list of topics that a repository has |
RepositoryApi | RepoMergePullRequest | POST /repos/{owner}/{repo}/pulls/{index}/merge | Merge a pull request |
RepositoryApi | RepoMigrate | POST /repos/migrate | Migrate a remote git repository |
RepositoryApi | RepoMirrorSync | POST /repos/{owner}/{repo}/mirror-sync | Sync a mirrored repository |
RepositoryApi | RepoNewPinAllowed | GET /repos/{owner}/{repo}/new_pin_allowed | Returns if new Issue Pins are allowed |
RepositoryApi | RepoPullRequestIsMerged | GET /repos/{owner}/{repo}/pulls/{index}/merge | Check if a pull request has been merged |
RepositoryApi | RepoPushMirrorSync | POST /repos/{owner}/{repo}/push_mirrors-sync | Sync all push mirrored repository |
RepositoryApi | RepoSearch | GET /repos/search | Search for repositories |
RepositoryApi | RepoSigningKey | GET /repos/{owner}/{repo}/signing-key.gpg | Get signing-key.gpg for given repository |
RepositoryApi | RepoSubmitPullReview | POST /repos/{owner}/{repo}/pulls/{index}/reviews/{id} | Submit a pending review to an pull request |
RepositoryApi | RepoTestHook | POST /repos/{owner}/{repo}/hooks/{id}/tests | Test a push webhook |
RepositoryApi | RepoTrackedTimes | GET /repos/{owner}/{repo}/times | List a repo's tracked times |
RepositoryApi | RepoTransfer | POST /repos/{owner}/{repo}/transfer | Transfer a repo ownership |
RepositoryApi | RepoUnDismissPullReview | POST /repos/{owner}/{repo}/pulls/{index}/reviews/{id}/undismissals | Cancel to dismiss a review for a pull request |
RepositoryApi | RepoUpdateAvatar | POST /repos/{owner}/{repo}/avatar | Update avatar |
RepositoryApi | RepoUpdateFile | PUT /repos/{owner}/{repo}/contents/{filepath} | Update a file in a repository |
RepositoryApi | RepoUpdatePullRequest | POST /repos/{owner}/{repo}/pulls/{index}/update | Merge PR's baseBranch into headBranch |
RepositoryApi | RepoUpdateTopics | PUT /repos/{owner}/{repo}/topics | Replace list of topics for a repository |
RepositoryApi | RepoValidateIssueConfig | GET /repos/{owner}/{repo}/issue_config/validate | Returns the validation information for a issue config |
RepositoryApi | TopicSearch | GET /topics/search | search topics via keyword |
RepositoryApi | UpdateRepoSecret | PUT /repos/{owner}/{repo}/actions/secrets/{secretname} | Create or Update a secret value in a repository |
RepositoryApi | UpdateRepoVariable | PUT /repos/{owner}/{repo}/actions/variables/{variablename} | Update a repo-level variable |
RepositoryApi | UserCurrentCheckSubscription | GET /repos/{owner}/{repo}/subscription | Check if the current user is watching a repo |
RepositoryApi | UserCurrentDeleteSubscription | DELETE /repos/{owner}/{repo}/subscription | Unwatch a repo |
RepositoryApi | UserCurrentPutSubscription | PUT /repos/{owner}/{repo}/subscription | Watch a repo |
RepositoryApi | UserTrackedTimes | GET /repos/{owner}/{repo}/times/{user} | List a user's tracked times in a repo |
SettingsApi | GetGeneralAPISettings | GET /settings/api | Get instance's global settings for api |
SettingsApi | GetGeneralAttachmentSettings | GET /settings/attachment | Get instance's global settings for Attachment |
SettingsApi | GetGeneralRepositorySettings | GET /settings/repository | Get instance's global settings for repositories |
SettingsApi | GetGeneralUISettings | GET /settings/ui | Get instance's global settings for ui |
UserApi | CreateCurrentUserRepo | POST /user/repos | Create a repository |
UserApi | CreateUserVariable | POST /user/actions/variables/{variablename} | Create a user-level variable |
UserApi | DeleteUserSecret | DELETE /user/actions/secrets/{secretname} | Delete a secret in a user scope |
UserApi | DeleteUserVariable | DELETE /user/actions/variables/{variablename} | Delete a user-level variable which is created by current doer |
UserApi | GetUserSettings | GET /user/settings | Get user settings |
UserApi | GetUserVariable | GET /user/actions/variables/{variablename} | Get a user-level variable which is created by current doer |
UserApi | GetUserVariablesList | GET /user/actions/variables | Get the user-level list of variables which is created by current doer |
UserApi | GetVerificationToken | GET /user/gpg_key_token | Get a Token to verify |
UserApi | UpdateUserSecret | PUT /user/actions/secrets/{secretname} | Create or Update a secret value in a user scope |
UserApi | UpdateUserSettings | PATCH /user/settings | Update user settings |
UserApi | UpdateUserVariable | PUT /user/actions/variables/{variablename} | Update a user-level variable which is created by current doer |
UserApi | UserAddEmail | POST /user/emails | Add email addresses |
UserApi | UserBlockUser | PUT /user/blocks/{username} | Block a user |
UserApi | UserCheckFollowing | GET /users/{username}/following/{target} | Check if one user is following another user |
UserApi | UserCheckUserBlock | GET /user/blocks/{username} | Check if a user is blocked by the authenticated user |
UserApi | UserCreateHook | POST /user/hooks | Create a hook |
UserApi | UserCreateOAuth2Application | POST /user/applications/oauth2 | creates a new OAuth2 application |
UserApi | UserCreateToken | POST /users/{username}/tokens | Create an access token |
UserApi | UserCurrentCheckFollowing | GET /user/following/{username} | Check whether a user is followed by the authenticated user |
UserApi | UserCurrentCheckStarring | GET /user/starred/{owner}/{repo} | Whether the authenticated is starring the repo |
UserApi | UserCurrentDeleteFollow | DELETE /user/following/{username} | Unfollow a user |
UserApi | UserCurrentDeleteGPGKey | DELETE /user/gpg_keys/{id} | Remove a GPG key |
UserApi | UserCurrentDeleteKey | DELETE /user/keys/{id} | Delete a public key |
UserApi | UserCurrentDeleteStar | DELETE /user/starred/{owner}/{repo} | Unstar the given repo |
UserApi | UserCurrentGetGPGKey | GET /user/gpg_keys/{id} | Get a GPG key |
UserApi | UserCurrentGetKey | GET /user/keys/{id} | Get a public key |
UserApi | UserCurrentListFollowers | GET /user/followers | List the authenticated user's followers |
UserApi | UserCurrentListFollowing | GET /user/following | List the users that the authenticated user is following |
UserApi | UserCurrentListGPGKeys | GET /user/gpg_keys | List the authenticated user's GPG keys |
UserApi | UserCurrentListKeys | GET /user/keys | List the authenticated user's public keys |
UserApi | UserCurrentListRepos | GET /user/repos | List the repos that the authenticated user owns |
UserApi | UserCurrentListStarred | GET /user/starred | The repos that the authenticated user has starred |
UserApi | UserCurrentListSubscriptions | GET /user/subscriptions | List repositories watched by the authenticated user |
UserApi | UserCurrentPostGPGKey | POST /user/gpg_keys | Create a GPG key |
UserApi | UserCurrentPostKey | POST /user/keys | Create a public key |
UserApi | UserCurrentPutFollow | PUT /user/following/{username} | Follow a user |
UserApi | UserCurrentPutStar | PUT /user/starred/{owner}/{repo} | Star the given repo |
UserApi | UserCurrentTrackedTimes | GET /user/times | List the current user's tracked times |
UserApi | UserDeleteAccessToken | DELETE /users/{username}/tokens/{token} | delete an access token |
UserApi | UserDeleteAvatar | DELETE /user/avatar | Delete Avatar |
UserApi | UserDeleteEmail | DELETE /user/emails | Delete email addresses |
UserApi | UserDeleteHook | DELETE /user/hooks/{id} | Delete a hook |
UserApi | UserDeleteOAuth2Application | DELETE /user/applications/oauth2/{id} | delete an OAuth2 Application |
UserApi | UserEditHook | PATCH /user/hooks/{id} | Update a hook |
UserApi | UserGet | GET /users/{username} | Get a user |
UserApi | UserGetCurrent | GET /user | Get the authenticated user |
UserApi | UserGetHeatmapData | GET /users/{username}/heatmap | Get a user's heatmap |
UserApi | UserGetHook | GET /user/hooks/{id} | Get a hook |
UserApi | UserGetOAuth2Application | GET /user/applications/oauth2/{id} | get an OAuth2 Application |
UserApi | UserGetOauth2Application | GET /user/applications/oauth2 | List the authenticated user's oauth2 applications |
UserApi | UserGetRunnerRegistrationToken | GET /user/actions/runners/registration-token | Get an user's actions runner registration token |
UserApi | UserGetStopWatches | GET /user/stopwatches | Get list of all existing stopwatches |
UserApi | UserGetTokens | GET /users/{username}/tokens | List the authenticated user's access tokens |
UserApi | UserListActivityFeeds | GET /users/{username}/activities/feeds | List a user's activity feeds |
UserApi | UserListBlocks | GET /user/blocks | List users blocked by the authenticated user |
UserApi | UserListEmails | GET /user/emails | List the authenticated user's email addresses |
UserApi | UserListFollowers | GET /users/{username}/followers | List the given user's followers |
UserApi | UserListFollowing | GET /users/{username}/following | List the users that the given user is following |
UserApi | UserListGPGKeys | GET /users/{username}/gpg_keys | List the given user's GPG keys |
UserApi | UserListHooks | GET /user/hooks | List the authenticated user's webhooks |
UserApi | UserListKeys | GET /users/{username}/keys | List the given user's public keys |
UserApi | UserListRepos | GET /users/{username}/repos | List the repos owned by the given user |
UserApi | UserListStarred | GET /users/{username}/starred | The repos that the given user has starred |
UserApi | UserListSubscriptions | GET /users/{username}/subscriptions | List the repositories watched by a user |
UserApi | UserListTeams | GET /user/teams | List all the teams a user belongs to |
UserApi | UserSearch | GET /users/search | Search for users |
UserApi | UserUnblockUser | DELETE /user/blocks/{username} | Unblock a user |
UserApi | UserUpdateAvatar | POST /user/avatar | Update Avatar |
UserApi | UserUpdateOAuth2Application | PATCH /user/applications/oauth2/{id} | update an OAuth2 Application, this includes regenerating the client secret |
UserApi | UserVerifyGPGKey | POST /user/gpg_key_verify | Verify a GPG key |
<a id="documentation-for-models"></a>
Documentation for Models
- Model.APIError
- Model.AccessToken
- Model.ActionVariable
- Model.Activity
- Model.ActivityPub
- Model.AddCollaboratorOption
- Model.AddTimeOption
- Model.AnnotatedTag
- Model.AnnotatedTagObject
- Model.Attachment
- Model.Badge
- Model.Branch
- Model.BranchProtection
- Model.ChangeFileOperation
- Model.ChangeFilesOptions
- Model.ChangedFile
- Model.CombinedStatus
- Model.Comment
- Model.Commit
- Model.CommitAffectedFiles
- Model.CommitDateOptions
- Model.CommitMeta
- Model.CommitStats
- Model.CommitStatus
- Model.CommitUser
- Model.Compare
- Model.ContentsResponse
- Model.CreateAccessTokenOption
- Model.CreateBranchProtectionOption
- Model.CreateBranchRepoOption
- Model.CreateEmailOption
- Model.CreateFileOptions
- Model.CreateForkOption
- Model.CreateGPGKeyOption
- Model.CreateHookOption
- Model.CreateIssueCommentOption
- Model.CreateIssueOption
- Model.CreateKeyOption
- Model.CreateLabelOption
- Model.CreateMilestoneOption
- Model.CreateOAuth2ApplicationOptions
- Model.CreateOrUpdateSecretOption
- Model.CreateOrgOption
- Model.CreatePullRequestOption
- Model.CreatePullReviewComment
- Model.CreatePullReviewOptions
- Model.CreatePushMirrorOption
- Model.CreateReleaseOption
- Model.CreateRepoOption
- Model.CreateStatusOption
- Model.CreateTagOption
- Model.CreateTeamOption
- Model.CreateUserOption
- Model.CreateVariableOption
- Model.CreateWikiPageOptions
- Model.Cron
- Model.DeleteEmailOption
- Model.DeleteFileOptions
- Model.DeployKey
- Model.DismissPullReviewOptions
- Model.EditAttachmentOptions
- Model.EditBranchProtectionOption
- Model.EditDeadlineOption
- Model.EditGitHookOption
- Model.EditHookOption
- Model.EditIssueCommentOption
- Model.EditIssueOption
- Model.EditLabelOption
- Model.EditMilestoneOption
- Model.EditOrgOption
- Model.EditPullRequestOption
- Model.EditReactionOption
- Model.EditReleaseOption
- Model.EditRepoOption
- Model.EditTeamOption
- Model.EditUserOption
- Model.Email
- Model.ExternalTracker
- Model.ExternalWiki
- Model.FileCommitResponse
- Model.FileDeleteResponse
- Model.FileLinksResponse
- Model.FileResponse
- Model.FilesResponse
- Model.GPGKey
- Model.GPGKeyEmail
- Model.GeneralAPISettings
- Model.GeneralAttachmentSettings
- Model.GeneralRepoSettings
- Model.GeneralUISettings
- Model.GenerateRepoOption
- Model.GitBlobResponse
- Model.GitEntry
- Model.GitHook
- Model.GitObject
- Model.GitTreeResponse
- Model.GitignoreTemplateInfo
- Model.Hook
- Model.Identity
- Model.InternalTracker
- Model.Issue
- Model.IssueConfig
- Model.IssueConfigContactLink
- Model.IssueConfigValidation
- Model.IssueDeadline
- Model.IssueFormField
- Model.IssueLabelsOption
- Model.IssueMeta
- Model.IssueTemplate
- Model.Label
- Model.LabelTemplate
- Model.LicenseTemplateInfo
- Model.LicensesTemplateListEntry
- Model.MarkdownOption
- Model.MarkupOption
- Model.MergePullRequestOption
- Model.MigrateRepoOptions
- Model.Milestone
- Model.NewIssuePinsAllowed
- Model.NodeInfo
- Model.NodeInfoServices
- Model.NodeInfoSoftware
- Model.NodeInfoUsage
- Model.NodeInfoUsageUsers
- Model.Note
- Model.NotificationCount
- Model.NotificationSubject
- Model.NotificationThread
- Model.OAuth2Application
- Model.Organization
- Model.OrganizationPermissions
- Model.PRBranchInfo
- Model.Package
- Model.PackageFile
- Model.PayloadCommit
- Model.PayloadCommitVerification
- Model.PayloadUser
- Model.Permission
- Model.PublicKey
- Model.PullRequest
- Model.PullRequestMeta
- Model.PullReview
- Model.PullReviewComment
- Model.PullReviewRequestOptions
- Model.PushMirror
- Model.Reaction
- Model.Reference
- Model.Release
- Model.RenameUserOption
- Model.RepoCollaboratorPermission
- Model.RepoCommit
- Model.RepoCreateReleaseAttachmentRequest
- Model.RepoTopicOptions
- Model.RepoTransfer
- Model.Repository
- Model.RepositoryMeta
- Model.SearchResults
- Model.Secret
- Model.ServerVersion
- Model.StopWatch
- Model.SubmitPullReviewOptions
- Model.Tag
- Model.Team
- Model.TeamSearch200Response
- Model.TimelineComment
- Model.TopicName
- Model.TopicResponse
- Model.TrackedTime
- Model.TransferRepoOption
- Model.UpdateFileOptions
- Model.UpdateRepoAvatarOption
- Model.UpdateUserAvatarOption
- Model.UpdateVariableOption
- Model.User
- Model.UserBadgeOption
- Model.UserHeatmapData
- Model.UserSearch200Response
- Model.UserSettings
- Model.UserSettingsOptions
- Model.WatchInfo
- Model.WikiCommit
- Model.WikiCommitList
- Model.WikiPage
- Model.WikiPageMetaData
<a id="documentation-for-authorization"></a>
Documentation for Authorization
Authentication schemes defined for the API: <a id="AccessToken"></a>
AccessToken
- Type: API key
- API key parameter name: access_token
- Location: URL query string
<a id="AuthorizationHeaderToken"></a>
AuthorizationHeaderToken
- Type: API key
- API key parameter name: Authorization
- Location: HTTP header
<a id="BasicAuth"></a>
BasicAuth
- Type: HTTP basic authentication
<a id="SudoHeader"></a>
SudoHeader
- Type: API key
- API key parameter name: Sudo
- Location: HTTP header
<a id="SudoParam"></a>
SudoParam
- Type: API key
- API key parameter name: sudo
- Location: URL query string
<a id="TOTPHeader"></a>
TOTPHeader
- Type: API key
- API key parameter name: X-GITEA-OTP
- Location: HTTP header
<a id="Token"></a>
Token
- Type: API key
- API key parameter name: token
- Location: URL query string
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net5.0 was computed. net5.0-windows was computed. net6.0 was computed. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net9.0 was computed. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 was computed. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
.NET Core | netcoreapp2.0 was computed. netcoreapp2.1 was computed. netcoreapp2.2 was computed. netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
.NET Standard | netstandard2.0 is compatible. netstandard2.1 was computed. |
.NET Framework | net461 was computed. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed. |
MonoAndroid | monoandroid was computed. |
MonoMac | monomac was computed. |
MonoTouch | monotouch was computed. |
Tizen | tizen40 was computed. tizen60 was computed. |
Xamarin.iOS | xamarinios was computed. |
Xamarin.Mac | xamarinmac was computed. |
Xamarin.TVOS | xamarintvos was computed. |
Xamarin.WatchOS | xamarinwatchos was computed. |
-
.NETStandard 2.0
- JsonSubTypes (>= 2.0.1)
- Microsoft.AspNetCore.SystemWebAdapters (>= 1.3.0)
- Newtonsoft.Json (>= 13.0.3)
- Polly (>= 8.4.0)
- RestSharp (>= 111.2.0)
NuGet packages (1)
Showing the top 1 NuGet packages that depend on Gitea.Net.API:
Package | Downloads |
---|---|
Extensions.Configuration.GitRepository.GiteaProvider
Gitea's repository configuration provider implementation to use with Microsoft.Extensions.Configuration. |
GitHub repositories (1)
Showing the top 1 popular GitHub repositories that depend on Gitea.Net.API:
Repository | Stars |
---|---|
velopack/velopack
Installer and automatic update framework for cross-platform desktop applications
|