Gitea API.
This documentation describes the Gitea API.
- Homepage
- https://api.apis.guru/v2/specs/gitea.io/1.20.0+dev-93-g6886706f5.json
- Provider
- gitea.io
- OpenAPI version
- 2.0
- Spec (JSON)
- https://api.apis.guru/v2/specs/gitea.io/1.20.0+dev-93-g6886706f5/openapi.json
- Spec (YAML)
- https://api.apis.guru/v2/specs/gitea.io/1.20.0+dev-93-g6886706f5/openapi.yaml
Tools (327)
Extracted live via the executor SDK.
-
activitypub.activitypubPersonReturns the Person actor for a user
-
activitypub.activitypubPersonInboxSend to the inbox
-
admin.adminAdoptRepositoryAdopt unadopted files as a repository
-
admin.adminCreateHookCreate a hook
-
admin.adminCreateOrgCreate an organization
-
admin.adminCreatePublicKeyAdd a public key on behalf of a user
-
admin.adminCreateRepoCreate a repository on behalf of a user
-
admin.adminCreateUserCreate a user
-
admin.adminCronListList cron tasks
-
admin.adminCronRunRun cron task
-
admin.adminDeleteHookDelete a hook
-
admin.adminDeleteUnadoptedRepositoryDelete unadopted files
-
admin.adminDeleteUserDelete a user
-
admin.adminDeleteUserPublicKeyDelete a user's public key
-
admin.adminEditHookUpdate a hook
-
admin.adminEditUserEdit an existing user
-
admin.adminGetAllOrgsList all organizations
-
admin.adminGetAllUsersList all users
-
admin.adminGetHookGet a hook
-
admin.adminListHooksList system's webhooks
-
admin.adminUnadoptedListList unadopted repositories
-
issue.issueAddLabelAdd a label to an issue
-
issue.issueAddSubscriptionSubscribe user to issue
-
issue.issueAddTimeAdd tracked time to a issue
-
issue.issueCheckSubscriptionCheck if user is subscribed to an issue
-
issue.issueClearLabelsRemove all labels from an issue
-
issue.issueCreateCommentAdd a comment to an issue
-
issue.issueCreateIssueCreate an issue. If using deadline only the date will be taken into account, and time of day ignored.
-
issue.issueCreateIssueAttachmentCreate an issue attachment
-
issue.issueCreateIssueCommentAttachmentCreate a comment attachment
-
issue.issueCreateLabelCreate a label
-
issue.issueCreateMilestoneCreate a milestone
-
issue.issueDeleteDelete an issue
-
issue.issueDeleteCommentDelete a comment
-
issue.issueDeleteCommentDeprecatedDelete a comment
-
issue.issueDeleteCommentReactionRemove a reaction from a comment of an issue
-
issue.issueDeleteIssueAttachmentDelete an issue attachment
-
issue.issueDeleteIssueCommentAttachmentDelete a comment attachment
-
issue.issueDeleteIssueReactionRemove a reaction from an issue
-
issue.issueDeleteLabelDelete a label
-
issue.issueDeleteMilestoneDelete a milestone
-
issue.issueDeleteStopWatchDelete an issue's existing stopwatch.
-
issue.issueDeleteSubscriptionUnsubscribe user from issue
-
issue.issueDeleteTimeDelete specific tracked time
-
issue.issueEditCommentEdit a comment
-
issue.issueEditCommentDeprecatedEdit a comment
-
issue.issueEditIssueEdit an issue. If using deadline only the date will be taken into account, and time of day ignored.
-
issue.issueEditIssueAttachmentEdit an issue attachment
-
issue.issueEditIssueCommentAttachmentEdit a comment attachment
-
issue.issueEditIssueDeadlineSet 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.
-
issue.issueEditLabelUpdate a label
-
issue.issueEditMilestoneUpdate a milestone
-
issue.issueGetCommentGet a comment
-
issue.issueGetCommentReactionsGet a list of reactions from a comment of an issue
-
issue.issueGetCommentsList all comments on an issue
-
issue.issueGetCommentsAndTimelineList all comments and events on an issue
-
issue.issueGetIssueGet an issue
-
issue.issueGetIssueAttachmentGet an issue attachment
-
issue.issueGetIssueCommentAttachmentGet a comment attachment
-
issue.issueGetIssueReactionsGet a list reactions of an issue
-
issue.issueGetLabelGet a single label
-
issue.issueGetLabelsGet an issue's labels
-
issue.issueGetMilestoneGet a milestone
-
issue.issueGetMilestonesListGet all of a repository's opened milestones
-
issue.issueGetRepoCommentsList all comments in a repository
-
issue.issueListIssueAttachmentsList issue's attachments
-
issue.issueListIssueCommentAttachmentsList comment's attachments
-
issue.issueListIssuesList a repository's issues
-
issue.issueListLabelsGet all of a repository's labels
-
issue.issuePostCommentReactionAdd a reaction to a comment of an issue
-
issue.issuePostIssueReactionAdd a reaction to an issue
-
issue.issueRemoveLabelRemove a label from an issue
-
issue.issueReplaceLabelsReplace an issue's labels
-
issue.issueResetTimeReset a tracked time of an issue
-
issue.issueSearchIssuesSearch for issues across the repositories that the user has access to
-
issue.issueStartStopWatchStart stopwatch on an issue.
-
issue.issueStopStopWatchStop an issue's existing stopwatch.
-
issue.issueSubscriptionsGet users who subscribed on an issue.
-
issue.issueTrackedTimesList an issue's tracked times
-
miscellaneous.getNodeInfoReturns the nodeinfo of the Gitea application
-
miscellaneous.getSigningKeyGet default signing-key.gpg
-
miscellaneous.getVersionReturns the version of the Gitea application
-
miscellaneous.renderMarkdownRender a markdown document as HTML
-
miscellaneous.renderMarkdownRawRender raw markdown as HTML
-
notification.notifyGetListList users's notification threads
-
notification.notifyGetRepoListList users's notification threads on a specific repo
-
notification.notifyGetThreadGet notification thread by ID
-
notification.notifyNewAvailableCheck if unread notifications exist
-
notification.notifyReadListMark notification threads as read, pinned or unread
-
notification.notifyReadRepoListMark notification threads as read, pinned or unread on a specific repo
-
notification.notifyReadThreadMark notification thread as read by ID
-
organization.createOrgRepoCreate a repository in an organization
-
organization.createOrgRepoDeprecatedCreate a repository in an organization
-
organization.orgAddTeamMemberAdd a team member
-
organization.orgAddTeamRepositoryAdd a repository to a team
-
organization.orgConcealMemberConceal a user's membership
-
organization.orgCreateCreate an organization
-
organization.orgCreateHookCreate a hook
-
organization.orgCreateLabelCreate a label for an organization
-
organization.orgCreateTeamCreate a team
-
organization.orgDeleteDelete an organization
-
organization.orgDeleteHookDelete a hook
-
organization.orgDeleteLabelDelete a label
-
organization.orgDeleteMemberRemove a member from an organization
-
organization.orgDeleteTeamDelete a team
-
organization.orgEditEdit an organization
-
organization.orgEditHookUpdate a hook
-
organization.orgEditLabelUpdate a label
-
organization.orgEditTeamEdit a team
-
organization.orgGetGet an organization
-
organization.orgGetAllGet list of organizations
-
organization.orgGetHookGet a hook
-
organization.orgGetLabelGet a single label
-
organization.orgGetTeamGet a team
-
organization.orgGetUserPermissionsGet user permissions in organization
-
organization.orgIsMemberCheck if a user is a member of an organization
-
organization.orgIsPublicMemberCheck if a user is a public member of an organization
-
organization.orgListCurrentUserOrgsList the current user's organizations
-
organization.orgListHooksList an organization's webhooks
-
organization.orgListLabelsList an organization's labels
-
organization.orgListMembersList an organization's members
-
organization.orgListPublicMembersList an organization's public members
-
organization.orgListReposList an organization's repos
-
organization.orgListTeamMemberList a particular member of team
-
organization.orgListTeamMembersList a team's members
-
organization.orgListTeamRepoList a particular repo of team
-
organization.orgListTeamReposList a team's repos
-
organization.orgListTeamsList an organization's teams
-
organization.orgListUserOrgsList a user's organizations
-
organization.orgPublicizeMemberPublicize a user's membership
-
organization.orgRemoveTeamMemberRemove a team member
-
organization.orgRemoveTeamRepositoryThis does not delete the repository, it only removes the repository from the team.
-
organization.teamSearchSearch for teams within an organization
-
package.deletePackageDelete a package
-
package.getPackageGets a package
-
package.listPackageFilesGets all files of a package
-
package.listPackagesGets all packages of an owner
-
repository.acceptRepoTransferAccept a repo transfer
-
repository.createCurrentUserRepoCreate a repository
-
repository.createForkFork a repository
-
repository.generateRepoCreate a repository using a template
-
repository.getAnnotatedTagGets the tag object of an annotated tag (not lightweight tags)
-
repository.getBlobGets the blob of a repository.
-
repository.getTreeGets the tree of a repository.
-
repository.listForksList a repository's forks
-
repository.rejectRepoTransferReject a repo transfer
-
repository.repoAddCollaboratorAdd a collaborator to a repository
-
repository.repoAddPushMirroradd a push mirror to the repository
-
repository.repoAddTeamAdd a team to a repository
-
repository.repoAddTopicAdd a topic to a repository
-
repository.repoApplyDiffPatchApply diff patch to repository
-
repository.repoCancelScheduledAutoMergeCancel the scheduled auto merge for the given pull request
-
repository.repoCheckCollaboratorCheck if a user is a collaborator of a repository
-
repository.repoCheckTeamCheck if a team is assigned to a repository
-
repository.repoCreateBranchCreate a branch
-
repository.repoCreateBranchProtectionCreate a branch protections for a repository
-
repository.repoCreateFileCreate a file in a repository
-
repository.repoCreateHookCreate a hook
-
repository.repoCreateKeyAdd a key to a repository
-
repository.repoCreatePullRequestCreate a pull request
-
repository.repoCreatePullReviewCreate a review to an pull request
-
repository.repoCreatePullReviewRequestscreate review requests for a pull request
-
repository.repoCreateReleaseCreate a release
-
repository.repoCreateReleaseAttachmentCreate a release attachment
-
repository.repoCreateStatusCreate a commit status
-
repository.repoCreateTagCreate a new git tag in a repository
-
repository.repoCreateWikiPageCreate a wiki page
-
repository.repoDeleteDelete a repository
-
repository.repoDeleteBranchDelete a specific branch from a repository
-
repository.repoDeleteBranchProtectionDelete a specific branch protection for the repository
-
repository.repoDeleteCollaboratorDelete a collaborator from a repository
-
repository.repoDeleteFileDelete a file in a repository
-
repository.repoDeleteGitHookDelete a Git hook in a repository
-
repository.repoDeleteHookDelete a hook in a repository
-
repository.repoDeleteKeyDelete a key from a repository
-
repository.repoDeletePullReviewDelete a specific review from a pull request
-
repository.repoDeletePullReviewRequestscancel review requests for a pull request
-
repository.repoDeletePushMirrordeletes a push mirror from a repository by remoteName
-
repository.repoDeleteReleaseDelete a release
-
repository.repoDeleteReleaseAttachmentDelete a release attachment
-
repository.repoDeleteReleaseByTagDelete a release by tag name
-
repository.repoDeleteTagDelete a repository's tag by name
-
repository.repoDeleteTeamDelete a team from a repository
-
repository.repoDeleteTopicDelete a topic from a repository
-
repository.repoDeleteWikiPageDelete a wiki page
-
repository.repoDismissPullReviewDismiss a review for a pull request
-
repository.repoDownloadCommitDiffOrPatchGet a commit's diff or patch
-
repository.repoDownloadPullDiffOrPatchGet a pull request diff or patch
-
repository.repoEditEdit a repository's properties. Only fields that are set will be changed.
-
repository.repoEditBranchProtectionEdit a branch protections for a repository. Only fields that are set will be changed
-
repository.repoEditGitHookEdit a Git hook in a repository
-
repository.repoEditHookEdit a hook in a repository
-
repository.repoEditPullRequestUpdate a pull request. If using deadline only the date will be taken into account, and time of day ignored.
-
repository.repoEditReleaseUpdate a release
-
repository.repoEditReleaseAttachmentEdit a release attachment
-
repository.repoEditWikiPageEdit a wiki page
-
repository.repoGetGet a repository
-
repository.repoGetAllCommitsGet a list of all commits from a repository
-
repository.repoGetArchiveGet an archive of a repository
-
repository.repoGetAssigneesReturn all users that have write access and can be assigned to issues
-
repository.repoGetBranchRetrieve a specific branch from a repository, including its effective branch protection
-
repository.repoGetBranchProtectionGet a specific branch protection for the repository
-
repository.repoGetByIdGet a repository by id
-
repository.repoGetCombinedStatusByRefGet a commit's combined status, by branch/tag/commit reference
-
repository.repoGetContentsGets the metadata and contents (if a file) of an entry in a repository, or a list of entries if a dir
-
repository.repoGetContentsListGets the metadata of all the entries of the root dir
-
repository.repoGetEditorConfigGet the EditorConfig definitions of a file in a repository
-
repository.repoGetGitHookGet a Git hook
-
repository.repoGetHookGet a hook
-
repository.repoGetIssueTemplatesGet available issue templates for a repository
-
repository.repoGetKeyGet a repository's key by id
-
repository.repoGetLanguagesGet languages and number of bytes of code written
-
repository.repoGetLatestReleaseGets the most recent non-prerelease, non-draft release of a repository, sorted by created_at
-
repository.repoGetNoteGet a note corresponding to a single commit from a repository
-
repository.repoGetPullRequestGet a pull request
-
repository.repoGetPullRequestCommitsGet commits for a pull request
-
repository.repoGetPullRequestFilesGet changed files for a pull request
-
repository.repoGetPullReviewGet a specific review for a pull request
-
repository.repoGetPullReviewCommentsGet a specific review for a pull request
-
repository.repoGetPushMirrorByRemoteNameGet push mirror of the repository by remoteName
-
repository.repoGetRawFileGet a file from a repository
-
repository.repoGetRawFileOrLfsGet a file or it's LFS object from a repository
-
repository.repoGetReleaseGet a release
-
repository.repoGetReleaseAttachmentGet a release attachment
-
repository.repoGetReleaseByTagGet a release by tag name
-
repository.repoGetRepoPermissionsGet repository permissions for a user
-
repository.repoGetReviewersReturn all users that can be requested to review in this repo
-
repository.repoGetSingleCommitGet a single commit from a repository
-
repository.repoGetTagGet the tag of a repository by tag name
-
repository.repoGetWikiPageGet a wiki page
-
repository.repoGetWikiPageRevisionsGet revisions of a wiki page
-
repository.repoGetWikiPagesGet all wiki pages
-
repository.repoListAllGitRefsGet specified ref or filtered repository's refs
-
repository.repoListBranchesList a repository's branches
-
repository.repoListBranchProtectionList branch protections for a repository
-
repository.repoListCollaboratorsList a repository's collaborators
-
repository.repoListGitHooksList the Git hooks in a repository
-
repository.repoListGitRefsGet specified ref or filtered repository's refs
-
repository.repoListHooksList the hooks in a repository
-
repository.repoListKeysList a repository's keys
-
repository.repoListPullRequestsList a repo's pull requests
-
repository.repoListPullReviewsList all reviews for a pull request
-
repository.repoListPushMirrorsGet all push mirrors of the repository
-
repository.repoListReleaseAttachmentsList release's attachments
-
repository.repoListReleasesList a repo's releases
-
repository.repoListStargazersList a repo's stargazers
-
repository.repoListStatusesGet a commit's statuses
-
repository.repoListStatusesByRefGet a commit's statuses, by branch/tag/commit reference
-
repository.repoListSubscribersList a repo's watchers
-
repository.repoListTagsList a repository's tags
-
repository.repoListTeamsList a repository's teams
-
repository.repoListTopicsGet list of topics that a repository has
-
repository.repoMergePullRequestMerge a pull request
-
repository.repoMigrateMigrate a remote git repository
-
repository.repoMirrorSyncSync a mirrored repository
-
repository.repoPullRequestIsMergedCheck if a pull request has been merged
-
repository.repoPushMirrorSyncSync all push mirrored repository
-
repository.repoSearchSearch for repositories
-
repository.repoSigningKeyGet signing-key.gpg for given repository
-
repository.repoSubmitPullReviewSubmit a pending review to an pull request
-
repository.repoTestHookTest a push webhook
-
repository.repoTrackedTimesList a repo's tracked times
-
repository.repoTransferTransfer a repo ownership
-
repository.repoUnDismissPullReviewCancel to dismiss a review for a pull request
-
repository.repoUpdateFileUpdate a file in a repository
-
repository.repoUpdatePullRequestMerge PR's baseBranch into headBranch
-
repository.repoUpdateTopicsReplace list of topics for a repository
-
repository.topicSearchsearch topics via keyword
-
repository.userCurrentCheckSubscriptionCheck if the current user is watching a repo
-
repository.userCurrentDeleteSubscriptionUnwatch a repo
-
repository.userCurrentPutSubscriptionWatch a repo
-
repository.userTrackedTimesList a user's tracked times in a repo
-
settings.getGeneralApiSettingsGet instance's global settings for api
-
settings.getGeneralAttachmentSettingsGet instance's global settings for Attachment
-
settings.getGeneralRepositorySettingsGet instance's global settings for repositories
-
settings.getGeneralUiSettingsGet instance's global settings for ui
-
user.getUserSettingsGet user settings
-
user.getVerificationTokenGet a Token to verify
-
user.updateUserSettingsUpdate user settings
-
user.userAddEmailAdd email addresses
-
user.userCheckFollowingCheck if one user is following another user
-
user.userCreateOAuth2Applicationcreates a new OAuth2 application
-
user.userCreateTokenCreate an access token
-
user.userCurrentCheckFollowingCheck whether a user is followed by the authenticated user
-
user.userCurrentCheckStarringWhether the authenticated is starring the repo
-
user.userCurrentDeleteFollowUnfollow a user
-
user.userCurrentDeleteGpgKeyRemove a GPG key
-
user.userCurrentDeleteKeyDelete a public key
-
user.userCurrentDeleteStarUnstar the given repo
-
user.userCurrentGetGpgKeyGet a GPG key
-
user.userCurrentGetKeyGet a public key
-
user.userCurrentListFollowersList the authenticated user's followers
-
user.userCurrentListFollowingList the users that the authenticated user is following
-
user.userCurrentListGpgKeysList the authenticated user's GPG keys
-
user.userCurrentListKeysList the authenticated user's public keys
-
user.userCurrentListReposList the repos that the authenticated user owns
-
user.userCurrentListStarredThe repos that the authenticated user has starred
-
user.userCurrentListSubscriptionsList repositories watched by the authenticated user
-
user.userCurrentPostGpgKeyCreate a GPG key
-
user.userCurrentPostKeyCreate a public key
-
user.userCurrentPutFollowFollow a user
-
user.userCurrentPutStarStar the given repo
-
user.userCurrentTrackedTimesList the current user's tracked times
-
user.userDeleteAccessTokendelete an access token
-
user.userDeleteEmailDelete email addresses
-
user.userDeleteOAuth2Applicationdelete an OAuth2 Application
-
user.userGetGet a user
-
user.userGetCurrentGet the authenticated user
-
user.userGetHeatmapDataGet a user's heatmap
-
user.userGetOauth2ApplicationList the authenticated user's oauth2 applications
-
user.userGetOAuth2Applicationget an OAuth2 Application
-
user.userGetStopWatchesGet list of all existing stopwatches
-
user.userGetTokensList the authenticated user's access tokens
-
user.userListEmailsList the authenticated user's email addresses
-
user.userListFollowersList the given user's followers
-
user.userListFollowingList the users that the given user is following
-
user.userListGpgKeysList the given user's GPG keys
-
user.userListKeysList the given user's public keys
-
user.userListReposList the repos owned by the given user
-
user.userListStarredThe repos that the given user has starred
-
user.userListSubscriptionsList the repositories watched by a user
-
user.userListTeamsList all the teams a user belongs to
-
user.userSearchSearch for users
-
user.userUpdateOAuth2Applicationupdate an OAuth2 Application, this includes regenerating the client secret
-
user.userVerifyGpgKeyVerify a GPG key
-
openapi.previewSpecPreview an OpenAPI document before adding it as a source
-
openapi.addSourceAdd an OpenAPI source and register its operations as tools