Skip to content

gitea-client-fetch 1.25.2

Install from the command line:
Learn more about npm packages
$ npm install @linode/gitea-client-fetch@1.25.2
Install via package.json:
"@linode/gitea-client-fetch": "1.25.2"

About this version

@linode/gitea-client-fetch@1.25.2

A TypeScript SDK client for the localhost API.

Usage

First, install the SDK from npm.

npm install @linode/gitea-client-fetch --save

Next, try it out.

import {
  Configuration,
  ActivitypubApi,
} from '@linode/gitea-client-fetch';
import type { ActivitypubPersonRequest } from '@linode/gitea-client-fetch';

async function example() {
  console.log("🚀 Testing @linode/gitea-client-fetch SDK...");
  const config = new Configuration({ 
    // To configure API key authorization: TOTPHeader
    apiKey: "YOUR API KEY",
    // To configure API key authorization: AuthorizationHeaderToken
    apiKey: "YOUR API KEY",
    // To configure API key authorization: SudoHeader
    apiKey: "YOUR API KEY",
    // To configure HTTP basic authorization: BasicAuth
    username: "YOUR USERNAME",
    password: "YOUR PASSWORD",
    // To configure API key authorization: AccessToken
    apiKey: "YOUR API KEY",
    // To configure API key authorization: SudoParam
    apiKey: "YOUR API KEY",
    // To configure API key authorization: Token
    apiKey: "YOUR API KEY",
  });
  const api = new ActivitypubApi(config);

  const body = {
    // number | user ID of the user
    userId: 56,
  } satisfies ActivitypubPersonRequest;

  try {
    const data = await api.activitypubPerson(body);
    console.log(data);
  } catch (error) {
    console.error(error);
  }
}

// Run the test
example().catch(console.error);

Documentation

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 adminCreateRunnerRegistrationToken POST /admin/actions/runners/registration-token Get an global actions runner registration token
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
AdminApi deleteAdminRunner DELETE /admin/actions/runners/{runner_id} Delete an global runner
AdminApi getAdminRunner GET /admin/actions/runners/{runner_id} Get an global runner
AdminApi getAdminRunners GET /admin/actions/runners Get all runners
AdminApi listAdminWorkflowJobs GET /admin/actions/jobs Lists all jobs
AdminApi listAdminWorkflowRuns GET /admin/actions/runs Lists all runs
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 issueLockIssue PUT /repos/{owner}/{repo}/issues/{index}/lock Lock an issue
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 issueUnlockIssue DELETE /repos/{owner}/{repo}/issues/{index}/lock Unlock an issue
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 getSigningKeySSH GET /signing-key.pub Get default signing-key.pub
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 renderMarkup POST /markup Render a markup document as HTML
MiscellaneousApi renderRawMarkdown POST /markdown/raw Render raw markdown 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 deleteOrgRunner DELETE /orgs/{org}/actions/runners/{runner_id} Delete an org-level runner
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 getOrgRunner GET /orgs/{org}/actions/runners/{runner_id} Get an org-level runner
OrganizationApi getOrgRunners GET /orgs/{org}/actions/runners Get org-level runners
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 getOrgWorkflowJobs GET /orgs/{org}/actions/jobs Get org-level workflow jobs
OrganizationApi getOrgWorkflowRuns GET /orgs/{org}/actions/runs Get org-level workflow runs
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 orgCreateRunnerRegistrationToken POST /orgs/{org}/actions/runners/registration-token Get an organization's actions runner registration token
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 renameOrg POST /orgs/{org}/rename Rename an organization
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 getLatestPackageVersion GET /packages/{owner}/{type}/{name}/-/latest Gets the latest version of a package
PackageApi getPackage GET /packages/{owner}/{type}/{name}/{version} Gets a package
PackageApi linkPackage POST /packages/{owner}/{type}/{name}/-/link/{repo_name} Link a package to a repository
PackageApi listPackageFiles GET /packages/{owner}/{type}/{name}/{version}/files Gets all files of a package
PackageApi listPackageVersions GET /packages/{owner}/{type}/{name} Gets all versions of a package
PackageApi listPackages GET /packages/{owner} Gets all packages of an owner
PackageApi unlinkPackage POST /packages/{owner}/{type}/{name}/-/unlink Unlink a package from a repository
RepositoryApi acceptRepoTransfer POST /repos/{owner}/{repo}/transfer/accept Accept a repo transfer
RepositoryApi actionsDisableWorkflow PUT /repos/{owner}/{repo}/actions/workflows/{workflow_id}/disable Disable a workflow
RepositoryApi actionsDispatchWorkflow POST /repos/{owner}/{repo}/actions/workflows/{workflow_id}/dispatches Create a workflow dispatch event
RepositoryApi actionsEnableWorkflow PUT /repos/{owner}/{repo}/actions/workflows/{workflow_id}/enable Enable a workflow
RepositoryApi actionsGetWorkflow GET /repos/{owner}/{repo}/actions/workflows/{workflow_id} Get a workflow
RepositoryApi actionsListRepositoryWorkflows GET /repos/{owner}/{repo}/actions/workflows List repository workflows
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 deleteActionRun DELETE /repos/{owner}/{repo}/actions/runs/{run} Delete a workflow run
RepositoryApi deleteArtifact DELETE /repos/{owner}/{repo}/actions/artifacts/{artifact_id} Deletes a specific artifact for a workflow run
RepositoryApi deleteRepoRunner DELETE /repos/{owner}/{repo}/actions/runners/{runner_id} Delete an repo-level runner
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 downloadActionsRunJobLogs GET /repos/{owner}/{repo}/actions/jobs/{job_id}/logs Downloads the job logs for a workflow run
RepositoryApi downloadArtifact GET /repos/{owner}/{repo}/actions/artifacts/{artifact_id}/zip Downloads a specific artifact for a workflow run redirects to blob url
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 getArtifact GET /repos/{owner}/{repo}/actions/artifacts/{artifact_id} Gets a specific artifact for a workflow run
RepositoryApi getArtifacts GET /repos/{owner}/{repo}/actions/artifacts Lists all artifacts for a repository
RepositoryApi getArtifactsOfRun GET /repos/{owner}/{repo}/actions/runs/{run}/artifacts Lists all artifacts for a repository run
RepositoryApi getBlob GET /repos/{owner}/{repo}/git/blobs/{sha} Gets the blob of a repository.
RepositoryApi getRepoRunner GET /repos/{owner}/{repo}/actions/runners/{runner_id} Get an repo-level runner
RepositoryApi getRepoRunners GET /repos/{owner}/{repo}/actions/runners Get repo-level runners
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 getWorkflowJob GET /repos/{owner}/{repo}/actions/jobs/{job_id} Gets a specific workflow job for a workflow run
RepositoryApi getWorkflowRun GET /repos/{owner}/{repo}/actions/runs/{run} Gets a specific workflow run
RepositoryApi getWorkflowRuns GET /repos/{owner}/{repo}/actions/runs Lists all runs for a repository run
RepositoryApi listActionTasks GET /repos/{owner}/{repo}/actions/tasks List a repository's action tasks
RepositoryApi listForks GET /repos/{owner}/{repo}/forks List a repository's forks
RepositoryApi listWorkflowJobs GET /repos/{owner}/{repo}/actions/jobs Lists all jobs for a repository
RepositoryApi listWorkflowRunJobs GET /repos/{owner}/{repo}/actions/runs/{run}/jobs Lists all jobs for a workflow run
RepositoryApi rejectRepoTransfer POST /repos/{owner}/{repo}/transfer/reject Reject a repo transfer
RepositoryApi repoAddCollaborator PUT /repos/{owner}/{repo}/collaborators/{collaborator} Add or Update 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 repoCreateRunnerRegistrationToken POST /repos/{owner}/{repo}/actions/runners/registration-token Get a repository's actions runner registration token
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 repoCreateTagProtection POST /repos/{owner}/{repo}/tag_protections Create a tag protections for 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 repoDeleteTagProtection DELETE /repos/{owner}/{repo}/tag_protections/{id} Delete a specific tag protection for the repository
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 repoEditTagProtection PATCH /repos/{owner}/{repo}/tag_protections/{id} Edit a tag protections for a repository. Only fields that are set will be changed
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 merged 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 repoGetContentsExt GET /repos/{owner}/{repo}/contents-ext/{filepath} The extended "contents" API, to get file metadata and/or content, or list a directory.
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 repoGetFileContents GET /repos/{owner}/{repo}/file-contents Get the metadata and contents of requested files
RepositoryApi repoGetFileContentsPost POST /repos/{owner}/{repo}/file-contents Get the metadata and contents of requested files
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 repoGetLicenses GET /repos/{owner}/{repo}/licenses Get repo licenses
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}/actions/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 repoGetTagProtection GET /repos/{owner}/{repo}/tag_protections/{id} Get a specific tag protection for the repository
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 repoListTagProtection GET /repos/{owner}/{repo}/tag_protections List tag protections for a repository
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 repoMergeUpstream POST /repos/{owner}/{repo}/merge-upstream Merge a branch from upstream
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 repoRenameBranch PATCH /repos/{owner}/{repo}/branches/{branch} Rename a branch
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 repoSigningKeySSH GET /repos/{owner}/{repo}/signing-key.pub Get signing-key.pub 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 repoUpdateBranchProtectionPriories POST /repos/{owner}/{repo}/branch_protections/priority Update the priorities of branch protections for a repository.
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 deleteUserRunner DELETE /user/actions/runners/{runner_id} Delete an user-level runner
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 getUserRunner GET /user/actions/runners/{runner_id} Get an user-level runner
UserApi getUserRunners GET /user/actions/runners Get user-level runners
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 getUserWorkflowJobs GET /user/actions/jobs Get workflow jobs
UserApi getUserWorkflowRuns GET /user/actions/runs Get workflow runs
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 userCreateRunnerRegistrationToken POST /user/actions/runners/registration-token Get an user's actions runner registration token
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

Models

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

About

This TypeScript SDK client supports the Fetch API and is automatically generated by the OpenAPI Generator project:

  • API version: 1.25.2
  • Package version: 1.25.2
  • Generator version: 7.18.0-SNAPSHOT
  • Build package: org.openapitools.codegen.languages.TypeScriptFetchClientCodegen

The generated npm module supports the following:

  • Environments
    • Node.js
    • Webpack
    • Browserify
  • Language levels
    • ES5 - you must have a Promises/A+ library installed
    • ES6
  • Module systems
    • CommonJS
    • ES6 module system

Development

Building

To build the TypeScript source code, you need to have Node.js and npm installed. After cloning the repository, navigate to the project directory and run:

npm install
npm run build

Publishing

Once you've built the package, you can publish it to npm:

npm publish

License

MIT

Details


Assets

  • gitea-client-fetch-1.25.2.tgz

Download activity

  • Total downloads 111
  • Last 30 days 70
  • Last week 5
  • Today 0

Recent versions

View all