package
1.8.0
Repository: https://github.com/jolheiser/gitea.git
Documentation: pkg.go.dev

# Functions

AddCollaborator add a collaborator to a repository.
AddIssueLabels add labels for an issue.
AddIssueSubscription Subscribe user to issue.
AddTime add time manual to the given issue.
AddTopic adds a topic name to a repo.
CanReadFiles returns true if repository is readable and user has proper access level.
CanWriteFiles returns true if repository is editable and user has proper access level.
ClearIssueLabels delete all the labels for an issue.
Create one repository of mine.
CreateDeployKey create deploy key for a repository.
CreateFile handles API call for creating a file.
CreateFork create a fork of a repo.
CreateHook create a hook for a repository.
CreateIssue create an issue of a repository.
CreateIssueComment create a comment for an issue.
CreateLabel create a label for a repository.
CreateMilestone create a milestone for a repository.
CreateOrgRepo create one repository of the organization.
CreateOrgRepoDeprecated create one repository of the organization.
CreatePullRequest does what it says.
CreateRelease create a release.
CreateReleaseAttachment creates an attachment and saves the given file.
CreateUserRepo create a repository for a user.
Delete one repository.
DeleteCollaborator delete a collaborator from a repository.
DeleteDeploykey delete deploy key for a repository.
DeleteFile Delete a fle in a repository.
DeleteGitHook delete a Git hook of a repository.
DeleteHook delete a hook of a repository.
DeleteIssueComment delete a comment from an issue.
DeleteIssueCommentDeprecated delete a comment from an issue.
DeleteIssueCommentReaction remove a reaction from a comment of an issue.
DeleteIssueLabel delete a label for an issue.
DeleteIssueReaction remove a reaction from an issue.
DeleteIssueStopwatch delete a specific stopwatch.
DeleteLabel delete a label for a repository.
DeleteMilestone delete a milestone for a repository.
DeleteRelease delete a release from a repository.
DeleteReleaseAttachment delete a given attachment.
DeleteTime delete a specific time by id.
DeleteTopic removes topic name from repo.
DelIssueSubscription Unsubscribe user from issue.
Edit edit repository properties.
EditGitHook modify a Git hook of a repository.
EditHook modify a hook of a repository.
EditIssue modify an issue of a repository.
EditIssueComment modify a comment of an issue.
EditIssueCommentDeprecated modify a comment of an issue.
EditLabel modify a label for a repository.
EditMilestone modify a milestone for a repository.
EditPullRequest does what it says.
EditRelease edit a release.
EditReleaseAttachment updates the given attachment.
Get one repository.
GetAllCommits get all commits via.
GetArchive get archive of a repository.
GetBlob get the blob of a repository file.
GetBranch get a branch of a repository.
GetByID returns a single Repository.
GetCombinedCommitStatusByRef returns the combined status for any given commit hash.
GetCommitStatuses returns all statuses for any given commit hash.
GetCommitStatusesByRef returns all statuses for any given commit ref.
GetContents Get the metadata and contents (if a file) of an entry in a repository, or a list of entries if a dir.
GetContentsList Get the metadata of all the entries of the root dir.
GetDeployKey get a deploy key by id.
GetEditorconfig get editor config of a repository.
GetGitAllRefs get ref or an list all the refs of a repository.
GetGitHook get a repo's Git hook by id.
GetGitRefs get ref or an filteresd list of refs of a repository.
GetHook get a repo's hook by id.
GetIssue get an issue of a repository.
GetIssueComment Get a comment by ID.
GetIssueCommentReactions list reactions of a comment from an issue.
GetIssueReactions list reactions of an issue.
GetIssueSubscribers return subscribers of an issue.
GetLabel get label by repository and label id.
GetMilestone get a milestone for a repository.
GetPullRequest returns a single PR based on index.
GetRawFile get a file by path on a repository.
GetRelease get a single release of a repository.
GetReleaseAttachment gets a single attachment of the release.
GetSingleCommit get a commit via.
GetStopwatches get all stopwatches.
GetTag get the tag of a repository.
GetTree get the tree of a repository.
HandleAddKeyError handle add key error.
HandleCheckKeyStringError handle check key error.
IsCollaborator check if a user is a collaborator of a repository.
IsPullRequestMerged checks if a PR exists given an index.
ListBranches list all the branches of a repository.
ListCollaborators list a repository's collaborators.
ListDeployKeys list all the deploy keys of a repository.
ListForks list a repository's forks.
ListGitHooks list all Git hooks of a repository.
ListHooks list all hooks of a repository.
ListIssueComments list all the comments of an issue.
ListIssueLabels list all the labels of an issue.
ListIssues list the issues of a repository.
ListLabels list all the labels of a repository.
ListMilestones list milestones for a repository.
ListMyTrackedTimes lists all tracked times of the current user.
ListPullRequests returns a list of all PRs.
ListReleaseAttachments lists all attachments of the release.
ListReleases list a repository's releases.
ListRepoIssueComments returns all issue-comments for a repo.
ListStargazers list a repository's stargazers.
ListSubscribers list a repo's subscribers (i.e.
ListTags list all the tags of a repository.
ListTopics returns list of current topics for repo.
ListTrackedTimes list all the tracked times of an issue.
ListTrackedTimesByRepository lists all tracked times of the repository.
ListTrackedTimesByUser lists all tracked times of the user.
MergePullRequest merges a PR given an index.
Migrate migrate remote git repository to gitea.
MirrorSync adds a mirrored repository to the sync queue.
NewCommitStatus creates a new CommitStatus.
PostIssueCommentReaction add a reaction to a comment of an issue.
PostIssueReaction add a reaction to an issue.
ReplaceIssueLabels replace labels for an issue.
ResetIssueTime reset time manual to the given issue.
Search repositories via options.
SearchIssues searches for issues across the repositories that the user has access to.
StartIssueStopwatch creates a stopwatch for the given issue.
StopIssueStopwatch stops a stopwatch for the given issue.
TestHook tests a hook.
TopicSearch search for creating topic.
Transfer transfers the ownership of a repository.
UpdateFile handles API call for updating a file.
UpdateIssueDeadline updates an issue deadline.
UpdateTopics updates repo with a new set of topics.