| Safe Haskell | Safe-Inferred |
|---|---|
| Language | Haskell2010 |
Gitea.API.Issue
Contents
- Operations
- Issue
- issueAddLabel
- issueAddSubscription
- issueAddTime
- issueCheckSubscription
- issueClearLabels
- issueCreateComment
- issueCreateIssue
- issueCreateIssueAttachment
- issueCreateIssueBlocking
- issueCreateIssueCommentAttachment
- issueCreateIssueDependencies
- issueCreateLabel
- issueCreateMilestone
- issueDelete
- issueDeleteComment
- issueDeleteCommentDeprecated
- issueDeleteCommentReaction
- issueDeleteIssueAttachment
- issueDeleteIssueCommentAttachment
- issueDeleteIssueReaction
- issueDeleteLabel
- issueDeleteMilestone
- issueDeleteStopWatch
- issueDeleteSubscription
- issueDeleteTime
- issueEditComment
- issueEditCommentDeprecated
- issueEditIssue
- issueEditIssueAttachment
- issueEditIssueCommentAttachment
- issueEditIssueDeadline
- issueEditLabel
- issueEditMilestone
- issueGetComment
- issueGetCommentReactions
- issueGetComments
- issueGetCommentsAndTimeline
- issueGetIssue
- issueGetIssueAttachment
- issueGetIssueCommentAttachment
- issueGetIssueReactions
- issueGetLabel
- issueGetLabels
- issueGetMilestone
- issueGetMilestonesList
- issueGetRepoComments
- issueListBlocks
- issueListIssueAttachments
- issueListIssueCommentAttachments
- issueListIssueDependencies
- issueListIssues
- issueListLabels
- issuePostCommentReaction
- issuePostIssueReaction
- issueRemoveIssueBlocking
- issueRemoveIssueDependencies
- issueRemoveLabel
- issueReplaceLabels
- issueResetTime
- issueSearchIssues
- issueStartStopWatch
- issueStopStopWatch
- issueSubscriptions
- issueTrackedTimes
- moveIssuePin
- pinIssue
- unpinIssue
- Issue
Description
Synopsis
- issueAddLabel :: Consumes IssueAddLabel MimeJSON => Owner -> Repo -> Index -> GiteaRequest IssueAddLabel MimeJSON [Label] MimeJSON
- data IssueAddLabel
- issueAddSubscription :: Owner -> Repo -> Index -> User2 -> GiteaRequest IssueAddSubscription MimeNoContent NoContent MimeNoContent
- data IssueAddSubscription
- issueAddTime :: Consumes IssueAddTime MimeJSON => Owner -> Repo -> Index -> GiteaRequest IssueAddTime MimeJSON TrackedTime MimeJSON
- data IssueAddTime
- issueCheckSubscription :: Owner -> Repo -> Index -> GiteaRequest IssueCheckSubscription MimeNoContent WatchInfo MimeJSON
- data IssueCheckSubscription
- issueClearLabels :: Owner -> Repo -> Index -> GiteaRequest IssueClearLabels MimeNoContent NoContent MimeNoContent
- data IssueClearLabels
- issueCreateComment :: Consumes IssueCreateComment MimeJSON => Owner -> Repo -> Index -> GiteaRequest IssueCreateComment MimeJSON Comment MimeJSON
- data IssueCreateComment
- issueCreateIssue :: Consumes IssueCreateIssue MimeJSON => Owner -> Repo -> GiteaRequest IssueCreateIssue MimeJSON Issue MimeJSON
- data IssueCreateIssue
- issueCreateIssueAttachment :: Consumes IssueCreateIssueAttachment MimeMultipartFormData => Attachment2 -> Owner -> Repo -> Index -> GiteaRequest IssueCreateIssueAttachment MimeMultipartFormData Attachment MimeJSON
- data IssueCreateIssueAttachment
- issueCreateIssueBlocking :: Consumes IssueCreateIssueBlocking contentType => ContentType contentType -> Owner -> Repo -> IndexText -> GiteaRequest IssueCreateIssueBlocking contentType Issue MimeJSON
- data IssueCreateIssueBlocking
- issueCreateIssueCommentAttachment :: Consumes IssueCreateIssueCommentAttachment MimeMultipartFormData => Attachment2 -> Owner -> Repo -> Id -> GiteaRequest IssueCreateIssueCommentAttachment MimeMultipartFormData Attachment MimeJSON
- data IssueCreateIssueCommentAttachment
- issueCreateIssueDependencies :: Consumes IssueCreateIssueDependencies contentType => ContentType contentType -> Owner -> Repo -> IndexText -> GiteaRequest IssueCreateIssueDependencies contentType Issue MimeJSON
- data IssueCreateIssueDependencies
- issueCreateLabel :: Consumes IssueCreateLabel MimeJSON => Owner -> Repo -> GiteaRequest IssueCreateLabel MimeJSON Label MimeJSON
- data IssueCreateLabel
- issueCreateMilestone :: Consumes IssueCreateMilestone MimeJSON => Owner -> Repo -> GiteaRequest IssueCreateMilestone MimeJSON Milestone MimeJSON
- data IssueCreateMilestone
- issueDelete :: Owner -> Repo -> Index -> GiteaRequest IssueDelete MimeNoContent NoContent MimeNoContent
- data IssueDelete
- issueDeleteComment :: Owner -> Repo -> Id -> GiteaRequest IssueDeleteComment MimeNoContent NoContent MimeNoContent
- data IssueDeleteComment
- issueDeleteCommentDeprecated :: Owner -> Repo -> IndexInt -> Id -> GiteaRequest IssueDeleteCommentDeprecated MimeNoContent NoContent MimeNoContent
- data IssueDeleteCommentDeprecated
- issueDeleteCommentReaction :: Consumes IssueDeleteCommentReaction MimeJSON => Owner -> Repo -> Id -> GiteaRequest IssueDeleteCommentReaction MimeJSON NoContent MimeNoContent
- data IssueDeleteCommentReaction
- issueDeleteIssueAttachment :: Owner -> Repo -> Index -> AttachmentId -> GiteaRequest IssueDeleteIssueAttachment MimeNoContent NoContent MimeNoContent
- data IssueDeleteIssueAttachment
- issueDeleteIssueCommentAttachment :: Owner -> Repo -> Id -> AttachmentId -> GiteaRequest IssueDeleteIssueCommentAttachment MimeNoContent NoContent MimeNoContent
- data IssueDeleteIssueCommentAttachment
- issueDeleteIssueReaction :: Consumes IssueDeleteIssueReaction MimeJSON => Owner -> Repo -> Index -> GiteaRequest IssueDeleteIssueReaction MimeJSON NoContent MimeNoContent
- data IssueDeleteIssueReaction
- issueDeleteLabel :: Owner -> Repo -> Id -> GiteaRequest IssueDeleteLabel MimeNoContent NoContent MimeNoContent
- data IssueDeleteLabel
- issueDeleteMilestone :: Owner -> Repo -> IdText -> GiteaRequest IssueDeleteMilestone MimeNoContent NoContent MimeNoContent
- data IssueDeleteMilestone
- issueDeleteStopWatch :: Owner -> Repo -> Index -> GiteaRequest IssueDeleteStopWatch MimeNoContent NoContent MimeNoContent
- data IssueDeleteStopWatch
- issueDeleteSubscription :: Owner -> Repo -> Index -> User2 -> GiteaRequest IssueDeleteSubscription MimeNoContent NoContent MimeNoContent
- data IssueDeleteSubscription
- issueDeleteTime :: Owner -> Repo -> Index -> Id -> GiteaRequest IssueDeleteTime MimeNoContent NoContent MimeNoContent
- data IssueDeleteTime
- issueEditComment :: Consumes IssueEditComment MimeJSON => Owner -> Repo -> Id -> GiteaRequest IssueEditComment MimeJSON Comment MimeJSON
- data IssueEditComment
- issueEditCommentDeprecated :: Consumes IssueEditCommentDeprecated MimeJSON => Owner -> Repo -> IndexInt -> Id -> GiteaRequest IssueEditCommentDeprecated MimeJSON Comment MimeJSON
- data IssueEditCommentDeprecated
- issueEditIssue :: Consumes IssueEditIssue MimeJSON => Owner -> Repo -> Index -> GiteaRequest IssueEditIssue MimeJSON Issue MimeJSON
- data IssueEditIssue
- issueEditIssueAttachment :: Consumes IssueEditIssueAttachment MimeJSON => Owner -> Repo -> Index -> AttachmentId -> GiteaRequest IssueEditIssueAttachment MimeJSON Attachment MimeJSON
- data IssueEditIssueAttachment
- issueEditIssueCommentAttachment :: Consumes IssueEditIssueCommentAttachment MimeJSON => Owner -> Repo -> Id -> AttachmentId -> GiteaRequest IssueEditIssueCommentAttachment MimeJSON Attachment MimeJSON
- data IssueEditIssueCommentAttachment
- issueEditIssueDeadline :: Consumes IssueEditIssueDeadline MimeJSON => Owner -> Repo -> Index -> GiteaRequest IssueEditIssueDeadline MimeJSON IssueDeadline MimeJSON
- data IssueEditIssueDeadline
- issueEditLabel :: Consumes IssueEditLabel MimeJSON => Owner -> Repo -> Id -> GiteaRequest IssueEditLabel MimeJSON Label MimeJSON
- data IssueEditLabel
- issueEditMilestone :: Consumes IssueEditMilestone MimeJSON => Owner -> Repo -> IdText -> GiteaRequest IssueEditMilestone MimeJSON Milestone MimeJSON
- data IssueEditMilestone
- issueGetComment :: Owner -> Repo -> Id -> GiteaRequest IssueGetComment MimeNoContent Comment MimeJSON
- data IssueGetComment
- issueGetCommentReactions :: Owner -> Repo -> Id -> GiteaRequest IssueGetCommentReactions MimeNoContent [Reaction] MimeJSON
- data IssueGetCommentReactions
- issueGetComments :: Owner -> Repo -> Index -> GiteaRequest IssueGetComments MimeNoContent [Comment] MimeJSON
- data IssueGetComments
- issueGetCommentsAndTimeline :: Owner -> Repo -> Index -> GiteaRequest IssueGetCommentsAndTimeline MimeNoContent [TimelineComment] MimeJSON
- data IssueGetCommentsAndTimeline
- issueGetIssue :: Owner -> Repo -> Index -> GiteaRequest IssueGetIssue MimeNoContent Issue MimeJSON
- data IssueGetIssue
- issueGetIssueAttachment :: Owner -> Repo -> Index -> AttachmentId -> GiteaRequest IssueGetIssueAttachment MimeNoContent Attachment MimeJSON
- data IssueGetIssueAttachment
- issueGetIssueCommentAttachment :: Owner -> Repo -> Id -> AttachmentId -> GiteaRequest IssueGetIssueCommentAttachment MimeNoContent Attachment MimeJSON
- data IssueGetIssueCommentAttachment
- issueGetIssueReactions :: Owner -> Repo -> Index -> GiteaRequest IssueGetIssueReactions MimeNoContent [Reaction] MimeJSON
- data IssueGetIssueReactions
- issueGetLabel :: Owner -> Repo -> Id -> GiteaRequest IssueGetLabel MimeNoContent Label MimeJSON
- data IssueGetLabel
- issueGetLabels :: Owner -> Repo -> Index -> GiteaRequest IssueGetLabels MimeNoContent [Label] MimeJSON
- data IssueGetLabels
- issueGetMilestone :: Owner -> Repo -> IdText -> GiteaRequest IssueGetMilestone MimeNoContent Milestone MimeJSON
- data IssueGetMilestone
- issueGetMilestonesList :: Owner -> Repo -> GiteaRequest IssueGetMilestonesList MimeNoContent [Milestone] MimeJSON
- data IssueGetMilestonesList
- issueGetRepoComments :: Owner -> Repo -> GiteaRequest IssueGetRepoComments MimeNoContent [Comment] MimeJSON
- data IssueGetRepoComments
- issueListBlocks :: Owner -> Repo -> IndexText -> GiteaRequest IssueListBlocks MimeNoContent [Issue] MimeJSON
- data IssueListBlocks
- issueListIssueAttachments :: Owner -> Repo -> Index -> GiteaRequest IssueListIssueAttachments MimeNoContent [Attachment] MimeJSON
- data IssueListIssueAttachments
- issueListIssueCommentAttachments :: Owner -> Repo -> Id -> GiteaRequest IssueListIssueCommentAttachments MimeNoContent [Attachment] MimeJSON
- data IssueListIssueCommentAttachments
- issueListIssueDependencies :: Owner -> Repo -> IndexText -> GiteaRequest IssueListIssueDependencies MimeNoContent [Issue] MimeJSON
- data IssueListIssueDependencies
- issueListIssues :: Owner -> Repo -> GiteaRequest IssueListIssues MimeNoContent [Issue] MimeJSON
- data IssueListIssues
- issueListLabels :: Owner -> Repo -> GiteaRequest IssueListLabels MimeNoContent [Label] MimeJSON
- data IssueListLabels
- issuePostCommentReaction :: Consumes IssuePostCommentReaction MimeJSON => Owner -> Repo -> Id -> GiteaRequest IssuePostCommentReaction MimeJSON Reaction MimeJSON
- data IssuePostCommentReaction
- issuePostIssueReaction :: Consumes IssuePostIssueReaction MimeJSON => Owner -> Repo -> Index -> GiteaRequest IssuePostIssueReaction MimeJSON Reaction MimeJSON
- data IssuePostIssueReaction
- issueRemoveIssueBlocking :: Consumes IssueRemoveIssueBlocking contentType => ContentType contentType -> Owner -> Repo -> IndexText -> GiteaRequest IssueRemoveIssueBlocking contentType Issue MimeJSON
- data IssueRemoveIssueBlocking
- issueRemoveIssueDependencies :: Consumes IssueRemoveIssueDependencies contentType => ContentType contentType -> Owner -> Repo -> IndexText -> GiteaRequest IssueRemoveIssueDependencies contentType Issue MimeJSON
- data IssueRemoveIssueDependencies
- issueRemoveLabel :: Owner -> Repo -> Index -> Id -> GiteaRequest IssueRemoveLabel MimeNoContent NoContent MimeNoContent
- data IssueRemoveLabel
- issueReplaceLabels :: Consumes IssueReplaceLabels MimeJSON => Owner -> Repo -> Index -> GiteaRequest IssueReplaceLabels MimeJSON [Label] MimeJSON
- data IssueReplaceLabels
- issueResetTime :: Owner -> Repo -> Index -> GiteaRequest IssueResetTime MimeNoContent NoContent MimeNoContent
- data IssueResetTime
- issueSearchIssues :: GiteaRequest IssueSearchIssues MimeNoContent [Issue] MimeJSON
- data IssueSearchIssues
- issueStartStopWatch :: Owner -> Repo -> Index -> GiteaRequest IssueStartStopWatch MimeNoContent NoContent MimeNoContent
- data IssueStartStopWatch
- issueStopStopWatch :: Owner -> Repo -> Index -> GiteaRequest IssueStopStopWatch MimeNoContent NoContent MimeNoContent
- data IssueStopStopWatch
- issueSubscriptions :: Owner -> Repo -> Index -> GiteaRequest IssueSubscriptions MimeNoContent [User] MimeJSON
- data IssueSubscriptions
- issueTrackedTimes :: Owner -> Repo -> Index -> GiteaRequest IssueTrackedTimes MimeNoContent [TrackedTime] MimeJSON
- data IssueTrackedTimes
- moveIssuePin :: Owner -> Repo -> Index -> Position -> GiteaRequest MoveIssuePin MimeNoContent NoContent MimeNoContent
- data MoveIssuePin
- pinIssue :: Owner -> Repo -> Index -> GiteaRequest PinIssue MimeNoContent NoContent MimeNoContent
- data PinIssue
- unpinIssue :: Owner -> Repo -> Index -> GiteaRequest UnpinIssue MimeNoContent NoContent MimeNoContent
- data UnpinIssue
Operations
Issue
issueAddLabel
Arguments
| :: Consumes IssueAddLabel MimeJSON | |
| => Owner | "owner" - owner of the repo |
| -> Repo | "repo" - name of the repo |
| -> Index | "index" - index of the issue |
| -> GiteaRequest IssueAddLabel MimeJSON [Label] MimeJSON |
POST /repos/{owner}/{repo}/issues/{index}/labelsAdd a label to an issue
AuthMethod: AuthApiKeyTOTPHeader, AuthApiKeyAuthorizationHeaderToken, AuthApiKeySudoHeader, AuthBasicBasicAuth, AuthApiKeyAccessToken, AuthApiKeySudoParam, AuthApiKeyToken
data IssueAddLabel Source #
Instances
| HasBodyParam IssueAddLabel IssueLabelsOption Source # | |
Defined in Gitea.API.Issue Methods setBodyParam :: (Consumes IssueAddLabel contentType, MimeRender contentType IssueLabelsOption) => GiteaRequest IssueAddLabel contentType res accept -> IssueLabelsOption -> GiteaRequest IssueAddLabel contentType res accept Source # | |
| Consumes IssueAddLabel MimeJSON Source # | application/json |
Defined in Gitea.API.Issue | |
| Produces IssueAddLabel MimeJSON Source # | application/json |
Defined in Gitea.API.Issue | |
issueAddSubscription
Arguments
| :: Owner | "owner" - owner of the repo |
| -> Repo | "repo" - name of the repo |
| -> Index | "index" - index of the issue |
| -> User2 | "user" - user to subscribe |
| -> GiteaRequest IssueAddSubscription MimeNoContent NoContent MimeNoContent |
PUT /repos/{owner}/{repo}/issues/{index}/subscriptions/{user}Subscribe user to issue
AuthMethod: AuthApiKeyTOTPHeader, AuthApiKeyAuthorizationHeaderToken, AuthApiKeySudoHeader, AuthBasicBasicAuth, AuthApiKeyAccessToken, AuthApiKeySudoParam, AuthApiKeyToken
data IssueAddSubscription Source #
Instances
| Produces IssueAddSubscription MimeNoContent Source # | |
Defined in Gitea.API.Issue | |
issueAddTime
Arguments
| :: Consumes IssueAddTime MimeJSON | |
| => Owner | "owner" - owner of the repo |
| -> Repo | "repo" - name of the repo |
| -> Index | "index" - index of the issue |
| -> GiteaRequest IssueAddTime MimeJSON TrackedTime MimeJSON |
POST /repos/{owner}/{repo}/issues/{index}/timesAdd tracked time to a issue
AuthMethod: AuthApiKeyTOTPHeader, AuthApiKeyAuthorizationHeaderToken, AuthApiKeySudoHeader, AuthBasicBasicAuth, AuthApiKeyAccessToken, AuthApiKeySudoParam, AuthApiKeyToken
data IssueAddTime Source #
Instances
| HasBodyParam IssueAddTime AddTimeOption Source # | |
Defined in Gitea.API.Issue Methods setBodyParam :: (Consumes IssueAddTime contentType, MimeRender contentType AddTimeOption) => GiteaRequest IssueAddTime contentType res accept -> AddTimeOption -> GiteaRequest IssueAddTime contentType res accept Source # | |
| Consumes IssueAddTime MimeJSON Source # | application/json |
Defined in Gitea.API.Issue | |
| Produces IssueAddTime MimeJSON Source # | application/json |
Defined in Gitea.API.Issue | |
issueCheckSubscription
issueCheckSubscription Source #
Arguments
| :: Owner | "owner" - owner of the repo |
| -> Repo | "repo" - name of the repo |
| -> Index | "index" - index of the issue |
| -> GiteaRequest IssueCheckSubscription MimeNoContent WatchInfo MimeJSON |
GET /repos/{owner}/{repo}/issues/{index}/subscriptions/checkCheck if user is subscribed to an issue
AuthMethod: AuthApiKeyTOTPHeader, AuthApiKeyAuthorizationHeaderToken, AuthApiKeySudoHeader, AuthBasicBasicAuth, AuthApiKeyAccessToken, AuthApiKeySudoParam, AuthApiKeyToken
data IssueCheckSubscription Source #
Instances
| Produces IssueCheckSubscription MimeJSON Source # | application/json |
Defined in Gitea.API.Issue | |
issueClearLabels
Arguments
| :: Owner | "owner" - owner of the repo |
| -> Repo | "repo" - name of the repo |
| -> Index | "index" - index of the issue |
| -> GiteaRequest IssueClearLabels MimeNoContent NoContent MimeNoContent |
DELETE /repos/{owner}/{repo}/issues/{index}/labelsRemove all labels from an issue
AuthMethod: AuthApiKeyTOTPHeader, AuthApiKeyAuthorizationHeaderToken, AuthApiKeySudoHeader, AuthBasicBasicAuth, AuthApiKeyAccessToken, AuthApiKeySudoParam, AuthApiKeyToken
data IssueClearLabels Source #
Instances
| Produces IssueClearLabels MimeNoContent Source # | |
Defined in Gitea.API.Issue | |
issueCreateComment
Arguments
| :: Consumes IssueCreateComment MimeJSON | |
| => Owner | "owner" - owner of the repo |
| -> Repo | "repo" - name of the repo |
| -> Index | "index" - index of the issue |
| -> GiteaRequest IssueCreateComment MimeJSON Comment MimeJSON |
POST /repos/{owner}/{repo}/issues/{index}/commentsAdd a comment to an issue
AuthMethod: AuthApiKeyTOTPHeader, AuthApiKeyAuthorizationHeaderToken, AuthApiKeySudoHeader, AuthBasicBasicAuth, AuthApiKeyAccessToken, AuthApiKeySudoParam, AuthApiKeyToken
data IssueCreateComment Source #
Instances
| HasBodyParam IssueCreateComment CreateIssueCommentOption Source # | |
Defined in Gitea.API.Issue Methods setBodyParam :: (Consumes IssueCreateComment contentType, MimeRender contentType CreateIssueCommentOption) => GiteaRequest IssueCreateComment contentType res accept -> CreateIssueCommentOption -> GiteaRequest IssueCreateComment contentType res accept Source # | |
| Consumes IssueCreateComment MimeJSON Source # | application/json |
Defined in Gitea.API.Issue | |
| Produces IssueCreateComment MimeJSON Source # | application/json |
Defined in Gitea.API.Issue | |
issueCreateIssue
Arguments
| :: Consumes IssueCreateIssue MimeJSON | |
| => Owner | "owner" - owner of the repo |
| -> Repo | "repo" - name of the repo |
| -> GiteaRequest IssueCreateIssue MimeJSON Issue MimeJSON |
POST /repos/{owner}/{repo}/issuesCreate an issue. If using deadline only the date will be taken into account, and time of day ignored.
AuthMethod: AuthApiKeyTOTPHeader, AuthApiKeyAuthorizationHeaderToken, AuthApiKeySudoHeader, AuthBasicBasicAuth, AuthApiKeyAccessToken, AuthApiKeySudoParam, AuthApiKeyToken
data IssueCreateIssue Source #
Instances
| HasBodyParam IssueCreateIssue CreateIssueOption Source # | |
Defined in Gitea.API.Issue Methods setBodyParam :: (Consumes IssueCreateIssue contentType, MimeRender contentType CreateIssueOption) => GiteaRequest IssueCreateIssue contentType res accept -> CreateIssueOption -> GiteaRequest IssueCreateIssue contentType res accept Source # | |
| Consumes IssueCreateIssue MimeJSON Source # | application/json |
Defined in Gitea.API.Issue | |
| Produces IssueCreateIssue MimeJSON Source # | application/json |
Defined in Gitea.API.Issue | |
issueCreateIssueAttachment
issueCreateIssueAttachment Source #
Arguments
| :: Consumes IssueCreateIssueAttachment MimeMultipartFormData | |
| => Attachment2 | "attachment" - attachment to upload |
| -> Owner | "owner" - owner of the repo |
| -> Repo | "repo" - name of the repo |
| -> Index | "index" - index of the issue |
| -> GiteaRequest IssueCreateIssueAttachment MimeMultipartFormData Attachment MimeJSON |
POST /repos/{owner}/{repo}/issues/{index}/assetsCreate an issue attachment
AuthMethod: AuthApiKeyTOTPHeader, AuthApiKeyAuthorizationHeaderToken, AuthApiKeySudoHeader, AuthBasicBasicAuth, AuthApiKeyAccessToken, AuthApiKeySudoParam, AuthApiKeyToken
data IssueCreateIssueAttachment Source #
Instances
| HasOptionalParam IssueCreateIssueAttachment Name Source # | Optional Param "name" - name of the attachment |
Defined in Gitea.API.Issue Methods applyOptionalParam :: GiteaRequest IssueCreateIssueAttachment contentType res accept -> Name -> GiteaRequest IssueCreateIssueAttachment contentType res accept Source # (-&-) :: GiteaRequest IssueCreateIssueAttachment contentType res accept -> Name -> GiteaRequest IssueCreateIssueAttachment contentType res accept Source # | |
| Consumes IssueCreateIssueAttachment MimeMultipartFormData Source # | multipart/form-data |
Defined in Gitea.API.Issue | |
| Produces IssueCreateIssueAttachment MimeJSON Source # | application/json |
Defined in Gitea.API.Issue | |
issueCreateIssueBlocking
issueCreateIssueBlocking Source #
Arguments
| :: Consumes IssueCreateIssueBlocking contentType | |
| => ContentType contentType | request content-type ( |
| -> Owner | "owner" - owner of the repo |
| -> Repo | "repo" - name of the repo |
| -> IndexText | "index" - index of the issue |
| -> GiteaRequest IssueCreateIssueBlocking contentType Issue MimeJSON |
POST /repos/{owner}/{repo}/issues/{index}/blocksBlock the issue given in the body by the issue in path
AuthMethod: AuthApiKeyTOTPHeader, AuthApiKeyAuthorizationHeaderToken, AuthApiKeySudoHeader, AuthBasicBasicAuth, AuthApiKeyAccessToken, AuthApiKeySudoParam, AuthApiKeyToken
data IssueCreateIssueBlocking Source #
Instances
| HasBodyParam IssueCreateIssueBlocking IssueMeta Source # | |
Defined in Gitea.API.Issue Methods setBodyParam :: (Consumes IssueCreateIssueBlocking contentType, MimeRender contentType IssueMeta) => GiteaRequest IssueCreateIssueBlocking contentType res accept -> IssueMeta -> GiteaRequest IssueCreateIssueBlocking contentType res accept Source # | |
| Consumes IssueCreateIssueBlocking MimeJSON Source # | application/json |
Defined in Gitea.API.Issue | |
| Consumes IssueCreateIssueBlocking MimePlainText Source # | text/plain |
Defined in Gitea.API.Issue | |
| Produces IssueCreateIssueBlocking MimeJSON Source # | application/json |
Defined in Gitea.API.Issue | |
issueCreateIssueCommentAttachment
issueCreateIssueCommentAttachment Source #
Arguments
| :: Consumes IssueCreateIssueCommentAttachment MimeMultipartFormData | |
| => Attachment2 | "attachment" - attachment to upload |
| -> Owner | "owner" - owner of the repo |
| -> Repo | "repo" - name of the repo |
| -> Id | "id" - id of the comment |
| -> GiteaRequest IssueCreateIssueCommentAttachment MimeMultipartFormData Attachment MimeJSON |
POST /repos/{owner}/{repo}/issues/comments/{id}/assetsCreate a comment attachment
AuthMethod: AuthApiKeyTOTPHeader, AuthApiKeyAuthorizationHeaderToken, AuthApiKeySudoHeader, AuthBasicBasicAuth, AuthApiKeyAccessToken, AuthApiKeySudoParam, AuthApiKeyToken
data IssueCreateIssueCommentAttachment Source #
Instances
| HasOptionalParam IssueCreateIssueCommentAttachment Name Source # | Optional Param "name" - name of the attachment |
Defined in Gitea.API.Issue Methods applyOptionalParam :: GiteaRequest IssueCreateIssueCommentAttachment contentType res accept -> Name -> GiteaRequest IssueCreateIssueCommentAttachment contentType res accept Source # (-&-) :: GiteaRequest IssueCreateIssueCommentAttachment contentType res accept -> Name -> GiteaRequest IssueCreateIssueCommentAttachment contentType res accept Source # | |
| Consumes IssueCreateIssueCommentAttachment MimeMultipartFormData Source # | multipart/form-data |
Defined in Gitea.API.Issue | |
| Produces IssueCreateIssueCommentAttachment MimeJSON Source # | application/json |
Defined in Gitea.API.Issue | |
issueCreateIssueDependencies
issueCreateIssueDependencies Source #
Arguments
| :: Consumes IssueCreateIssueDependencies contentType | |
| => ContentType contentType | request content-type ( |
| -> Owner | "owner" - owner of the repo |
| -> Repo | "repo" - name of the repo |
| -> IndexText | "index" - index of the issue |
| -> GiteaRequest IssueCreateIssueDependencies contentType Issue MimeJSON |
POST /repos/{owner}/{repo}/issues/{index}/dependenciesMake the issue in the url depend on the issue in the form.
AuthMethod: AuthApiKeyTOTPHeader, AuthApiKeyAuthorizationHeaderToken, AuthApiKeySudoHeader, AuthBasicBasicAuth, AuthApiKeyAccessToken, AuthApiKeySudoParam, AuthApiKeyToken
data IssueCreateIssueDependencies Source #
Instances
| HasBodyParam IssueCreateIssueDependencies IssueMeta Source # | |
Defined in Gitea.API.Issue Methods setBodyParam :: (Consumes IssueCreateIssueDependencies contentType, MimeRender contentType IssueMeta) => GiteaRequest IssueCreateIssueDependencies contentType res accept -> IssueMeta -> GiteaRequest IssueCreateIssueDependencies contentType res accept Source # | |
| Consumes IssueCreateIssueDependencies MimeJSON Source # | application/json |
Defined in Gitea.API.Issue | |
| Consumes IssueCreateIssueDependencies MimePlainText Source # | text/plain |
Defined in Gitea.API.Issue | |
| Produces IssueCreateIssueDependencies MimeJSON Source # | application/json |
Defined in Gitea.API.Issue | |
issueCreateLabel
Arguments
| :: Consumes IssueCreateLabel MimeJSON | |
| => Owner | "owner" - owner of the repo |
| -> Repo | "repo" - name of the repo |
| -> GiteaRequest IssueCreateLabel MimeJSON Label MimeJSON |
POST /repos/{owner}/{repo}/labelsCreate a label
AuthMethod: AuthApiKeyTOTPHeader, AuthApiKeyAuthorizationHeaderToken, AuthApiKeySudoHeader, AuthBasicBasicAuth, AuthApiKeyAccessToken, AuthApiKeySudoParam, AuthApiKeyToken
data IssueCreateLabel Source #
Instances
| HasBodyParam IssueCreateLabel CreateLabelOption Source # | |
Defined in Gitea.API.Issue Methods setBodyParam :: (Consumes IssueCreateLabel contentType, MimeRender contentType CreateLabelOption) => GiteaRequest IssueCreateLabel contentType res accept -> CreateLabelOption -> GiteaRequest IssueCreateLabel contentType res accept Source # | |
| Consumes IssueCreateLabel MimeJSON Source # | application/json |
Defined in Gitea.API.Issue | |
| Produces IssueCreateLabel MimeJSON Source # | application/json |
Defined in Gitea.API.Issue | |
issueCreateMilestone
Arguments
| :: Consumes IssueCreateMilestone MimeJSON | |
| => Owner | "owner" - owner of the repo |
| -> Repo | "repo" - name of the repo |
| -> GiteaRequest IssueCreateMilestone MimeJSON Milestone MimeJSON |
POST /repos/{owner}/{repo}/milestonesCreate a milestone
AuthMethod: AuthApiKeyTOTPHeader, AuthApiKeyAuthorizationHeaderToken, AuthApiKeySudoHeader, AuthBasicBasicAuth, AuthApiKeyAccessToken, AuthApiKeySudoParam, AuthApiKeyToken
data IssueCreateMilestone Source #
Instances
| HasBodyParam IssueCreateMilestone CreateMilestoneOption Source # | |
Defined in Gitea.API.Issue Methods setBodyParam :: (Consumes IssueCreateMilestone contentType, MimeRender contentType CreateMilestoneOption) => GiteaRequest IssueCreateMilestone contentType res accept -> CreateMilestoneOption -> GiteaRequest IssueCreateMilestone contentType res accept Source # | |
| Consumes IssueCreateMilestone MimeJSON Source # | application/json |
Defined in Gitea.API.Issue | |
| Produces IssueCreateMilestone MimeJSON Source # | application/json |
Defined in Gitea.API.Issue | |
issueDelete
Arguments
| :: Owner | "owner" - owner of the repo |
| -> Repo | "repo" - name of the repo |
| -> Index | "index" - index of issue to delete |
| -> GiteaRequest IssueDelete MimeNoContent NoContent MimeNoContent |
DELETE /repos/{owner}/{repo}/issues/{index}Delete an issue
AuthMethod: AuthApiKeyTOTPHeader, AuthApiKeyAuthorizationHeaderToken, AuthApiKeySudoHeader, AuthBasicBasicAuth, AuthApiKeyAccessToken, AuthApiKeySudoParam, AuthApiKeyToken
data IssueDelete Source #
Instances
| Produces IssueDelete MimeNoContent Source # | |
Defined in Gitea.API.Issue | |
issueDeleteComment
Arguments
| :: Owner | "owner" - owner of the repo |
| -> Repo | "repo" - name of the repo |
| -> Id | "id" - id of comment to delete |
| -> GiteaRequest IssueDeleteComment MimeNoContent NoContent MimeNoContent |
DELETE /repos/{owner}/{repo}/issues/comments/{id}Delete a comment
AuthMethod: AuthApiKeyTOTPHeader, AuthApiKeyAuthorizationHeaderToken, AuthApiKeySudoHeader, AuthBasicBasicAuth, AuthApiKeyAccessToken, AuthApiKeySudoParam, AuthApiKeyToken
data IssueDeleteComment Source #
Instances
| Produces IssueDeleteComment MimeNoContent Source # | |
Defined in Gitea.API.Issue | |
issueDeleteCommentDeprecated
issueDeleteCommentDeprecated Source #
Arguments
| :: Owner | "owner" - owner of the repo |
| -> Repo | "repo" - name of the repo |
| -> IndexInt | "index" - this parameter is ignored |
| -> Id | "id" - id of comment to delete |
| -> GiteaRequest IssueDeleteCommentDeprecated MimeNoContent NoContent MimeNoContent |
Deprecated:
DELETE /repos/{owner}/{repo}/issues/{index}/comments/{id}Delete a comment
AuthMethod: AuthApiKeyTOTPHeader, AuthApiKeyAuthorizationHeaderToken, AuthApiKeySudoHeader, AuthBasicBasicAuth, AuthApiKeyAccessToken, AuthApiKeySudoParam, AuthApiKeyToken
data IssueDeleteCommentDeprecated Source #
Instances
issueDeleteCommentReaction
issueDeleteCommentReaction Source #
Arguments
| :: Consumes IssueDeleteCommentReaction MimeJSON | |
| => Owner | "owner" - owner of the repo |
| -> Repo | "repo" - name of the repo |
| -> Id | "id" - id of the comment to edit |
| -> GiteaRequest IssueDeleteCommentReaction MimeJSON NoContent MimeNoContent |
DELETE /repos/{owner}/{repo}/issues/comments/{id}/reactionsRemove a reaction from a comment of an issue
AuthMethod: AuthApiKeyTOTPHeader, AuthApiKeyAuthorizationHeaderToken, AuthApiKeySudoHeader, AuthBasicBasicAuth, AuthApiKeyAccessToken, AuthApiKeySudoParam, AuthApiKeyToken
data IssueDeleteCommentReaction Source #
Instances
| HasBodyParam IssueDeleteCommentReaction EditReactionOption Source # | |
Defined in Gitea.API.Issue Methods setBodyParam :: (Consumes IssueDeleteCommentReaction contentType, MimeRender contentType EditReactionOption) => GiteaRequest IssueDeleteCommentReaction contentType res accept -> EditReactionOption -> GiteaRequest IssueDeleteCommentReaction contentType res accept Source # | |
| Consumes IssueDeleteCommentReaction MimeJSON Source # | application/json |
Defined in Gitea.API.Issue | |
| Produces IssueDeleteCommentReaction MimeNoContent Source # | |
Defined in Gitea.API.Issue | |
issueDeleteIssueAttachment
issueDeleteIssueAttachment Source #
Arguments
| :: Owner | "owner" - owner of the repo |
| -> Repo | "repo" - name of the repo |
| -> Index | "index" - index of the issue |
| -> AttachmentId | "attachmentId" - id of the attachment to delete |
| -> GiteaRequest IssueDeleteIssueAttachment MimeNoContent NoContent MimeNoContent |
DELETE /repos/{owner}/{repo}/issues/{index}/assets/{attachment_id}Delete an issue attachment
AuthMethod: AuthApiKeyTOTPHeader, AuthApiKeyAuthorizationHeaderToken, AuthApiKeySudoHeader, AuthBasicBasicAuth, AuthApiKeyAccessToken, AuthApiKeySudoParam, AuthApiKeyToken
data IssueDeleteIssueAttachment Source #
Instances
issueDeleteIssueCommentAttachment
issueDeleteIssueCommentAttachment Source #
Arguments
| :: Owner | "owner" - owner of the repo |
| -> Repo | "repo" - name of the repo |
| -> Id | "id" - id of the comment |
| -> AttachmentId | "attachmentId" - id of the attachment to delete |
| -> GiteaRequest IssueDeleteIssueCommentAttachment MimeNoContent NoContent MimeNoContent |
DELETE /repos/{owner}/{repo}/issues/comments/{id}/assets/{attachment_id}Delete a comment attachment
AuthMethod: AuthApiKeyTOTPHeader, AuthApiKeyAuthorizationHeaderToken, AuthApiKeySudoHeader, AuthBasicBasicAuth, AuthApiKeyAccessToken, AuthApiKeySudoParam, AuthApiKeyToken
data IssueDeleteIssueCommentAttachment Source #
Instances
issueDeleteIssueReaction
issueDeleteIssueReaction Source #
Arguments
| :: Consumes IssueDeleteIssueReaction MimeJSON | |
| => Owner | "owner" - owner of the repo |
| -> Repo | "repo" - name of the repo |
| -> Index | "index" - index of the issue |
| -> GiteaRequest IssueDeleteIssueReaction MimeJSON NoContent MimeNoContent |
DELETE /repos/{owner}/{repo}/issues/{index}/reactionsRemove a reaction from an issue
AuthMethod: AuthApiKeyTOTPHeader, AuthApiKeyAuthorizationHeaderToken, AuthApiKeySudoHeader, AuthBasicBasicAuth, AuthApiKeyAccessToken, AuthApiKeySudoParam, AuthApiKeyToken
data IssueDeleteIssueReaction Source #
Instances
| HasBodyParam IssueDeleteIssueReaction EditReactionOption Source # | |
Defined in Gitea.API.Issue Methods setBodyParam :: (Consumes IssueDeleteIssueReaction contentType, MimeRender contentType EditReactionOption) => GiteaRequest IssueDeleteIssueReaction contentType res accept -> EditReactionOption -> GiteaRequest IssueDeleteIssueReaction contentType res accept Source # | |
| Consumes IssueDeleteIssueReaction MimeJSON Source # | application/json |
Defined in Gitea.API.Issue | |
| Produces IssueDeleteIssueReaction MimeNoContent Source # | |
Defined in Gitea.API.Issue | |
issueDeleteLabel
Arguments
| :: Owner | "owner" - owner of the repo |
| -> Repo | "repo" - name of the repo |
| -> Id | "id" - id of the label to delete |
| -> GiteaRequest IssueDeleteLabel MimeNoContent NoContent MimeNoContent |
DELETE /repos/{owner}/{repo}/labels/{id}Delete a label
AuthMethod: AuthApiKeyTOTPHeader, AuthApiKeyAuthorizationHeaderToken, AuthApiKeySudoHeader, AuthBasicBasicAuth, AuthApiKeyAccessToken, AuthApiKeySudoParam, AuthApiKeyToken
data IssueDeleteLabel Source #
Instances
| Produces IssueDeleteLabel MimeNoContent Source # | |
Defined in Gitea.API.Issue | |
issueDeleteMilestone
Arguments
| :: Owner | "owner" - owner of the repo |
| -> Repo | "repo" - name of the repo |
| -> IdText | "id" - the milestone to delete, identified by ID and if not available by name |
| -> GiteaRequest IssueDeleteMilestone MimeNoContent NoContent MimeNoContent |
DELETE /repos/{owner}/{repo}/milestones/{id}Delete a milestone
AuthMethod: AuthApiKeyTOTPHeader, AuthApiKeyAuthorizationHeaderToken, AuthApiKeySudoHeader, AuthBasicBasicAuth, AuthApiKeyAccessToken, AuthApiKeySudoParam, AuthApiKeyToken
data IssueDeleteMilestone Source #
Instances
| Produces IssueDeleteMilestone MimeNoContent Source # | |
Defined in Gitea.API.Issue | |
issueDeleteStopWatch
Arguments
| :: Owner | "owner" - owner of the repo |
| -> Repo | "repo" - name of the repo |
| -> Index | "index" - index of the issue to stop the stopwatch on |
| -> GiteaRequest IssueDeleteStopWatch MimeNoContent NoContent MimeNoContent |
DELETE /repos/{owner}/{repo}/issues/{index}/stopwatch/deleteDelete an issue's existing stopwatch.
AuthMethod: AuthApiKeyTOTPHeader, AuthApiKeyAuthorizationHeaderToken, AuthApiKeySudoHeader, AuthBasicBasicAuth, AuthApiKeyAccessToken, AuthApiKeySudoParam, AuthApiKeyToken
data IssueDeleteStopWatch Source #
Instances
| Produces IssueDeleteStopWatch MimeNoContent Source # | |
Defined in Gitea.API.Issue | |
issueDeleteSubscription
issueDeleteSubscription Source #
Arguments
| :: Owner | "owner" - owner of the repo |
| -> Repo | "repo" - name of the repo |
| -> Index | "index" - index of the issue |
| -> User2 | "user" - user witch unsubscribe |
| -> GiteaRequest IssueDeleteSubscription MimeNoContent NoContent MimeNoContent |
DELETE /repos/{owner}/{repo}/issues/{index}/subscriptions/{user}Unsubscribe user from issue
AuthMethod: AuthApiKeyTOTPHeader, AuthApiKeyAuthorizationHeaderToken, AuthApiKeySudoHeader, AuthBasicBasicAuth, AuthApiKeyAccessToken, AuthApiKeySudoParam, AuthApiKeyToken
data IssueDeleteSubscription Source #
Instances
issueDeleteTime
Arguments
| :: Owner | "owner" - owner of the repo |
| -> Repo | "repo" - name of the repo |
| -> Index | "index" - index of the issue |
| -> Id | "id" - id of time to delete |
| -> GiteaRequest IssueDeleteTime MimeNoContent NoContent MimeNoContent |
DELETE /repos/{owner}/{repo}/issues/{index}/times/{id}Delete specific tracked time
AuthMethod: AuthApiKeyTOTPHeader, AuthApiKeyAuthorizationHeaderToken, AuthApiKeySudoHeader, AuthBasicBasicAuth, AuthApiKeyAccessToken, AuthApiKeySudoParam, AuthApiKeyToken
data IssueDeleteTime Source #
Instances
| Produces IssueDeleteTime MimeNoContent Source # | |
Defined in Gitea.API.Issue | |
issueEditComment
Arguments
| :: Consumes IssueEditComment MimeJSON | |
| => Owner | "owner" - owner of the repo |
| -> Repo | "repo" - name of the repo |
| -> Id | "id" - id of the comment to edit |
| -> GiteaRequest IssueEditComment MimeJSON Comment MimeJSON |
PATCH /repos/{owner}/{repo}/issues/comments/{id}Edit a comment
AuthMethod: AuthApiKeyTOTPHeader, AuthApiKeyAuthorizationHeaderToken, AuthApiKeySudoHeader, AuthBasicBasicAuth, AuthApiKeyAccessToken, AuthApiKeySudoParam, AuthApiKeyToken
data IssueEditComment Source #
Instances
| HasBodyParam IssueEditComment EditIssueCommentOption Source # | |
Defined in Gitea.API.Issue Methods setBodyParam :: (Consumes IssueEditComment contentType, MimeRender contentType EditIssueCommentOption) => GiteaRequest IssueEditComment contentType res accept -> EditIssueCommentOption -> GiteaRequest IssueEditComment contentType res accept Source # | |
| Consumes IssueEditComment MimeJSON Source # | application/json |
Defined in Gitea.API.Issue | |
| Produces IssueEditComment MimeJSON Source # | application/json |
Defined in Gitea.API.Issue | |
issueEditCommentDeprecated
issueEditCommentDeprecated Source #
Arguments
| :: Consumes IssueEditCommentDeprecated MimeJSON | |
| => Owner | "owner" - owner of the repo |
| -> Repo | "repo" - name of the repo |
| -> IndexInt | "index" - this parameter is ignored |
| -> Id | "id" - id of the comment to edit |
| -> GiteaRequest IssueEditCommentDeprecated MimeJSON Comment MimeJSON |
Deprecated:
PATCH /repos/{owner}/{repo}/issues/{index}/comments/{id}Edit a comment
AuthMethod: AuthApiKeyTOTPHeader, AuthApiKeyAuthorizationHeaderToken, AuthApiKeySudoHeader, AuthBasicBasicAuth, AuthApiKeyAccessToken, AuthApiKeySudoParam, AuthApiKeyToken
data IssueEditCommentDeprecated Source #
Instances
| HasBodyParam IssueEditCommentDeprecated EditIssueCommentOption Source # | |
Defined in Gitea.API.Issue Methods setBodyParam :: (Consumes IssueEditCommentDeprecated contentType, MimeRender contentType EditIssueCommentOption) => GiteaRequest IssueEditCommentDeprecated contentType res accept -> EditIssueCommentOption -> GiteaRequest IssueEditCommentDeprecated contentType res accept Source # | |
| Consumes IssueEditCommentDeprecated MimeJSON Source # | application/json |
Defined in Gitea.API.Issue | |
| Produces IssueEditCommentDeprecated MimeJSON Source # | application/json |
Defined in Gitea.API.Issue | |
issueEditIssue
Arguments
| :: Consumes IssueEditIssue MimeJSON | |
| => Owner | "owner" - owner of the repo |
| -> Repo | "repo" - name of the repo |
| -> Index | "index" - index of the issue to edit |
| -> GiteaRequest IssueEditIssue MimeJSON Issue MimeJSON |
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.
AuthMethod: AuthApiKeyTOTPHeader, AuthApiKeyAuthorizationHeaderToken, AuthApiKeySudoHeader, AuthBasicBasicAuth, AuthApiKeyAccessToken, AuthApiKeySudoParam, AuthApiKeyToken
data IssueEditIssue Source #
Instances
| HasBodyParam IssueEditIssue EditIssueOption Source # | |
Defined in Gitea.API.Issue Methods setBodyParam :: (Consumes IssueEditIssue contentType, MimeRender contentType EditIssueOption) => GiteaRequest IssueEditIssue contentType res accept -> EditIssueOption -> GiteaRequest IssueEditIssue contentType res accept Source # | |
| Consumes IssueEditIssue MimeJSON Source # | application/json |
Defined in Gitea.API.Issue | |
| Produces IssueEditIssue MimeJSON Source # | application/json |
Defined in Gitea.API.Issue | |
issueEditIssueAttachment
issueEditIssueAttachment Source #
Arguments
| :: Consumes IssueEditIssueAttachment MimeJSON | |
| => Owner | "owner" - owner of the repo |
| -> Repo | "repo" - name of the repo |
| -> Index | "index" - index of the issue |
| -> AttachmentId | "attachmentId" - id of the attachment to edit |
| -> GiteaRequest IssueEditIssueAttachment MimeJSON Attachment MimeJSON |
PATCH /repos/{owner}/{repo}/issues/{index}/assets/{attachment_id}Edit an issue attachment
AuthMethod: AuthApiKeyTOTPHeader, AuthApiKeyAuthorizationHeaderToken, AuthApiKeySudoHeader, AuthBasicBasicAuth, AuthApiKeyAccessToken, AuthApiKeySudoParam, AuthApiKeyToken
data IssueEditIssueAttachment Source #
Instances
| HasBodyParam IssueEditIssueAttachment EditAttachmentOptions Source # | |
Defined in Gitea.API.Issue Methods setBodyParam :: (Consumes IssueEditIssueAttachment contentType, MimeRender contentType EditAttachmentOptions) => GiteaRequest IssueEditIssueAttachment contentType res accept -> EditAttachmentOptions -> GiteaRequest IssueEditIssueAttachment contentType res accept Source # | |
| Consumes IssueEditIssueAttachment MimeJSON Source # | application/json |
Defined in Gitea.API.Issue | |
| Produces IssueEditIssueAttachment MimeJSON Source # | application/json |
Defined in Gitea.API.Issue | |
issueEditIssueCommentAttachment
issueEditIssueCommentAttachment Source #
Arguments
| :: Consumes IssueEditIssueCommentAttachment MimeJSON | |
| => Owner | "owner" - owner of the repo |
| -> Repo | "repo" - name of the repo |
| -> Id | "id" - id of the comment |
| -> AttachmentId | "attachmentId" - id of the attachment to edit |
| -> GiteaRequest IssueEditIssueCommentAttachment MimeJSON Attachment MimeJSON |
PATCH /repos/{owner}/{repo}/issues/comments/{id}/assets/{attachment_id}Edit a comment attachment
AuthMethod: AuthApiKeyTOTPHeader, AuthApiKeyAuthorizationHeaderToken, AuthApiKeySudoHeader, AuthBasicBasicAuth, AuthApiKeyAccessToken, AuthApiKeySudoParam, AuthApiKeyToken
data IssueEditIssueCommentAttachment Source #
Instances
| HasBodyParam IssueEditIssueCommentAttachment EditAttachmentOptions Source # | |
Defined in Gitea.API.Issue Methods setBodyParam :: (Consumes IssueEditIssueCommentAttachment contentType, MimeRender contentType EditAttachmentOptions) => GiteaRequest IssueEditIssueCommentAttachment contentType res accept -> EditAttachmentOptions -> GiteaRequest IssueEditIssueCommentAttachment contentType res accept Source # | |
| Consumes IssueEditIssueCommentAttachment MimeJSON Source # | application/json |
Defined in Gitea.API.Issue | |
| Produces IssueEditIssueCommentAttachment MimeJSON Source # | application/json |
Defined in Gitea.API.Issue | |
issueEditIssueDeadline
issueEditIssueDeadline Source #
Arguments
| :: Consumes IssueEditIssueDeadline MimeJSON | |
| => Owner | "owner" - owner of the repo |
| -> Repo | "repo" - name of the repo |
| -> Index | "index" - index of the issue to create or update a deadline on |
| -> GiteaRequest IssueEditIssueDeadline MimeJSON IssueDeadline MimeJSON |
POST /repos/{owner}/{repo}/issues/{index}/deadlineSet 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.
AuthMethod: AuthApiKeyTOTPHeader, AuthApiKeyAuthorizationHeaderToken, AuthApiKeySudoHeader, AuthBasicBasicAuth, AuthApiKeyAccessToken, AuthApiKeySudoParam, AuthApiKeyToken
data IssueEditIssueDeadline Source #
Instances
| HasBodyParam IssueEditIssueDeadline EditDeadlineOption Source # | |
Defined in Gitea.API.Issue Methods setBodyParam :: (Consumes IssueEditIssueDeadline contentType, MimeRender contentType EditDeadlineOption) => GiteaRequest IssueEditIssueDeadline contentType res accept -> EditDeadlineOption -> GiteaRequest IssueEditIssueDeadline contentType res accept Source # | |
| Consumes IssueEditIssueDeadline MimeJSON Source # | application/json |
Defined in Gitea.API.Issue | |
| Produces IssueEditIssueDeadline MimeJSON Source # | application/json |
Defined in Gitea.API.Issue | |
issueEditLabel
Arguments
| :: Consumes IssueEditLabel MimeJSON | |
| => Owner | "owner" - owner of the repo |
| -> Repo | "repo" - name of the repo |
| -> Id | "id" - id of the label to edit |
| -> GiteaRequest IssueEditLabel MimeJSON Label MimeJSON |
PATCH /repos/{owner}/{repo}/labels/{id}Update a label
AuthMethod: AuthApiKeyTOTPHeader, AuthApiKeyAuthorizationHeaderToken, AuthApiKeySudoHeader, AuthBasicBasicAuth, AuthApiKeyAccessToken, AuthApiKeySudoParam, AuthApiKeyToken
data IssueEditLabel Source #
Instances
| HasBodyParam IssueEditLabel EditLabelOption Source # | |
Defined in Gitea.API.Issue Methods setBodyParam :: (Consumes IssueEditLabel contentType, MimeRender contentType EditLabelOption) => GiteaRequest IssueEditLabel contentType res accept -> EditLabelOption -> GiteaRequest IssueEditLabel contentType res accept Source # | |
| Consumes IssueEditLabel MimeJSON Source # | application/json |
Defined in Gitea.API.Issue | |
| Produces IssueEditLabel MimeJSON Source # | application/json |
Defined in Gitea.API.Issue | |
issueEditMilestone
Arguments
| :: Consumes IssueEditMilestone MimeJSON | |
| => Owner | "owner" - owner of the repo |
| -> Repo | "repo" - name of the repo |
| -> IdText | "id" - the milestone to edit, identified by ID and if not available by name |
| -> GiteaRequest IssueEditMilestone MimeJSON Milestone MimeJSON |
PATCH /repos/{owner}/{repo}/milestones/{id}Update a milestone
AuthMethod: AuthApiKeyTOTPHeader, AuthApiKeyAuthorizationHeaderToken, AuthApiKeySudoHeader, AuthBasicBasicAuth, AuthApiKeyAccessToken, AuthApiKeySudoParam, AuthApiKeyToken
data IssueEditMilestone Source #
Instances
| HasBodyParam IssueEditMilestone EditMilestoneOption Source # | |
Defined in Gitea.API.Issue Methods setBodyParam :: (Consumes IssueEditMilestone contentType, MimeRender contentType EditMilestoneOption) => GiteaRequest IssueEditMilestone contentType res accept -> EditMilestoneOption -> GiteaRequest IssueEditMilestone contentType res accept Source # | |
| Consumes IssueEditMilestone MimeJSON Source # | application/json |
Defined in Gitea.API.Issue | |
| Produces IssueEditMilestone MimeJSON Source # | application/json |
Defined in Gitea.API.Issue | |
issueGetComment
Arguments
| :: Owner | "owner" - owner of the repo |
| -> Repo | "repo" - name of the repo |
| -> Id | "id" - id of the comment |
| -> GiteaRequest IssueGetComment MimeNoContent Comment MimeJSON |
GET /repos/{owner}/{repo}/issues/comments/{id}Get a comment
AuthMethod: AuthApiKeyTOTPHeader, AuthApiKeyAuthorizationHeaderToken, AuthApiKeySudoHeader, AuthBasicBasicAuth, AuthApiKeyAccessToken, AuthApiKeySudoParam, AuthApiKeyToken
data IssueGetComment Source #
Instances
| Produces IssueGetComment MimeJSON Source # | application/json |
Defined in Gitea.API.Issue | |
issueGetCommentReactions
issueGetCommentReactions Source #
Arguments
| :: Owner | "owner" - owner of the repo |
| -> Repo | "repo" - name of the repo |
| -> Id | "id" - id of the comment to edit |
| -> GiteaRequest IssueGetCommentReactions MimeNoContent [Reaction] MimeJSON |
GET /repos/{owner}/{repo}/issues/comments/{id}/reactionsGet a list of reactions from a comment of an issue
AuthMethod: AuthApiKeyTOTPHeader, AuthApiKeyAuthorizationHeaderToken, AuthApiKeySudoHeader, AuthBasicBasicAuth, AuthApiKeyAccessToken, AuthApiKeySudoParam, AuthApiKeyToken
data IssueGetCommentReactions Source #
Instances
| Produces IssueGetCommentReactions MimeJSON Source # | application/json |
Defined in Gitea.API.Issue | |
issueGetComments
Arguments
| :: Owner | "owner" - owner of the repo |
| -> Repo | "repo" - name of the repo |
| -> Index | "index" - index of the issue |
| -> GiteaRequest IssueGetComments MimeNoContent [Comment] MimeJSON |
GET /repos/{owner}/{repo}/issues/{index}/commentsList all comments on an issue
AuthMethod: AuthApiKeyTOTPHeader, AuthApiKeyAuthorizationHeaderToken, AuthApiKeySudoHeader, AuthBasicBasicAuth, AuthApiKeyAccessToken, AuthApiKeySudoParam, AuthApiKeyToken
data IssueGetComments Source #
Instances
| HasOptionalParam IssueGetComments Before Source # | Optional Param "before" - if provided, only comments updated before the provided time are returned. |
Defined in Gitea.API.Issue Methods applyOptionalParam :: GiteaRequest IssueGetComments contentType res accept -> Before -> GiteaRequest IssueGetComments contentType res accept Source # (-&-) :: GiteaRequest IssueGetComments contentType res accept -> Before -> GiteaRequest IssueGetComments contentType res accept Source # | |
| HasOptionalParam IssueGetComments Since Source # | Optional Param "since" - if provided, only comments updated since the specified time are returned. |
Defined in Gitea.API.Issue Methods applyOptionalParam :: GiteaRequest IssueGetComments contentType res accept -> Since -> GiteaRequest IssueGetComments contentType res accept Source # (-&-) :: GiteaRequest IssueGetComments contentType res accept -> Since -> GiteaRequest IssueGetComments contentType res accept Source # | |
| Produces IssueGetComments MimeJSON Source # | application/json |
Defined in Gitea.API.Issue | |
issueGetCommentsAndTimeline
issueGetCommentsAndTimeline Source #
Arguments
| :: Owner | "owner" - owner of the repo |
| -> Repo | "repo" - name of the repo |
| -> Index | "index" - index of the issue |
| -> GiteaRequest IssueGetCommentsAndTimeline MimeNoContent [TimelineComment] MimeJSON |
GET /repos/{owner}/{repo}/issues/{index}/timelineList all comments and events on an issue
AuthMethod: AuthApiKeyTOTPHeader, AuthApiKeyAuthorizationHeaderToken, AuthApiKeySudoHeader, AuthBasicBasicAuth, AuthApiKeyAccessToken, AuthApiKeySudoParam, AuthApiKeyToken
data IssueGetCommentsAndTimeline Source #
Instances
issueGetIssue
Arguments
| :: Owner | "owner" - owner of the repo |
| -> Repo | "repo" - name of the repo |
| -> Index | "index" - index of the issue to get |
| -> GiteaRequest IssueGetIssue MimeNoContent Issue MimeJSON |
GET /repos/{owner}/{repo}/issues/{index}Get an issue
AuthMethod: AuthApiKeyTOTPHeader, AuthApiKeyAuthorizationHeaderToken, AuthApiKeySudoHeader, AuthBasicBasicAuth, AuthApiKeyAccessToken, AuthApiKeySudoParam, AuthApiKeyToken
data IssueGetIssue Source #
Instances
| Produces IssueGetIssue MimeJSON Source # | application/json |
Defined in Gitea.API.Issue | |
issueGetIssueAttachment
issueGetIssueAttachment Source #
Arguments
| :: Owner | "owner" - owner of the repo |
| -> Repo | "repo" - name of the repo |
| -> Index | "index" - index of the issue |
| -> AttachmentId | "attachmentId" - id of the attachment to get |
| -> GiteaRequest IssueGetIssueAttachment MimeNoContent Attachment MimeJSON |
GET /repos/{owner}/{repo}/issues/{index}/assets/{attachment_id}Get an issue attachment
AuthMethod: AuthApiKeyTOTPHeader, AuthApiKeyAuthorizationHeaderToken, AuthApiKeySudoHeader, AuthBasicBasicAuth, AuthApiKeyAccessToken, AuthApiKeySudoParam, AuthApiKeyToken
data IssueGetIssueAttachment Source #
Instances
| Produces IssueGetIssueAttachment MimeJSON Source # | application/json |
Defined in Gitea.API.Issue | |
issueGetIssueCommentAttachment
issueGetIssueCommentAttachment Source #
Arguments
| :: Owner | "owner" - owner of the repo |
| -> Repo | "repo" - name of the repo |
| -> Id | "id" - id of the comment |
| -> AttachmentId | "attachmentId" - id of the attachment to get |
| -> GiteaRequest IssueGetIssueCommentAttachment MimeNoContent Attachment MimeJSON |
GET /repos/{owner}/{repo}/issues/comments/{id}/assets/{attachment_id}Get a comment attachment
AuthMethod: AuthApiKeyTOTPHeader, AuthApiKeyAuthorizationHeaderToken, AuthApiKeySudoHeader, AuthBasicBasicAuth, AuthApiKeyAccessToken, AuthApiKeySudoParam, AuthApiKeyToken
data IssueGetIssueCommentAttachment Source #
Instances
| Produces IssueGetIssueCommentAttachment MimeJSON Source # | application/json |
Defined in Gitea.API.Issue | |
issueGetIssueReactions
issueGetIssueReactions Source #
Arguments
| :: Owner | "owner" - owner of the repo |
| -> Repo | "repo" - name of the repo |
| -> Index | "index" - index of the issue |
| -> GiteaRequest IssueGetIssueReactions MimeNoContent [Reaction] MimeJSON |
GET /repos/{owner}/{repo}/issues/{index}/reactionsGet a list reactions of an issue
AuthMethod: AuthApiKeyTOTPHeader, AuthApiKeyAuthorizationHeaderToken, AuthApiKeySudoHeader, AuthBasicBasicAuth, AuthApiKeyAccessToken, AuthApiKeySudoParam, AuthApiKeyToken
data IssueGetIssueReactions Source #
Instances
| HasOptionalParam IssueGetIssueReactions Limit Source # | Optional Param "limit" - page size of results |
Defined in Gitea.API.Issue Methods applyOptionalParam :: GiteaRequest IssueGetIssueReactions contentType res accept -> Limit -> GiteaRequest IssueGetIssueReactions contentType res accept Source # (-&-) :: GiteaRequest IssueGetIssueReactions contentType res accept -> Limit -> GiteaRequest IssueGetIssueReactions contentType res accept Source # | |
| HasOptionalParam IssueGetIssueReactions Page Source # | Optional Param "page" - page number of results to return (1-based) |
Defined in Gitea.API.Issue Methods applyOptionalParam :: GiteaRequest IssueGetIssueReactions contentType res accept -> Page -> GiteaRequest IssueGetIssueReactions contentType res accept Source # (-&-) :: GiteaRequest IssueGetIssueReactions contentType res accept -> Page -> GiteaRequest IssueGetIssueReactions contentType res accept Source # | |
| Produces IssueGetIssueReactions MimeJSON Source # | application/json |
Defined in Gitea.API.Issue | |
issueGetLabel
Arguments
| :: Owner | "owner" - owner of the repo |
| -> Repo | "repo" - name of the repo |
| -> Id | "id" - id of the label to get |
| -> GiteaRequest IssueGetLabel MimeNoContent Label MimeJSON |
GET /repos/{owner}/{repo}/labels/{id}Get a single label
AuthMethod: AuthApiKeyTOTPHeader, AuthApiKeyAuthorizationHeaderToken, AuthApiKeySudoHeader, AuthBasicBasicAuth, AuthApiKeyAccessToken, AuthApiKeySudoParam, AuthApiKeyToken
data IssueGetLabel Source #
Instances
| Produces IssueGetLabel MimeJSON Source # | application/json |
Defined in Gitea.API.Issue | |
issueGetLabels
Arguments
| :: Owner | "owner" - owner of the repo |
| -> Repo | "repo" - name of the repo |
| -> Index | "index" - index of the issue |
| -> GiteaRequest IssueGetLabels MimeNoContent [Label] MimeJSON |
GET /repos/{owner}/{repo}/issues/{index}/labelsGet an issue's labels
AuthMethod: AuthApiKeyTOTPHeader, AuthApiKeyAuthorizationHeaderToken, AuthApiKeySudoHeader, AuthBasicBasicAuth, AuthApiKeyAccessToken, AuthApiKeySudoParam, AuthApiKeyToken
data IssueGetLabels Source #
Instances
| Produces IssueGetLabels MimeJSON Source # | application/json |
Defined in Gitea.API.Issue | |
issueGetMilestone
Arguments
| :: Owner | "owner" - owner of the repo |
| -> Repo | "repo" - name of the repo |
| -> IdText | "id" - the milestone to get, identified by ID and if not available by name |
| -> GiteaRequest IssueGetMilestone MimeNoContent Milestone MimeJSON |
GET /repos/{owner}/{repo}/milestones/{id}Get a milestone
AuthMethod: AuthApiKeyTOTPHeader, AuthApiKeyAuthorizationHeaderToken, AuthApiKeySudoHeader, AuthBasicBasicAuth, AuthApiKeyAccessToken, AuthApiKeySudoParam, AuthApiKeyToken
data IssueGetMilestone Source #
Instances
| Produces IssueGetMilestone MimeJSON Source # | application/json |
Defined in Gitea.API.Issue | |
issueGetMilestonesList
issueGetMilestonesList Source #
Arguments
| :: Owner | "owner" - owner of the repo |
| -> Repo | "repo" - name of the repo |
| -> GiteaRequest IssueGetMilestonesList MimeNoContent [Milestone] MimeJSON |
GET /repos/{owner}/{repo}/milestonesGet all of a repository's opened milestones
AuthMethod: AuthApiKeyTOTPHeader, AuthApiKeyAuthorizationHeaderToken, AuthApiKeySudoHeader, AuthBasicBasicAuth, AuthApiKeyAccessToken, AuthApiKeySudoParam, AuthApiKeyToken
data IssueGetMilestonesList Source #
Instances
issueGetRepoComments
Arguments
| :: Owner | "owner" - owner of the repo |
| -> Repo | "repo" - name of the repo |
| -> GiteaRequest IssueGetRepoComments MimeNoContent [Comment] MimeJSON |
GET /repos/{owner}/{repo}/issues/commentsList all comments in a repository
AuthMethod: AuthApiKeyTOTPHeader, AuthApiKeyAuthorizationHeaderToken, AuthApiKeySudoHeader, AuthBasicBasicAuth, AuthApiKeyAccessToken, AuthApiKeySudoParam, AuthApiKeyToken
data IssueGetRepoComments Source #
Instances
issueListBlocks
Arguments
| :: Owner | "owner" - owner of the repo |
| -> Repo | "repo" - name of the repo |
| -> IndexText | "index" - index of the issue |
| -> GiteaRequest IssueListBlocks MimeNoContent [Issue] MimeJSON |
GET /repos/{owner}/{repo}/issues/{index}/blocksList issues that are blocked by this issue
AuthMethod: AuthApiKeyTOTPHeader, AuthApiKeyAuthorizationHeaderToken, AuthApiKeySudoHeader, AuthBasicBasicAuth, AuthApiKeyAccessToken, AuthApiKeySudoParam, AuthApiKeyToken
data IssueListBlocks Source #
Instances
| HasOptionalParam IssueListBlocks Limit Source # | Optional Param "limit" - page size of results |
Defined in Gitea.API.Issue Methods applyOptionalParam :: GiteaRequest IssueListBlocks contentType res accept -> Limit -> GiteaRequest IssueListBlocks contentType res accept Source # (-&-) :: GiteaRequest IssueListBlocks contentType res accept -> Limit -> GiteaRequest IssueListBlocks contentType res accept Source # | |
| HasOptionalParam IssueListBlocks Page Source # | Optional Param "page" - page number of results to return (1-based) |
Defined in Gitea.API.Issue Methods applyOptionalParam :: GiteaRequest IssueListBlocks contentType res accept -> Page -> GiteaRequest IssueListBlocks contentType res accept Source # (-&-) :: GiteaRequest IssueListBlocks contentType res accept -> Page -> GiteaRequest IssueListBlocks contentType res accept Source # | |
| Produces IssueListBlocks MimeJSON Source # | application/json |
Defined in Gitea.API.Issue | |
issueListIssueAttachments
issueListIssueAttachments Source #
Arguments
| :: Owner | "owner" - owner of the repo |
| -> Repo | "repo" - name of the repo |
| -> Index | "index" - index of the issue |
| -> GiteaRequest IssueListIssueAttachments MimeNoContent [Attachment] MimeJSON |
GET /repos/{owner}/{repo}/issues/{index}/assetsList issue's attachments
AuthMethod: AuthApiKeyTOTPHeader, AuthApiKeyAuthorizationHeaderToken, AuthApiKeySudoHeader, AuthBasicBasicAuth, AuthApiKeyAccessToken, AuthApiKeySudoParam, AuthApiKeyToken
data IssueListIssueAttachments Source #
Instances
| Produces IssueListIssueAttachments MimeJSON Source # | application/json |
Defined in Gitea.API.Issue | |
issueListIssueCommentAttachments
issueListIssueCommentAttachments Source #
Arguments
| :: Owner | "owner" - owner of the repo |
| -> Repo | "repo" - name of the repo |
| -> Id | "id" - id of the comment |
| -> GiteaRequest IssueListIssueCommentAttachments MimeNoContent [Attachment] MimeJSON |
GET /repos/{owner}/{repo}/issues/comments/{id}/assetsList comment's attachments
AuthMethod: AuthApiKeyTOTPHeader, AuthApiKeyAuthorizationHeaderToken, AuthApiKeySudoHeader, AuthBasicBasicAuth, AuthApiKeyAccessToken, AuthApiKeySudoParam, AuthApiKeyToken
data IssueListIssueCommentAttachments Source #
Instances
| Produces IssueListIssueCommentAttachments MimeJSON Source # | application/json |
Defined in Gitea.API.Issue | |
issueListIssueDependencies
issueListIssueDependencies Source #
Arguments
| :: Owner | "owner" - owner of the repo |
| -> Repo | "repo" - name of the repo |
| -> IndexText | "index" - index of the issue |
| -> GiteaRequest IssueListIssueDependencies MimeNoContent [Issue] MimeJSON |
GET /repos/{owner}/{repo}/issues/{index}/dependenciesList an issue's dependencies, i.e all issues that block this issue.
AuthMethod: AuthApiKeyTOTPHeader, AuthApiKeyAuthorizationHeaderToken, AuthApiKeySudoHeader, AuthBasicBasicAuth, AuthApiKeyAccessToken, AuthApiKeySudoParam, AuthApiKeyToken
data IssueListIssueDependencies Source #
Instances
issueListIssues
Arguments
| :: Owner | "owner" - owner of the repo |
| -> Repo | "repo" - name of the repo |
| -> GiteaRequest IssueListIssues MimeNoContent [Issue] MimeJSON |
GET /repos/{owner}/{repo}/issuesList a repository's issues
AuthMethod: AuthApiKeyTOTPHeader, AuthApiKeyAuthorizationHeaderToken, AuthApiKeySudoHeader, AuthBasicBasicAuth, AuthApiKeyAccessToken, AuthApiKeySudoParam, AuthApiKeyToken
data IssueListIssues Source #
Instances
| HasOptionalParam IssueListIssues AssignedBy Source # | Optional Param "assigned_by" - Only show items for which the given user is assigned |
Defined in Gitea.API.Issue Methods applyOptionalParam :: GiteaRequest IssueListIssues contentType res accept -> AssignedBy -> GiteaRequest IssueListIssues contentType res accept Source # (-&-) :: GiteaRequest IssueListIssues contentType res accept -> AssignedBy -> GiteaRequest IssueListIssues contentType res accept Source # | |
| HasOptionalParam IssueListIssues Before Source # | Optional Param "before" - Only show items updated before the given time. This is a timestamp in RFC 3339 format |
Defined in Gitea.API.Issue Methods applyOptionalParam :: GiteaRequest IssueListIssues contentType res accept -> Before -> GiteaRequest IssueListIssues contentType res accept Source # (-&-) :: GiteaRequest IssueListIssues contentType res accept -> Before -> GiteaRequest IssueListIssues contentType res accept Source # | |
| HasOptionalParam IssueListIssues CreatedBy Source # | Optional Param "created_by" - Only show items which were created by the the given user |
Defined in Gitea.API.Issue Methods applyOptionalParam :: GiteaRequest IssueListIssues contentType res accept -> CreatedBy -> GiteaRequest IssueListIssues contentType res accept Source # (-&-) :: GiteaRequest IssueListIssues contentType res accept -> CreatedBy -> GiteaRequest IssueListIssues contentType res accept Source # | |
| HasOptionalParam IssueListIssues Labels Source # | Optional Param "labels" - comma separated list of labels. Fetch only issues that have any of this labels. Non existent labels are discarded |
Defined in Gitea.API.Issue Methods applyOptionalParam :: GiteaRequest IssueListIssues contentType res accept -> Labels -> GiteaRequest IssueListIssues contentType res accept Source # (-&-) :: GiteaRequest IssueListIssues contentType res accept -> Labels -> GiteaRequest IssueListIssues contentType res accept Source # | |
| HasOptionalParam IssueListIssues Limit Source # | Optional Param "limit" - page size of results |
Defined in Gitea.API.Issue Methods applyOptionalParam :: GiteaRequest IssueListIssues contentType res accept -> Limit -> GiteaRequest IssueListIssues contentType res accept Source # (-&-) :: GiteaRequest IssueListIssues contentType res accept -> Limit -> GiteaRequest IssueListIssues contentType res accept Source # | |
| HasOptionalParam IssueListIssues MentionedBy Source # | Optional Param "mentioned_by" - Only show items in which the given user was mentioned |
Defined in Gitea.API.Issue Methods applyOptionalParam :: GiteaRequest IssueListIssues contentType res accept -> MentionedBy -> GiteaRequest IssueListIssues contentType res accept Source # (-&-) :: GiteaRequest IssueListIssues contentType res accept -> MentionedBy -> GiteaRequest IssueListIssues contentType res accept Source # | |
| HasOptionalParam IssueListIssues Milestones Source # | Optional Param "milestones" - comma separated list of milestone names or ids. It uses names and fall back to ids. Fetch only issues that have any of this milestones. Non existent milestones are discarded |
Defined in Gitea.API.Issue Methods applyOptionalParam :: GiteaRequest IssueListIssues contentType res accept -> Milestones -> GiteaRequest IssueListIssues contentType res accept Source # (-&-) :: GiteaRequest IssueListIssues contentType res accept -> Milestones -> GiteaRequest IssueListIssues contentType res accept Source # | |
| HasOptionalParam IssueListIssues Page Source # | Optional Param "page" - page number of results to return (1-based) |
Defined in Gitea.API.Issue Methods applyOptionalParam :: GiteaRequest IssueListIssues contentType res accept -> Page -> GiteaRequest IssueListIssues contentType res accept Source # (-&-) :: GiteaRequest IssueListIssues contentType res accept -> Page -> GiteaRequest IssueListIssues contentType res accept Source # | |
| HasOptionalParam IssueListIssues ParamType2 Source # | Optional Param "type" - filter by type (issues / pulls) if set |
Defined in Gitea.API.Issue Methods applyOptionalParam :: GiteaRequest IssueListIssues contentType res accept -> ParamType2 -> GiteaRequest IssueListIssues contentType res accept Source # (-&-) :: GiteaRequest IssueListIssues contentType res accept -> ParamType2 -> GiteaRequest IssueListIssues contentType res accept Source # | |
| HasOptionalParam IssueListIssues Q Source # | Optional Param "q" - search string |
Defined in Gitea.API.Issue Methods applyOptionalParam :: GiteaRequest IssueListIssues contentType res accept -> Q -> GiteaRequest IssueListIssues contentType res accept Source # (-&-) :: GiteaRequest IssueListIssues contentType res accept -> Q -> GiteaRequest IssueListIssues contentType res accept Source # | |
| HasOptionalParam IssueListIssues Since Source # | Optional Param "since" - Only show items updated after the given time. This is a timestamp in RFC 3339 format |
Defined in Gitea.API.Issue Methods applyOptionalParam :: GiteaRequest IssueListIssues contentType res accept -> Since -> GiteaRequest IssueListIssues contentType res accept Source # (-&-) :: GiteaRequest IssueListIssues contentType res accept -> Since -> GiteaRequest IssueListIssues contentType res accept Source # | |
| HasOptionalParam IssueListIssues State3 Source # | Optional Param "state" - whether issue is open or closed |
Defined in Gitea.API.Issue Methods applyOptionalParam :: GiteaRequest IssueListIssues contentType res accept -> State3 -> GiteaRequest IssueListIssues contentType res accept Source # (-&-) :: GiteaRequest IssueListIssues contentType res accept -> State3 -> GiteaRequest IssueListIssues contentType res accept Source # | |
| Produces IssueListIssues MimeJSON Source # | application/json |
Defined in Gitea.API.Issue | |
issueListLabels
Arguments
| :: Owner | "owner" - owner of the repo |
| -> Repo | "repo" - name of the repo |
| -> GiteaRequest IssueListLabels MimeNoContent [Label] MimeJSON |
GET /repos/{owner}/{repo}/labelsGet all of a repository's labels
AuthMethod: AuthApiKeyTOTPHeader, AuthApiKeyAuthorizationHeaderToken, AuthApiKeySudoHeader, AuthBasicBasicAuth, AuthApiKeyAccessToken, AuthApiKeySudoParam, AuthApiKeyToken
data IssueListLabels Source #
Instances
| HasOptionalParam IssueListLabels Limit Source # | Optional Param "limit" - page size of results |
Defined in Gitea.API.Issue Methods applyOptionalParam :: GiteaRequest IssueListLabels contentType res accept -> Limit -> GiteaRequest IssueListLabels contentType res accept Source # (-&-) :: GiteaRequest IssueListLabels contentType res accept -> Limit -> GiteaRequest IssueListLabels contentType res accept Source # | |
| HasOptionalParam IssueListLabels Page Source # | Optional Param "page" - page number of results to return (1-based) |
Defined in Gitea.API.Issue Methods applyOptionalParam :: GiteaRequest IssueListLabels contentType res accept -> Page -> GiteaRequest IssueListLabels contentType res accept Source # (-&-) :: GiteaRequest IssueListLabels contentType res accept -> Page -> GiteaRequest IssueListLabels contentType res accept Source # | |
| Produces IssueListLabels MimeJSON Source # | application/json |
Defined in Gitea.API.Issue | |
issuePostCommentReaction
issuePostCommentReaction Source #
Arguments
| :: Consumes IssuePostCommentReaction MimeJSON | |
| => Owner | "owner" - owner of the repo |
| -> Repo | "repo" - name of the repo |
| -> Id | "id" - id of the comment to edit |
| -> GiteaRequest IssuePostCommentReaction MimeJSON Reaction MimeJSON |
POST /repos/{owner}/{repo}/issues/comments/{id}/reactionsAdd a reaction to a comment of an issue
AuthMethod: AuthApiKeyTOTPHeader, AuthApiKeyAuthorizationHeaderToken, AuthApiKeySudoHeader, AuthBasicBasicAuth, AuthApiKeyAccessToken, AuthApiKeySudoParam, AuthApiKeyToken
data IssuePostCommentReaction Source #
Instances
| HasBodyParam IssuePostCommentReaction EditReactionOption Source # | |
Defined in Gitea.API.Issue Methods setBodyParam :: (Consumes IssuePostCommentReaction contentType, MimeRender contentType EditReactionOption) => GiteaRequest IssuePostCommentReaction contentType res accept -> EditReactionOption -> GiteaRequest IssuePostCommentReaction contentType res accept Source # | |
| Consumes IssuePostCommentReaction MimeJSON Source # | application/json |
Defined in Gitea.API.Issue | |
| Produces IssuePostCommentReaction MimeJSON Source # | application/json |
Defined in Gitea.API.Issue | |
issuePostIssueReaction
issuePostIssueReaction Source #
Arguments
| :: Consumes IssuePostIssueReaction MimeJSON | |
| => Owner | "owner" - owner of the repo |
| -> Repo | "repo" - name of the repo |
| -> Index | "index" - index of the issue |
| -> GiteaRequest IssuePostIssueReaction MimeJSON Reaction MimeJSON |
POST /repos/{owner}/{repo}/issues/{index}/reactionsAdd a reaction to an issue
AuthMethod: AuthApiKeyTOTPHeader, AuthApiKeyAuthorizationHeaderToken, AuthApiKeySudoHeader, AuthBasicBasicAuth, AuthApiKeyAccessToken, AuthApiKeySudoParam, AuthApiKeyToken
data IssuePostIssueReaction Source #
Instances
| HasBodyParam IssuePostIssueReaction EditReactionOption Source # | |
Defined in Gitea.API.Issue Methods setBodyParam :: (Consumes IssuePostIssueReaction contentType, MimeRender contentType EditReactionOption) => GiteaRequest IssuePostIssueReaction contentType res accept -> EditReactionOption -> GiteaRequest IssuePostIssueReaction contentType res accept Source # | |
| Consumes IssuePostIssueReaction MimeJSON Source # | application/json |
Defined in Gitea.API.Issue | |
| Produces IssuePostIssueReaction MimeJSON Source # | application/json |
Defined in Gitea.API.Issue | |
issueRemoveIssueBlocking
issueRemoveIssueBlocking Source #
Arguments
| :: Consumes IssueRemoveIssueBlocking contentType | |
| => ContentType contentType | request content-type ( |
| -> Owner | "owner" - owner of the repo |
| -> Repo | "repo" - name of the repo |
| -> IndexText | "index" - index of the issue |
| -> GiteaRequest IssueRemoveIssueBlocking contentType Issue MimeJSON |
DELETE /repos/{owner}/{repo}/issues/{index}/blocksUnblock the issue given in the body by the issue in path
AuthMethod: AuthApiKeyTOTPHeader, AuthApiKeyAuthorizationHeaderToken, AuthApiKeySudoHeader, AuthBasicBasicAuth, AuthApiKeyAccessToken, AuthApiKeySudoParam, AuthApiKeyToken
data IssueRemoveIssueBlocking Source #
Instances
| HasBodyParam IssueRemoveIssueBlocking IssueMeta Source # | |
Defined in Gitea.API.Issue Methods setBodyParam :: (Consumes IssueRemoveIssueBlocking contentType, MimeRender contentType IssueMeta) => GiteaRequest IssueRemoveIssueBlocking contentType res accept -> IssueMeta -> GiteaRequest IssueRemoveIssueBlocking contentType res accept Source # | |
| Consumes IssueRemoveIssueBlocking MimeJSON Source # | application/json |
Defined in Gitea.API.Issue | |
| Consumes IssueRemoveIssueBlocking MimePlainText Source # | text/plain |
Defined in Gitea.API.Issue | |
| Produces IssueRemoveIssueBlocking MimeJSON Source # | application/json |
Defined in Gitea.API.Issue | |
issueRemoveIssueDependencies
issueRemoveIssueDependencies Source #
Arguments
| :: Consumes IssueRemoveIssueDependencies contentType | |
| => ContentType contentType | request content-type ( |
| -> Owner | "owner" - owner of the repo |
| -> Repo | "repo" - name of the repo |
| -> IndexText | "index" - index of the issue |
| -> GiteaRequest IssueRemoveIssueDependencies contentType Issue MimeJSON |
DELETE /repos/{owner}/{repo}/issues/{index}/dependenciesRemove an issue dependency
AuthMethod: AuthApiKeyTOTPHeader, AuthApiKeyAuthorizationHeaderToken, AuthApiKeySudoHeader, AuthBasicBasicAuth, AuthApiKeyAccessToken, AuthApiKeySudoParam, AuthApiKeyToken
data IssueRemoveIssueDependencies Source #
Instances
| HasBodyParam IssueRemoveIssueDependencies IssueMeta Source # | |
Defined in Gitea.API.Issue Methods setBodyParam :: (Consumes IssueRemoveIssueDependencies contentType, MimeRender contentType IssueMeta) => GiteaRequest IssueRemoveIssueDependencies contentType res accept -> IssueMeta -> GiteaRequest IssueRemoveIssueDependencies contentType res accept Source # | |
| Consumes IssueRemoveIssueDependencies MimeJSON Source # | application/json |
Defined in Gitea.API.Issue | |
| Consumes IssueRemoveIssueDependencies MimePlainText Source # | text/plain |
Defined in Gitea.API.Issue | |
| Produces IssueRemoveIssueDependencies MimeJSON Source # | application/json |
Defined in Gitea.API.Issue | |
issueRemoveLabel
Arguments
| :: Owner | "owner" - owner of the repo |
| -> Repo | "repo" - name of the repo |
| -> Index | "index" - index of the issue |
| -> Id | "id" - id of the label to remove |
| -> GiteaRequest IssueRemoveLabel MimeNoContent NoContent MimeNoContent |
DELETE /repos/{owner}/{repo}/issues/{index}/labels/{id}Remove a label from an issue
AuthMethod: AuthApiKeyTOTPHeader, AuthApiKeyAuthorizationHeaderToken, AuthApiKeySudoHeader, AuthBasicBasicAuth, AuthApiKeyAccessToken, AuthApiKeySudoParam, AuthApiKeyToken
data IssueRemoveLabel Source #
Instances
| Produces IssueRemoveLabel MimeNoContent Source # | |
Defined in Gitea.API.Issue | |
issueReplaceLabels
Arguments
| :: Consumes IssueReplaceLabels MimeJSON | |
| => Owner | "owner" - owner of the repo |
| -> Repo | "repo" - name of the repo |
| -> Index | "index" - index of the issue |
| -> GiteaRequest IssueReplaceLabels MimeJSON [Label] MimeJSON |
PUT /repos/{owner}/{repo}/issues/{index}/labelsReplace an issue's labels
AuthMethod: AuthApiKeyTOTPHeader, AuthApiKeyAuthorizationHeaderToken, AuthApiKeySudoHeader, AuthBasicBasicAuth, AuthApiKeyAccessToken, AuthApiKeySudoParam, AuthApiKeyToken
data IssueReplaceLabels Source #
Instances
| HasBodyParam IssueReplaceLabels IssueLabelsOption Source # | |
Defined in Gitea.API.Issue Methods setBodyParam :: (Consumes IssueReplaceLabels contentType, MimeRender contentType IssueLabelsOption) => GiteaRequest IssueReplaceLabels contentType res accept -> IssueLabelsOption -> GiteaRequest IssueReplaceLabels contentType res accept Source # | |
| Consumes IssueReplaceLabels MimeJSON Source # | application/json |
Defined in Gitea.API.Issue | |
| Produces IssueReplaceLabels MimeJSON Source # | application/json |
Defined in Gitea.API.Issue | |
issueResetTime
Arguments
| :: Owner | "owner" - owner of the repo |
| -> Repo | "repo" - name of the repo |
| -> Index | "index" - index of the issue to add tracked time to |
| -> GiteaRequest IssueResetTime MimeNoContent NoContent MimeNoContent |
DELETE /repos/{owner}/{repo}/issues/{index}/timesReset a tracked time of an issue
AuthMethod: AuthApiKeyTOTPHeader, AuthApiKeyAuthorizationHeaderToken, AuthApiKeySudoHeader, AuthBasicBasicAuth, AuthApiKeyAccessToken, AuthApiKeySudoParam, AuthApiKeyToken
data IssueResetTime Source #
Instances
| Produces IssueResetTime MimeNoContent Source # | |
Defined in Gitea.API.Issue | |
issueSearchIssues
issueSearchIssues :: GiteaRequest IssueSearchIssues MimeNoContent [Issue] MimeJSON Source #
GET /repos/issues/search
Search for issues across the repositories that the user has access to
AuthMethod: AuthApiKeyTOTPHeader, AuthApiKeyAuthorizationHeaderToken, AuthApiKeySudoHeader, AuthBasicBasicAuth, AuthApiKeyAccessToken, AuthApiKeySudoParam, AuthApiKeyToken
data IssueSearchIssues Source #
Instances
issueStartStopWatch
Arguments
| :: Owner | "owner" - owner of the repo |
| -> Repo | "repo" - name of the repo |
| -> Index | "index" - index of the issue to create the stopwatch on |
| -> GiteaRequest IssueStartStopWatch MimeNoContent NoContent MimeNoContent |
POST /repos/{owner}/{repo}/issues/{index}/stopwatch/startStart stopwatch on an issue.
AuthMethod: AuthApiKeyTOTPHeader, AuthApiKeyAuthorizationHeaderToken, AuthApiKeySudoHeader, AuthBasicBasicAuth, AuthApiKeyAccessToken, AuthApiKeySudoParam, AuthApiKeyToken
data IssueStartStopWatch Source #
Instances
| Produces IssueStartStopWatch MimeNoContent Source # | |
Defined in Gitea.API.Issue | |
issueStopStopWatch
Arguments
| :: Owner | "owner" - owner of the repo |
| -> Repo | "repo" - name of the repo |
| -> Index | "index" - index of the issue to stop the stopwatch on |
| -> GiteaRequest IssueStopStopWatch MimeNoContent NoContent MimeNoContent |
POST /repos/{owner}/{repo}/issues/{index}/stopwatch/stopStop an issue's existing stopwatch.
AuthMethod: AuthApiKeyTOTPHeader, AuthApiKeyAuthorizationHeaderToken, AuthApiKeySudoHeader, AuthBasicBasicAuth, AuthApiKeyAccessToken, AuthApiKeySudoParam, AuthApiKeyToken
data IssueStopStopWatch Source #
Instances
| Produces IssueStopStopWatch MimeNoContent Source # | |
Defined in Gitea.API.Issue | |
issueSubscriptions
Arguments
| :: Owner | "owner" - owner of the repo |
| -> Repo | "repo" - name of the repo |
| -> Index | "index" - index of the issue |
| -> GiteaRequest IssueSubscriptions MimeNoContent [User] MimeJSON |
GET /repos/{owner}/{repo}/issues/{index}/subscriptionsGet users who subscribed on an issue.
AuthMethod: AuthApiKeyTOTPHeader, AuthApiKeyAuthorizationHeaderToken, AuthApiKeySudoHeader, AuthBasicBasicAuth, AuthApiKeyAccessToken, AuthApiKeySudoParam, AuthApiKeyToken
data IssueSubscriptions Source #
Instances
| HasOptionalParam IssueSubscriptions Limit Source # | Optional Param "limit" - page size of results |
Defined in Gitea.API.Issue Methods applyOptionalParam :: GiteaRequest IssueSubscriptions contentType res accept -> Limit -> GiteaRequest IssueSubscriptions contentType res accept Source # (-&-) :: GiteaRequest IssueSubscriptions contentType res accept -> Limit -> GiteaRequest IssueSubscriptions contentType res accept Source # | |
| HasOptionalParam IssueSubscriptions Page Source # | Optional Param "page" - page number of results to return (1-based) |
Defined in Gitea.API.Issue Methods applyOptionalParam :: GiteaRequest IssueSubscriptions contentType res accept -> Page -> GiteaRequest IssueSubscriptions contentType res accept Source # (-&-) :: GiteaRequest IssueSubscriptions contentType res accept -> Page -> GiteaRequest IssueSubscriptions contentType res accept Source # | |
| Produces IssueSubscriptions MimeJSON Source # | application/json |
Defined in Gitea.API.Issue | |
issueTrackedTimes
Arguments
| :: Owner | "owner" - owner of the repo |
| -> Repo | "repo" - name of the repo |
| -> Index | "index" - index of the issue |
| -> GiteaRequest IssueTrackedTimes MimeNoContent [TrackedTime] MimeJSON |
GET /repos/{owner}/{repo}/issues/{index}/timesList an issue's tracked times
AuthMethod: AuthApiKeyTOTPHeader, AuthApiKeyAuthorizationHeaderToken, AuthApiKeySudoHeader, AuthBasicBasicAuth, AuthApiKeyAccessToken, AuthApiKeySudoParam, AuthApiKeyToken
data IssueTrackedTimes Source #
Instances
| HasOptionalParam IssueTrackedTimes Before Source # | Optional Param "before" - Only show times updated before the given time. This is a timestamp in RFC 3339 format |
Defined in Gitea.API.Issue Methods applyOptionalParam :: GiteaRequest IssueTrackedTimes contentType res accept -> Before -> GiteaRequest IssueTrackedTimes contentType res accept Source # (-&-) :: GiteaRequest IssueTrackedTimes contentType res accept -> Before -> GiteaRequest IssueTrackedTimes contentType res accept Source # | |
| HasOptionalParam IssueTrackedTimes Limit Source # | Optional Param "limit" - page size of results |
Defined in Gitea.API.Issue Methods applyOptionalParam :: GiteaRequest IssueTrackedTimes contentType res accept -> Limit -> GiteaRequest IssueTrackedTimes contentType res accept Source # (-&-) :: GiteaRequest IssueTrackedTimes contentType res accept -> Limit -> GiteaRequest IssueTrackedTimes contentType res accept Source # | |
| HasOptionalParam IssueTrackedTimes Page Source # | Optional Param "page" - page number of results to return (1-based) |
Defined in Gitea.API.Issue Methods applyOptionalParam :: GiteaRequest IssueTrackedTimes contentType res accept -> Page -> GiteaRequest IssueTrackedTimes contentType res accept Source # (-&-) :: GiteaRequest IssueTrackedTimes contentType res accept -> Page -> GiteaRequest IssueTrackedTimes contentType res accept Source # | |
| HasOptionalParam IssueTrackedTimes Since Source # | Optional Param "since" - Only show times updated after the given time. This is a timestamp in RFC 3339 format |
Defined in Gitea.API.Issue Methods applyOptionalParam :: GiteaRequest IssueTrackedTimes contentType res accept -> Since -> GiteaRequest IssueTrackedTimes contentType res accept Source # (-&-) :: GiteaRequest IssueTrackedTimes contentType res accept -> Since -> GiteaRequest IssueTrackedTimes contentType res accept Source # | |
| HasOptionalParam IssueTrackedTimes User2 Source # | Optional Param "user" - optional filter by user (available for issue managers) |
Defined in Gitea.API.Issue Methods applyOptionalParam :: GiteaRequest IssueTrackedTimes contentType res accept -> User2 -> GiteaRequest IssueTrackedTimes contentType res accept Source # (-&-) :: GiteaRequest IssueTrackedTimes contentType res accept -> User2 -> GiteaRequest IssueTrackedTimes contentType res accept Source # | |
| Produces IssueTrackedTimes MimeJSON Source # | application/json |
Defined in Gitea.API.Issue | |
moveIssuePin
Arguments
| :: Owner | "owner" - owner of the repo |
| -> Repo | "repo" - name of the repo |
| -> Index | "index" - index of issue |
| -> Position | "position" - the new position |
| -> GiteaRequest MoveIssuePin MimeNoContent NoContent MimeNoContent |
PATCH /repos/{owner}/{repo}/issues/{index}/pin/{position}Moves the Pin to the given Position
AuthMethod: AuthApiKeyTOTPHeader, AuthApiKeyAuthorizationHeaderToken, AuthApiKeySudoHeader, AuthBasicBasicAuth, AuthApiKeyAccessToken, AuthApiKeySudoParam, AuthApiKeyToken
data MoveIssuePin Source #
Instances
| Produces MoveIssuePin MimeNoContent Source # | |
Defined in Gitea.API.Issue | |
pinIssue
Arguments
| :: Owner | "owner" - owner of the repo |
| -> Repo | "repo" - name of the repo |
| -> Index | "index" - index of issue to pin |
| -> GiteaRequest PinIssue MimeNoContent NoContent MimeNoContent |
POST /repos/{owner}/{repo}/issues/{index}/pinPin an Issue
AuthMethod: AuthApiKeyTOTPHeader, AuthApiKeyAuthorizationHeaderToken, AuthApiKeySudoHeader, AuthBasicBasicAuth, AuthApiKeyAccessToken, AuthApiKeySudoParam, AuthApiKeyToken
Instances
| Produces PinIssue MimeNoContent Source # | |
Defined in Gitea.API.Issue | |
unpinIssue
Arguments
| :: Owner | "owner" - owner of the repo |
| -> Repo | "repo" - name of the repo |
| -> Index | "index" - index of issue to unpin |
| -> GiteaRequest UnpinIssue MimeNoContent NoContent MimeNoContent |
DELETE /repos/{owner}/{repo}/issues/{index}/pinUnpin an Issue
AuthMethod: AuthApiKeyTOTPHeader, AuthApiKeyAuthorizationHeaderToken, AuthApiKeySudoHeader, AuthBasicBasicAuth, AuthApiKeyAccessToken, AuthApiKeySudoParam, AuthApiKeyToken
data UnpinIssue Source #
Instances
| Produces UnpinIssue MimeNoContent Source # | |
Defined in Gitea.API.Issue | |