Documentation ¶
Index ¶
- func AddCollaborator(ctx *context.APIContext, form api.AddCollaboratorOption)
- func AddIssueLabels(ctx *context.APIContext, form api.IssueLabelsOption)
- func AddIssueSubscription(ctx *context.APIContext)
- func AddTime(ctx *context.APIContext, form api.AddTimeOption)
- func AddTopic(ctx *context.APIContext)
- func CanReadFiles(r *context.Repository) bool
- func CanWriteFiles(r *context.Repository) bool
- func ClearIssueLabels(ctx *context.APIContext)
- func Create(ctx *context.APIContext, opt api.CreateRepoOption)
- func CreateDeployKey(ctx *context.APIContext, form api.CreateKeyOption)
- func CreateFile(ctx *context.APIContext, apiOpts api.CreateFileOptions)
- func CreateFork(ctx *context.APIContext, form api.CreateForkOption)
- func CreateHook(ctx *context.APIContext, form api.CreateHookOption)
- func CreateIssue(ctx *context.APIContext, form api.CreateIssueOption)
- func CreateIssueComment(ctx *context.APIContext, form api.CreateIssueCommentOption)
- func CreateLabel(ctx *context.APIContext, form api.CreateLabelOption)
- func CreateMilestone(ctx *context.APIContext, form api.CreateMilestoneOption)
- func CreateOrgRepo(ctx *context.APIContext, opt api.CreateRepoOption)
- func CreatePullRequest(ctx *context.APIContext, form api.CreatePullRequestOption)
- func CreateRelease(ctx *context.APIContext, form api.CreateReleaseOption)
- func CreateReleaseAttachment(ctx *context.APIContext)
- func CreateUserRepo(ctx *context.APIContext, owner *models.User, opt api.CreateRepoOption)
- func DelIssueSubscription(ctx *context.APIContext)
- func Delete(ctx *context.APIContext)
- func DeleteCollaborator(ctx *context.APIContext)
- func DeleteDeploykey(ctx *context.APIContext)
- func DeleteFile(ctx *context.APIContext, apiOpts api.DeleteFileOptions)
- func DeleteGitHook(ctx *context.APIContext)
- func DeleteHook(ctx *context.APIContext)
- func DeleteIssueComment(ctx *context.APIContext)
- func DeleteIssueCommentDeprecated(ctx *context.APIContext)
- func DeleteIssueCommentReaction(ctx *context.APIContext, form api.EditReactionOption)
- func DeleteIssueLabel(ctx *context.APIContext)
- func DeleteIssueReaction(ctx *context.APIContext, form api.EditReactionOption)
- func DeleteIssueStopwatch(ctx *context.APIContext)
- func DeleteLabel(ctx *context.APIContext)
- func DeleteMilestone(ctx *context.APIContext)
- func DeleteRelease(ctx *context.APIContext)
- func DeleteReleaseAttachment(ctx *context.APIContext)
- func DeleteTime(ctx *context.APIContext)
- func DeleteTopic(ctx *context.APIContext)
- func Edit(ctx *context.APIContext, opts api.EditRepoOption)
- func EditGitHook(ctx *context.APIContext, form api.EditGitHookOption)
- func EditHook(ctx *context.APIContext, form api.EditHookOption)
- func EditIssue(ctx *context.APIContext, form api.EditIssueOption)
- func EditIssueComment(ctx *context.APIContext, form api.EditIssueCommentOption)
- func EditIssueCommentDeprecated(ctx *context.APIContext, form api.EditIssueCommentOption)
- func EditLabel(ctx *context.APIContext, form api.EditLabelOption)
- func EditMilestone(ctx *context.APIContext, form api.EditMilestoneOption)
- func EditPullRequest(ctx *context.APIContext, form api.EditPullRequestOption)
- func EditRelease(ctx *context.APIContext, form api.EditReleaseOption)
- func EditReleaseAttachment(ctx *context.APIContext, form api.EditAttachmentOptions)
- func Get(ctx *context.APIContext)
- func GetAllCommits(ctx *context.APIContext)
- func GetArchive(ctx *context.APIContext)
- func GetBlob(ctx *context.APIContext)
- func GetBranch(ctx *context.APIContext)
- func GetByID(ctx *context.APIContext)
- func GetCombinedCommitStatusByRef(ctx *context.APIContext)
- func GetCommitStatuses(ctx *context.APIContext)
- func GetCommitStatusesByRef(ctx *context.APIContext)
- func GetContents(ctx *context.APIContext)
- func GetContentsList(ctx *context.APIContext)
- func GetDeployKey(ctx *context.APIContext)
- func GetEditorconfig(ctx *context.APIContext)
- func GetGitAllRefs(ctx *context.APIContext)
- func GetGitHook(ctx *context.APIContext)
- func GetGitRefs(ctx *context.APIContext)
- func GetHook(ctx *context.APIContext)
- func GetIssue(ctx *context.APIContext)
- func GetIssueCommentReactions(ctx *context.APIContext)
- func GetIssueReactions(ctx *context.APIContext)
- func GetIssueSubscribers(ctx *context.APIContext)
- func GetLabel(ctx *context.APIContext)
- func GetMilestone(ctx *context.APIContext)
- func GetPullRequest(ctx *context.APIContext)
- func GetRawFile(ctx *context.APIContext)
- func GetRelease(ctx *context.APIContext)
- func GetReleaseAttachment(ctx *context.APIContext)
- func GetSingleCommit(ctx *context.APIContext)
- func GetStopwatches(ctx *context.APIContext)
- func GetTag(ctx *context.APIContext)
- func GetTree(ctx *context.APIContext)
- func HandleAddKeyError(ctx *context.APIContext, err error)
- func HandleCheckKeyStringError(ctx *context.APIContext, err error)
- func IsCollaborator(ctx *context.APIContext)
- func IsPullRequestMerged(ctx *context.APIContext)
- func ListBranches(ctx *context.APIContext)
- func ListCollaborators(ctx *context.APIContext)
- func ListDeployKeys(ctx *context.APIContext)
- func ListForks(ctx *context.APIContext)
- func ListGitHooks(ctx *context.APIContext)
- func ListHooks(ctx *context.APIContext)
- func ListIssueComments(ctx *context.APIContext)
- func ListIssueLabels(ctx *context.APIContext)
- func ListIssues(ctx *context.APIContext)
- func ListLabels(ctx *context.APIContext)
- func ListMilestones(ctx *context.APIContext)
- func ListMyTrackedTimes(ctx *context.APIContext)
- func ListPullRequests(ctx *context.APIContext, form api.ListPullRequestsOptions)
- func ListReleaseAttachments(ctx *context.APIContext)
- func ListReleases(ctx *context.APIContext)
- func ListRepoIssueComments(ctx *context.APIContext)
- func ListStargazers(ctx *context.APIContext)
- func ListSubscribers(ctx *context.APIContext)
- func ListTags(ctx *context.APIContext)
- func ListTopics(ctx *context.APIContext)
- func ListTrackedTimes(ctx *context.APIContext)
- func ListTrackedTimesByRepository(ctx *context.APIContext)
- func ListTrackedTimesByUser(ctx *context.APIContext)
- func MergePullRequest(ctx *context.APIContext, form auth.MergePullRequestForm)
- func Migrate(ctx *context.APIContext, form auth.MigrateRepoForm)
- func MirrorSync(ctx *context.APIContext)
- func NewCommitStatus(ctx *context.APIContext, form api.CreateStatusOption)
- func PostIssueCommentReaction(ctx *context.APIContext, form api.EditReactionOption)
- func PostIssueReaction(ctx *context.APIContext, form api.EditReactionOption)
- func ReplaceIssueLabels(ctx *context.APIContext, form api.IssueLabelsOption)
- func ResetIssueTime(ctx *context.APIContext)
- func Search(ctx *context.APIContext)
- func SearchIssues(ctx *context.APIContext)
- func StartIssueStopwatch(ctx *context.APIContext)
- func StopIssueStopwatch(ctx *context.APIContext)
- func TestHook(ctx *context.APIContext)
- func TopicSearch(ctx *context.Context)
- func UpdateFile(ctx *context.APIContext, apiOpts api.UpdateFileOptions)
- func UpdateIssueDeadline(ctx *context.APIContext, form api.EditDeadlineOption)
- func UpdateTopics(ctx *context.APIContext, form api.RepoTopicOptions)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddCollaborator ¶
func AddCollaborator(ctx *context.APIContext, form api.AddCollaboratorOption)
AddCollaborator add a collaborator to a repository
func AddIssueLabels ¶
func AddIssueLabels(ctx *context.APIContext, form api.IssueLabelsOption)
AddIssueLabels add labels for an issue
func AddIssueSubscription ¶ added in v1.11.0
func AddIssueSubscription(ctx *context.APIContext)
AddIssueSubscription Subscribe user to issue
func AddTime ¶ added in v1.3.0
func AddTime(ctx *context.APIContext, form api.AddTimeOption)
AddTime add time manual to the given issue
func AddTopic ¶ added in v1.10.0
func AddTopic(ctx *context.APIContext)
AddTopic adds a topic name to a repo
func CanReadFiles ¶ added in v1.9.0
func CanReadFiles(r *context.Repository) bool
CanReadFiles returns true if repository is readable and user has proper access level.
func CanWriteFiles ¶ added in v1.9.0
func CanWriteFiles(r *context.Repository) bool
CanWriteFiles returns true if repository is editable and user has proper access level.
func ClearIssueLabels ¶
func ClearIssueLabels(ctx *context.APIContext)
ClearIssueLabels delete all the labels for an issue
func Create ¶
func Create(ctx *context.APIContext, opt api.CreateRepoOption)
Create one repository of mine
func CreateDeployKey ¶
func CreateDeployKey(ctx *context.APIContext, form api.CreateKeyOption)
CreateDeployKey create deploy key for a repository
func CreateFile ¶ added in v1.9.0
func CreateFile(ctx *context.APIContext, apiOpts api.CreateFileOptions)
CreateFile handles API call for creating a file
func CreateFork ¶ added in v1.1.0
func CreateFork(ctx *context.APIContext, form api.CreateForkOption)
CreateFork create a fork of a repo
func CreateHook ¶
func CreateHook(ctx *context.APIContext, form api.CreateHookOption)
CreateHook create a hook for a repository
func CreateIssue ¶
func CreateIssue(ctx *context.APIContext, form api.CreateIssueOption)
CreateIssue create an issue of a repository
func CreateIssueComment ¶
func CreateIssueComment(ctx *context.APIContext, form api.CreateIssueCommentOption)
CreateIssueComment create a comment for an issue
func CreateLabel ¶
func CreateLabel(ctx *context.APIContext, form api.CreateLabelOption)
CreateLabel create a label for a repository
func CreateMilestone ¶
func CreateMilestone(ctx *context.APIContext, form api.CreateMilestoneOption)
CreateMilestone create a milestone for a repository
func CreateOrgRepo ¶
func CreateOrgRepo(ctx *context.APIContext, opt api.CreateRepoOption)
CreateOrgRepo create one repository of the organization
func CreatePullRequest ¶ added in v1.0.0
func CreatePullRequest(ctx *context.APIContext, form api.CreatePullRequestOption)
CreatePullRequest does what it says
func CreateRelease ¶ added in v1.1.0
func CreateRelease(ctx *context.APIContext, form api.CreateReleaseOption)
CreateRelease create a release
func CreateReleaseAttachment ¶ added in v1.5.0
func CreateReleaseAttachment(ctx *context.APIContext)
CreateReleaseAttachment creates an attachment and saves the given file
func CreateUserRepo ¶
func CreateUserRepo(ctx *context.APIContext, owner *models.User, opt api.CreateRepoOption)
CreateUserRepo create a repository for a user
func DelIssueSubscription ¶ added in v1.11.0
func DelIssueSubscription(ctx *context.APIContext)
DelIssueSubscription Unsubscribe user from issue
func DeleteCollaborator ¶ added in v1.1.0
func DeleteCollaborator(ctx *context.APIContext)
DeleteCollaborator delete a collaborator from a repository
func DeleteDeploykey ¶
func DeleteDeploykey(ctx *context.APIContext)
DeleteDeploykey delete deploy key for a repository
func DeleteFile ¶ added in v1.9.0
func DeleteFile(ctx *context.APIContext, apiOpts api.DeleteFileOptions)
DeleteFile Delete a fle in a repository
func DeleteGitHook ¶ added in v1.9.0
func DeleteGitHook(ctx *context.APIContext)
DeleteGitHook delete a Git hook of a repository
func DeleteIssueComment ¶ added in v1.0.0
func DeleteIssueComment(ctx *context.APIContext)
DeleteIssueComment delete a comment from an issue
func DeleteIssueCommentDeprecated ¶ added in v1.4.0
func DeleteIssueCommentDeprecated(ctx *context.APIContext)
DeleteIssueCommentDeprecated delete a comment from an issue
func DeleteIssueCommentReaction ¶ added in v1.11.0
func DeleteIssueCommentReaction(ctx *context.APIContext, form api.EditReactionOption)
DeleteIssueCommentReaction remove a reaction from a comment of an issue
func DeleteIssueLabel ¶
func DeleteIssueLabel(ctx *context.APIContext)
DeleteIssueLabel delete a label for an issue
func DeleteIssueReaction ¶ added in v1.11.0
func DeleteIssueReaction(ctx *context.APIContext, form api.EditReactionOption)
DeleteIssueReaction remove a reaction from an issue
func DeleteIssueStopwatch ¶ added in v1.11.0
func DeleteIssueStopwatch(ctx *context.APIContext)
DeleteIssueStopwatch delete a specific stopwatch
func DeleteLabel ¶
func DeleteLabel(ctx *context.APIContext)
DeleteLabel delete a label for a repository
func DeleteMilestone ¶
func DeleteMilestone(ctx *context.APIContext)
DeleteMilestone delete a milestone for a repository
func DeleteRelease ¶ added in v1.1.0
func DeleteRelease(ctx *context.APIContext)
DeleteRelease delete a release from a repository
func DeleteReleaseAttachment ¶ added in v1.5.0
func DeleteReleaseAttachment(ctx *context.APIContext)
DeleteReleaseAttachment delete a given attachment
func DeleteTime ¶ added in v1.11.0
func DeleteTime(ctx *context.APIContext)
DeleteTime delete a specific time by id
func DeleteTopic ¶ added in v1.10.0
func DeleteTopic(ctx *context.APIContext)
DeleteTopic removes topic name from repo
func Edit ¶ added in v1.9.0
func Edit(ctx *context.APIContext, opts api.EditRepoOption)
Edit edit repository properties
func EditGitHook ¶ added in v1.9.0
func EditGitHook(ctx *context.APIContext, form api.EditGitHookOption)
EditGitHook modify a Git hook of a repository
func EditHook ¶
func EditHook(ctx *context.APIContext, form api.EditHookOption)
EditHook modify a hook of a repository
func EditIssue ¶
func EditIssue(ctx *context.APIContext, form api.EditIssueOption)
EditIssue modify an issue of a repository
func EditIssueComment ¶
func EditIssueComment(ctx *context.APIContext, form api.EditIssueCommentOption)
EditIssueComment modify a comment of an issue
func EditIssueCommentDeprecated ¶ added in v1.4.0
func EditIssueCommentDeprecated(ctx *context.APIContext, form api.EditIssueCommentOption)
EditIssueCommentDeprecated modify a comment of an issue
func EditLabel ¶
func EditLabel(ctx *context.APIContext, form api.EditLabelOption)
EditLabel modify a label for a repository
func EditMilestone ¶
func EditMilestone(ctx *context.APIContext, form api.EditMilestoneOption)
EditMilestone modify a milestone for a repository
func EditPullRequest ¶ added in v1.0.0
func EditPullRequest(ctx *context.APIContext, form api.EditPullRequestOption)
EditPullRequest does what it says
func EditRelease ¶ added in v1.1.0
func EditRelease(ctx *context.APIContext, form api.EditReleaseOption)
EditRelease edit a release
func EditReleaseAttachment ¶ added in v1.5.0
func EditReleaseAttachment(ctx *context.APIContext, form api.EditAttachmentOptions)
EditReleaseAttachment updates the given attachment
func GetAllCommits ¶ added in v1.10.0
func GetAllCommits(ctx *context.APIContext)
GetAllCommits get all commits via
func GetBlob ¶ added in v1.9.0
func GetBlob(ctx *context.APIContext)
GetBlob get the blob of a repository file.
func GetByID ¶ added in v1.0.0
func GetByID(ctx *context.APIContext)
GetByID returns a single Repository
func GetCombinedCommitStatusByRef ¶ added in v1.3.0
func GetCombinedCommitStatusByRef(ctx *context.APIContext)
GetCombinedCommitStatusByRef returns the combined status for any given commit hash
func GetCommitStatuses ¶ added in v1.2.0
func GetCommitStatuses(ctx *context.APIContext)
GetCommitStatuses returns all statuses for any given commit hash
func GetCommitStatusesByRef ¶ added in v1.3.0
func GetCommitStatusesByRef(ctx *context.APIContext)
GetCommitStatusesByRef returns all statuses for any given commit ref
func GetContents ¶ added in v1.9.0
func GetContents(ctx *context.APIContext)
GetContents Get the metadata and contents (if a file) of an entry in a repository, or a list of entries if a dir
func GetContentsList ¶ added in v1.9.0
func GetContentsList(ctx *context.APIContext)
GetContentsList Get the metadata of all the entries of the root dir
func GetEditorconfig ¶
func GetEditorconfig(ctx *context.APIContext)
GetEditorconfig get editor config of a repository
func GetGitAllRefs ¶ added in v1.7.0
func GetGitAllRefs(ctx *context.APIContext)
GetGitAllRefs get ref or an list all the refs of a repository
func GetGitHook ¶ added in v1.9.0
func GetGitHook(ctx *context.APIContext)
GetGitHook get a repo's Git hook by id
func GetGitRefs ¶ added in v1.7.0
func GetGitRefs(ctx *context.APIContext)
GetGitRefs get ref or an filteresd list of refs of a repository
func GetHook ¶ added in v1.1.0
func GetHook(ctx *context.APIContext)
GetHook get a repo's hook by id
func GetIssueCommentReactions ¶ added in v1.11.0
func GetIssueCommentReactions(ctx *context.APIContext)
GetIssueCommentReactions list reactions of a comment from an issue
func GetIssueReactions ¶ added in v1.11.0
func GetIssueReactions(ctx *context.APIContext)
GetIssueReactions list reactions of an issue
func GetIssueSubscribers ¶ added in v1.11.0
func GetIssueSubscribers(ctx *context.APIContext)
GetIssueSubscribers return subscribers of an issue
func GetLabel ¶
func GetLabel(ctx *context.APIContext)
GetLabel get label by repository and label id
func GetMilestone ¶
func GetMilestone(ctx *context.APIContext)
GetMilestone get a milestone for a repository
func GetPullRequest ¶ added in v1.0.0
func GetPullRequest(ctx *context.APIContext)
GetPullRequest returns a single PR based on index
func GetRawFile ¶
func GetRawFile(ctx *context.APIContext)
GetRawFile get a file by path on a repository
func GetRelease ¶ added in v1.1.0
func GetRelease(ctx *context.APIContext)
GetRelease get a single release of a repository
func GetReleaseAttachment ¶ added in v1.5.0
func GetReleaseAttachment(ctx *context.APIContext)
GetReleaseAttachment gets a single attachment of the release
func GetSingleCommit ¶ added in v1.8.0
func GetSingleCommit(ctx *context.APIContext)
GetSingleCommit get a commit via
func GetStopwatches ¶ added in v1.11.0
func GetStopwatches(ctx *context.APIContext)
GetStopwatches get all stopwatches
func GetTag ¶ added in v1.9.0
func GetTag(ctx *context.APIContext)
GetTag get the tag of a repository.
func GetTree ¶ added in v1.7.0
func GetTree(ctx *context.APIContext)
GetTree get the tree of a repository.
func HandleAddKeyError ¶
func HandleAddKeyError(ctx *context.APIContext, err error)
HandleAddKeyError handle add key error
func HandleCheckKeyStringError ¶
func HandleCheckKeyStringError(ctx *context.APIContext, err error)
HandleCheckKeyStringError handle check key error
func IsCollaborator ¶ added in v1.1.0
func IsCollaborator(ctx *context.APIContext)
IsCollaborator check if a user is a collaborator of a repository
func IsPullRequestMerged ¶ added in v1.0.0
func IsPullRequestMerged(ctx *context.APIContext)
IsPullRequestMerged checks if a PR exists given an index
func ListBranches ¶
func ListBranches(ctx *context.APIContext)
ListBranches list all the branches of a repository
func ListCollaborators ¶ added in v1.1.0
func ListCollaborators(ctx *context.APIContext)
ListCollaborators list a repository's collaborators
func ListDeployKeys ¶
func ListDeployKeys(ctx *context.APIContext)
ListDeployKeys list all the deploy keys of a repository
func ListForks ¶ added in v1.1.0
func ListForks(ctx *context.APIContext)
ListForks list a repository's forks
func ListGitHooks ¶ added in v1.9.0
func ListGitHooks(ctx *context.APIContext)
ListGitHooks list all Git hooks of a repository
func ListIssueComments ¶
func ListIssueComments(ctx *context.APIContext)
ListIssueComments list all the comments of an issue
func ListIssueLabels ¶
func ListIssueLabels(ctx *context.APIContext)
ListIssueLabels list all the labels of an issue
func ListIssues ¶
func ListIssues(ctx *context.APIContext)
ListIssues list the issues of a repository
func ListLabels ¶
func ListLabels(ctx *context.APIContext)
ListLabels list all the labels of a repository
func ListMilestones ¶
func ListMilestones(ctx *context.APIContext)
ListMilestones list milestones for a repository
func ListMyTrackedTimes ¶ added in v1.3.0
func ListMyTrackedTimes(ctx *context.APIContext)
ListMyTrackedTimes lists all tracked times of the current user
func ListPullRequests ¶ added in v1.0.0
func ListPullRequests(ctx *context.APIContext, form api.ListPullRequestsOptions)
ListPullRequests returns a list of all PRs
func ListReleaseAttachments ¶ added in v1.5.0
func ListReleaseAttachments(ctx *context.APIContext)
ListReleaseAttachments lists all attachments of the release
func ListReleases ¶ added in v1.1.0
func ListReleases(ctx *context.APIContext)
ListReleases list a repository's releases
func ListRepoIssueComments ¶ added in v1.0.0
func ListRepoIssueComments(ctx *context.APIContext)
ListRepoIssueComments returns all issue-comments for a repo
func ListStargazers ¶ added in v1.1.0
func ListStargazers(ctx *context.APIContext)
ListStargazers list a repository's stargazers
func ListSubscribers ¶ added in v1.1.0
func ListSubscribers(ctx *context.APIContext)
ListSubscribers list a repo's subscribers (i.e. watchers)
func ListTags ¶ added in v1.8.0
func ListTags(ctx *context.APIContext)
ListTags list all the tags of a repository
func ListTopics ¶ added in v1.10.0
func ListTopics(ctx *context.APIContext)
ListTopics returns list of current topics for repo
func ListTrackedTimes ¶ added in v1.3.0
func ListTrackedTimes(ctx *context.APIContext)
ListTrackedTimes list all the tracked times of an issue
func ListTrackedTimesByRepository ¶ added in v1.3.0
func ListTrackedTimesByRepository(ctx *context.APIContext)
ListTrackedTimesByRepository lists all tracked times of the repository
func ListTrackedTimesByUser ¶ added in v1.3.0
func ListTrackedTimesByUser(ctx *context.APIContext)
ListTrackedTimesByUser lists all tracked times of the user
func MergePullRequest ¶ added in v1.0.0
func MergePullRequest(ctx *context.APIContext, form auth.MergePullRequestForm)
MergePullRequest merges a PR given an index
func Migrate ¶
func Migrate(ctx *context.APIContext, form auth.MigrateRepoForm)
Migrate migrate remote git repository to gitea
func MirrorSync ¶ added in v1.2.0
func MirrorSync(ctx *context.APIContext)
MirrorSync adds a mirrored repository to the sync queue
func NewCommitStatus ¶ added in v1.2.0
func NewCommitStatus(ctx *context.APIContext, form api.CreateStatusOption)
NewCommitStatus creates a new CommitStatus
func PostIssueCommentReaction ¶ added in v1.11.0
func PostIssueCommentReaction(ctx *context.APIContext, form api.EditReactionOption)
PostIssueCommentReaction add a reaction to a comment of an issue
func PostIssueReaction ¶ added in v1.11.0
func PostIssueReaction(ctx *context.APIContext, form api.EditReactionOption)
PostIssueReaction add a reaction to an issue
func ReplaceIssueLabels ¶
func ReplaceIssueLabels(ctx *context.APIContext, form api.IssueLabelsOption)
ReplaceIssueLabels replace labels for an issue
func ResetIssueTime ¶ added in v1.11.0
func ResetIssueTime(ctx *context.APIContext)
ResetIssueTime reset time manual to the given issue
func SearchIssues ¶ added in v1.11.0
func SearchIssues(ctx *context.APIContext)
SearchIssues searches for issues across the repositories that the user has access to
func StartIssueStopwatch ¶ added in v1.8.0
func StartIssueStopwatch(ctx *context.APIContext)
StartIssueStopwatch creates a stopwatch for the given issue.
func StopIssueStopwatch ¶ added in v1.8.0
func StopIssueStopwatch(ctx *context.APIContext)
StopIssueStopwatch stops a stopwatch for the given issue.
func TopicSearch ¶ added in v1.5.0
TopicSearch search for creating topic
func UpdateFile ¶ added in v1.9.0
func UpdateFile(ctx *context.APIContext, apiOpts api.UpdateFileOptions)
UpdateFile handles API call for updating a file
func UpdateIssueDeadline ¶ added in v1.6.0
func UpdateIssueDeadline(ctx *context.APIContext, form api.EditDeadlineOption)
UpdateIssueDeadline updates an issue deadline
func UpdateTopics ¶ added in v1.10.0
func UpdateTopics(ctx *context.APIContext, form api.RepoTopicOptions)
UpdateTopics updates repo with a new set of topics
Types ¶
This section is empty.
Source Files ¶
- blob.go
- branch.go
- collaborators.go
- commits.go
- file.go
- fork.go
- git_hook.go
- git_ref.go
- hook.go
- issue.go
- issue_comment.go
- issue_label.go
- issue_reaction.go
- issue_stopwatch.go
- issue_subscription.go
- issue_tracked_time.go
- key.go
- label.go
- milestone.go
- pull.go
- release.go
- release_attachment.go
- repo.go
- star.go
- status.go
- subscriber.go
- tag.go
- topic.go
- tree.go