Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Gitea.API.Repository
Contents
- Operations
- Repository
- acceptRepoTransfer
- createCurrentUserRepo
- createFork
- createRepoVariable
- deleteRepoSecret
- deleteRepoVariable
- generateRepo
- getAnnotatedTag
- getBlob
- getRepoVariable
- getRepoVariablesList
- getTree
- listActionTasks
- listForks
- rejectRepoTransfer
- repoAddCollaborator
- repoAddPushMirror
- repoAddTeam
- repoAddTopic
- repoApplyDiffPatch
- repoCancelScheduledAutoMerge
- repoChangeFiles
- repoCheckCollaborator
- repoCheckTeam
- repoCompareDiff
- repoCreateBranch
- repoCreateBranchProtection
- repoCreateFile
- repoCreateHook
- repoCreateKey
- repoCreatePullRequest
- repoCreatePullReview
- repoCreatePullReviewRequests
- repoCreateRelease
- repoCreateReleaseAttachment
- repoCreateStatus
- repoCreateTag
- repoCreateTagProtection
- repoCreateWikiPage
- repoDelete
- repoDeleteAvatar
- repoDeleteBranch
- repoDeleteBranchProtection
- repoDeleteCollaborator
- repoDeleteFile
- repoDeleteGitHook
- repoDeleteHook
- repoDeleteKey
- repoDeletePullReview
- repoDeletePullReviewRequests
- repoDeletePushMirror
- repoDeleteRelease
- repoDeleteReleaseAttachment
- repoDeleteReleaseByTag
- repoDeleteTag
- repoDeleteTagProtection
- repoDeleteTeam
- repoDeleteTopic
- repoDeleteWikiPage
- repoDismissPullReview
- repoDownloadCommitDiffOrPatch
- repoDownloadPullDiffOrPatch
- repoEdit
- repoEditBranchProtection
- repoEditGitHook
- repoEditHook
- repoEditPullRequest
- repoEditRelease
- repoEditReleaseAttachment
- repoEditTagProtection
- repoEditWikiPage
- repoGet
- repoGetAllCommits
- repoGetArchive
- repoGetAssignees
- repoGetBranch
- repoGetBranchProtection
- repoGetByID
- repoGetCombinedStatusByRef
- repoGetCommitPullRequest
- repoGetContents
- repoGetContentsList
- repoGetEditorConfig
- repoGetGitHook
- repoGetHook
- repoGetIssueConfig
- repoGetIssueTemplates
- repoGetKey
- repoGetLanguages
- repoGetLatestRelease
- repoGetLicenses
- repoGetNote
- repoGetPullRequest
- repoGetPullRequestByBaseHead
- repoGetPullRequestCommits
- repoGetPullRequestFiles
- repoGetPullReview
- repoGetPullReviewComments
- repoGetPushMirrorByRemoteName
- repoGetRawFile
- repoGetRawFileOrLFS
- repoGetRelease
- repoGetReleaseAttachment
- repoGetReleaseByTag
- repoGetRepoPermissions
- repoGetReviewers
- repoGetRunnerRegistrationToken
- repoGetSingleCommit
- repoGetTag
- repoGetTagProtection
- repoGetWikiPage
- repoGetWikiPageRevisions
- repoGetWikiPages
- repoListActionsSecrets
- repoListActivityFeeds
- repoListAllGitRefs
- repoListBranchProtection
- repoListBranches
- repoListCollaborators
- repoListGitHooks
- repoListGitRefs
- repoListHooks
- repoListKeys
- repoListPinnedIssues
- repoListPinnedPullRequests
- repoListPullRequests
- repoListPullReviews
- repoListPushMirrors
- repoListReleaseAttachments
- repoListReleases
- repoListStargazers
- repoListStatuses
- repoListStatusesByRef
- repoListSubscribers
- repoListTagProtection
- repoListTags
- repoListTeams
- repoListTopics
- repoMergePullRequest
- repoMergeUpstream
- repoMigrate
- repoMirrorSync
- repoNewPinAllowed
- repoPullRequestIsMerged
- repoPushMirrorSync
- repoSearch
- repoSigningKey
- repoSubmitPullReview
- repoTestHook
- repoTrackedTimes
- repoTransfer0
- repoUnDismissPullReview
- repoUpdateAvatar
- repoUpdateBranch
- repoUpdateBranchProtectionPriories
- repoUpdateFile
- repoUpdatePullRequest
- repoUpdateTopics
- repoValidateIssueConfig
- topicSearch
- updateRepoSecret
- updateRepoVariable
- userCurrentCheckSubscription
- userCurrentDeleteSubscription
- userCurrentPutSubscription
- userTrackedTimes
- Repository
Description
Synopsis
- acceptRepoTransfer :: Owner -> Repo -> GiteaRequest AcceptRepoTransfer MimeNoContent Repository MimeJSON
- data AcceptRepoTransfer
- createCurrentUserRepo :: Consumes CreateCurrentUserRepo MimeJSON => GiteaRequest CreateCurrentUserRepo MimeJSON Repository MimeJSON
- data CreateCurrentUserRepo
- createFork :: Consumes CreateFork contentType => ContentType contentType -> Owner -> Repo -> GiteaRequest CreateFork contentType Repository MimeJSON
- data CreateFork
- createRepoVariable :: Consumes CreateRepoVariable contentType => ContentType contentType -> Owner -> Repo -> Variablename -> GiteaRequest CreateRepoVariable contentType NoContent MimeNoContent
- data CreateRepoVariable
- deleteRepoSecret :: Owner -> Repo -> Secretname -> GiteaRequest DeleteRepoSecret MimeNoContent NoContent MimeNoContent
- data DeleteRepoSecret
- deleteRepoVariable :: Owner -> Repo -> Variablename -> GiteaRequest DeleteRepoVariable MimeNoContent ActionVariable MimeJSON
- data DeleteRepoVariable
- generateRepo :: Consumes GenerateRepo MimeJSON => TemplateOwner -> TemplateRepo -> GiteaRequest GenerateRepo MimeJSON Repository MimeJSON
- data GenerateRepo
- getAnnotatedTag :: Owner -> Repo -> Sha -> GiteaRequest GetAnnotatedTag MimeNoContent AnnotatedTag MimeJSON
- data GetAnnotatedTag
- getBlob :: Owner -> Repo -> Sha -> GiteaRequest GetBlob MimeNoContent GitBlobResponse MimeJSON
- data GetBlob
- getRepoVariable :: Owner -> Repo -> Variablename -> GiteaRequest GetRepoVariable MimeNoContent ActionVariable MimeJSON
- data GetRepoVariable
- getRepoVariablesList :: Owner -> Repo -> GiteaRequest GetRepoVariablesList MimeNoContent [ActionVariable] MimeJSON
- data GetRepoVariablesList
- getTree :: Owner -> Repo -> Sha -> GiteaRequest GetTree MimeNoContent GitTreeResponse MimeJSON
- data GetTree
- listActionTasks :: Owner -> Repo -> GiteaRequest ListActionTasks MimeNoContent ActionTaskResponse MimeJSON
- data ListActionTasks
- listForks :: Owner -> Repo -> GiteaRequest ListForks MimeNoContent [Repository] MimeJSON
- data ListForks
- rejectRepoTransfer :: Owner -> Repo -> GiteaRequest RejectRepoTransfer MimeNoContent Repository MimeJSON
- data RejectRepoTransfer
- repoAddCollaborator :: Consumes RepoAddCollaborator contentType => ContentType contentType -> Owner -> Repo -> Collaborator -> GiteaRequest RepoAddCollaborator contentType NoContent MimeNoContent
- data RepoAddCollaborator
- repoAddPushMirror :: Consumes RepoAddPushMirror MimeJSON => Owner -> Repo -> GiteaRequest RepoAddPushMirror MimeJSON PushMirror MimeJSON
- data RepoAddPushMirror
- repoAddTeam :: Owner -> Repo -> Team2 -> GiteaRequest RepoAddTeam MimeNoContent NoContent MimeNoContent
- data RepoAddTeam
- repoAddTopic :: Owner -> Repo -> TopicText -> GiteaRequest RepoAddTopic MimeNoContent NoContent MimeNoContent
- data RepoAddTopic
- repoApplyDiffPatch :: (Consumes RepoApplyDiffPatch MimeJSON, MimeRender MimeJSON UpdateFileOptions) => UpdateFileOptions -> Owner -> Repo -> GiteaRequest RepoApplyDiffPatch MimeJSON FileResponse MimeJSON
- data RepoApplyDiffPatch
- repoCancelScheduledAutoMerge :: Owner -> Repo -> Index -> GiteaRequest RepoCancelScheduledAutoMerge MimeNoContent NoContent MimeNoContent
- data RepoCancelScheduledAutoMerge
- repoChangeFiles :: (Consumes RepoChangeFiles MimeJSON, MimeRender MimeJSON ChangeFilesOptions) => ChangeFilesOptions -> Owner -> Repo -> GiteaRequest RepoChangeFiles MimeJSON FilesResponse MimeJSON
- data RepoChangeFiles
- repoCheckCollaborator :: Owner -> Repo -> Collaborator -> GiteaRequest RepoCheckCollaborator MimeNoContent NoContent MimeNoContent
- data RepoCheckCollaborator
- repoCheckTeam :: Owner -> Repo -> Team2 -> GiteaRequest RepoCheckTeam MimeNoContent Team MimeJSON
- data RepoCheckTeam
- repoCompareDiff :: Owner -> Repo -> Basehead -> GiteaRequest RepoCompareDiff MimeNoContent Compare MimeJSON
- data RepoCompareDiff
- repoCreateBranch :: Consumes RepoCreateBranch MimeJSON => Owner -> Repo -> GiteaRequest RepoCreateBranch MimeJSON Branch MimeJSON
- data RepoCreateBranch
- repoCreateBranchProtection :: Consumes RepoCreateBranchProtection MimeJSON => Owner -> Repo -> GiteaRequest RepoCreateBranchProtection MimeJSON BranchProtection MimeJSON
- data RepoCreateBranchProtection
- repoCreateFile :: (Consumes RepoCreateFile MimeJSON, MimeRender MimeJSON CreateFileOptions) => CreateFileOptions -> Owner -> Repo -> Filepath -> GiteaRequest RepoCreateFile MimeJSON FileResponse MimeJSON
- data RepoCreateFile
- repoCreateHook :: Consumes RepoCreateHook MimeJSON => Owner -> Repo -> GiteaRequest RepoCreateHook MimeJSON Hook MimeJSON
- data RepoCreateHook
- repoCreateKey :: Consumes RepoCreateKey MimeJSON => Owner -> Repo -> GiteaRequest RepoCreateKey MimeJSON DeployKey MimeJSON
- data RepoCreateKey
- repoCreatePullRequest :: Consumes RepoCreatePullRequest MimeJSON => Owner -> Repo -> GiteaRequest RepoCreatePullRequest MimeJSON PullRequest MimeJSON
- data RepoCreatePullRequest
- repoCreatePullReview :: (Consumes RepoCreatePullReview contentType, MimeRender contentType CreatePullReviewOptions) => ContentType contentType -> CreatePullReviewOptions -> Owner -> Repo -> Index -> GiteaRequest RepoCreatePullReview contentType PullReview MimeJSON
- data RepoCreatePullReview
- repoCreatePullReviewRequests :: (Consumes RepoCreatePullReviewRequests contentType, MimeRender contentType PullReviewRequestOptions) => ContentType contentType -> PullReviewRequestOptions -> Owner -> Repo -> Index -> GiteaRequest RepoCreatePullReviewRequests contentType [PullReview] MimeJSON
- data RepoCreatePullReviewRequests
- repoCreateRelease :: Consumes RepoCreateRelease MimeJSON => Owner -> Repo -> GiteaRequest RepoCreateRelease MimeJSON Release MimeJSON
- data RepoCreateRelease
- repoCreateReleaseAttachment :: Consumes RepoCreateReleaseAttachment contentType => ContentType contentType -> Owner -> Repo -> Id -> GiteaRequest RepoCreateReleaseAttachment contentType Attachment MimeJSON
- data RepoCreateReleaseAttachment
- repoCreateStatus :: Consumes RepoCreateStatus contentType => ContentType contentType -> Owner -> Repo -> Sha -> GiteaRequest RepoCreateStatus contentType CommitStatus MimeJSON
- data RepoCreateStatus
- repoCreateTag :: Consumes RepoCreateTag contentType => ContentType contentType -> Owner -> Repo -> GiteaRequest RepoCreateTag contentType Tag MimeJSON
- data RepoCreateTag
- repoCreateTagProtection :: Consumes RepoCreateTagProtection MimeJSON => Owner -> Repo -> GiteaRequest RepoCreateTagProtection MimeJSON TagProtection MimeJSON
- data RepoCreateTagProtection
- repoCreateWikiPage :: Consumes RepoCreateWikiPage MimeJSON => Accept accept -> Owner -> Repo -> GiteaRequest RepoCreateWikiPage MimeJSON WikiPage accept
- data RepoCreateWikiPage
- repoDelete :: Owner -> Repo -> GiteaRequest RepoDelete MimeNoContent NoContent MimeNoContent
- data RepoDelete
- repoDeleteAvatar :: Owner -> Repo -> GiteaRequest RepoDeleteAvatar MimeNoContent NoContent MimeNoContent
- data RepoDeleteAvatar
- repoDeleteBranch :: Owner -> Repo -> Branch2 -> GiteaRequest RepoDeleteBranch MimeNoContent NoContent MimeNoContent
- data RepoDeleteBranch
- repoDeleteBranchProtection :: Owner -> Repo -> Name -> GiteaRequest RepoDeleteBranchProtection MimeNoContent NoContent MimeNoContent
- data RepoDeleteBranchProtection
- repoDeleteCollaborator :: Owner -> Repo -> Collaborator -> GiteaRequest RepoDeleteCollaborator MimeNoContent NoContent MimeNoContent
- data RepoDeleteCollaborator
- repoDeleteFile :: (Consumes RepoDeleteFile MimeJSON, MimeRender MimeJSON DeleteFileOptions) => DeleteFileOptions -> Owner -> Repo -> Filepath -> GiteaRequest RepoDeleteFile MimeJSON FileDeleteResponse MimeJSON
- data RepoDeleteFile
- repoDeleteGitHook :: Owner -> Repo -> IdText -> GiteaRequest RepoDeleteGitHook MimeNoContent NoContent MimeNoContent
- data RepoDeleteGitHook
- repoDeleteHook :: Owner -> Repo -> Id -> GiteaRequest RepoDeleteHook MimeNoContent NoContent MimeNoContent
- data RepoDeleteHook
- repoDeleteKey :: Owner -> Repo -> Id -> GiteaRequest RepoDeleteKey MimeNoContent NoContent MimeNoContent
- data RepoDeleteKey
- repoDeletePullReview :: Owner -> Repo -> Index -> Id -> GiteaRequest RepoDeletePullReview MimeNoContent NoContent MimeNoContent
- data RepoDeletePullReview
- repoDeletePullReviewRequests :: (Consumes RepoDeletePullReviewRequests contentType, MimeRender contentType PullReviewRequestOptions) => ContentType contentType -> PullReviewRequestOptions -> Owner -> Repo -> Index -> GiteaRequest RepoDeletePullReviewRequests contentType NoContent MimeNoContent
- data RepoDeletePullReviewRequests
- repoDeletePushMirror :: Owner -> Repo -> Name -> GiteaRequest RepoDeletePushMirror MimeNoContent NoContent MimeNoContent
- data RepoDeletePushMirror
- repoDeleteRelease :: Owner -> Repo -> Id -> GiteaRequest RepoDeleteRelease MimeNoContent NoContent MimeNoContent
- data RepoDeleteRelease
- repoDeleteReleaseAttachment :: Owner -> Repo -> Id -> AttachmentId -> GiteaRequest RepoDeleteReleaseAttachment MimeNoContent NoContent MimeNoContent
- data RepoDeleteReleaseAttachment
- repoDeleteReleaseByTag :: Owner -> Repo -> Tag2 -> GiteaRequest RepoDeleteReleaseByTag MimeNoContent NoContent MimeNoContent
- data RepoDeleteReleaseByTag
- repoDeleteTag :: Owner -> Repo -> Tag2 -> GiteaRequest RepoDeleteTag MimeNoContent NoContent MimeNoContent
- data RepoDeleteTag
- repoDeleteTagProtection :: Owner -> Repo -> IdInt -> GiteaRequest RepoDeleteTagProtection MimeNoContent NoContent MimeNoContent
- data RepoDeleteTagProtection
- repoDeleteTeam :: Owner -> Repo -> Team2 -> GiteaRequest RepoDeleteTeam MimeNoContent NoContent MimeNoContent
- data RepoDeleteTeam
- repoDeleteTopic :: Owner -> Repo -> TopicText -> GiteaRequest RepoDeleteTopic MimeNoContent NoContent MimeNoContent
- data RepoDeleteTopic
- repoDeleteWikiPage :: Owner -> Repo -> PageName -> GiteaRequest RepoDeleteWikiPage MimeNoContent NoContent MimeNoContent
- data RepoDeleteWikiPage
- repoDismissPullReview :: (Consumes RepoDismissPullReview contentType, MimeRender contentType DismissPullReviewOptions) => ContentType contentType -> DismissPullReviewOptions -> Owner -> Repo -> Index -> Id -> GiteaRequest RepoDismissPullReview contentType PullReview MimeJSON
- data RepoDismissPullReview
- repoDownloadCommitDiffOrPatch :: Owner -> Repo -> Sha -> DiffType -> GiteaRequest RepoDownloadCommitDiffOrPatch MimeNoContent Text MimePlainText
- data RepoDownloadCommitDiffOrPatch
- repoDownloadPullDiffOrPatch :: Owner -> Repo -> Index -> DiffType -> GiteaRequest RepoDownloadPullDiffOrPatch MimeNoContent Text MimePlainText
- data RepoDownloadPullDiffOrPatch
- repoEdit :: Consumes RepoEdit contentType => ContentType contentType -> Owner -> Repo -> GiteaRequest RepoEdit contentType Repository MimeJSON
- data RepoEdit
- repoEditBranchProtection :: Consumes RepoEditBranchProtection MimeJSON => Owner -> Repo -> Name -> GiteaRequest RepoEditBranchProtection MimeJSON BranchProtection MimeJSON
- data RepoEditBranchProtection
- repoEditGitHook :: Consumes RepoEditGitHook contentType => ContentType contentType -> Owner -> Repo -> IdText -> GiteaRequest RepoEditGitHook contentType GitHook MimeJSON
- data RepoEditGitHook
- repoEditHook :: Consumes RepoEditHook contentType => ContentType contentType -> Owner -> Repo -> Id -> GiteaRequest RepoEditHook contentType Hook MimeJSON
- data RepoEditHook
- repoEditPullRequest :: Consumes RepoEditPullRequest MimeJSON => Owner -> Repo -> Index -> GiteaRequest RepoEditPullRequest MimeJSON PullRequest MimeJSON
- data RepoEditPullRequest
- repoEditRelease :: Consumes RepoEditRelease MimeJSON => Owner -> Repo -> Id -> GiteaRequest RepoEditRelease MimeJSON Release MimeJSON
- data RepoEditRelease
- repoEditReleaseAttachment :: Consumes RepoEditReleaseAttachment MimeJSON => Owner -> Repo -> Id -> AttachmentId -> GiteaRequest RepoEditReleaseAttachment MimeJSON Attachment MimeJSON
- data RepoEditReleaseAttachment
- repoEditTagProtection :: Consumes RepoEditTagProtection MimeJSON => Owner -> Repo -> IdInt -> GiteaRequest RepoEditTagProtection MimeJSON TagProtection MimeJSON
- data RepoEditTagProtection
- repoEditWikiPage :: Consumes RepoEditWikiPage MimeJSON => Accept accept -> Owner -> Repo -> PageName -> GiteaRequest RepoEditWikiPage MimeJSON WikiPage accept
- data RepoEditWikiPage
- repoGet :: Owner -> Repo -> GiteaRequest RepoGet MimeNoContent Repository MimeJSON
- data RepoGet
- repoGetAllCommits :: Owner -> Repo -> GiteaRequest RepoGetAllCommits MimeNoContent [Commit] MimeJSON
- data RepoGetAllCommits
- repoGetArchive :: Owner -> Repo -> Archive -> GiteaRequest RepoGetArchive MimeNoContent NoContent MimeNoContent
- data RepoGetArchive
- repoGetAssignees :: Owner -> Repo -> GiteaRequest RepoGetAssignees MimeNoContent [User] MimeJSON
- data RepoGetAssignees
- repoGetBranch :: Owner -> Repo -> Branch2 -> GiteaRequest RepoGetBranch MimeNoContent Branch MimeJSON
- data RepoGetBranch
- repoGetBranchProtection :: Owner -> Repo -> Name -> GiteaRequest RepoGetBranchProtection MimeNoContent BranchProtection MimeJSON
- data RepoGetBranchProtection
- repoGetByID :: Id -> GiteaRequest RepoGetByID MimeNoContent Repository MimeJSON
- data RepoGetByID
- repoGetCombinedStatusByRef :: Owner -> Repo -> Ref -> GiteaRequest RepoGetCombinedStatusByRef MimeNoContent CombinedStatus MimeJSON
- data RepoGetCombinedStatusByRef
- repoGetCommitPullRequest :: Owner -> Repo -> Sha -> GiteaRequest RepoGetCommitPullRequest MimeNoContent PullRequest MimeJSON
- data RepoGetCommitPullRequest
- repoGetContents :: Owner -> Repo -> Filepath -> GiteaRequest RepoGetContents MimeNoContent ContentsResponse MimeJSON
- data RepoGetContents
- repoGetContentsList :: Owner -> Repo -> GiteaRequest RepoGetContentsList MimeNoContent [ContentsResponse] MimeJSON
- data RepoGetContentsList
- repoGetEditorConfig :: Owner -> Repo -> Filepath -> GiteaRequest RepoGetEditorConfig MimeNoContent NoContent MimeNoContent
- data RepoGetEditorConfig
- repoGetGitHook :: Owner -> Repo -> IdText -> GiteaRequest RepoGetGitHook MimeNoContent GitHook MimeJSON
- data RepoGetGitHook
- repoGetHook :: Owner -> Repo -> Id -> GiteaRequest RepoGetHook MimeNoContent Hook MimeJSON
- data RepoGetHook
- repoGetIssueConfig :: Owner -> Repo -> GiteaRequest RepoGetIssueConfig MimeNoContent IssueConfig MimeJSON
- data RepoGetIssueConfig
- repoGetIssueTemplates :: Owner -> Repo -> GiteaRequest RepoGetIssueTemplates MimeNoContent [IssueTemplate] MimeJSON
- data RepoGetIssueTemplates
- repoGetKey :: Owner -> Repo -> Id -> GiteaRequest RepoGetKey MimeNoContent DeployKey MimeJSON
- data RepoGetKey
- repoGetLanguages :: Owner -> Repo -> GiteaRequest RepoGetLanguages MimeNoContent (Map String Integer) MimeJSON
- data RepoGetLanguages
- repoGetLatestRelease :: Owner -> Repo -> GiteaRequest RepoGetLatestRelease MimeNoContent Release MimeJSON
- data RepoGetLatestRelease
- repoGetLicenses :: Owner -> Repo -> GiteaRequest RepoGetLicenses MimeNoContent [Text] MimeJSON
- data RepoGetLicenses
- repoGetNote :: Owner -> Repo -> Sha -> GiteaRequest RepoGetNote MimeNoContent Note MimeJSON
- data RepoGetNote
- repoGetPullRequest :: Owner -> Repo -> Index -> GiteaRequest RepoGetPullRequest MimeNoContent PullRequest MimeJSON
- data RepoGetPullRequest
- repoGetPullRequestByBaseHead :: Owner -> Repo -> Base -> Head -> GiteaRequest RepoGetPullRequestByBaseHead MimeNoContent PullRequest MimeJSON
- data RepoGetPullRequestByBaseHead
- repoGetPullRequestCommits :: Owner -> Repo -> Index -> GiteaRequest RepoGetPullRequestCommits MimeNoContent [Commit] MimeJSON
- data RepoGetPullRequestCommits
- repoGetPullRequestFiles :: Owner -> Repo -> Index -> GiteaRequest RepoGetPullRequestFiles MimeNoContent [ChangedFile] MimeJSON
- data RepoGetPullRequestFiles
- repoGetPullReview :: Owner -> Repo -> Index -> Id -> GiteaRequest RepoGetPullReview MimeNoContent PullReview MimeJSON
- data RepoGetPullReview
- repoGetPullReviewComments :: Owner -> Repo -> Index -> Id -> GiteaRequest RepoGetPullReviewComments MimeNoContent [PullReviewComment] MimeJSON
- data RepoGetPullReviewComments
- repoGetPushMirrorByRemoteName :: Owner -> Repo -> Name -> GiteaRequest RepoGetPushMirrorByRemoteName MimeNoContent PushMirror MimeJSON
- data RepoGetPushMirrorByRemoteName
- repoGetRawFile :: Owner -> Repo -> Filepath -> GiteaRequest RepoGetRawFile MimeNoContent FilePath MimeOctetStream
- data RepoGetRawFile
- repoGetRawFileOrLFS :: Owner -> Repo -> Filepath -> GiteaRequest RepoGetRawFileOrLFS MimeNoContent FilePath MimeOctetStream
- data RepoGetRawFileOrLFS
- repoGetRelease :: Owner -> Repo -> Id -> GiteaRequest RepoGetRelease MimeNoContent Release MimeJSON
- data RepoGetRelease
- repoGetReleaseAttachment :: Owner -> Repo -> Id -> AttachmentId -> GiteaRequest RepoGetReleaseAttachment MimeNoContent Attachment MimeJSON
- data RepoGetReleaseAttachment
- repoGetReleaseByTag :: Owner -> Repo -> Tag2 -> GiteaRequest RepoGetReleaseByTag MimeNoContent Release MimeJSON
- data RepoGetReleaseByTag
- repoGetRepoPermissions :: Owner -> Repo -> Collaborator -> GiteaRequest RepoGetRepoPermissions MimeNoContent RepoCollaboratorPermission MimeJSON
- data RepoGetRepoPermissions
- repoGetReviewers :: Owner -> Repo -> GiteaRequest RepoGetReviewers MimeNoContent [User] MimeJSON
- data RepoGetReviewers
- repoGetRunnerRegistrationToken :: Owner -> Repo -> GiteaRequest RepoGetRunnerRegistrationToken MimeNoContent NoContent MimeNoContent
- data RepoGetRunnerRegistrationToken
- repoGetSingleCommit :: Owner -> Repo -> Sha -> GiteaRequest RepoGetSingleCommit MimeNoContent Commit MimeJSON
- data RepoGetSingleCommit
- repoGetTag :: Owner -> Repo -> Tag2 -> GiteaRequest RepoGetTag MimeNoContent Tag MimeJSON
- data RepoGetTag
- repoGetTagProtection :: Owner -> Repo -> IdInt -> GiteaRequest RepoGetTagProtection MimeNoContent TagProtection MimeJSON
- data RepoGetTagProtection
- repoGetWikiPage :: Owner -> Repo -> PageName -> GiteaRequest RepoGetWikiPage MimeNoContent WikiPage MimeJSON
- data RepoGetWikiPage
- repoGetWikiPageRevisions :: Owner -> Repo -> PageName -> GiteaRequest RepoGetWikiPageRevisions MimeNoContent WikiCommitList MimeJSON
- data RepoGetWikiPageRevisions
- repoGetWikiPages :: Owner -> Repo -> GiteaRequest RepoGetWikiPages MimeNoContent [WikiPageMetaData] MimeJSON
- data RepoGetWikiPages
- repoListActionsSecrets :: Owner -> Repo -> GiteaRequest RepoListActionsSecrets MimeNoContent [Secret] MimeJSON
- data RepoListActionsSecrets
- repoListActivityFeeds :: Owner -> Repo -> GiteaRequest RepoListActivityFeeds MimeNoContent [Activity] MimeJSON
- data RepoListActivityFeeds
- repoListAllGitRefs :: Owner -> Repo -> GiteaRequest RepoListAllGitRefs MimeNoContent [Reference] MimeJSON
- data RepoListAllGitRefs
- repoListBranchProtection :: Owner -> Repo -> GiteaRequest RepoListBranchProtection MimeNoContent [BranchProtection] MimeJSON
- data RepoListBranchProtection
- repoListBranches :: Owner -> Repo -> GiteaRequest RepoListBranches MimeNoContent [Branch] MimeJSON
- data RepoListBranches
- repoListCollaborators :: Owner -> Repo -> GiteaRequest RepoListCollaborators MimeNoContent [User] MimeJSON
- data RepoListCollaborators
- repoListGitHooks :: Owner -> Repo -> GiteaRequest RepoListGitHooks MimeNoContent [GitHook] MimeJSON
- data RepoListGitHooks
- repoListGitRefs :: Owner -> Repo -> Ref -> GiteaRequest RepoListGitRefs MimeNoContent [Reference] MimeJSON
- data RepoListGitRefs
- repoListHooks :: Owner -> Repo -> GiteaRequest RepoListHooks MimeNoContent [Hook] MimeJSON
- data RepoListHooks
- repoListKeys :: Owner -> Repo -> GiteaRequest RepoListKeys MimeNoContent [DeployKey] MimeJSON
- data RepoListKeys
- repoListPinnedIssues :: Owner -> Repo -> GiteaRequest RepoListPinnedIssues MimeNoContent [Issue] MimeJSON
- data RepoListPinnedIssues
- repoListPinnedPullRequests :: Owner -> Repo -> GiteaRequest RepoListPinnedPullRequests MimeNoContent [PullRequest] MimeJSON
- data RepoListPinnedPullRequests
- repoListPullRequests :: Owner -> Repo -> GiteaRequest RepoListPullRequests MimeNoContent [PullRequest] MimeJSON
- data RepoListPullRequests
- repoListPullReviews :: Owner -> Repo -> Index -> GiteaRequest RepoListPullReviews MimeNoContent [PullReview] MimeJSON
- data RepoListPullReviews
- repoListPushMirrors :: Owner -> Repo -> GiteaRequest RepoListPushMirrors MimeNoContent [PushMirror] MimeJSON
- data RepoListPushMirrors
- repoListReleaseAttachments :: Owner -> Repo -> Id -> GiteaRequest RepoListReleaseAttachments MimeNoContent [Attachment] MimeJSON
- data RepoListReleaseAttachments
- repoListReleases :: Owner -> Repo -> GiteaRequest RepoListReleases MimeNoContent [Release] MimeJSON
- data RepoListReleases
- repoListStargazers :: Owner -> Repo -> GiteaRequest RepoListStargazers MimeNoContent [User] MimeJSON
- data RepoListStargazers
- repoListStatuses :: Owner -> Repo -> Sha -> GiteaRequest RepoListStatuses MimeNoContent [CommitStatus] MimeJSON
- data RepoListStatuses
- repoListStatusesByRef :: Owner -> Repo -> Ref -> GiteaRequest RepoListStatusesByRef MimeNoContent [CommitStatus] MimeJSON
- data RepoListStatusesByRef
- repoListSubscribers :: Owner -> Repo -> GiteaRequest RepoListSubscribers MimeNoContent [User] MimeJSON
- data RepoListSubscribers
- repoListTagProtection :: Owner -> Repo -> GiteaRequest RepoListTagProtection MimeNoContent [TagProtection] MimeJSON
- data RepoListTagProtection
- repoListTags :: Owner -> Repo -> GiteaRequest RepoListTags MimeNoContent [Tag] MimeJSON
- data RepoListTags
- repoListTeams :: Owner -> Repo -> GiteaRequest RepoListTeams MimeNoContent [Team] MimeJSON
- data RepoListTeams
- repoListTopics :: Owner -> Repo -> GiteaRequest RepoListTopics MimeNoContent TopicName MimeJSON
- data RepoListTopics
- repoMergePullRequest :: Consumes RepoMergePullRequest contentType => ContentType contentType -> Owner -> Repo -> Index -> GiteaRequest RepoMergePullRequest contentType NoContent MimeNoContent
- data RepoMergePullRequest
- repoMergeUpstream :: Consumes RepoMergeUpstream contentType => ContentType contentType -> Owner -> Repo -> GiteaRequest RepoMergeUpstream contentType MergeUpstreamResponse MimeJSON
- data RepoMergeUpstream
- repoMigrate :: Consumes RepoMigrate MimeJSON => GiteaRequest RepoMigrate MimeJSON Repository MimeJSON
- data RepoMigrate
- repoMirrorSync :: Owner -> Repo -> GiteaRequest RepoMirrorSync MimeNoContent NoContent MimeNoContent
- data RepoMirrorSync
- repoNewPinAllowed :: Owner -> Repo -> GiteaRequest RepoNewPinAllowed MimeNoContent NewIssuePinsAllowed MimeJSON
- data RepoNewPinAllowed
- repoPullRequestIsMerged :: Owner -> Repo -> Index -> GiteaRequest RepoPullRequestIsMerged MimeNoContent NoContent MimeNoContent
- data RepoPullRequestIsMerged
- repoPushMirrorSync :: Owner -> Repo -> GiteaRequest RepoPushMirrorSync MimeNoContent NoContent MimeNoContent
- data RepoPushMirrorSync
- repoSearch :: GiteaRequest RepoSearch MimeNoContent SearchResults MimeJSON
- data RepoSearch
- repoSigningKey :: Owner -> Repo -> GiteaRequest RepoSigningKey MimeNoContent Text MimePlainText
- data RepoSigningKey
- repoSubmitPullReview :: (Consumes RepoSubmitPullReview contentType, MimeRender contentType SubmitPullReviewOptions) => ContentType contentType -> SubmitPullReviewOptions -> Owner -> Repo -> Index -> Id -> GiteaRequest RepoSubmitPullReview contentType PullReview MimeJSON
- data RepoSubmitPullReview
- repoTestHook :: Owner -> Repo -> Id -> GiteaRequest RepoTestHook MimeNoContent NoContent MimeNoContent
- data RepoTestHook
- repoTrackedTimes :: Owner -> Repo -> GiteaRequest RepoTrackedTimes MimeNoContent [TrackedTime] MimeJSON
- data RepoTrackedTimes
- repoTransfer0 :: (Consumes RepoTransfer0 contentType, MimeRender contentType TransferRepoOption) => ContentType contentType -> TransferRepoOption -> Owner -> Repo -> GiteaRequest RepoTransfer0 contentType Repository MimeJSON
- data RepoTransfer0
- repoUnDismissPullReview :: Owner -> Repo -> Index -> Id -> GiteaRequest RepoUnDismissPullReview MimeNoContent PullReview MimeJSON
- data RepoUnDismissPullReview
- repoUpdateAvatar :: Consumes RepoUpdateAvatar contentType => ContentType contentType -> Owner -> Repo -> GiteaRequest RepoUpdateAvatar contentType NoContent MimeNoContent
- data RepoUpdateAvatar
- repoUpdateBranch :: Consumes RepoUpdateBranch MimeJSON => Owner -> Repo -> Branch2 -> GiteaRequest RepoUpdateBranch MimeJSON NoContent MimeNoContent
- data RepoUpdateBranch
- repoUpdateBranchProtectionPriories :: Consumes RepoUpdateBranchProtectionPriories MimeJSON => Owner -> Repo -> GiteaRequest RepoUpdateBranchProtectionPriories MimeJSON NoContent MimeNoContent
- data RepoUpdateBranchProtectionPriories
- repoUpdateFile :: (Consumes RepoUpdateFile MimeJSON, MimeRender MimeJSON UpdateFileOptions) => UpdateFileOptions -> Owner -> Repo -> Filepath -> GiteaRequest RepoUpdateFile MimeJSON FileResponse MimeJSON
- data RepoUpdateFile
- repoUpdatePullRequest :: Owner -> Repo -> Index -> GiteaRequest RepoUpdatePullRequest MimeNoContent NoContent MimeNoContent
- data RepoUpdatePullRequest
- repoUpdateTopics :: Consumes RepoUpdateTopics contentType => ContentType contentType -> Owner -> Repo -> GiteaRequest RepoUpdateTopics contentType NoContent MimeNoContent
- data RepoUpdateTopics
- repoValidateIssueConfig :: Owner -> Repo -> GiteaRequest RepoValidateIssueConfig MimeNoContent IssueConfigValidation MimeJSON
- data RepoValidateIssueConfig
- topicSearch :: Q -> GiteaRequest TopicSearch MimeNoContent [TopicResponse] MimeJSON
- data TopicSearch
- updateRepoSecret :: Consumes UpdateRepoSecret MimeJSON => Owner -> Repo -> Secretname -> GiteaRequest UpdateRepoSecret MimeJSON NoContent MimeNoContent
- data UpdateRepoSecret
- updateRepoVariable :: Consumes UpdateRepoVariable contentType => ContentType contentType -> Owner -> Repo -> Variablename -> GiteaRequest UpdateRepoVariable contentType NoContent MimeNoContent
- data UpdateRepoVariable
- userCurrentCheckSubscription :: Accept accept -> Owner -> Repo -> GiteaRequest UserCurrentCheckSubscription MimeNoContent WatchInfo accept
- data UserCurrentCheckSubscription
- userCurrentDeleteSubscription :: Owner -> Repo -> GiteaRequest UserCurrentDeleteSubscription MimeNoContent NoContent MimeNoContent
- data UserCurrentDeleteSubscription
- userCurrentPutSubscription :: Accept accept -> Owner -> Repo -> GiteaRequest UserCurrentPutSubscription MimeNoContent WatchInfo accept
- data UserCurrentPutSubscription
- userTrackedTimes :: Owner -> Repo -> User2 -> GiteaRequest UserTrackedTimes MimeNoContent [TrackedTime] MimeJSON
- data UserTrackedTimes
Operations
Repository
acceptRepoTransfer
Arguments
:: Owner | "owner" - owner of the repo to transfer |
-> Repo | "repo" - name of the repo to transfer |
-> GiteaRequest AcceptRepoTransfer MimeNoContent Repository MimeJSON |
POST /repos/{owner}/{repo}/transfer/accept
Accept a repo transfer
AuthMethod: AuthApiKeyTOTPHeader
, AuthApiKeyAuthorizationHeaderToken
, AuthApiKeySudoHeader
, AuthBasicBasicAuth
, AuthApiKeyAccessToken
, AuthApiKeySudoParam
, AuthApiKeyToken
data AcceptRepoTransfer Source #
Instances
Produces AcceptRepoTransfer MimeJSON Source # | application/json |
Defined in Gitea.API.Repository |
createCurrentUserRepo
createCurrentUserRepo :: Consumes CreateCurrentUserRepo MimeJSON => GiteaRequest CreateCurrentUserRepo MimeJSON Repository MimeJSON Source #
POST /user/repos
Create a repository
AuthMethod: AuthApiKeyTOTPHeader
, AuthApiKeyAuthorizationHeaderToken
, AuthApiKeySudoHeader
, AuthBasicBasicAuth
, AuthApiKeyAccessToken
, AuthApiKeySudoParam
, AuthApiKeyToken
data CreateCurrentUserRepo Source #
Instances
HasBodyParam CreateCurrentUserRepo CreateRepoOption Source # | |
Defined in Gitea.API.Repository Methods setBodyParam :: (Consumes CreateCurrentUserRepo contentType, MimeRender contentType CreateRepoOption) => GiteaRequest CreateCurrentUserRepo contentType res accept -> CreateRepoOption -> GiteaRequest CreateCurrentUserRepo contentType res accept Source # | |
Consumes CreateCurrentUserRepo MimeJSON Source # | application/json |
Defined in Gitea.API.Repository | |
Produces CreateCurrentUserRepo MimeJSON Source # | application/json |
Defined in Gitea.API.Repository |
createFork
Arguments
:: Consumes CreateFork contentType | |
=> ContentType contentType | request content-type ( |
-> Owner | "owner" - owner of the repo to fork |
-> Repo | "repo" - name of the repo to fork |
-> GiteaRequest CreateFork contentType Repository MimeJSON |
POST /repos/{owner}/{repo}/forks
Fork a repository
AuthMethod: AuthApiKeyTOTPHeader
, AuthApiKeyAuthorizationHeaderToken
, AuthApiKeySudoHeader
, AuthBasicBasicAuth
, AuthApiKeyAccessToken
, AuthApiKeySudoParam
, AuthApiKeyToken
data CreateFork Source #
Instances
HasBodyParam CreateFork CreateForkOption Source # | |
Defined in Gitea.API.Repository Methods setBodyParam :: (Consumes CreateFork contentType, MimeRender contentType CreateForkOption) => GiteaRequest CreateFork contentType res accept -> CreateForkOption -> GiteaRequest CreateFork contentType res accept Source # | |
Consumes CreateFork MimeJSON Source # | application/json |
Defined in Gitea.API.Repository | |
Consumes CreateFork MimePlainText Source # | text/plain |
Defined in Gitea.API.Repository | |
Produces CreateFork MimeJSON Source # | application/json |
Defined in Gitea.API.Repository |
createRepoVariable
Arguments
:: Consumes CreateRepoVariable contentType | |
=> ContentType contentType | request content-type ( |
-> Owner | "owner" - name of the owner |
-> Repo | "repo" - name of the repository |
-> Variablename | "variablename" - name of the variable |
-> GiteaRequest CreateRepoVariable contentType NoContent MimeNoContent |
POST /repos/{owner}/{repo}/actions/variables/{variablename}
Create a repo-level variable
AuthMethod: AuthApiKeyTOTPHeader
, AuthApiKeyAuthorizationHeaderToken
, AuthApiKeySudoHeader
, AuthBasicBasicAuth
, AuthApiKeyAccessToken
, AuthApiKeySudoParam
, AuthApiKeyToken
data CreateRepoVariable Source #
Instances
HasBodyParam CreateRepoVariable CreateVariableOption Source # | |
Defined in Gitea.API.Repository Methods setBodyParam :: (Consumes CreateRepoVariable contentType, MimeRender contentType CreateVariableOption) => GiteaRequest CreateRepoVariable contentType res accept -> CreateVariableOption -> GiteaRequest CreateRepoVariable contentType res accept Source # | |
Consumes CreateRepoVariable MimeJSON Source # | application/json |
Defined in Gitea.API.Repository | |
Consumes CreateRepoVariable MimePlainText Source # | text/plain |
Defined in Gitea.API.Repository | |
Produces CreateRepoVariable MimeNoContent Source # | |
Defined in Gitea.API.Repository |
deleteRepoSecret
Arguments
:: Owner | "owner" - owner of the repository |
-> Repo | "repo" - name of the repository |
-> Secretname | "secretname" - name of the secret |
-> GiteaRequest DeleteRepoSecret MimeNoContent NoContent MimeNoContent |
DELETE /repos/{owner}/{repo}/actions/secrets/{secretname}
Delete a secret in a repository
AuthMethod: AuthApiKeyTOTPHeader
, AuthApiKeyAuthorizationHeaderToken
, AuthApiKeySudoHeader
, AuthBasicBasicAuth
, AuthApiKeyAccessToken
, AuthApiKeySudoParam
, AuthApiKeyToken
data DeleteRepoSecret Source #
Instances
Produces DeleteRepoSecret MimeNoContent Source # | |
Defined in Gitea.API.Repository |
deleteRepoVariable
Arguments
:: Owner | "owner" - name of the owner |
-> Repo | "repo" - name of the repository |
-> Variablename | "variablename" - name of the variable |
-> GiteaRequest DeleteRepoVariable MimeNoContent ActionVariable MimeJSON |
DELETE /repos/{owner}/{repo}/actions/variables/{variablename}
Delete a repo-level variable
AuthMethod: AuthApiKeyTOTPHeader
, AuthApiKeyAuthorizationHeaderToken
, AuthApiKeySudoHeader
, AuthBasicBasicAuth
, AuthApiKeyAccessToken
, AuthApiKeySudoParam
, AuthApiKeyToken
data DeleteRepoVariable Source #
Instances
Produces DeleteRepoVariable MimeJSON Source # | application/json |
Defined in Gitea.API.Repository |
generateRepo
Arguments
:: Consumes GenerateRepo MimeJSON | |
=> TemplateOwner | "templateOwner" - name of the template repository owner |
-> TemplateRepo | "templateRepo" - name of the template repository |
-> GiteaRequest GenerateRepo MimeJSON Repository MimeJSON |
POST /repos/{template_owner}/{template_repo}/generate
Create a repository using a template
AuthMethod: AuthApiKeyTOTPHeader
, AuthApiKeyAuthorizationHeaderToken
, AuthApiKeySudoHeader
, AuthBasicBasicAuth
, AuthApiKeyAccessToken
, AuthApiKeySudoParam
, AuthApiKeyToken
data GenerateRepo Source #
Instances
HasBodyParam GenerateRepo GenerateRepoOption Source # | |
Defined in Gitea.API.Repository Methods setBodyParam :: (Consumes GenerateRepo contentType, MimeRender contentType GenerateRepoOption) => GiteaRequest GenerateRepo contentType res accept -> GenerateRepoOption -> GiteaRequest GenerateRepo contentType res accept Source # | |
Consumes GenerateRepo MimeJSON Source # | application/json |
Defined in Gitea.API.Repository | |
Produces GenerateRepo MimeJSON Source # | application/json |
Defined in Gitea.API.Repository |
getAnnotatedTag
Arguments
:: Owner | "owner" - owner of the repo |
-> Repo | "repo" - name of the repo |
-> Sha | "sha" - sha of the tag. The Git tags API only supports annotated tag objects, not lightweight tags. |
-> GiteaRequest GetAnnotatedTag MimeNoContent AnnotatedTag MimeJSON |
GET /repos/{owner}/{repo}/git/tags/{sha}
Gets the tag object of an annotated tag (not lightweight tags)
AuthMethod: AuthApiKeyTOTPHeader
, AuthApiKeyAuthorizationHeaderToken
, AuthApiKeySudoHeader
, AuthBasicBasicAuth
, AuthApiKeyAccessToken
, AuthApiKeySudoParam
, AuthApiKeyToken
data GetAnnotatedTag Source #
Instances
Produces GetAnnotatedTag MimeJSON Source # | application/json |
Defined in Gitea.API.Repository |
getBlob
Arguments
:: Owner | "owner" - owner of the repo |
-> Repo | "repo" - name of the repo |
-> Sha | "sha" - sha of the commit |
-> GiteaRequest GetBlob MimeNoContent GitBlobResponse MimeJSON |
GET /repos/{owner}/{repo}/git/blobs/{sha}
Gets the blob of a repository.
AuthMethod: AuthApiKeyTOTPHeader
, AuthApiKeyAuthorizationHeaderToken
, AuthApiKeySudoHeader
, AuthBasicBasicAuth
, AuthApiKeyAccessToken
, AuthApiKeySudoParam
, AuthApiKeyToken
getRepoVariable
Arguments
:: Owner | "owner" - name of the owner |
-> Repo | "repo" - name of the repository |
-> Variablename | "variablename" - name of the variable |
-> GiteaRequest GetRepoVariable MimeNoContent ActionVariable MimeJSON |
GET /repos/{owner}/{repo}/actions/variables/{variablename}
Get a repo-level variable
AuthMethod: AuthApiKeyTOTPHeader
, AuthApiKeyAuthorizationHeaderToken
, AuthApiKeySudoHeader
, AuthBasicBasicAuth
, AuthApiKeyAccessToken
, AuthApiKeySudoParam
, AuthApiKeyToken
data GetRepoVariable Source #
Instances
Produces GetRepoVariable MimeJSON Source # | application/json |
Defined in Gitea.API.Repository |
getRepoVariablesList
Arguments
:: Owner | "owner" - name of the owner |
-> Repo | "repo" - name of the repository |
-> GiteaRequest GetRepoVariablesList MimeNoContent [ActionVariable] MimeJSON |
GET /repos/{owner}/{repo}/actions/variables
Get repo-level variables list
AuthMethod: AuthApiKeyTOTPHeader
, AuthApiKeyAuthorizationHeaderToken
, AuthApiKeySudoHeader
, AuthBasicBasicAuth
, AuthApiKeyAccessToken
, AuthApiKeySudoParam
, AuthApiKeyToken
data GetRepoVariablesList Source #
Instances
HasOptionalParam GetRepoVariablesList Limit Source # | Optional Param "limit" - page size of results |
Defined in Gitea.API.Repository Methods applyOptionalParam :: GiteaRequest GetRepoVariablesList contentType res accept -> Limit -> GiteaRequest GetRepoVariablesList contentType res accept Source # (-&-) :: GiteaRequest GetRepoVariablesList contentType res accept -> Limit -> GiteaRequest GetRepoVariablesList contentType res accept Source # | |
HasOptionalParam GetRepoVariablesList Page Source # | Optional Param "page" - page number of results to return (1-based) |
Defined in Gitea.API.Repository Methods applyOptionalParam :: GiteaRequest GetRepoVariablesList contentType res accept -> Page -> GiteaRequest GetRepoVariablesList contentType res accept Source # (-&-) :: GiteaRequest GetRepoVariablesList contentType res accept -> Page -> GiteaRequest GetRepoVariablesList contentType res accept Source # | |
Produces GetRepoVariablesList MimeJSON Source # | application/json |
Defined in Gitea.API.Repository |
getTree
Arguments
:: Owner | "owner" - owner of the repo |
-> Repo | "repo" - name of the repo |
-> Sha | "sha" - sha of the commit |
-> GiteaRequest GetTree MimeNoContent GitTreeResponse MimeJSON |
GET /repos/{owner}/{repo}/git/trees/{sha}
Gets the tree of a repository.
AuthMethod: AuthApiKeyTOTPHeader
, AuthApiKeyAuthorizationHeaderToken
, AuthApiKeySudoHeader
, AuthBasicBasicAuth
, AuthApiKeyAccessToken
, AuthApiKeySudoParam
, AuthApiKeyToken
Instances
HasOptionalParam GetTree Page Source # | Optional Param "page" - page number; the |
Defined in Gitea.API.Repository Methods applyOptionalParam :: GiteaRequest GetTree contentType res accept -> Page -> GiteaRequest GetTree contentType res accept Source # (-&-) :: GiteaRequest GetTree contentType res accept -> Page -> GiteaRequest GetTree contentType res accept Source # | |
HasOptionalParam GetTree PerPage Source # | Optional Param "per_page" - number of items per page |
Defined in Gitea.API.Repository Methods applyOptionalParam :: GiteaRequest GetTree contentType res accept -> PerPage -> GiteaRequest GetTree contentType res accept Source # (-&-) :: GiteaRequest GetTree contentType res accept -> PerPage -> GiteaRequest GetTree contentType res accept Source # | |
HasOptionalParam GetTree Recursive Source # | Optional Param "recursive" - show all directories and files |
Defined in Gitea.API.Repository Methods applyOptionalParam :: GiteaRequest GetTree contentType res accept -> Recursive -> GiteaRequest GetTree contentType res accept Source # (-&-) :: GiteaRequest GetTree contentType res accept -> Recursive -> GiteaRequest GetTree contentType res accept Source # | |
Produces GetTree MimeJSON Source # | application/json |
Defined in Gitea.API.Repository |
listActionTasks
Arguments
:: Owner | "owner" - owner of the repo |
-> Repo | "repo" - name of the repo |
-> GiteaRequest ListActionTasks MimeNoContent ActionTaskResponse MimeJSON |
GET /repos/{owner}/{repo}/actions/tasks
List a repository's action tasks
AuthMethod: AuthApiKeyTOTPHeader
, AuthApiKeyAuthorizationHeaderToken
, AuthApiKeySudoHeader
, AuthBasicBasicAuth
, AuthApiKeyAccessToken
, AuthApiKeySudoParam
, AuthApiKeyToken
data ListActionTasks Source #
Instances
HasOptionalParam ListActionTasks Limit Source # | Optional Param "limit" - page size of results, default maximum page size is 50 |
Defined in Gitea.API.Repository Methods applyOptionalParam :: GiteaRequest ListActionTasks contentType res accept -> Limit -> GiteaRequest ListActionTasks contentType res accept Source # (-&-) :: GiteaRequest ListActionTasks contentType res accept -> Limit -> GiteaRequest ListActionTasks contentType res accept Source # | |
HasOptionalParam ListActionTasks Page Source # | Optional Param "page" - page number of results to return (1-based) |
Defined in Gitea.API.Repository Methods applyOptionalParam :: GiteaRequest ListActionTasks contentType res accept -> Page -> GiteaRequest ListActionTasks contentType res accept Source # (-&-) :: GiteaRequest ListActionTasks contentType res accept -> Page -> GiteaRequest ListActionTasks contentType res accept Source # | |
Produces ListActionTasks MimeJSON Source # | application/json |
Defined in Gitea.API.Repository |
listForks
Arguments
:: Owner | "owner" - owner of the repo |
-> Repo | "repo" - name of the repo |
-> GiteaRequest ListForks MimeNoContent [Repository] MimeJSON |
GET /repos/{owner}/{repo}/forks
List a repository's forks
AuthMethod: AuthApiKeyTOTPHeader
, AuthApiKeyAuthorizationHeaderToken
, AuthApiKeySudoHeader
, AuthBasicBasicAuth
, AuthApiKeyAccessToken
, AuthApiKeySudoParam
, AuthApiKeyToken
Instances
HasOptionalParam ListForks Limit Source # | Optional Param "limit" - page size of results |
Defined in Gitea.API.Repository Methods applyOptionalParam :: GiteaRequest ListForks contentType res accept -> Limit -> GiteaRequest ListForks contentType res accept Source # (-&-) :: GiteaRequest ListForks contentType res accept -> Limit -> GiteaRequest ListForks contentType res accept Source # | |
HasOptionalParam ListForks Page Source # | Optional Param "page" - page number of results to return (1-based) |
Defined in Gitea.API.Repository Methods applyOptionalParam :: GiteaRequest ListForks contentType res accept -> Page -> GiteaRequest ListForks contentType res accept Source # (-&-) :: GiteaRequest ListForks contentType res accept -> Page -> GiteaRequest ListForks contentType res accept Source # | |
Produces ListForks MimeJSON Source # | application/json |
Defined in Gitea.API.Repository |
rejectRepoTransfer
Arguments
:: Owner | "owner" - owner of the repo to transfer |
-> Repo | "repo" - name of the repo to transfer |
-> GiteaRequest RejectRepoTransfer MimeNoContent Repository MimeJSON |
POST /repos/{owner}/{repo}/transfer/reject
Reject a repo transfer
AuthMethod: AuthApiKeyTOTPHeader
, AuthApiKeyAuthorizationHeaderToken
, AuthApiKeySudoHeader
, AuthBasicBasicAuth
, AuthApiKeyAccessToken
, AuthApiKeySudoParam
, AuthApiKeyToken
data RejectRepoTransfer Source #
Instances
Produces RejectRepoTransfer MimeJSON Source # | application/json |
Defined in Gitea.API.Repository |
repoAddCollaborator
Arguments
:: Consumes RepoAddCollaborator contentType | |
=> ContentType contentType | request content-type ( |
-> Owner | "owner" - owner of the repo |
-> Repo | "repo" - name of the repo |
-> Collaborator | "collaborator" - username of the collaborator to add |
-> GiteaRequest RepoAddCollaborator contentType NoContent MimeNoContent |
PUT /repos/{owner}/{repo}/collaborators/{collaborator}
Add or Update a collaborator to a repository
AuthMethod: AuthApiKeyTOTPHeader
, AuthApiKeyAuthorizationHeaderToken
, AuthApiKeySudoHeader
, AuthBasicBasicAuth
, AuthApiKeyAccessToken
, AuthApiKeySudoParam
, AuthApiKeyToken
data RepoAddCollaborator Source #
Instances
HasBodyParam RepoAddCollaborator AddCollaboratorOption Source # | |
Defined in Gitea.API.Repository Methods setBodyParam :: (Consumes RepoAddCollaborator contentType, MimeRender contentType AddCollaboratorOption) => GiteaRequest RepoAddCollaborator contentType res accept -> AddCollaboratorOption -> GiteaRequest RepoAddCollaborator contentType res accept Source # | |
Consumes RepoAddCollaborator MimeJSON Source # | application/json |
Defined in Gitea.API.Repository | |
Consumes RepoAddCollaborator MimePlainText Source # | text/plain |
Defined in Gitea.API.Repository | |
Produces RepoAddCollaborator MimeNoContent Source # | |
Defined in Gitea.API.Repository |
repoAddPushMirror
Arguments
:: Consumes RepoAddPushMirror MimeJSON | |
=> Owner | "owner" - owner of the repo |
-> Repo | "repo" - name of the repo |
-> GiteaRequest RepoAddPushMirror MimeJSON PushMirror MimeJSON |
POST /repos/{owner}/{repo}/push_mirrors
add a push mirror to the repository
AuthMethod: AuthApiKeyTOTPHeader
, AuthApiKeyAuthorizationHeaderToken
, AuthApiKeySudoHeader
, AuthBasicBasicAuth
, AuthApiKeyAccessToken
, AuthApiKeySudoParam
, AuthApiKeyToken
data RepoAddPushMirror Source #
Instances
HasBodyParam RepoAddPushMirror CreatePushMirrorOption Source # | |
Defined in Gitea.API.Repository Methods setBodyParam :: (Consumes RepoAddPushMirror contentType, MimeRender contentType CreatePushMirrorOption) => GiteaRequest RepoAddPushMirror contentType res accept -> CreatePushMirrorOption -> GiteaRequest RepoAddPushMirror contentType res accept Source # | |
Consumes RepoAddPushMirror MimeJSON Source # | application/json |
Defined in Gitea.API.Repository | |
Produces RepoAddPushMirror MimeJSON Source # | application/json |
Defined in Gitea.API.Repository |
repoAddTeam
Arguments
:: Owner | "owner" - owner of the repo |
-> Repo | "repo" - name of the repo |
-> Team2 | "team" - team name |
-> GiteaRequest RepoAddTeam MimeNoContent NoContent MimeNoContent |
PUT /repos/{owner}/{repo}/teams/{team}
Add a team to a repository
AuthMethod: AuthApiKeyTOTPHeader
, AuthApiKeyAuthorizationHeaderToken
, AuthApiKeySudoHeader
, AuthBasicBasicAuth
, AuthApiKeyAccessToken
, AuthApiKeySudoParam
, AuthApiKeyToken
data RepoAddTeam Source #
Instances
Produces RepoAddTeam MimeNoContent Source # | |
Defined in Gitea.API.Repository |
repoAddTopic
Arguments
:: Owner | "owner" - owner of the repo |
-> Repo | "repo" - name of the repo |
-> TopicText | "topic" - name of the topic to add |
-> GiteaRequest RepoAddTopic MimeNoContent NoContent MimeNoContent |
PUT /repos/{owner}/{repo}/topics/{topic}
Add a topic to a repository
AuthMethod: AuthApiKeyTOTPHeader
, AuthApiKeyAuthorizationHeaderToken
, AuthApiKeySudoHeader
, AuthBasicBasicAuth
, AuthApiKeyAccessToken
, AuthApiKeySudoParam
, AuthApiKeyToken
data RepoAddTopic Source #
Instances
Produces RepoAddTopic MimeNoContent Source # | |
Defined in Gitea.API.Repository |
repoApplyDiffPatch
Arguments
:: (Consumes RepoApplyDiffPatch MimeJSON, MimeRender MimeJSON UpdateFileOptions) | |
=> UpdateFileOptions | "body" |
-> Owner | "owner" - owner of the repo |
-> Repo | "repo" - name of the repo |
-> GiteaRequest RepoApplyDiffPatch MimeJSON FileResponse MimeJSON |
POST /repos/{owner}/{repo}/diffpatch
Apply diff patch to repository
AuthMethod: AuthApiKeyTOTPHeader
, AuthApiKeyAuthorizationHeaderToken
, AuthApiKeySudoHeader
, AuthBasicBasicAuth
, AuthApiKeyAccessToken
, AuthApiKeySudoParam
, AuthApiKeyToken
data RepoApplyDiffPatch Source #
Instances
HasBodyParam RepoApplyDiffPatch UpdateFileOptions Source # | |
Defined in Gitea.API.Repository Methods setBodyParam :: (Consumes RepoApplyDiffPatch contentType, MimeRender contentType UpdateFileOptions) => GiteaRequest RepoApplyDiffPatch contentType res accept -> UpdateFileOptions -> GiteaRequest RepoApplyDiffPatch contentType res accept Source # | |
Consumes RepoApplyDiffPatch MimeJSON Source # | application/json |
Defined in Gitea.API.Repository | |
Produces RepoApplyDiffPatch MimeJSON Source # | application/json |
Defined in Gitea.API.Repository |
repoCancelScheduledAutoMerge
repoCancelScheduledAutoMerge Source #
Arguments
:: Owner | "owner" - owner of the repo |
-> Repo | "repo" - name of the repo |
-> Index | "index" - index of the pull request to merge |
-> GiteaRequest RepoCancelScheduledAutoMerge MimeNoContent NoContent MimeNoContent |
DELETE /repos/{owner}/{repo}/pulls/{index}/merge
Cancel the scheduled auto merge for the given pull request
AuthMethod: AuthApiKeyTOTPHeader
, AuthApiKeyAuthorizationHeaderToken
, AuthApiKeySudoHeader
, AuthBasicBasicAuth
, AuthApiKeyAccessToken
, AuthApiKeySudoParam
, AuthApiKeyToken
data RepoCancelScheduledAutoMerge Source #
Instances
repoChangeFiles
Arguments
:: (Consumes RepoChangeFiles MimeJSON, MimeRender MimeJSON ChangeFilesOptions) | |
=> ChangeFilesOptions | "body" |
-> Owner | "owner" - owner of the repo |
-> Repo | "repo" - name of the repo |
-> GiteaRequest RepoChangeFiles MimeJSON FilesResponse MimeJSON |
POST /repos/{owner}/{repo}/contents
Modify multiple files in a repository
AuthMethod: AuthApiKeyTOTPHeader
, AuthApiKeyAuthorizationHeaderToken
, AuthApiKeySudoHeader
, AuthBasicBasicAuth
, AuthApiKeyAccessToken
, AuthApiKeySudoParam
, AuthApiKeyToken
data RepoChangeFiles Source #
Instances
HasBodyParam RepoChangeFiles ChangeFilesOptions Source # | |
Defined in Gitea.API.Repository Methods setBodyParam :: (Consumes RepoChangeFiles contentType, MimeRender contentType ChangeFilesOptions) => GiteaRequest RepoChangeFiles contentType res accept -> ChangeFilesOptions -> GiteaRequest RepoChangeFiles contentType res accept Source # | |
Consumes RepoChangeFiles MimeJSON Source # | application/json |
Defined in Gitea.API.Repository | |
Produces RepoChangeFiles MimeJSON Source # | application/json |
Defined in Gitea.API.Repository |
repoCheckCollaborator
repoCheckCollaborator Source #
Arguments
:: Owner | "owner" - owner of the repo |
-> Repo | "repo" - name of the repo |
-> Collaborator | "collaborator" - username of the collaborator |
-> GiteaRequest RepoCheckCollaborator MimeNoContent NoContent MimeNoContent |
GET /repos/{owner}/{repo}/collaborators/{collaborator}
Check if a user is a collaborator of a repository
AuthMethod: AuthApiKeyTOTPHeader
, AuthApiKeyAuthorizationHeaderToken
, AuthApiKeySudoHeader
, AuthBasicBasicAuth
, AuthApiKeyAccessToken
, AuthApiKeySudoParam
, AuthApiKeyToken
data RepoCheckCollaborator Source #
Instances
repoCheckTeam
Arguments
:: Owner | "owner" - owner of the repo |
-> Repo | "repo" - name of the repo |
-> Team2 | "team" - team name |
-> GiteaRequest RepoCheckTeam MimeNoContent Team MimeJSON |
GET /repos/{owner}/{repo}/teams/{team}
Check if a team is assigned to a repository
AuthMethod: AuthApiKeyTOTPHeader
, AuthApiKeyAuthorizationHeaderToken
, AuthApiKeySudoHeader
, AuthBasicBasicAuth
, AuthApiKeyAccessToken
, AuthApiKeySudoParam
, AuthApiKeyToken
data RepoCheckTeam Source #
Instances
Produces RepoCheckTeam MimeJSON Source # | application/json |
Defined in Gitea.API.Repository |
repoCompareDiff
Arguments
:: Owner | "owner" - owner of the repo |
-> Repo | "repo" - name of the repo |
-> Basehead | "basehead" - compare two branches or commits |
-> GiteaRequest RepoCompareDiff MimeNoContent Compare MimeJSON |
GET /repos/{owner}/{repo}/compare/{basehead}
Get commit comparison information
AuthMethod: AuthApiKeyTOTPHeader
, AuthApiKeyAuthorizationHeaderToken
, AuthApiKeySudoHeader
, AuthBasicBasicAuth
, AuthApiKeyAccessToken
, AuthApiKeySudoParam
, AuthApiKeyToken
data RepoCompareDiff Source #
Instances
Produces RepoCompareDiff MimeJSON Source # | application/json |
Defined in Gitea.API.Repository |
repoCreateBranch
Arguments
:: Consumes RepoCreateBranch MimeJSON | |
=> Owner | "owner" - owner of the repo |
-> Repo | "repo" - name of the repo |
-> GiteaRequest RepoCreateBranch MimeJSON Branch MimeJSON |
POST /repos/{owner}/{repo}/branches
Create a branch
AuthMethod: AuthApiKeyTOTPHeader
, AuthApiKeyAuthorizationHeaderToken
, AuthApiKeySudoHeader
, AuthBasicBasicAuth
, AuthApiKeyAccessToken
, AuthApiKeySudoParam
, AuthApiKeyToken
data RepoCreateBranch Source #
Instances
HasBodyParam RepoCreateBranch CreateBranchRepoOption Source # | |
Defined in Gitea.API.Repository Methods setBodyParam :: (Consumes RepoCreateBranch contentType, MimeRender contentType CreateBranchRepoOption) => GiteaRequest RepoCreateBranch contentType res accept -> CreateBranchRepoOption -> GiteaRequest RepoCreateBranch contentType res accept Source # | |
Consumes RepoCreateBranch MimeJSON Source # | application/json |
Defined in Gitea.API.Repository | |
Produces RepoCreateBranch MimeJSON Source # | application/json |
Defined in Gitea.API.Repository |
repoCreateBranchProtection
repoCreateBranchProtection Source #
Arguments
:: Consumes RepoCreateBranchProtection MimeJSON | |
=> Owner | "owner" - owner of the repo |
-> Repo | "repo" - name of the repo |
-> GiteaRequest RepoCreateBranchProtection MimeJSON BranchProtection MimeJSON |
POST /repos/{owner}/{repo}/branch_protections
Create a branch protections for a repository
AuthMethod: AuthApiKeyTOTPHeader
, AuthApiKeyAuthorizationHeaderToken
, AuthApiKeySudoHeader
, AuthBasicBasicAuth
, AuthApiKeyAccessToken
, AuthApiKeySudoParam
, AuthApiKeyToken
data RepoCreateBranchProtection Source #
Instances
HasBodyParam RepoCreateBranchProtection CreateBranchProtectionOption Source # | |
Defined in Gitea.API.Repository Methods setBodyParam :: (Consumes RepoCreateBranchProtection contentType, MimeRender contentType CreateBranchProtectionOption) => GiteaRequest RepoCreateBranchProtection contentType res accept -> CreateBranchProtectionOption -> GiteaRequest RepoCreateBranchProtection contentType res accept Source # | |
Consumes RepoCreateBranchProtection MimeJSON Source # | application/json |
Defined in Gitea.API.Repository | |
Produces RepoCreateBranchProtection MimeJSON Source # | application/json |
Defined in Gitea.API.Repository |
repoCreateFile
Arguments
:: (Consumes RepoCreateFile MimeJSON, MimeRender MimeJSON CreateFileOptions) | |
=> CreateFileOptions | "body" |
-> Owner | "owner" - owner of the repo |
-> Repo | "repo" - name of the repo |
-> Filepath | "filepath" - path of the file to create |
-> GiteaRequest RepoCreateFile MimeJSON FileResponse MimeJSON |
POST /repos/{owner}/{repo}/contents/{filepath}
Create a file in a repository
AuthMethod: AuthApiKeyTOTPHeader
, AuthApiKeyAuthorizationHeaderToken
, AuthApiKeySudoHeader
, AuthBasicBasicAuth
, AuthApiKeyAccessToken
, AuthApiKeySudoParam
, AuthApiKeyToken
data RepoCreateFile Source #
Instances
HasBodyParam RepoCreateFile CreateFileOptions Source # | |
Defined in Gitea.API.Repository Methods setBodyParam :: (Consumes RepoCreateFile contentType, MimeRender contentType CreateFileOptions) => GiteaRequest RepoCreateFile contentType res accept -> CreateFileOptions -> GiteaRequest RepoCreateFile contentType res accept Source # | |
Consumes RepoCreateFile MimeJSON Source # | application/json |
Defined in Gitea.API.Repository | |
Produces RepoCreateFile MimeJSON Source # | application/json |
Defined in Gitea.API.Repository |
repoCreateHook
Arguments
:: Consumes RepoCreateHook MimeJSON | |
=> Owner | "owner" - owner of the repo |
-> Repo | "repo" - name of the repo |
-> GiteaRequest RepoCreateHook MimeJSON Hook MimeJSON |
POST /repos/{owner}/{repo}/hooks
Create a hook
AuthMethod: AuthApiKeyTOTPHeader
, AuthApiKeyAuthorizationHeaderToken
, AuthApiKeySudoHeader
, AuthBasicBasicAuth
, AuthApiKeyAccessToken
, AuthApiKeySudoParam
, AuthApiKeyToken
data RepoCreateHook Source #
Instances
HasBodyParam RepoCreateHook CreateHookOption Source # | |
Defined in Gitea.API.Repository Methods setBodyParam :: (Consumes RepoCreateHook contentType, MimeRender contentType CreateHookOption) => GiteaRequest RepoCreateHook contentType res accept -> CreateHookOption -> GiteaRequest RepoCreateHook contentType res accept Source # | |
Consumes RepoCreateHook MimeJSON Source # | application/json |
Defined in Gitea.API.Repository | |
Produces RepoCreateHook MimeJSON Source # | application/json |
Defined in Gitea.API.Repository |
repoCreateKey
Arguments
:: Consumes RepoCreateKey MimeJSON | |
=> Owner | "owner" - owner of the repo |
-> Repo | "repo" - name of the repo |
-> GiteaRequest RepoCreateKey MimeJSON DeployKey MimeJSON |
POST /repos/{owner}/{repo}/keys
Add a key to a repository
AuthMethod: AuthApiKeyTOTPHeader
, AuthApiKeyAuthorizationHeaderToken
, AuthApiKeySudoHeader
, AuthBasicBasicAuth
, AuthApiKeyAccessToken
, AuthApiKeySudoParam
, AuthApiKeyToken
data RepoCreateKey Source #
Instances
HasBodyParam RepoCreateKey CreateKeyOption Source # | |
Defined in Gitea.API.Repository Methods setBodyParam :: (Consumes RepoCreateKey contentType, MimeRender contentType CreateKeyOption) => GiteaRequest RepoCreateKey contentType res accept -> CreateKeyOption -> GiteaRequest RepoCreateKey contentType res accept Source # | |
Consumes RepoCreateKey MimeJSON Source # | application/json |
Defined in Gitea.API.Repository | |
Produces RepoCreateKey MimeJSON Source # | application/json |
Defined in Gitea.API.Repository |
repoCreatePullRequest
repoCreatePullRequest Source #
Arguments
:: Consumes RepoCreatePullRequest MimeJSON | |
=> Owner | "owner" - owner of the repo |
-> Repo | "repo" - name of the repo |
-> GiteaRequest RepoCreatePullRequest MimeJSON PullRequest MimeJSON |
POST /repos/{owner}/{repo}/pulls
Create a pull request
AuthMethod: AuthApiKeyTOTPHeader
, AuthApiKeyAuthorizationHeaderToken
, AuthApiKeySudoHeader
, AuthBasicBasicAuth
, AuthApiKeyAccessToken
, AuthApiKeySudoParam
, AuthApiKeyToken
data RepoCreatePullRequest Source #
Instances
HasBodyParam RepoCreatePullRequest CreatePullRequestOption Source # | |
Defined in Gitea.API.Repository Methods setBodyParam :: (Consumes RepoCreatePullRequest contentType, MimeRender contentType CreatePullRequestOption) => GiteaRequest RepoCreatePullRequest contentType res accept -> CreatePullRequestOption -> GiteaRequest RepoCreatePullRequest contentType res accept Source # | |
Consumes RepoCreatePullRequest MimeJSON Source # | application/json |
Defined in Gitea.API.Repository | |
Produces RepoCreatePullRequest MimeJSON Source # | application/json |
Defined in Gitea.API.Repository |
repoCreatePullReview
Arguments
:: (Consumes RepoCreatePullReview contentType, MimeRender contentType CreatePullReviewOptions) | |
=> ContentType contentType | request content-type ( |
-> CreatePullReviewOptions | "body" |
-> Owner | "owner" - owner of the repo |
-> Repo | "repo" - name of the repo |
-> Index | "index" - index of the pull request |
-> GiteaRequest RepoCreatePullReview contentType PullReview MimeJSON |
POST /repos/{owner}/{repo}/pulls/{index}/reviews
Create a review to an pull request
AuthMethod: AuthApiKeyTOTPHeader
, AuthApiKeyAuthorizationHeaderToken
, AuthApiKeySudoHeader
, AuthBasicBasicAuth
, AuthApiKeyAccessToken
, AuthApiKeySudoParam
, AuthApiKeyToken
data RepoCreatePullReview Source #
Instances
HasBodyParam RepoCreatePullReview CreatePullReviewOptions Source # | |
Defined in Gitea.API.Repository Methods setBodyParam :: (Consumes RepoCreatePullReview contentType, MimeRender contentType CreatePullReviewOptions) => GiteaRequest RepoCreatePullReview contentType res accept -> CreatePullReviewOptions -> GiteaRequest RepoCreatePullReview contentType res accept Source # | |
Consumes RepoCreatePullReview MimeJSON Source # | application/json |
Defined in Gitea.API.Repository | |
Consumes RepoCreatePullReview MimePlainText Source # | text/plain |
Defined in Gitea.API.Repository | |
Produces RepoCreatePullReview MimeJSON Source # | application/json |
Defined in Gitea.API.Repository |
repoCreatePullReviewRequests
repoCreatePullReviewRequests Source #
Arguments
:: (Consumes RepoCreatePullReviewRequests contentType, MimeRender contentType PullReviewRequestOptions) | |
=> ContentType contentType | request content-type ( |
-> PullReviewRequestOptions | "body" |
-> Owner | "owner" - owner of the repo |
-> Repo | "repo" - name of the repo |
-> Index | "index" - index of the pull request |
-> GiteaRequest RepoCreatePullReviewRequests contentType [PullReview] MimeJSON |
POST /repos/{owner}/{repo}/pulls/{index}/requested_reviewers
create review requests for a pull request
AuthMethod: AuthApiKeyTOTPHeader
, AuthApiKeyAuthorizationHeaderToken
, AuthApiKeySudoHeader
, AuthBasicBasicAuth
, AuthApiKeyAccessToken
, AuthApiKeySudoParam
, AuthApiKeyToken
data RepoCreatePullReviewRequests Source #
Instances
HasBodyParam RepoCreatePullReviewRequests PullReviewRequestOptions Source # | |
Defined in Gitea.API.Repository Methods setBodyParam :: (Consumes RepoCreatePullReviewRequests contentType, MimeRender contentType PullReviewRequestOptions) => GiteaRequest RepoCreatePullReviewRequests contentType res accept -> PullReviewRequestOptions -> GiteaRequest RepoCreatePullReviewRequests contentType res accept Source # | |
Consumes RepoCreatePullReviewRequests MimeJSON Source # | application/json |
Defined in Gitea.API.Repository | |
Consumes RepoCreatePullReviewRequests MimePlainText Source # | text/plain |
Defined in Gitea.API.Repository | |
Produces RepoCreatePullReviewRequests MimeJSON Source # | application/json |
Defined in Gitea.API.Repository |
repoCreateRelease
Arguments
:: Consumes RepoCreateRelease MimeJSON | |
=> Owner | "owner" - owner of the repo |
-> Repo | "repo" - name of the repo |
-> GiteaRequest RepoCreateRelease MimeJSON Release MimeJSON |
POST /repos/{owner}/{repo}/releases
Create a release
AuthMethod: AuthApiKeyTOTPHeader
, AuthApiKeyAuthorizationHeaderToken
, AuthApiKeySudoHeader
, AuthBasicBasicAuth
, AuthApiKeyAccessToken
, AuthApiKeySudoParam
, AuthApiKeyToken
data RepoCreateRelease Source #
Instances
HasBodyParam RepoCreateRelease CreateReleaseOption Source # | |
Defined in Gitea.API.Repository Methods setBodyParam :: (Consumes RepoCreateRelease contentType, MimeRender contentType CreateReleaseOption) => GiteaRequest RepoCreateRelease contentType res accept -> CreateReleaseOption -> GiteaRequest RepoCreateRelease contentType res accept Source # | |
Consumes RepoCreateRelease MimeJSON Source # | application/json |
Defined in Gitea.API.Repository | |
Produces RepoCreateRelease MimeJSON Source # | application/json |
Defined in Gitea.API.Repository |
repoCreateReleaseAttachment
repoCreateReleaseAttachment Source #
Arguments
:: Consumes RepoCreateReleaseAttachment contentType | |
=> ContentType contentType | request content-type ( |
-> Owner | "owner" - owner of the repo |
-> Repo | "repo" - name of the repo |
-> Id | "id" - id of the release |
-> GiteaRequest RepoCreateReleaseAttachment contentType Attachment MimeJSON |
POST /repos/{owner}/{repo}/releases/{id}/assets
Create a release attachment
AuthMethod: AuthApiKeyTOTPHeader
, AuthApiKeyAuthorizationHeaderToken
, AuthApiKeySudoHeader
, AuthBasicBasicAuth
, AuthApiKeyAccessToken
, AuthApiKeySudoParam
, AuthApiKeyToken
data RepoCreateReleaseAttachment Source #
Instances
repoCreateStatus
Arguments
:: Consumes RepoCreateStatus contentType | |
=> ContentType contentType | request content-type ( |
-> Owner | "owner" - owner of the repo |
-> Repo | "repo" - name of the repo |
-> Sha | "sha" - sha of the commit |
-> GiteaRequest RepoCreateStatus contentType CommitStatus MimeJSON |
POST /repos/{owner}/{repo}/statuses/{sha}
Create a commit status
AuthMethod: AuthApiKeyTOTPHeader
, AuthApiKeyAuthorizationHeaderToken
, AuthApiKeySudoHeader
, AuthBasicBasicAuth
, AuthApiKeyAccessToken
, AuthApiKeySudoParam
, AuthApiKeyToken
data RepoCreateStatus Source #
Instances
HasBodyParam RepoCreateStatus CreateStatusOption Source # | |
Defined in Gitea.API.Repository Methods setBodyParam :: (Consumes RepoCreateStatus contentType, MimeRender contentType CreateStatusOption) => GiteaRequest RepoCreateStatus contentType res accept -> CreateStatusOption -> GiteaRequest RepoCreateStatus contentType res accept Source # | |
Consumes RepoCreateStatus MimeJSON Source # | application/json |
Defined in Gitea.API.Repository | |
Consumes RepoCreateStatus MimePlainText Source # | text/plain |
Defined in Gitea.API.Repository | |
Produces RepoCreateStatus MimeJSON Source # | application/json |
Defined in Gitea.API.Repository |
repoCreateTag
Arguments
:: Consumes RepoCreateTag contentType | |
=> ContentType contentType | request content-type ( |
-> Owner | "owner" - owner of the repo |
-> Repo | "repo" - name of the repo |
-> GiteaRequest RepoCreateTag contentType Tag MimeJSON |
POST /repos/{owner}/{repo}/tags
Create a new git tag in a repository
AuthMethod: AuthApiKeyTOTPHeader
, AuthApiKeyAuthorizationHeaderToken
, AuthApiKeySudoHeader
, AuthBasicBasicAuth
, AuthApiKeyAccessToken
, AuthApiKeySudoParam
, AuthApiKeyToken
data RepoCreateTag Source #
Instances
HasBodyParam RepoCreateTag CreateTagOption Source # | |
Defined in Gitea.API.Repository Methods setBodyParam :: (Consumes RepoCreateTag contentType, MimeRender contentType CreateTagOption) => GiteaRequest RepoCreateTag contentType res accept -> CreateTagOption -> GiteaRequest RepoCreateTag contentType res accept Source # | |
Consumes RepoCreateTag MimeJSON Source # | application/json |
Defined in Gitea.API.Repository | |
Consumes RepoCreateTag MimePlainText Source # | text/plain |
Defined in Gitea.API.Repository | |
Produces RepoCreateTag MimeJSON Source # | application/json |
Defined in Gitea.API.Repository |
repoCreateTagProtection
repoCreateTagProtection Source #
Arguments
:: Consumes RepoCreateTagProtection MimeJSON | |
=> Owner | "owner" - owner of the repo |
-> Repo | "repo" - name of the repo |
-> GiteaRequest RepoCreateTagProtection MimeJSON TagProtection MimeJSON |
POST /repos/{owner}/{repo}/tag_protections
Create a tag protections for a repository
AuthMethod: AuthApiKeyTOTPHeader
, AuthApiKeyAuthorizationHeaderToken
, AuthApiKeySudoHeader
, AuthBasicBasicAuth
, AuthApiKeyAccessToken
, AuthApiKeySudoParam
, AuthApiKeyToken
data RepoCreateTagProtection Source #
Instances
HasBodyParam RepoCreateTagProtection CreateTagProtectionOption Source # | |
Defined in Gitea.API.Repository Methods setBodyParam :: (Consumes RepoCreateTagProtection contentType, MimeRender contentType CreateTagProtectionOption) => GiteaRequest RepoCreateTagProtection contentType res accept -> CreateTagProtectionOption -> GiteaRequest RepoCreateTagProtection contentType res accept Source # | |
Consumes RepoCreateTagProtection MimeJSON Source # | application/json |
Defined in Gitea.API.Repository | |
Produces RepoCreateTagProtection MimeJSON Source # | application/json |
Defined in Gitea.API.Repository |
repoCreateWikiPage
Arguments
:: Consumes RepoCreateWikiPage MimeJSON | |
=> Accept accept | request accept ( |
-> Owner | "owner" - owner of the repo |
-> Repo | "repo" - name of the repo |
-> GiteaRequest RepoCreateWikiPage MimeJSON WikiPage accept |
POST /repos/{owner}/{repo}/wiki/new
Create a wiki page
AuthMethod: AuthApiKeyTOTPHeader
, AuthApiKeyAuthorizationHeaderToken
, AuthApiKeySudoHeader
, AuthBasicBasicAuth
, AuthApiKeyAccessToken
, AuthApiKeySudoParam
, AuthApiKeyToken
data RepoCreateWikiPage Source #
Instances
HasBodyParam RepoCreateWikiPage CreateWikiPageOptions Source # | |
Defined in Gitea.API.Repository Methods setBodyParam :: (Consumes RepoCreateWikiPage contentType, MimeRender contentType CreateWikiPageOptions) => GiteaRequest RepoCreateWikiPage contentType res accept -> CreateWikiPageOptions -> GiteaRequest RepoCreateWikiPage contentType res accept Source # | |
Consumes RepoCreateWikiPage MimeJSON Source # | application/json |
Defined in Gitea.API.Repository | |
Produces RepoCreateWikiPage MimeJSON Source # | application/json |
Defined in Gitea.API.Repository | |
Produces RepoCreateWikiPage MimeTextHtml Source # | text/html |
Defined in Gitea.API.Repository |
repoDelete
Arguments
:: Owner | "owner" - owner of the repo to delete |
-> Repo | "repo" - name of the repo to delete |
-> GiteaRequest RepoDelete MimeNoContent NoContent MimeNoContent |
DELETE /repos/{owner}/{repo}
Delete a repository
AuthMethod: AuthApiKeyTOTPHeader
, AuthApiKeyAuthorizationHeaderToken
, AuthApiKeySudoHeader
, AuthBasicBasicAuth
, AuthApiKeyAccessToken
, AuthApiKeySudoParam
, AuthApiKeyToken
data RepoDelete Source #
Instances
Produces RepoDelete MimeNoContent Source # | |
Defined in Gitea.API.Repository |
repoDeleteAvatar
Arguments
:: Owner | "owner" - owner of the repo |
-> Repo | "repo" - name of the repo |
-> GiteaRequest RepoDeleteAvatar MimeNoContent NoContent MimeNoContent |
DELETE /repos/{owner}/{repo}/avatar
Delete avatar
AuthMethod: AuthApiKeyTOTPHeader
, AuthApiKeyAuthorizationHeaderToken
, AuthApiKeySudoHeader
, AuthBasicBasicAuth
, AuthApiKeyAccessToken
, AuthApiKeySudoParam
, AuthApiKeyToken
data RepoDeleteAvatar Source #
Instances
Produces RepoDeleteAvatar MimeNoContent Source # | |
Defined in Gitea.API.Repository |
repoDeleteBranch
Arguments
:: Owner | "owner" - owner of the repo |
-> Repo | "repo" - name of the repo |
-> Branch2 | "branch" - branch to delete |
-> GiteaRequest RepoDeleteBranch MimeNoContent NoContent MimeNoContent |
DELETE /repos/{owner}/{repo}/branches/{branch}
Delete a specific branch from a repository
AuthMethod: AuthApiKeyTOTPHeader
, AuthApiKeyAuthorizationHeaderToken
, AuthApiKeySudoHeader
, AuthBasicBasicAuth
, AuthApiKeyAccessToken
, AuthApiKeySudoParam
, AuthApiKeyToken
data RepoDeleteBranch Source #
Instances
Produces RepoDeleteBranch MimeNoContent Source # | |
Defined in Gitea.API.Repository |
repoDeleteBranchProtection
repoDeleteBranchProtection Source #
Arguments
:: Owner | "owner" - owner of the repo |
-> Repo | "repo" - name of the repo |
-> Name | "name" - name of protected branch |
-> GiteaRequest RepoDeleteBranchProtection MimeNoContent NoContent MimeNoContent |
DELETE /repos/{owner}/{repo}/branch_protections/{name}
Delete a specific branch protection for the repository
AuthMethod: AuthApiKeyTOTPHeader
, AuthApiKeyAuthorizationHeaderToken
, AuthApiKeySudoHeader
, AuthBasicBasicAuth
, AuthApiKeyAccessToken
, AuthApiKeySudoParam
, AuthApiKeyToken
data RepoDeleteBranchProtection Source #
Instances
repoDeleteCollaborator
repoDeleteCollaborator Source #
Arguments
:: Owner | "owner" - owner of the repo |
-> Repo | "repo" - name of the repo |
-> Collaborator | "collaborator" - username of the collaborator to delete |
-> GiteaRequest RepoDeleteCollaborator MimeNoContent NoContent MimeNoContent |
DELETE /repos/{owner}/{repo}/collaborators/{collaborator}
Delete a collaborator from a repository
AuthMethod: AuthApiKeyTOTPHeader
, AuthApiKeyAuthorizationHeaderToken
, AuthApiKeySudoHeader
, AuthBasicBasicAuth
, AuthApiKeyAccessToken
, AuthApiKeySudoParam
, AuthApiKeyToken
data RepoDeleteCollaborator Source #
Instances
repoDeleteFile
Arguments
:: (Consumes RepoDeleteFile MimeJSON, MimeRender MimeJSON DeleteFileOptions) | |
=> DeleteFileOptions | "body" |
-> Owner | "owner" - owner of the repo |
-> Repo | "repo" - name of the repo |
-> Filepath | "filepath" - path of the file to delete |
-> GiteaRequest RepoDeleteFile MimeJSON FileDeleteResponse MimeJSON |
DELETE /repos/{owner}/{repo}/contents/{filepath}
Delete a file in a repository
AuthMethod: AuthApiKeyTOTPHeader
, AuthApiKeyAuthorizationHeaderToken
, AuthApiKeySudoHeader
, AuthBasicBasicAuth
, AuthApiKeyAccessToken
, AuthApiKeySudoParam
, AuthApiKeyToken
data RepoDeleteFile Source #
Instances
HasBodyParam RepoDeleteFile DeleteFileOptions Source # | |
Defined in Gitea.API.Repository Methods setBodyParam :: (Consumes RepoDeleteFile contentType, MimeRender contentType DeleteFileOptions) => GiteaRequest RepoDeleteFile contentType res accept -> DeleteFileOptions -> GiteaRequest RepoDeleteFile contentType res accept Source # | |
Consumes RepoDeleteFile MimeJSON Source # | application/json |
Defined in Gitea.API.Repository | |
Produces RepoDeleteFile MimeJSON Source # | application/json |
Defined in Gitea.API.Repository |
repoDeleteGitHook
Arguments
:: Owner | "owner" - owner of the repo |
-> Repo | "repo" - name of the repo |
-> IdText | "id" - id of the hook to get |
-> GiteaRequest RepoDeleteGitHook MimeNoContent NoContent MimeNoContent |
DELETE /repos/{owner}/{repo}/hooks/git/{id}
Delete a Git hook in a repository
AuthMethod: AuthApiKeyTOTPHeader
, AuthApiKeyAuthorizationHeaderToken
, AuthApiKeySudoHeader
, AuthBasicBasicAuth
, AuthApiKeyAccessToken
, AuthApiKeySudoParam
, AuthApiKeyToken
data RepoDeleteGitHook Source #
Instances
repoDeleteHook
Arguments
:: Owner | "owner" - owner of the repo |
-> Repo | "repo" - name of the repo |
-> Id | "id" - id of the hook to delete |
-> GiteaRequest RepoDeleteHook MimeNoContent NoContent MimeNoContent |
DELETE /repos/{owner}/{repo}/hooks/{id}
Delete a hook in a repository
AuthMethod: AuthApiKeyTOTPHeader
, AuthApiKeyAuthorizationHeaderToken
, AuthApiKeySudoHeader
, AuthBasicBasicAuth
, AuthApiKeyAccessToken
, AuthApiKeySudoParam
, AuthApiKeyToken
data RepoDeleteHook Source #
Instances
Produces RepoDeleteHook MimeNoContent Source # | |
Defined in Gitea.API.Repository |
repoDeleteKey
Arguments
:: Owner | "owner" - owner of the repo |
-> Repo | "repo" - name of the repo |
-> Id | "id" - id of the key to delete |
-> GiteaRequest RepoDeleteKey MimeNoContent NoContent MimeNoContent |
DELETE /repos/{owner}/{repo}/keys/{id}
Delete a key from a repository
AuthMethod: AuthApiKeyTOTPHeader
, AuthApiKeyAuthorizationHeaderToken
, AuthApiKeySudoHeader
, AuthBasicBasicAuth
, AuthApiKeyAccessToken
, AuthApiKeySudoParam
, AuthApiKeyToken
data RepoDeleteKey Source #
Instances
Produces RepoDeleteKey MimeNoContent Source # | |
Defined in Gitea.API.Repository |
repoDeletePullReview
Arguments
:: Owner | "owner" - owner of the repo |
-> Repo | "repo" - name of the repo |
-> Index | "index" - index of the pull request |
-> Id | "id" - id of the review |
-> GiteaRequest RepoDeletePullReview MimeNoContent NoContent MimeNoContent |
DELETE /repos/{owner}/{repo}/pulls/{index}/reviews/{id}
Delete a specific review from a pull request
AuthMethod: AuthApiKeyTOTPHeader
, AuthApiKeyAuthorizationHeaderToken
, AuthApiKeySudoHeader
, AuthBasicBasicAuth
, AuthApiKeyAccessToken
, AuthApiKeySudoParam
, AuthApiKeyToken
data RepoDeletePullReview Source #
Instances
repoDeletePullReviewRequests
repoDeletePullReviewRequests Source #
Arguments
:: (Consumes RepoDeletePullReviewRequests contentType, MimeRender contentType PullReviewRequestOptions) | |
=> ContentType contentType | request content-type ( |
-> PullReviewRequestOptions | "body" |
-> Owner | "owner" - owner of the repo |
-> Repo | "repo" - name of the repo |
-> Index | "index" - index of the pull request |
-> GiteaRequest RepoDeletePullReviewRequests contentType NoContent MimeNoContent |
DELETE /repos/{owner}/{repo}/pulls/{index}/requested_reviewers
cancel review requests for a pull request
AuthMethod: AuthApiKeyTOTPHeader
, AuthApiKeyAuthorizationHeaderToken
, AuthApiKeySudoHeader
, AuthBasicBasicAuth
, AuthApiKeyAccessToken
, AuthApiKeySudoParam
, AuthApiKeyToken
data RepoDeletePullReviewRequests Source #
Instances
HasBodyParam RepoDeletePullReviewRequests PullReviewRequestOptions Source # | |
Defined in Gitea.API.Repository Methods setBodyParam :: (Consumes RepoDeletePullReviewRequests contentType, MimeRender contentType PullReviewRequestOptions) => GiteaRequest RepoDeletePullReviewRequests contentType res accept -> PullReviewRequestOptions -> GiteaRequest RepoDeletePullReviewRequests contentType res accept Source # | |
Consumes RepoDeletePullReviewRequests MimeJSON Source # | application/json |
Defined in Gitea.API.Repository | |
Consumes RepoDeletePullReviewRequests MimePlainText Source # | text/plain |
Defined in Gitea.API.Repository | |
Produces RepoDeletePullReviewRequests MimeNoContent Source # | |
Defined in Gitea.API.Repository |
repoDeletePushMirror
Arguments
:: Owner | "owner" - owner of the repo |
-> Repo | "repo" - name of the repo |
-> Name | "name" - remote name of the pushMirror |
-> GiteaRequest RepoDeletePushMirror MimeNoContent NoContent MimeNoContent |
DELETE /repos/{owner}/{repo}/push_mirrors/{name}
deletes a push mirror from a repository by remoteName
AuthMethod: AuthApiKeyTOTPHeader
, AuthApiKeyAuthorizationHeaderToken
, AuthApiKeySudoHeader
, AuthBasicBasicAuth
, AuthApiKeyAccessToken
, AuthApiKeySudoParam
, AuthApiKeyToken
data RepoDeletePushMirror Source #
Instances
repoDeleteRelease
Arguments
:: Owner | "owner" - owner of the repo |
-> Repo | "repo" - name of the repo |
-> Id | "id" - id of the release to delete |
-> GiteaRequest RepoDeleteRelease MimeNoContent NoContent MimeNoContent |
DELETE /repos/{owner}/{repo}/releases/{id}
Delete a release
AuthMethod: AuthApiKeyTOTPHeader
, AuthApiKeyAuthorizationHeaderToken
, AuthApiKeySudoHeader
, AuthBasicBasicAuth
, AuthApiKeyAccessToken
, AuthApiKeySudoParam
, AuthApiKeyToken
data RepoDeleteRelease Source #
Instances
repoDeleteReleaseAttachment
repoDeleteReleaseAttachment Source #
Arguments
:: Owner | "owner" - owner of the repo |
-> Repo | "repo" - name of the repo |
-> Id | "id" - id of the release |
-> AttachmentId | "attachmentId" - id of the attachment to delete |
-> GiteaRequest RepoDeleteReleaseAttachment MimeNoContent NoContent MimeNoContent |
DELETE /repos/{owner}/{repo}/releases/{id}/assets/{attachment_id}
Delete a release attachment
AuthMethod: AuthApiKeyTOTPHeader
, AuthApiKeyAuthorizationHeaderToken
, AuthApiKeySudoHeader
, AuthBasicBasicAuth
, AuthApiKeyAccessToken
, AuthApiKeySudoParam
, AuthApiKeyToken
data RepoDeleteReleaseAttachment Source #
Instances
repoDeleteReleaseByTag
repoDeleteReleaseByTag Source #
Arguments
:: Owner | "owner" - owner of the repo |
-> Repo | "repo" - name of the repo |
-> Tag2 | "tag" - tag name of the release to delete |
-> GiteaRequest RepoDeleteReleaseByTag MimeNoContent NoContent MimeNoContent |
DELETE /repos/{owner}/{repo}/releases/tags/{tag}
Delete a release by tag name
AuthMethod: AuthApiKeyTOTPHeader
, AuthApiKeyAuthorizationHeaderToken
, AuthApiKeySudoHeader
, AuthBasicBasicAuth
, AuthApiKeyAccessToken
, AuthApiKeySudoParam
, AuthApiKeyToken
data RepoDeleteReleaseByTag Source #
Instances
repoDeleteTag
Arguments
:: Owner | "owner" - owner of the repo |
-> Repo | "repo" - name of the repo |
-> Tag2 | "tag" - name of tag to delete |
-> GiteaRequest RepoDeleteTag MimeNoContent NoContent MimeNoContent |
DELETE /repos/{owner}/{repo}/tags/{tag}
Delete a repository's tag by name
AuthMethod: AuthApiKeyTOTPHeader
, AuthApiKeyAuthorizationHeaderToken
, AuthApiKeySudoHeader
, AuthBasicBasicAuth
, AuthApiKeyAccessToken
, AuthApiKeySudoParam
, AuthApiKeyToken
data RepoDeleteTag Source #
Instances
Produces RepoDeleteTag MimeNoContent Source # | |
Defined in Gitea.API.Repository |
repoDeleteTagProtection
repoDeleteTagProtection Source #
Arguments
:: Owner | "owner" - owner of the repo |
-> Repo | "repo" - name of the repo |
-> IdInt | "id" - id of protected tag |
-> GiteaRequest RepoDeleteTagProtection MimeNoContent NoContent MimeNoContent |
DELETE /repos/{owner}/{repo}/tag_protections/{id}
Delete a specific tag protection for the repository
AuthMethod: AuthApiKeyTOTPHeader
, AuthApiKeyAuthorizationHeaderToken
, AuthApiKeySudoHeader
, AuthBasicBasicAuth
, AuthApiKeyAccessToken
, AuthApiKeySudoParam
, AuthApiKeyToken
data RepoDeleteTagProtection Source #
Instances
repoDeleteTeam
Arguments
:: Owner | "owner" - owner of the repo |
-> Repo | "repo" - name of the repo |
-> Team2 | "team" - team name |
-> GiteaRequest RepoDeleteTeam MimeNoContent NoContent MimeNoContent |
DELETE /repos/{owner}/{repo}/teams/{team}
Delete a team from a repository
AuthMethod: AuthApiKeyTOTPHeader
, AuthApiKeyAuthorizationHeaderToken
, AuthApiKeySudoHeader
, AuthBasicBasicAuth
, AuthApiKeyAccessToken
, AuthApiKeySudoParam
, AuthApiKeyToken
data RepoDeleteTeam Source #
Instances
Produces RepoDeleteTeam MimeNoContent Source # | |
Defined in Gitea.API.Repository |
repoDeleteTopic
Arguments
:: Owner | "owner" - owner of the repo |
-> Repo | "repo" - name of the repo |
-> TopicText | "topic" - name of the topic to delete |
-> GiteaRequest RepoDeleteTopic MimeNoContent NoContent MimeNoContent |
DELETE /repos/{owner}/{repo}/topics/{topic}
Delete a topic from a repository
AuthMethod: AuthApiKeyTOTPHeader
, AuthApiKeyAuthorizationHeaderToken
, AuthApiKeySudoHeader
, AuthBasicBasicAuth
, AuthApiKeyAccessToken
, AuthApiKeySudoParam
, AuthApiKeyToken
data RepoDeleteTopic Source #
Instances
Produces RepoDeleteTopic MimeNoContent Source # | |
Defined in Gitea.API.Repository |
repoDeleteWikiPage
Arguments
:: Owner | "owner" - owner of the repo |
-> Repo | "repo" - name of the repo |
-> PageName | "pageName" - name of the page |
-> GiteaRequest RepoDeleteWikiPage MimeNoContent NoContent MimeNoContent |
DELETE /repos/{owner}/{repo}/wiki/page/{pageName}
Delete a wiki page
AuthMethod: AuthApiKeyTOTPHeader
, AuthApiKeyAuthorizationHeaderToken
, AuthApiKeySudoHeader
, AuthBasicBasicAuth
, AuthApiKeyAccessToken
, AuthApiKeySudoParam
, AuthApiKeyToken
data RepoDeleteWikiPage Source #
Instances
repoDismissPullReview
repoDismissPullReview Source #
Arguments
:: (Consumes RepoDismissPullReview contentType, MimeRender contentType DismissPullReviewOptions) | |
=> ContentType contentType | request content-type ( |
-> DismissPullReviewOptions | "body" |
-> Owner | "owner" - owner of the repo |
-> Repo | "repo" - name of the repo |
-> Index | "index" - index of the pull request |
-> Id | "id" - id of the review |
-> GiteaRequest RepoDismissPullReview contentType PullReview MimeJSON |
POST /repos/{owner}/{repo}/pulls/{index}/reviews/{id}/dismissals
Dismiss a review for a pull request
AuthMethod: AuthApiKeyTOTPHeader
, AuthApiKeyAuthorizationHeaderToken
, AuthApiKeySudoHeader
, AuthBasicBasicAuth
, AuthApiKeyAccessToken
, AuthApiKeySudoParam
, AuthApiKeyToken
data RepoDismissPullReview Source #
Instances
HasBodyParam RepoDismissPullReview DismissPullReviewOptions Source # | |
Defined in Gitea.API.Repository Methods setBodyParam :: (Consumes RepoDismissPullReview contentType, MimeRender contentType DismissPullReviewOptions) => GiteaRequest RepoDismissPullReview contentType res accept -> DismissPullReviewOptions -> GiteaRequest RepoDismissPullReview contentType res accept Source # | |
Consumes RepoDismissPullReview MimeJSON Source # | application/json |
Defined in Gitea.API.Repository | |
Consumes RepoDismissPullReview MimePlainText Source # | text/plain |
Defined in Gitea.API.Repository | |
Produces RepoDismissPullReview MimeJSON Source # | application/json |
Defined in Gitea.API.Repository |
repoDownloadCommitDiffOrPatch
repoDownloadCommitDiffOrPatch Source #
Arguments
:: Owner | "owner" - owner of the repo |
-> Repo | "repo" - name of the repo |
-> Sha | "sha" - SHA of the commit to get |
-> DiffType | "diffType" - whether the output is diff or patch |
-> GiteaRequest RepoDownloadCommitDiffOrPatch MimeNoContent Text MimePlainText |
GET /repos/{owner}/{repo}/git/commits/{sha}.{diffType}
Get a commit's diff or patch
AuthMethod: AuthApiKeyTOTPHeader
, AuthApiKeyAuthorizationHeaderToken
, AuthApiKeySudoHeader
, AuthBasicBasicAuth
, AuthApiKeyAccessToken
, AuthApiKeySudoParam
, AuthApiKeyToken
data RepoDownloadCommitDiffOrPatch Source #
Instances
Produces RepoDownloadCommitDiffOrPatch MimePlainText Source # | text/plain |
Defined in Gitea.API.Repository |
repoDownloadPullDiffOrPatch
repoDownloadPullDiffOrPatch Source #
Arguments
:: Owner | "owner" - owner of the repo |
-> Repo | "repo" - name of the repo |
-> Index | "index" - index of the pull request to get |
-> DiffType | "diffType" - whether the output is diff or patch |
-> GiteaRequest RepoDownloadPullDiffOrPatch MimeNoContent Text MimePlainText |
GET /repos/{owner}/{repo}/pulls/{index}.{diffType}
Get a pull request diff or patch
AuthMethod: AuthApiKeyTOTPHeader
, AuthApiKeyAuthorizationHeaderToken
, AuthApiKeySudoHeader
, AuthBasicBasicAuth
, AuthApiKeyAccessToken
, AuthApiKeySudoParam
, AuthApiKeyToken
data RepoDownloadPullDiffOrPatch Source #
Instances
HasOptionalParam RepoDownloadPullDiffOrPatch ParamBinary Source # | Optional Param "binary" - whether to include binary file changes. if true, the diff is applicable with `git apply` |
Defined in Gitea.API.Repository Methods applyOptionalParam :: GiteaRequest RepoDownloadPullDiffOrPatch contentType res accept -> ParamBinary -> GiteaRequest RepoDownloadPullDiffOrPatch contentType res accept Source # (-&-) :: GiteaRequest RepoDownloadPullDiffOrPatch contentType res accept -> ParamBinary -> GiteaRequest RepoDownloadPullDiffOrPatch contentType res accept Source # | |
Produces RepoDownloadPullDiffOrPatch MimePlainText Source # | text/plain |
Defined in Gitea.API.Repository |
repoEdit
Arguments
:: Consumes RepoEdit contentType | |
=> ContentType contentType | request content-type ( |
-> Owner | "owner" - owner of the repo to edit |
-> Repo | "repo" - name of the repo to edit |
-> GiteaRequest RepoEdit contentType Repository MimeJSON |
PATCH /repos/{owner}/{repo}
Edit a repository's properties. Only fields that are set will be changed.
AuthMethod: AuthApiKeyTOTPHeader
, AuthApiKeyAuthorizationHeaderToken
, AuthApiKeySudoHeader
, AuthBasicBasicAuth
, AuthApiKeyAccessToken
, AuthApiKeySudoParam
, AuthApiKeyToken
Instances
HasBodyParam RepoEdit EditRepoOption Source # | Body Param "body" - Properties of a repo that you can edit |
Defined in Gitea.API.Repository Methods setBodyParam :: (Consumes RepoEdit contentType, MimeRender contentType EditRepoOption) => GiteaRequest RepoEdit contentType res accept -> EditRepoOption -> GiteaRequest RepoEdit contentType res accept Source # | |
Consumes RepoEdit MimeJSON Source # | application/json |
Defined in Gitea.API.Repository | |
Consumes RepoEdit MimePlainText Source # | text/plain |
Defined in Gitea.API.Repository | |
Produces RepoEdit MimeJSON Source # | application/json |
Defined in Gitea.API.Repository |
repoEditBranchProtection
repoEditBranchProtection Source #
Arguments
:: Consumes RepoEditBranchProtection MimeJSON | |
=> Owner | "owner" - owner of the repo |
-> Repo | "repo" - name of the repo |
-> Name | "name" - name of protected branch |
-> GiteaRequest RepoEditBranchProtection MimeJSON BranchProtection MimeJSON |
PATCH /repos/{owner}/{repo}/branch_protections/{name}
Edit a branch protections for a repository. Only fields that are set will be changed
AuthMethod: AuthApiKeyTOTPHeader
, AuthApiKeyAuthorizationHeaderToken
, AuthApiKeySudoHeader
, AuthBasicBasicAuth
, AuthApiKeyAccessToken
, AuthApiKeySudoParam
, AuthApiKeyToken
data RepoEditBranchProtection Source #
Instances
HasBodyParam RepoEditBranchProtection EditBranchProtectionOption Source # | |
Defined in Gitea.API.Repository Methods setBodyParam :: (Consumes RepoEditBranchProtection contentType, MimeRender contentType EditBranchProtectionOption) => GiteaRequest RepoEditBranchProtection contentType res accept -> EditBranchProtectionOption -> GiteaRequest RepoEditBranchProtection contentType res accept Source # | |
Consumes RepoEditBranchProtection MimeJSON Source # | application/json |
Defined in Gitea.API.Repository | |
Produces RepoEditBranchProtection MimeJSON Source # | application/json |
Defined in Gitea.API.Repository |
repoEditGitHook
Arguments
:: Consumes RepoEditGitHook contentType | |
=> ContentType contentType | request content-type ( |
-> Owner | "owner" - owner of the repo |
-> Repo | "repo" - name of the repo |
-> IdText | "id" - id of the hook to get |
-> GiteaRequest RepoEditGitHook contentType GitHook MimeJSON |
PATCH /repos/{owner}/{repo}/hooks/git/{id}
Edit a Git hook in a repository
AuthMethod: AuthApiKeyTOTPHeader
, AuthApiKeyAuthorizationHeaderToken
, AuthApiKeySudoHeader
, AuthBasicBasicAuth
, AuthApiKeyAccessToken
, AuthApiKeySudoParam
, AuthApiKeyToken
data RepoEditGitHook Source #
Instances
HasBodyParam RepoEditGitHook EditGitHookOption Source # | |
Defined in Gitea.API.Repository Methods setBodyParam :: (Consumes RepoEditGitHook contentType, MimeRender contentType EditGitHookOption) => GiteaRequest RepoEditGitHook contentType res accept -> EditGitHookOption -> GiteaRequest RepoEditGitHook contentType res accept Source # | |
Consumes RepoEditGitHook MimeJSON Source # | application/json |
Defined in Gitea.API.Repository | |
Consumes RepoEditGitHook MimePlainText Source # | text/plain |
Defined in Gitea.API.Repository | |
Produces RepoEditGitHook MimeJSON Source # | application/json |
Defined in Gitea.API.Repository |
repoEditHook
Arguments
:: Consumes RepoEditHook contentType | |
=> ContentType contentType | request content-type ( |
-> Owner | "owner" - owner of the repo |
-> Repo | "repo" - name of the repo |
-> Id | "id" - index of the hook |
-> GiteaRequest RepoEditHook contentType Hook MimeJSON |
PATCH /repos/{owner}/{repo}/hooks/{id}
Edit a hook in a repository
AuthMethod: AuthApiKeyTOTPHeader
, AuthApiKeyAuthorizationHeaderToken
, AuthApiKeySudoHeader
, AuthBasicBasicAuth
, AuthApiKeyAccessToken
, AuthApiKeySudoParam
, AuthApiKeyToken
data RepoEditHook Source #
Instances
HasBodyParam RepoEditHook EditHookOption Source # | |
Defined in Gitea.API.Repository Methods setBodyParam :: (Consumes RepoEditHook contentType, MimeRender contentType EditHookOption) => GiteaRequest RepoEditHook contentType res accept -> EditHookOption -> GiteaRequest RepoEditHook contentType res accept Source # | |
Consumes RepoEditHook MimeJSON Source # | application/json |
Defined in Gitea.API.Repository | |
Consumes RepoEditHook MimePlainText Source # | text/plain |
Defined in Gitea.API.Repository | |
Produces RepoEditHook MimeJSON Source # | application/json |
Defined in Gitea.API.Repository |
repoEditPullRequest
Arguments
:: Consumes RepoEditPullRequest MimeJSON | |
=> Owner | "owner" - owner of the repo |
-> Repo | "repo" - name of the repo |
-> Index | "index" - index of the pull request to edit |
-> GiteaRequest RepoEditPullRequest MimeJSON PullRequest MimeJSON |
PATCH /repos/{owner}/{repo}/pulls/{index}
Update a pull request. If using deadline only the date will be taken into account, and time of day ignored.
AuthMethod: AuthApiKeyTOTPHeader
, AuthApiKeyAuthorizationHeaderToken
, AuthApiKeySudoHeader
, AuthBasicBasicAuth
, AuthApiKeyAccessToken
, AuthApiKeySudoParam
, AuthApiKeyToken
data RepoEditPullRequest Source #
Instances
HasBodyParam RepoEditPullRequest EditPullRequestOption Source # | |
Defined in Gitea.API.Repository Methods setBodyParam :: (Consumes RepoEditPullRequest contentType, MimeRender contentType EditPullRequestOption) => GiteaRequest RepoEditPullRequest contentType res accept -> EditPullRequestOption -> GiteaRequest RepoEditPullRequest contentType res accept Source # | |
Consumes RepoEditPullRequest MimeJSON Source # | application/json |
Defined in Gitea.API.Repository | |
Produces RepoEditPullRequest MimeJSON Source # | application/json |
Defined in Gitea.API.Repository |
repoEditRelease
Arguments
:: Consumes RepoEditRelease MimeJSON | |
=> Owner | "owner" - owner of the repo |
-> Repo | "repo" - name of the repo |
-> Id | "id" - id of the release to edit |
-> GiteaRequest RepoEditRelease MimeJSON Release MimeJSON |
PATCH /repos/{owner}/{repo}/releases/{id}
Update a release
AuthMethod: AuthApiKeyTOTPHeader
, AuthApiKeyAuthorizationHeaderToken
, AuthApiKeySudoHeader
, AuthBasicBasicAuth
, AuthApiKeyAccessToken
, AuthApiKeySudoParam
, AuthApiKeyToken
data RepoEditRelease Source #
Instances
HasBodyParam RepoEditRelease EditReleaseOption Source # | |
Defined in Gitea.API.Repository Methods setBodyParam :: (Consumes RepoEditRelease contentType, MimeRender contentType EditReleaseOption) => GiteaRequest RepoEditRelease contentType res accept -> EditReleaseOption -> GiteaRequest RepoEditRelease contentType res accept Source # | |
Consumes RepoEditRelease MimeJSON Source # | application/json |
Defined in Gitea.API.Repository | |
Produces RepoEditRelease MimeJSON Source # | application/json |
Defined in Gitea.API.Repository |
repoEditReleaseAttachment
repoEditReleaseAttachment Source #
Arguments
:: Consumes RepoEditReleaseAttachment MimeJSON | |
=> Owner | "owner" - owner of the repo |
-> Repo | "repo" - name of the repo |
-> Id | "id" - id of the release |
-> AttachmentId | "attachmentId" - id of the attachment to edit |
-> GiteaRequest RepoEditReleaseAttachment MimeJSON Attachment MimeJSON |
PATCH /repos/{owner}/{repo}/releases/{id}/assets/{attachment_id}
Edit a release attachment
AuthMethod: AuthApiKeyTOTPHeader
, AuthApiKeyAuthorizationHeaderToken
, AuthApiKeySudoHeader
, AuthBasicBasicAuth
, AuthApiKeyAccessToken
, AuthApiKeySudoParam
, AuthApiKeyToken
data RepoEditReleaseAttachment Source #
Instances
HasBodyParam RepoEditReleaseAttachment EditAttachmentOptions Source # | |
Defined in Gitea.API.Repository Methods setBodyParam :: (Consumes RepoEditReleaseAttachment contentType, MimeRender contentType EditAttachmentOptions) => GiteaRequest RepoEditReleaseAttachment contentType res accept -> EditAttachmentOptions -> GiteaRequest RepoEditReleaseAttachment contentType res accept Source # | |
Consumes RepoEditReleaseAttachment MimeJSON Source # | application/json |
Defined in Gitea.API.Repository | |
Produces RepoEditReleaseAttachment MimeJSON Source # | application/json |
Defined in Gitea.API.Repository |
repoEditTagProtection
repoEditTagProtection Source #
Arguments
:: Consumes RepoEditTagProtection MimeJSON | |
=> Owner | "owner" - owner of the repo |
-> Repo | "repo" - name of the repo |
-> IdInt | "id" - id of protected tag |
-> GiteaRequest RepoEditTagProtection MimeJSON TagProtection MimeJSON |
PATCH /repos/{owner}/{repo}/tag_protections/{id}
Edit a tag protections for a repository. Only fields that are set will be changed
AuthMethod: AuthApiKeyTOTPHeader
, AuthApiKeyAuthorizationHeaderToken
, AuthApiKeySudoHeader
, AuthBasicBasicAuth
, AuthApiKeyAccessToken
, AuthApiKeySudoParam
, AuthApiKeyToken
data RepoEditTagProtection Source #
Instances
HasBodyParam RepoEditTagProtection EditTagProtectionOption Source # | |
Defined in Gitea.API.Repository Methods setBodyParam :: (Consumes RepoEditTagProtection contentType, MimeRender contentType EditTagProtectionOption) => GiteaRequest RepoEditTagProtection contentType res accept -> EditTagProtectionOption -> GiteaRequest RepoEditTagProtection contentType res accept Source # | |
Consumes RepoEditTagProtection MimeJSON Source # | application/json |
Defined in Gitea.API.Repository | |
Produces RepoEditTagProtection MimeJSON Source # | application/json |
Defined in Gitea.API.Repository |
repoEditWikiPage
Arguments
:: Consumes RepoEditWikiPage MimeJSON | |
=> Accept accept | request accept ( |
-> Owner | "owner" - owner of the repo |
-> Repo | "repo" - name of the repo |
-> PageName | "pageName" - name of the page |
-> GiteaRequest RepoEditWikiPage MimeJSON WikiPage accept |
PATCH /repos/{owner}/{repo}/wiki/page/{pageName}
Edit a wiki page
AuthMethod: AuthApiKeyTOTPHeader
, AuthApiKeyAuthorizationHeaderToken
, AuthApiKeySudoHeader
, AuthBasicBasicAuth
, AuthApiKeyAccessToken
, AuthApiKeySudoParam
, AuthApiKeyToken
data RepoEditWikiPage Source #
Instances
HasBodyParam RepoEditWikiPage CreateWikiPageOptions Source # | |
Defined in Gitea.API.Repository Methods setBodyParam :: (Consumes RepoEditWikiPage contentType, MimeRender contentType CreateWikiPageOptions) => GiteaRequest RepoEditWikiPage contentType res accept -> CreateWikiPageOptions -> GiteaRequest RepoEditWikiPage contentType res accept Source # | |
Consumes RepoEditWikiPage MimeJSON Source # | application/json |
Defined in Gitea.API.Repository | |
Produces RepoEditWikiPage MimeJSON Source # | application/json |
Defined in Gitea.API.Repository | |
Produces RepoEditWikiPage MimeTextHtml Source # | text/html |
Defined in Gitea.API.Repository |
repoGet
Arguments
:: Owner | "owner" - owner of the repo |
-> Repo | "repo" - name of the repo |
-> GiteaRequest RepoGet MimeNoContent Repository MimeJSON |
GET /repos/{owner}/{repo}
Get a repository
AuthMethod: AuthApiKeyTOTPHeader
, AuthApiKeyAuthorizationHeaderToken
, AuthApiKeySudoHeader
, AuthBasicBasicAuth
, AuthApiKeyAccessToken
, AuthApiKeySudoParam
, AuthApiKeyToken
repoGetAllCommits
Arguments
:: Owner | "owner" - owner of the repo |
-> Repo | "repo" - name of the repo |
-> GiteaRequest RepoGetAllCommits MimeNoContent [Commit] MimeJSON |
GET /repos/{owner}/{repo}/commits
Get a list of all commits from a repository
AuthMethod: AuthApiKeyTOTPHeader
, AuthApiKeyAuthorizationHeaderToken
, AuthApiKeySudoHeader
, AuthBasicBasicAuth
, AuthApiKeyAccessToken
, AuthApiKeySudoParam
, AuthApiKeyToken
data RepoGetAllCommits Source #
Instances
repoGetArchive
Arguments
:: Owner | "owner" - owner of the repo |
-> Repo | "repo" - name of the repo |
-> Archive | "archive" - the git reference for download with attached archive format (e.g. master.zip) |
-> GiteaRequest RepoGetArchive MimeNoContent NoContent MimeNoContent |
GET /repos/{owner}/{repo}/archive/{archive}
Get an archive of a repository
AuthMethod: AuthApiKeyTOTPHeader
, AuthApiKeyAuthorizationHeaderToken
, AuthApiKeySudoHeader
, AuthBasicBasicAuth
, AuthApiKeyAccessToken
, AuthApiKeySudoParam
, AuthApiKeyToken
data RepoGetArchive Source #
Instances
Produces RepoGetArchive MimeNoContent Source # | |
Defined in Gitea.API.Repository |
repoGetAssignees
Arguments
:: Owner | "owner" - owner of the repo |
-> Repo | "repo" - name of the repo |
-> GiteaRequest RepoGetAssignees MimeNoContent [User] MimeJSON |
GET /repos/{owner}/{repo}/assignees
Return all users that have write access and can be assigned to issues
AuthMethod: AuthApiKeyTOTPHeader
, AuthApiKeyAuthorizationHeaderToken
, AuthApiKeySudoHeader
, AuthBasicBasicAuth
, AuthApiKeyAccessToken
, AuthApiKeySudoParam
, AuthApiKeyToken
data RepoGetAssignees Source #
Instances
Produces RepoGetAssignees MimeJSON Source # | application/json |
Defined in Gitea.API.Repository |
repoGetBranch
Arguments
:: Owner | "owner" - owner of the repo |
-> Repo | "repo" - name of the repo |
-> Branch2 | "branch" - branch to get |
-> GiteaRequest RepoGetBranch MimeNoContent Branch MimeJSON |
GET /repos/{owner}/{repo}/branches/{branch}
Retrieve a specific branch from a repository, including its effective branch protection
AuthMethod: AuthApiKeyTOTPHeader
, AuthApiKeyAuthorizationHeaderToken
, AuthApiKeySudoHeader
, AuthBasicBasicAuth
, AuthApiKeyAccessToken
, AuthApiKeySudoParam
, AuthApiKeyToken
data RepoGetBranch Source #
Instances
Produces RepoGetBranch MimeJSON Source # | application/json |
Defined in Gitea.API.Repository |
repoGetBranchProtection
repoGetBranchProtection Source #
Arguments
:: Owner | "owner" - owner of the repo |
-> Repo | "repo" - name of the repo |
-> Name | "name" - name of protected branch |
-> GiteaRequest RepoGetBranchProtection MimeNoContent BranchProtection MimeJSON |
GET /repos/{owner}/{repo}/branch_protections/{name}
Get a specific branch protection for the repository
AuthMethod: AuthApiKeyTOTPHeader
, AuthApiKeyAuthorizationHeaderToken
, AuthApiKeySudoHeader
, AuthBasicBasicAuth
, AuthApiKeyAccessToken
, AuthApiKeySudoParam
, AuthApiKeyToken
data RepoGetBranchProtection Source #
Instances
Produces RepoGetBranchProtection MimeJSON Source # | application/json |
Defined in Gitea.API.Repository |
repoGetByID
Arguments
:: Id | "id" - id of the repo to get |
-> GiteaRequest RepoGetByID MimeNoContent Repository MimeJSON |
GET /repositories/{id}
Get a repository by id
AuthMethod: AuthApiKeyTOTPHeader
, AuthApiKeyAuthorizationHeaderToken
, AuthApiKeySudoHeader
, AuthBasicBasicAuth
, AuthApiKeyAccessToken
, AuthApiKeySudoParam
, AuthApiKeyToken
data RepoGetByID Source #
Instances
Produces RepoGetByID MimeJSON Source # | application/json |
Defined in Gitea.API.Repository |
repoGetCombinedStatusByRef
repoGetCombinedStatusByRef Source #
Arguments
:: Owner | "owner" - owner of the repo |
-> Repo | "repo" - name of the repo |
-> Ref | "ref" - name of branchtagcommit |
-> GiteaRequest RepoGetCombinedStatusByRef MimeNoContent CombinedStatus MimeJSON |
GET /repos/{owner}/{repo}/commits/{ref}/status
Get a commit's combined status, by branchtagcommit reference
AuthMethod: AuthApiKeyTOTPHeader
, AuthApiKeyAuthorizationHeaderToken
, AuthApiKeySudoHeader
, AuthBasicBasicAuth
, AuthApiKeyAccessToken
, AuthApiKeySudoParam
, AuthApiKeyToken
data RepoGetCombinedStatusByRef Source #
Instances
repoGetCommitPullRequest
repoGetCommitPullRequest Source #
Arguments
:: Owner | "owner" - owner of the repo |
-> Repo | "repo" - name of the repo |
-> Sha | "sha" - SHA of the commit to get |
-> GiteaRequest RepoGetCommitPullRequest MimeNoContent PullRequest MimeJSON |
GET /repos/{owner}/{repo}/commits/{sha}/pull
Get the merged pull request of the commit
AuthMethod: AuthApiKeyTOTPHeader
, AuthApiKeyAuthorizationHeaderToken
, AuthApiKeySudoHeader
, AuthBasicBasicAuth
, AuthApiKeyAccessToken
, AuthApiKeySudoParam
, AuthApiKeyToken
data RepoGetCommitPullRequest Source #
Instances
Produces RepoGetCommitPullRequest MimeJSON Source # | application/json |
Defined in Gitea.API.Repository |
repoGetContents
Arguments
:: Owner | "owner" - owner of the repo |
-> Repo | "repo" - name of the repo |
-> Filepath | "filepath" - path of the dir, file, symlink or submodule in the repo |
-> GiteaRequest RepoGetContents MimeNoContent ContentsResponse MimeJSON |
GET /repos/{owner}/{repo}/contents/{filepath}
Gets the metadata and contents (if a file) of an entry in a repository, or a list of entries if a dir
AuthMethod: AuthApiKeyTOTPHeader
, AuthApiKeyAuthorizationHeaderToken
, AuthApiKeySudoHeader
, AuthBasicBasicAuth
, AuthApiKeyAccessToken
, AuthApiKeySudoParam
, AuthApiKeyToken
data RepoGetContents Source #
Instances
HasOptionalParam RepoGetContents Ref Source # | Optional Param "ref" - The name of the commitbranchtag. Default the repository’s default branch (usually master) |
Defined in Gitea.API.Repository Methods applyOptionalParam :: GiteaRequest RepoGetContents contentType res accept -> Ref -> GiteaRequest RepoGetContents contentType res accept Source # (-&-) :: GiteaRequest RepoGetContents contentType res accept -> Ref -> GiteaRequest RepoGetContents contentType res accept Source # | |
Produces RepoGetContents MimeJSON Source # | application/json |
Defined in Gitea.API.Repository |
repoGetContentsList
Arguments
:: Owner | "owner" - owner of the repo |
-> Repo | "repo" - name of the repo |
-> GiteaRequest RepoGetContentsList MimeNoContent [ContentsResponse] MimeJSON |
GET /repos/{owner}/{repo}/contents
Gets the metadata of all the entries of the root dir
AuthMethod: AuthApiKeyTOTPHeader
, AuthApiKeyAuthorizationHeaderToken
, AuthApiKeySudoHeader
, AuthBasicBasicAuth
, AuthApiKeyAccessToken
, AuthApiKeySudoParam
, AuthApiKeyToken
data RepoGetContentsList Source #
Instances
HasOptionalParam RepoGetContentsList Ref Source # | Optional Param "ref" - The name of the commitbranchtag. Default the repository’s default branch (usually master) |
Defined in Gitea.API.Repository Methods applyOptionalParam :: GiteaRequest RepoGetContentsList contentType res accept -> Ref -> GiteaRequest RepoGetContentsList contentType res accept Source # (-&-) :: GiteaRequest RepoGetContentsList contentType res accept -> Ref -> GiteaRequest RepoGetContentsList contentType res accept Source # | |
Produces RepoGetContentsList MimeJSON Source # | application/json |
Defined in Gitea.API.Repository |
repoGetEditorConfig
Arguments
:: Owner | "owner" - owner of the repo |
-> Repo | "repo" - name of the repo |
-> Filepath | "filepath" - filepath of file to get |
-> GiteaRequest RepoGetEditorConfig MimeNoContent NoContent MimeNoContent |
GET /repos/{owner}/{repo}/editorconfig/{filepath}
Get the EditorConfig definitions of a file in a repository
AuthMethod: AuthApiKeyTOTPHeader
, AuthApiKeyAuthorizationHeaderToken
, AuthApiKeySudoHeader
, AuthBasicBasicAuth
, AuthApiKeyAccessToken
, AuthApiKeySudoParam
, AuthApiKeyToken
data RepoGetEditorConfig Source #
Instances
HasOptionalParam RepoGetEditorConfig Ref Source # | Optional Param "ref" - The name of the commitbranchtag. Default the repository’s default branch (usually master) |
Defined in Gitea.API.Repository Methods applyOptionalParam :: GiteaRequest RepoGetEditorConfig contentType res accept -> Ref -> GiteaRequest RepoGetEditorConfig contentType res accept Source # (-&-) :: GiteaRequest RepoGetEditorConfig contentType res accept -> Ref -> GiteaRequest RepoGetEditorConfig contentType res accept Source # | |
Produces RepoGetEditorConfig MimeNoContent Source # | |
Defined in Gitea.API.Repository |
repoGetGitHook
Arguments
:: Owner | "owner" - owner of the repo |
-> Repo | "repo" - name of the repo |
-> IdText | "id" - id of the hook to get |
-> GiteaRequest RepoGetGitHook MimeNoContent GitHook MimeJSON |
GET /repos/{owner}/{repo}/hooks/git/{id}
Get a Git hook
AuthMethod: AuthApiKeyTOTPHeader
, AuthApiKeyAuthorizationHeaderToken
, AuthApiKeySudoHeader
, AuthBasicBasicAuth
, AuthApiKeyAccessToken
, AuthApiKeySudoParam
, AuthApiKeyToken
data RepoGetGitHook Source #
Instances
Produces RepoGetGitHook MimeJSON Source # | application/json |
Defined in Gitea.API.Repository |
repoGetHook
Arguments
:: Owner | "owner" - owner of the repo |
-> Repo | "repo" - name of the repo |
-> Id | "id" - id of the hook to get |
-> GiteaRequest RepoGetHook MimeNoContent Hook MimeJSON |
GET /repos/{owner}/{repo}/hooks/{id}
Get a hook
AuthMethod: AuthApiKeyTOTPHeader
, AuthApiKeyAuthorizationHeaderToken
, AuthApiKeySudoHeader
, AuthBasicBasicAuth
, AuthApiKeyAccessToken
, AuthApiKeySudoParam
, AuthApiKeyToken
data RepoGetHook Source #
Instances
Produces RepoGetHook MimeJSON Source # | application/json |
Defined in Gitea.API.Repository |
repoGetIssueConfig
Arguments
:: Owner | "owner" - owner of the repo |
-> Repo | "repo" - name of the repo |
-> GiteaRequest RepoGetIssueConfig MimeNoContent IssueConfig MimeJSON |
GET /repos/{owner}/{repo}/issue_config
Returns the issue config for a repo
AuthMethod: AuthApiKeyTOTPHeader
, AuthApiKeyAuthorizationHeaderToken
, AuthApiKeySudoHeader
, AuthBasicBasicAuth
, AuthApiKeyAccessToken
, AuthApiKeySudoParam
, AuthApiKeyToken
data RepoGetIssueConfig Source #
Instances
Produces RepoGetIssueConfig MimeJSON Source # | application/json |
Defined in Gitea.API.Repository |
repoGetIssueTemplates
repoGetIssueTemplates Source #
Arguments
:: Owner | "owner" - owner of the repo |
-> Repo | "repo" - name of the repo |
-> GiteaRequest RepoGetIssueTemplates MimeNoContent [IssueTemplate] MimeJSON |
GET /repos/{owner}/{repo}/issue_templates
Get available issue templates for a repository
AuthMethod: AuthApiKeyTOTPHeader
, AuthApiKeyAuthorizationHeaderToken
, AuthApiKeySudoHeader
, AuthBasicBasicAuth
, AuthApiKeyAccessToken
, AuthApiKeySudoParam
, AuthApiKeyToken
data RepoGetIssueTemplates Source #
Instances
Produces RepoGetIssueTemplates MimeJSON Source # | application/json |
Defined in Gitea.API.Repository |
repoGetKey
Arguments
:: Owner | "owner" - owner of the repo |
-> Repo | "repo" - name of the repo |
-> Id | "id" - id of the key to get |
-> GiteaRequest RepoGetKey MimeNoContent DeployKey MimeJSON |
GET /repos/{owner}/{repo}/keys/{id}
Get a repository's key by id
AuthMethod: AuthApiKeyTOTPHeader
, AuthApiKeyAuthorizationHeaderToken
, AuthApiKeySudoHeader
, AuthBasicBasicAuth
, AuthApiKeyAccessToken
, AuthApiKeySudoParam
, AuthApiKeyToken
data RepoGetKey Source #
Instances
Produces RepoGetKey MimeJSON Source # | application/json |
Defined in Gitea.API.Repository |
repoGetLanguages
Arguments
:: Owner | "owner" - owner of the repo |
-> Repo | "repo" - name of the repo |
-> GiteaRequest RepoGetLanguages MimeNoContent (Map String Integer) MimeJSON |
GET /repos/{owner}/{repo}/languages
Get languages and number of bytes of code written
AuthMethod: AuthApiKeyTOTPHeader
, AuthApiKeyAuthorizationHeaderToken
, AuthApiKeySudoHeader
, AuthBasicBasicAuth
, AuthApiKeyAccessToken
, AuthApiKeySudoParam
, AuthApiKeyToken
data RepoGetLanguages Source #
Instances
Produces RepoGetLanguages MimeJSON Source # | application/json |
Defined in Gitea.API.Repository |
repoGetLatestRelease
Arguments
:: Owner | "owner" - owner of the repo |
-> Repo | "repo" - name of the repo |
-> GiteaRequest RepoGetLatestRelease MimeNoContent Release MimeJSON |
GET /repos/{owner}/{repo}/releases/latest
Gets the most recent non-prerelease, non-draft release of a repository, sorted by created_at
AuthMethod: AuthApiKeyTOTPHeader
, AuthApiKeyAuthorizationHeaderToken
, AuthApiKeySudoHeader
, AuthBasicBasicAuth
, AuthApiKeyAccessToken
, AuthApiKeySudoParam
, AuthApiKeyToken
data RepoGetLatestRelease Source #
Instances
Produces RepoGetLatestRelease MimeJSON Source # | application/json |
Defined in Gitea.API.Repository |
repoGetLicenses
Arguments
:: Owner | "owner" - owner of the repo |
-> Repo | "repo" - name of the repo |
-> GiteaRequest RepoGetLicenses MimeNoContent [Text] MimeJSON |
GET /repos/{owner}/{repo}/licenses
Get repo licenses
AuthMethod: AuthApiKeyTOTPHeader
, AuthApiKeyAuthorizationHeaderToken
, AuthApiKeySudoHeader
, AuthBasicBasicAuth
, AuthApiKeyAccessToken
, AuthApiKeySudoParam
, AuthApiKeyToken
data RepoGetLicenses Source #
Instances
Produces RepoGetLicenses MimeJSON Source # | application/json |
Defined in Gitea.API.Repository |
repoGetNote
Arguments
:: Owner | "owner" - owner of the repo |
-> Repo | "repo" - name of the repo |
-> Sha | "sha" - a git ref or commit sha |
-> GiteaRequest RepoGetNote MimeNoContent Note MimeJSON |
GET /repos/{owner}/{repo}/git/notes/{sha}
Get a note corresponding to a single commit from a repository
AuthMethod: AuthApiKeyTOTPHeader
, AuthApiKeyAuthorizationHeaderToken
, AuthApiKeySudoHeader
, AuthBasicBasicAuth
, AuthApiKeyAccessToken
, AuthApiKeySudoParam
, AuthApiKeyToken
data RepoGetNote Source #
Instances
HasOptionalParam RepoGetNote Files Source # | Optional Param "files" - include a list of affected files for every commit (disable for speedup, default |
Defined in Gitea.API.Repository Methods applyOptionalParam :: GiteaRequest RepoGetNote contentType res accept -> Files -> GiteaRequest RepoGetNote contentType res accept Source # (-&-) :: GiteaRequest RepoGetNote contentType res accept -> Files -> GiteaRequest RepoGetNote contentType res accept Source # | |
HasOptionalParam RepoGetNote Verification Source # | Optional Param "verification" - include verification for every commit (disable for speedup, default |
Defined in Gitea.API.Repository Methods applyOptionalParam :: GiteaRequest RepoGetNote contentType res accept -> Verification -> GiteaRequest RepoGetNote contentType res accept Source # (-&-) :: GiteaRequest RepoGetNote contentType res accept -> Verification -> GiteaRequest RepoGetNote contentType res accept Source # | |
Produces RepoGetNote MimeJSON Source # | application/json |
Defined in Gitea.API.Repository |
repoGetPullRequest
Arguments
:: Owner | "owner" - owner of the repo |
-> Repo | "repo" - name of the repo |
-> Index | "index" - index of the pull request to get |
-> GiteaRequest RepoGetPullRequest MimeNoContent PullRequest MimeJSON |
GET /repos/{owner}/{repo}/pulls/{index}
Get a pull request
AuthMethod: AuthApiKeyTOTPHeader
, AuthApiKeyAuthorizationHeaderToken
, AuthApiKeySudoHeader
, AuthBasicBasicAuth
, AuthApiKeyAccessToken
, AuthApiKeySudoParam
, AuthApiKeyToken
data RepoGetPullRequest Source #
Instances
Produces RepoGetPullRequest MimeJSON Source # | application/json |
Defined in Gitea.API.Repository |
repoGetPullRequestByBaseHead
repoGetPullRequestByBaseHead Source #
Arguments
:: Owner | "owner" - owner of the repo |
-> Repo | "repo" - name of the repo |
-> Base | "base" - base of the pull request to get |
-> Head | "head" - head of the pull request to get |
-> GiteaRequest RepoGetPullRequestByBaseHead MimeNoContent PullRequest MimeJSON |
GET /repos/{owner}/{repo}/pulls/{base}/{head}
Get a pull request by base and head
AuthMethod: AuthApiKeyTOTPHeader
, AuthApiKeyAuthorizationHeaderToken
, AuthApiKeySudoHeader
, AuthBasicBasicAuth
, AuthApiKeyAccessToken
, AuthApiKeySudoParam
, AuthApiKeyToken
data RepoGetPullRequestByBaseHead Source #
Instances
Produces RepoGetPullRequestByBaseHead MimeJSON Source # | application/json |
Defined in Gitea.API.Repository |
repoGetPullRequestCommits
repoGetPullRequestCommits Source #
Arguments
:: Owner | "owner" - owner of the repo |
-> Repo | "repo" - name of the repo |
-> Index | "index" - index of the pull request to get |
-> GiteaRequest RepoGetPullRequestCommits MimeNoContent [Commit] MimeJSON |
GET /repos/{owner}/{repo}/pulls/{index}/commits
Get commits for a pull request
AuthMethod: AuthApiKeyTOTPHeader
, AuthApiKeyAuthorizationHeaderToken
, AuthApiKeySudoHeader
, AuthBasicBasicAuth
, AuthApiKeyAccessToken
, AuthApiKeySudoParam
, AuthApiKeyToken
data RepoGetPullRequestCommits Source #
Instances
repoGetPullRequestFiles
repoGetPullRequestFiles Source #
Arguments
:: Owner | "owner" - owner of the repo |
-> Repo | "repo" - name of the repo |
-> Index | "index" - index of the pull request to get |
-> GiteaRequest RepoGetPullRequestFiles MimeNoContent [ChangedFile] MimeJSON |
GET /repos/{owner}/{repo}/pulls/{index}/files
Get changed files for a pull request
AuthMethod: AuthApiKeyTOTPHeader
, AuthApiKeyAuthorizationHeaderToken
, AuthApiKeySudoHeader
, AuthBasicBasicAuth
, AuthApiKeyAccessToken
, AuthApiKeySudoParam
, AuthApiKeyToken
data RepoGetPullRequestFiles Source #
Instances
repoGetPullReview
Arguments
:: Owner | "owner" - owner of the repo |
-> Repo | "repo" - name of the repo |
-> Index | "index" - index of the pull request |
-> Id | "id" - id of the review |
-> GiteaRequest RepoGetPullReview MimeNoContent PullReview MimeJSON |
GET /repos/{owner}/{repo}/pulls/{index}/reviews/{id}
Get a specific review for a pull request
AuthMethod: AuthApiKeyTOTPHeader
, AuthApiKeyAuthorizationHeaderToken
, AuthApiKeySudoHeader
, AuthBasicBasicAuth
, AuthApiKeyAccessToken
, AuthApiKeySudoParam
, AuthApiKeyToken
data RepoGetPullReview Source #
Instances
Produces RepoGetPullReview MimeJSON Source # | application/json |
Defined in Gitea.API.Repository |
repoGetPullReviewComments
repoGetPullReviewComments Source #
Arguments
:: Owner | "owner" - owner of the repo |
-> Repo | "repo" - name of the repo |
-> Index | "index" - index of the pull request |
-> Id | "id" - id of the review |
-> GiteaRequest RepoGetPullReviewComments MimeNoContent [PullReviewComment] MimeJSON |
GET /repos/{owner}/{repo}/pulls/{index}/reviews/{id}/comments
Get a specific review for a pull request
AuthMethod: AuthApiKeyTOTPHeader
, AuthApiKeyAuthorizationHeaderToken
, AuthApiKeySudoHeader
, AuthBasicBasicAuth
, AuthApiKeyAccessToken
, AuthApiKeySudoParam
, AuthApiKeyToken
data RepoGetPullReviewComments Source #
Instances
Produces RepoGetPullReviewComments MimeJSON Source # | application/json |
Defined in Gitea.API.Repository |
repoGetPushMirrorByRemoteName
repoGetPushMirrorByRemoteName Source #
Arguments
:: Owner | "owner" - owner of the repo |
-> Repo | "repo" - name of the repo |
-> Name | "name" - remote name of push mirror |
-> GiteaRequest RepoGetPushMirrorByRemoteName MimeNoContent PushMirror MimeJSON |
GET /repos/{owner}/{repo}/push_mirrors/{name}
Get push mirror of the repository by remoteName
AuthMethod: AuthApiKeyTOTPHeader
, AuthApiKeyAuthorizationHeaderToken
, AuthApiKeySudoHeader
, AuthBasicBasicAuth
, AuthApiKeyAccessToken
, AuthApiKeySudoParam
, AuthApiKeyToken
data RepoGetPushMirrorByRemoteName Source #
Instances
Produces RepoGetPushMirrorByRemoteName MimeJSON Source # | application/json |
Defined in Gitea.API.Repository |
repoGetRawFile
Arguments
:: Owner | "owner" - owner of the repo |
-> Repo | "repo" - name of the repo |
-> Filepath | "filepath" - path of the file to get, it should be "{ref}/{filepath}". If there is no ref could be inferred, it will be treated as the default branch |
-> GiteaRequest RepoGetRawFile MimeNoContent FilePath MimeOctetStream |
GET /repos/{owner}/{repo}/raw/{filepath}
Get a file from a repository
AuthMethod: AuthApiKeyTOTPHeader
, AuthApiKeyAuthorizationHeaderToken
, AuthApiKeySudoHeader
, AuthBasicBasicAuth
, AuthApiKeyAccessToken
, AuthApiKeySudoParam
, AuthApiKeyToken
data RepoGetRawFile Source #
Instances
HasOptionalParam RepoGetRawFile Ref Source # | Optional Param "ref" - The name of the commitbranchtag. Default the repository’s default branch |
Defined in Gitea.API.Repository Methods applyOptionalParam :: GiteaRequest RepoGetRawFile contentType res accept -> Ref -> GiteaRequest RepoGetRawFile contentType res accept Source # (-&-) :: GiteaRequest RepoGetRawFile contentType res accept -> Ref -> GiteaRequest RepoGetRawFile contentType res accept Source # | |
Produces RepoGetRawFile MimeOctetStream Source # | application/octet-stream |
Defined in Gitea.API.Repository |
repoGetRawFileOrLFS
Arguments
:: Owner | "owner" - owner of the repo |
-> Repo | "repo" - name of the repo |
-> Filepath | "filepath" - path of the file to get, it should be "{ref}/{filepath}". If there is no ref could be inferred, it will be treated as the default branch |
-> GiteaRequest RepoGetRawFileOrLFS MimeNoContent FilePath MimeOctetStream |
GET /repos/{owner}/{repo}/media/{filepath}
Get a file or it's LFS object from a repository
AuthMethod: AuthApiKeyTOTPHeader
, AuthApiKeyAuthorizationHeaderToken
, AuthApiKeySudoHeader
, AuthBasicBasicAuth
, AuthApiKeyAccessToken
, AuthApiKeySudoParam
, AuthApiKeyToken
data RepoGetRawFileOrLFS Source #
Instances
HasOptionalParam RepoGetRawFileOrLFS Ref Source # | Optional Param "ref" - The name of the commitbranchtag. Default the repository’s default branch |
Defined in Gitea.API.Repository Methods applyOptionalParam :: GiteaRequest RepoGetRawFileOrLFS contentType res accept -> Ref -> GiteaRequest RepoGetRawFileOrLFS contentType res accept Source # (-&-) :: GiteaRequest RepoGetRawFileOrLFS contentType res accept -> Ref -> GiteaRequest RepoGetRawFileOrLFS contentType res accept Source # | |
Produces RepoGetRawFileOrLFS MimeOctetStream Source # | application/octet-stream |
Defined in Gitea.API.Repository |
repoGetRelease
Arguments
:: Owner | "owner" - owner of the repo |
-> Repo | "repo" - name of the repo |
-> Id | "id" - id of the release to get |
-> GiteaRequest RepoGetRelease MimeNoContent Release MimeJSON |
GET /repos/{owner}/{repo}/releases/{id}
Get a release
AuthMethod: AuthApiKeyTOTPHeader
, AuthApiKeyAuthorizationHeaderToken
, AuthApiKeySudoHeader
, AuthBasicBasicAuth
, AuthApiKeyAccessToken
, AuthApiKeySudoParam
, AuthApiKeyToken
data RepoGetRelease Source #
Instances
Produces RepoGetRelease MimeJSON Source # | application/json |
Defined in Gitea.API.Repository |
repoGetReleaseAttachment
repoGetReleaseAttachment Source #
Arguments
:: Owner | "owner" - owner of the repo |
-> Repo | "repo" - name of the repo |
-> Id | "id" - id of the release |
-> AttachmentId | "attachmentId" - id of the attachment to get |
-> GiteaRequest RepoGetReleaseAttachment MimeNoContent Attachment MimeJSON |
GET /repos/{owner}/{repo}/releases/{id}/assets/{attachment_id}
Get a release attachment
AuthMethod: AuthApiKeyTOTPHeader
, AuthApiKeyAuthorizationHeaderToken
, AuthApiKeySudoHeader
, AuthBasicBasicAuth
, AuthApiKeyAccessToken
, AuthApiKeySudoParam
, AuthApiKeyToken
data RepoGetReleaseAttachment Source #
Instances
Produces RepoGetReleaseAttachment MimeJSON Source # | application/json |
Defined in Gitea.API.Repository |
repoGetReleaseByTag
Arguments
:: Owner | "owner" - owner of the repo |
-> Repo | "repo" - name of the repo |
-> Tag2 | "tag" - tag name of the release to get |
-> GiteaRequest RepoGetReleaseByTag MimeNoContent Release MimeJSON |
GET /repos/{owner}/{repo}/releases/tags/{tag}
Get a release by tag name
AuthMethod: AuthApiKeyTOTPHeader
, AuthApiKeyAuthorizationHeaderToken
, AuthApiKeySudoHeader
, AuthBasicBasicAuth
, AuthApiKeyAccessToken
, AuthApiKeySudoParam
, AuthApiKeyToken
data RepoGetReleaseByTag Source #
Instances
Produces RepoGetReleaseByTag MimeJSON Source # | application/json |
Defined in Gitea.API.Repository |
repoGetRepoPermissions
repoGetRepoPermissions Source #
Arguments
:: Owner | "owner" - owner of the repo |
-> Repo | "repo" - name of the repo |
-> Collaborator | "collaborator" - username of the collaborator |
-> GiteaRequest RepoGetRepoPermissions MimeNoContent RepoCollaboratorPermission MimeJSON |
GET /repos/{owner}/{repo}/collaborators/{collaborator}/permission
Get repository permissions for a user
AuthMethod: AuthApiKeyTOTPHeader
, AuthApiKeyAuthorizationHeaderToken
, AuthApiKeySudoHeader
, AuthBasicBasicAuth
, AuthApiKeyAccessToken
, AuthApiKeySudoParam
, AuthApiKeyToken
data RepoGetRepoPermissions Source #
Instances
Produces RepoGetRepoPermissions MimeJSON Source # | application/json |
Defined in Gitea.API.Repository |
repoGetReviewers
Arguments
:: Owner | "owner" - owner of the repo |
-> Repo | "repo" - name of the repo |
-> GiteaRequest RepoGetReviewers MimeNoContent [User] MimeJSON |
GET /repos/{owner}/{repo}/reviewers
Return all users that can be requested to review in this repo
AuthMethod: AuthApiKeyTOTPHeader
, AuthApiKeyAuthorizationHeaderToken
, AuthApiKeySudoHeader
, AuthBasicBasicAuth
, AuthApiKeyAccessToken
, AuthApiKeySudoParam
, AuthApiKeyToken
data RepoGetReviewers Source #
Instances
Produces RepoGetReviewers MimeJSON Source # | application/json |
Defined in Gitea.API.Repository |
repoGetRunnerRegistrationToken
repoGetRunnerRegistrationToken Source #
Arguments
:: Owner | "owner" - owner of the repo |
-> Repo | "repo" - name of the repo |
-> GiteaRequest RepoGetRunnerRegistrationToken MimeNoContent NoContent MimeNoContent |
GET /repos/{owner}/{repo}/actions/runners/registration-token
Get a repository's actions runner registration token
AuthMethod: AuthApiKeyTOTPHeader
, AuthApiKeyAuthorizationHeaderToken
, AuthApiKeySudoHeader
, AuthBasicBasicAuth
, AuthApiKeyAccessToken
, AuthApiKeySudoParam
, AuthApiKeyToken
data RepoGetRunnerRegistrationToken Source #
Instances
repoGetSingleCommit
Arguments
:: Owner | "owner" - owner of the repo |
-> Repo | "repo" - name of the repo |
-> Sha | "sha" - a git ref or commit sha |
-> GiteaRequest RepoGetSingleCommit MimeNoContent Commit MimeJSON |
GET /repos/{owner}/{repo}/git/commits/{sha}
Get a single commit from a repository
AuthMethod: AuthApiKeyTOTPHeader
, AuthApiKeyAuthorizationHeaderToken
, AuthApiKeySudoHeader
, AuthBasicBasicAuth
, AuthApiKeyAccessToken
, AuthApiKeySudoParam
, AuthApiKeyToken
data RepoGetSingleCommit Source #
Instances
repoGetTag
Arguments
:: Owner | "owner" - owner of the repo |
-> Repo | "repo" - name of the repo |
-> Tag2 | "tag" - name of tag |
-> GiteaRequest RepoGetTag MimeNoContent Tag MimeJSON |
GET /repos/{owner}/{repo}/tags/{tag}
Get the tag of a repository by tag name
AuthMethod: AuthApiKeyTOTPHeader
, AuthApiKeyAuthorizationHeaderToken
, AuthApiKeySudoHeader
, AuthBasicBasicAuth
, AuthApiKeyAccessToken
, AuthApiKeySudoParam
, AuthApiKeyToken
data RepoGetTag Source #
Instances
Produces RepoGetTag MimeJSON Source # | application/json |
Defined in Gitea.API.Repository |
repoGetTagProtection
Arguments
:: Owner | "owner" - owner of the repo |
-> Repo | "repo" - name of the repo |
-> IdInt | "id" - id of the tag protect to get |
-> GiteaRequest RepoGetTagProtection MimeNoContent TagProtection MimeJSON |
GET /repos/{owner}/{repo}/tag_protections/{id}
Get a specific tag protection for the repository
AuthMethod: AuthApiKeyTOTPHeader
, AuthApiKeyAuthorizationHeaderToken
, AuthApiKeySudoHeader
, AuthBasicBasicAuth
, AuthApiKeyAccessToken
, AuthApiKeySudoParam
, AuthApiKeyToken
data RepoGetTagProtection Source #
Instances
Produces RepoGetTagProtection MimeJSON Source # | application/json |
Defined in Gitea.API.Repository |
repoGetWikiPage
Arguments
:: Owner | "owner" - owner of the repo |
-> Repo | "repo" - name of the repo |
-> PageName | "pageName" - name of the page |
-> GiteaRequest RepoGetWikiPage MimeNoContent WikiPage MimeJSON |
GET /repos/{owner}/{repo}/wiki/page/{pageName}
Get a wiki page
AuthMethod: AuthApiKeyTOTPHeader
, AuthApiKeyAuthorizationHeaderToken
, AuthApiKeySudoHeader
, AuthBasicBasicAuth
, AuthApiKeyAccessToken
, AuthApiKeySudoParam
, AuthApiKeyToken
data RepoGetWikiPage Source #
Instances
Produces RepoGetWikiPage MimeJSON Source # | application/json |
Defined in Gitea.API.Repository |
repoGetWikiPageRevisions
repoGetWikiPageRevisions Source #
Arguments
:: Owner | "owner" - owner of the repo |
-> Repo | "repo" - name of the repo |
-> PageName | "pageName" - name of the page |
-> GiteaRequest RepoGetWikiPageRevisions MimeNoContent WikiCommitList MimeJSON |
GET /repos/{owner}/{repo}/wiki/revisions/{pageName}
Get revisions of a wiki page
AuthMethod: AuthApiKeyTOTPHeader
, AuthApiKeyAuthorizationHeaderToken
, AuthApiKeySudoHeader
, AuthBasicBasicAuth
, AuthApiKeyAccessToken
, AuthApiKeySudoParam
, AuthApiKeyToken
data RepoGetWikiPageRevisions Source #
Instances
HasOptionalParam RepoGetWikiPageRevisions Page Source # | Optional Param "page" - page number of results to return (1-based) |
Defined in Gitea.API.Repository Methods applyOptionalParam :: GiteaRequest RepoGetWikiPageRevisions contentType res accept -> Page -> GiteaRequest RepoGetWikiPageRevisions contentType res accept Source # (-&-) :: GiteaRequest RepoGetWikiPageRevisions contentType res accept -> Page -> GiteaRequest RepoGetWikiPageRevisions contentType res accept Source # | |
Produces RepoGetWikiPageRevisions MimeJSON Source # | application/json |
Defined in Gitea.API.Repository |
repoGetWikiPages
Arguments
:: Owner | "owner" - owner of the repo |
-> Repo | "repo" - name of the repo |
-> GiteaRequest RepoGetWikiPages MimeNoContent [WikiPageMetaData] MimeJSON |
GET /repos/{owner}/{repo}/wiki/pages
Get all wiki pages
AuthMethod: AuthApiKeyTOTPHeader
, AuthApiKeyAuthorizationHeaderToken
, AuthApiKeySudoHeader
, AuthBasicBasicAuth
, AuthApiKeyAccessToken
, AuthApiKeySudoParam
, AuthApiKeyToken
data RepoGetWikiPages Source #
Instances
HasOptionalParam RepoGetWikiPages Limit Source # | Optional Param "limit" - page size of results |
Defined in Gitea.API.Repository Methods applyOptionalParam :: GiteaRequest RepoGetWikiPages contentType res accept -> Limit -> GiteaRequest RepoGetWikiPages contentType res accept Source # (-&-) :: GiteaRequest RepoGetWikiPages contentType res accept -> Limit -> GiteaRequest RepoGetWikiPages contentType res accept Source # | |
HasOptionalParam RepoGetWikiPages Page Source # | Optional Param "page" - page number of results to return (1-based) |
Defined in Gitea.API.Repository Methods applyOptionalParam :: GiteaRequest RepoGetWikiPages contentType res accept -> Page -> GiteaRequest RepoGetWikiPages contentType res accept Source # (-&-) :: GiteaRequest RepoGetWikiPages contentType res accept -> Page -> GiteaRequest RepoGetWikiPages contentType res accept Source # | |
Produces RepoGetWikiPages MimeJSON Source # | application/json |
Defined in Gitea.API.Repository |
repoListActionsSecrets
repoListActionsSecrets Source #
Arguments
:: Owner | "owner" - owner of the repository |
-> Repo | "repo" - name of the repository |
-> GiteaRequest RepoListActionsSecrets MimeNoContent [Secret] MimeJSON |
GET /repos/{owner}/{repo}/actions/secrets
List an repo's actions secrets
AuthMethod: AuthApiKeyTOTPHeader
, AuthApiKeyAuthorizationHeaderToken
, AuthApiKeySudoHeader
, AuthBasicBasicAuth
, AuthApiKeyAccessToken
, AuthApiKeySudoParam
, AuthApiKeyToken
data RepoListActionsSecrets Source #
Instances
repoListActivityFeeds
repoListActivityFeeds Source #
Arguments
:: Owner | "owner" - owner of the repo |
-> Repo | "repo" - name of the repo |
-> GiteaRequest RepoListActivityFeeds MimeNoContent [Activity] MimeJSON |
GET /repos/{owner}/{repo}/activities/feeds
List a repository's activity feeds
AuthMethod: AuthApiKeyTOTPHeader
, AuthApiKeyAuthorizationHeaderToken
, AuthApiKeySudoHeader
, AuthBasicBasicAuth
, AuthApiKeyAccessToken
, AuthApiKeySudoParam
, AuthApiKeyToken
data RepoListActivityFeeds Source #
Instances
repoListAllGitRefs
Arguments
:: Owner | "owner" - owner of the repo |
-> Repo | "repo" - name of the repo |
-> GiteaRequest RepoListAllGitRefs MimeNoContent [Reference] MimeJSON |
GET /repos/{owner}/{repo}/git/refs
Get specified ref or filtered repository's refs
AuthMethod: AuthApiKeyTOTPHeader
, AuthApiKeyAuthorizationHeaderToken
, AuthApiKeySudoHeader
, AuthBasicBasicAuth
, AuthApiKeyAccessToken
, AuthApiKeySudoParam
, AuthApiKeyToken
data RepoListAllGitRefs Source #
Instances
Produces RepoListAllGitRefs MimeJSON Source # | application/json |
Defined in Gitea.API.Repository |
repoListBranchProtection
repoListBranchProtection Source #
Arguments
:: Owner | "owner" - owner of the repo |
-> Repo | "repo" - name of the repo |
-> GiteaRequest RepoListBranchProtection MimeNoContent [BranchProtection] MimeJSON |
GET /repos/{owner}/{repo}/branch_protections
List branch protections for a repository
AuthMethod: AuthApiKeyTOTPHeader
, AuthApiKeyAuthorizationHeaderToken
, AuthApiKeySudoHeader
, AuthBasicBasicAuth
, AuthApiKeyAccessToken
, AuthApiKeySudoParam
, AuthApiKeyToken
data RepoListBranchProtection Source #
Instances
Produces RepoListBranchProtection MimeJSON Source # | application/json |
Defined in Gitea.API.Repository |
repoListBranches
Arguments
:: Owner | "owner" - owner of the repo |
-> Repo | "repo" - name of the repo |
-> GiteaRequest RepoListBranches MimeNoContent [Branch] MimeJSON |
GET /repos/{owner}/{repo}/branches
List a repository's branches
AuthMethod: AuthApiKeyTOTPHeader
, AuthApiKeyAuthorizationHeaderToken
, AuthApiKeySudoHeader
, AuthBasicBasicAuth
, AuthApiKeyAccessToken
, AuthApiKeySudoParam
, AuthApiKeyToken
data RepoListBranches Source #
Instances
HasOptionalParam RepoListBranches Limit Source # | Optional Param "limit" - page size of results |
Defined in Gitea.API.Repository Methods applyOptionalParam :: GiteaRequest RepoListBranches contentType res accept -> Limit -> GiteaRequest RepoListBranches contentType res accept Source # (-&-) :: GiteaRequest RepoListBranches contentType res accept -> Limit -> GiteaRequest RepoListBranches contentType res accept Source # | |
HasOptionalParam RepoListBranches Page Source # | Optional Param "page" - page number of results to return (1-based) |
Defined in Gitea.API.Repository Methods applyOptionalParam :: GiteaRequest RepoListBranches contentType res accept -> Page -> GiteaRequest RepoListBranches contentType res accept Source # (-&-) :: GiteaRequest RepoListBranches contentType res accept -> Page -> GiteaRequest RepoListBranches contentType res accept Source # | |
Produces RepoListBranches MimeJSON Source # | application/json |
Defined in Gitea.API.Repository |
repoListCollaborators
repoListCollaborators Source #
Arguments
:: Owner | "owner" - owner of the repo |
-> Repo | "repo" - name of the repo |
-> GiteaRequest RepoListCollaborators MimeNoContent [User] MimeJSON |
GET /repos/{owner}/{repo}/collaborators
List a repository's collaborators
AuthMethod: AuthApiKeyTOTPHeader
, AuthApiKeyAuthorizationHeaderToken
, AuthApiKeySudoHeader
, AuthBasicBasicAuth
, AuthApiKeyAccessToken
, AuthApiKeySudoParam
, AuthApiKeyToken
data RepoListCollaborators Source #
Instances
HasOptionalParam RepoListCollaborators Limit Source # | Optional Param "limit" - page size of results |
Defined in Gitea.API.Repository Methods applyOptionalParam :: GiteaRequest RepoListCollaborators contentType res accept -> Limit -> GiteaRequest RepoListCollaborators contentType res accept Source # (-&-) :: GiteaRequest RepoListCollaborators contentType res accept -> Limit -> GiteaRequest RepoListCollaborators contentType res accept Source # | |
HasOptionalParam RepoListCollaborators Page Source # | Optional Param "page" - page number of results to return (1-based) |
Defined in Gitea.API.Repository Methods applyOptionalParam :: GiteaRequest RepoListCollaborators contentType res accept -> Page -> GiteaRequest RepoListCollaborators contentType res accept Source # (-&-) :: GiteaRequest RepoListCollaborators contentType res accept -> Page -> GiteaRequest RepoListCollaborators contentType res accept Source # | |
Produces RepoListCollaborators MimeJSON Source # | application/json |
Defined in Gitea.API.Repository |
repoListGitHooks
Arguments
:: Owner | "owner" - owner of the repo |
-> Repo | "repo" - name of the repo |
-> GiteaRequest RepoListGitHooks MimeNoContent [GitHook] MimeJSON |
GET /repos/{owner}/{repo}/hooks/git
List the Git hooks in a repository
AuthMethod: AuthApiKeyTOTPHeader
, AuthApiKeyAuthorizationHeaderToken
, AuthApiKeySudoHeader
, AuthBasicBasicAuth
, AuthApiKeyAccessToken
, AuthApiKeySudoParam
, AuthApiKeyToken
data RepoListGitHooks Source #
Instances
Produces RepoListGitHooks MimeJSON Source # | application/json |
Defined in Gitea.API.Repository |
repoListGitRefs
Arguments
:: Owner | "owner" - owner of the repo |
-> Repo | "repo" - name of the repo |
-> Ref | "ref" - part or full name of the ref |
-> GiteaRequest RepoListGitRefs MimeNoContent [Reference] MimeJSON |
GET /repos/{owner}/{repo}/git/refs/{ref}
Get specified ref or filtered repository's refs
AuthMethod: AuthApiKeyTOTPHeader
, AuthApiKeyAuthorizationHeaderToken
, AuthApiKeySudoHeader
, AuthBasicBasicAuth
, AuthApiKeyAccessToken
, AuthApiKeySudoParam
, AuthApiKeyToken
data RepoListGitRefs Source #
Instances
Produces RepoListGitRefs MimeJSON Source # | application/json |
Defined in Gitea.API.Repository |
repoListHooks
Arguments
:: Owner | "owner" - owner of the repo |
-> Repo | "repo" - name of the repo |
-> GiteaRequest RepoListHooks MimeNoContent [Hook] MimeJSON |
GET /repos/{owner}/{repo}/hooks
List the hooks in a repository
AuthMethod: AuthApiKeyTOTPHeader
, AuthApiKeyAuthorizationHeaderToken
, AuthApiKeySudoHeader
, AuthBasicBasicAuth
, AuthApiKeyAccessToken
, AuthApiKeySudoParam
, AuthApiKeyToken
data RepoListHooks Source #
Instances
HasOptionalParam RepoListHooks Limit Source # | Optional Param "limit" - page size of results |
Defined in Gitea.API.Repository Methods applyOptionalParam :: GiteaRequest RepoListHooks contentType res accept -> Limit -> GiteaRequest RepoListHooks contentType res accept Source # (-&-) :: GiteaRequest RepoListHooks contentType res accept -> Limit -> GiteaRequest RepoListHooks contentType res accept Source # | |
HasOptionalParam RepoListHooks Page Source # | Optional Param "page" - page number of results to return (1-based) |
Defined in Gitea.API.Repository Methods applyOptionalParam :: GiteaRequest RepoListHooks contentType res accept -> Page -> GiteaRequest RepoListHooks contentType res accept Source # (-&-) :: GiteaRequest RepoListHooks contentType res accept -> Page -> GiteaRequest RepoListHooks contentType res accept Source # | |
Produces RepoListHooks MimeJSON Source # | application/json |
Defined in Gitea.API.Repository |
repoListKeys
Arguments
:: Owner | "owner" - owner of the repo |
-> Repo | "repo" - name of the repo |
-> GiteaRequest RepoListKeys MimeNoContent [DeployKey] MimeJSON |
GET /repos/{owner}/{repo}/keys
List a repository's keys
AuthMethod: AuthApiKeyTOTPHeader
, AuthApiKeyAuthorizationHeaderToken
, AuthApiKeySudoHeader
, AuthBasicBasicAuth
, AuthApiKeyAccessToken
, AuthApiKeySudoParam
, AuthApiKeyToken
data RepoListKeys Source #
Instances
repoListPinnedIssues
Arguments
:: Owner | "owner" - owner of the repo |
-> Repo | "repo" - name of the repo |
-> GiteaRequest RepoListPinnedIssues MimeNoContent [Issue] MimeJSON |
GET /repos/{owner}/{repo}/issues/pinned
List a repo's pinned issues
AuthMethod: AuthApiKeyTOTPHeader
, AuthApiKeyAuthorizationHeaderToken
, AuthApiKeySudoHeader
, AuthBasicBasicAuth
, AuthApiKeyAccessToken
, AuthApiKeySudoParam
, AuthApiKeyToken
data RepoListPinnedIssues Source #
Instances
Produces RepoListPinnedIssues MimeJSON Source # | application/json |
Defined in Gitea.API.Repository |
repoListPinnedPullRequests
repoListPinnedPullRequests Source #
Arguments
:: Owner | "owner" - owner of the repo |
-> Repo | "repo" - name of the repo |
-> GiteaRequest RepoListPinnedPullRequests MimeNoContent [PullRequest] MimeJSON |
GET /repos/{owner}/{repo}/pulls/pinned
List a repo's pinned pull requests
AuthMethod: AuthApiKeyTOTPHeader
, AuthApiKeyAuthorizationHeaderToken
, AuthApiKeySudoHeader
, AuthBasicBasicAuth
, AuthApiKeyAccessToken
, AuthApiKeySudoParam
, AuthApiKeyToken
data RepoListPinnedPullRequests Source #
Instances
Produces RepoListPinnedPullRequests MimeJSON Source # | application/json |
Defined in Gitea.API.Repository |
repoListPullRequests
Arguments
:: Owner | "owner" - Owner of the repo |
-> Repo | "repo" - Name of the repo |
-> GiteaRequest RepoListPullRequests MimeNoContent [PullRequest] MimeJSON |
GET /repos/{owner}/{repo}/pulls
List a repo's pull requests
AuthMethod: AuthApiKeyTOTPHeader
, AuthApiKeyAuthorizationHeaderToken
, AuthApiKeySudoHeader
, AuthBasicBasicAuth
, AuthApiKeyAccessToken
, AuthApiKeySudoParam
, AuthApiKeyToken
data RepoListPullRequests Source #
Instances
repoListPullReviews
Arguments
:: Owner | "owner" - owner of the repo |
-> Repo | "repo" - name of the repo |
-> Index | "index" - index of the pull request |
-> GiteaRequest RepoListPullReviews MimeNoContent [PullReview] MimeJSON |
GET /repos/{owner}/{repo}/pulls/{index}/reviews
List all reviews for a pull request
AuthMethod: AuthApiKeyTOTPHeader
, AuthApiKeyAuthorizationHeaderToken
, AuthApiKeySudoHeader
, AuthBasicBasicAuth
, AuthApiKeyAccessToken
, AuthApiKeySudoParam
, AuthApiKeyToken
data RepoListPullReviews Source #
Instances
HasOptionalParam RepoListPullReviews Limit Source # | Optional Param "limit" - page size of results |
Defined in Gitea.API.Repository Methods applyOptionalParam :: GiteaRequest RepoListPullReviews contentType res accept -> Limit -> GiteaRequest RepoListPullReviews contentType res accept Source # (-&-) :: GiteaRequest RepoListPullReviews contentType res accept -> Limit -> GiteaRequest RepoListPullReviews contentType res accept Source # | |
HasOptionalParam RepoListPullReviews Page Source # | Optional Param "page" - page number of results to return (1-based) |
Defined in Gitea.API.Repository Methods applyOptionalParam :: GiteaRequest RepoListPullReviews contentType res accept -> Page -> GiteaRequest RepoListPullReviews contentType res accept Source # (-&-) :: GiteaRequest RepoListPullReviews contentType res accept -> Page -> GiteaRequest RepoListPullReviews contentType res accept Source # | |
Produces RepoListPullReviews MimeJSON Source # | application/json |
Defined in Gitea.API.Repository |
repoListPushMirrors
Arguments
:: Owner | "owner" - owner of the repo |
-> Repo | "repo" - name of the repo |
-> GiteaRequest RepoListPushMirrors MimeNoContent [PushMirror] MimeJSON |
GET /repos/{owner}/{repo}/push_mirrors
Get all push mirrors of the repository
AuthMethod: AuthApiKeyTOTPHeader
, AuthApiKeyAuthorizationHeaderToken
, AuthApiKeySudoHeader
, AuthBasicBasicAuth
, AuthApiKeyAccessToken
, AuthApiKeySudoParam
, AuthApiKeyToken
data RepoListPushMirrors Source #
Instances
HasOptionalParam RepoListPushMirrors Limit Source # | Optional Param "limit" - page size of results |
Defined in Gitea.API.Repository Methods applyOptionalParam :: GiteaRequest RepoListPushMirrors contentType res accept -> Limit -> GiteaRequest RepoListPushMirrors contentType res accept Source # (-&-) :: GiteaRequest RepoListPushMirrors contentType res accept -> Limit -> GiteaRequest RepoListPushMirrors contentType res accept Source # | |
HasOptionalParam RepoListPushMirrors Page Source # | Optional Param "page" - page number of results to return (1-based) |
Defined in Gitea.API.Repository Methods applyOptionalParam :: GiteaRequest RepoListPushMirrors contentType res accept -> Page -> GiteaRequest RepoListPushMirrors contentType res accept Source # (-&-) :: GiteaRequest RepoListPushMirrors contentType res accept -> Page -> GiteaRequest RepoListPushMirrors contentType res accept Source # | |
Produces RepoListPushMirrors MimeJSON Source # | application/json |
Defined in Gitea.API.Repository |
repoListReleaseAttachments
repoListReleaseAttachments Source #
Arguments
:: Owner | "owner" - owner of the repo |
-> Repo | "repo" - name of the repo |
-> Id | "id" - id of the release |
-> GiteaRequest RepoListReleaseAttachments MimeNoContent [Attachment] MimeJSON |
GET /repos/{owner}/{repo}/releases/{id}/assets
List release's attachments
AuthMethod: AuthApiKeyTOTPHeader
, AuthApiKeyAuthorizationHeaderToken
, AuthApiKeySudoHeader
, AuthBasicBasicAuth
, AuthApiKeyAccessToken
, AuthApiKeySudoParam
, AuthApiKeyToken
data RepoListReleaseAttachments Source #
Instances
Produces RepoListReleaseAttachments MimeJSON Source # | application/json |
Defined in Gitea.API.Repository |
repoListReleases
Arguments
:: Owner | "owner" - owner of the repo |
-> Repo | "repo" - name of the repo |
-> GiteaRequest RepoListReleases MimeNoContent [Release] MimeJSON |
GET /repos/{owner}/{repo}/releases
List a repo's releases
AuthMethod: AuthApiKeyTOTPHeader
, AuthApiKeyAuthorizationHeaderToken
, AuthApiKeySudoHeader
, AuthBasicBasicAuth
, AuthApiKeyAccessToken
, AuthApiKeySudoParam
, AuthApiKeyToken
data RepoListReleases Source #
Instances
repoListStargazers
Arguments
:: Owner | "owner" - owner of the repo |
-> Repo | "repo" - name of the repo |
-> GiteaRequest RepoListStargazers MimeNoContent [User] MimeJSON |
GET /repos/{owner}/{repo}/stargazers
List a repo's stargazers
AuthMethod: AuthApiKeyTOTPHeader
, AuthApiKeyAuthorizationHeaderToken
, AuthApiKeySudoHeader
, AuthBasicBasicAuth
, AuthApiKeyAccessToken
, AuthApiKeySudoParam
, AuthApiKeyToken
data RepoListStargazers Source #
Instances
HasOptionalParam RepoListStargazers Limit Source # | Optional Param "limit" - page size of results |
Defined in Gitea.API.Repository Methods applyOptionalParam :: GiteaRequest RepoListStargazers contentType res accept -> Limit -> GiteaRequest RepoListStargazers contentType res accept Source # (-&-) :: GiteaRequest RepoListStargazers contentType res accept -> Limit -> GiteaRequest RepoListStargazers contentType res accept Source # | |
HasOptionalParam RepoListStargazers Page Source # | Optional Param "page" - page number of results to return (1-based) |
Defined in Gitea.API.Repository Methods applyOptionalParam :: GiteaRequest RepoListStargazers contentType res accept -> Page -> GiteaRequest RepoListStargazers contentType res accept Source # (-&-) :: GiteaRequest RepoListStargazers contentType res accept -> Page -> GiteaRequest RepoListStargazers contentType res accept Source # | |
Produces RepoListStargazers MimeJSON Source # | application/json |
Defined in Gitea.API.Repository |
repoListStatuses
Arguments
:: Owner | "owner" - owner of the repo |
-> Repo | "repo" - name of the repo |
-> Sha | "sha" - sha of the commit |
-> GiteaRequest RepoListStatuses MimeNoContent [CommitStatus] MimeJSON |
GET /repos/{owner}/{repo}/statuses/{sha}
Get a commit's statuses
AuthMethod: AuthApiKeyTOTPHeader
, AuthApiKeyAuthorizationHeaderToken
, AuthApiKeySudoHeader
, AuthBasicBasicAuth
, AuthApiKeyAccessToken
, AuthApiKeySudoParam
, AuthApiKeyToken
data RepoListStatuses Source #
Instances
repoListStatusesByRef
repoListStatusesByRef Source #
Arguments
:: Owner | "owner" - owner of the repo |
-> Repo | "repo" - name of the repo |
-> Ref | "ref" - name of branchtagcommit |
-> GiteaRequest RepoListStatusesByRef MimeNoContent [CommitStatus] MimeJSON |
GET /repos/{owner}/{repo}/commits/{ref}/statuses
Get a commit's statuses, by branchtagcommit reference
AuthMethod: AuthApiKeyTOTPHeader
, AuthApiKeyAuthorizationHeaderToken
, AuthApiKeySudoHeader
, AuthBasicBasicAuth
, AuthApiKeyAccessToken
, AuthApiKeySudoParam
, AuthApiKeyToken
data RepoListStatusesByRef Source #
Instances
repoListSubscribers
Arguments
:: Owner | "owner" - owner of the repo |
-> Repo | "repo" - name of the repo |
-> GiteaRequest RepoListSubscribers MimeNoContent [User] MimeJSON |
GET /repos/{owner}/{repo}/subscribers
List a repo's watchers
AuthMethod: AuthApiKeyTOTPHeader
, AuthApiKeyAuthorizationHeaderToken
, AuthApiKeySudoHeader
, AuthBasicBasicAuth
, AuthApiKeyAccessToken
, AuthApiKeySudoParam
, AuthApiKeyToken
data RepoListSubscribers Source #
Instances
HasOptionalParam RepoListSubscribers Limit Source # | Optional Param "limit" - page size of results |
Defined in Gitea.API.Repository Methods applyOptionalParam :: GiteaRequest RepoListSubscribers contentType res accept -> Limit -> GiteaRequest RepoListSubscribers contentType res accept Source # (-&-) :: GiteaRequest RepoListSubscribers contentType res accept -> Limit -> GiteaRequest RepoListSubscribers contentType res accept Source # | |
HasOptionalParam RepoListSubscribers Page Source # | Optional Param "page" - page number of results to return (1-based) |
Defined in Gitea.API.Repository Methods applyOptionalParam :: GiteaRequest RepoListSubscribers contentType res accept -> Page -> GiteaRequest RepoListSubscribers contentType res accept Source # (-&-) :: GiteaRequest RepoListSubscribers contentType res accept -> Page -> GiteaRequest RepoListSubscribers contentType res accept Source # | |
Produces RepoListSubscribers MimeJSON Source # | application/json |
Defined in Gitea.API.Repository |
repoListTagProtection
repoListTagProtection Source #
Arguments
:: Owner | "owner" - owner of the repo |
-> Repo | "repo" - name of the repo |
-> GiteaRequest RepoListTagProtection MimeNoContent [TagProtection] MimeJSON |
GET /repos/{owner}/{repo}/tag_protections
List tag protections for a repository
AuthMethod: AuthApiKeyTOTPHeader
, AuthApiKeyAuthorizationHeaderToken
, AuthApiKeySudoHeader
, AuthBasicBasicAuth
, AuthApiKeyAccessToken
, AuthApiKeySudoParam
, AuthApiKeyToken
data RepoListTagProtection Source #
Instances
Produces RepoListTagProtection MimeJSON Source # | application/json |
Defined in Gitea.API.Repository |
repoListTags
Arguments
:: Owner | "owner" - owner of the repo |
-> Repo | "repo" - name of the repo |
-> GiteaRequest RepoListTags MimeNoContent [Tag] MimeJSON |
GET /repos/{owner}/{repo}/tags
List a repository's tags
AuthMethod: AuthApiKeyTOTPHeader
, AuthApiKeyAuthorizationHeaderToken
, AuthApiKeySudoHeader
, AuthBasicBasicAuth
, AuthApiKeyAccessToken
, AuthApiKeySudoParam
, AuthApiKeyToken
data RepoListTags Source #
Instances
HasOptionalParam RepoListTags Limit Source # | Optional Param "limit" - page size of results, default maximum page size is 50 |
Defined in Gitea.API.Repository Methods applyOptionalParam :: GiteaRequest RepoListTags contentType res accept -> Limit -> GiteaRequest RepoListTags contentType res accept Source # (-&-) :: GiteaRequest RepoListTags contentType res accept -> Limit -> GiteaRequest RepoListTags contentType res accept Source # | |
HasOptionalParam RepoListTags Page Source # | Optional Param "page" - page number of results to return (1-based) |
Defined in Gitea.API.Repository Methods applyOptionalParam :: GiteaRequest RepoListTags contentType res accept -> Page -> GiteaRequest RepoListTags contentType res accept Source # (-&-) :: GiteaRequest RepoListTags contentType res accept -> Page -> GiteaRequest RepoListTags contentType res accept Source # | |
Produces RepoListTags MimeJSON Source # | application/json |
Defined in Gitea.API.Repository |
repoListTeams
Arguments
:: Owner | "owner" - owner of the repo |
-> Repo | "repo" - name of the repo |
-> GiteaRequest RepoListTeams MimeNoContent [Team] MimeJSON |
GET /repos/{owner}/{repo}/teams
List a repository's teams
AuthMethod: AuthApiKeyTOTPHeader
, AuthApiKeyAuthorizationHeaderToken
, AuthApiKeySudoHeader
, AuthBasicBasicAuth
, AuthApiKeyAccessToken
, AuthApiKeySudoParam
, AuthApiKeyToken
data RepoListTeams Source #
Instances
Produces RepoListTeams MimeJSON Source # | application/json |
Defined in Gitea.API.Repository |
repoListTopics
Arguments
:: Owner | "owner" - owner of the repo |
-> Repo | "repo" - name of the repo |
-> GiteaRequest RepoListTopics MimeNoContent TopicName MimeJSON |
GET /repos/{owner}/{repo}/topics
Get list of topics that a repository has
AuthMethod: AuthApiKeyTOTPHeader
, AuthApiKeyAuthorizationHeaderToken
, AuthApiKeySudoHeader
, AuthBasicBasicAuth
, AuthApiKeyAccessToken
, AuthApiKeySudoParam
, AuthApiKeyToken
data RepoListTopics Source #
Instances
HasOptionalParam RepoListTopics Limit Source # | Optional Param "limit" - page size of results |
Defined in Gitea.API.Repository Methods applyOptionalParam :: GiteaRequest RepoListTopics contentType res accept -> Limit -> GiteaRequest RepoListTopics contentType res accept Source # (-&-) :: GiteaRequest RepoListTopics contentType res accept -> Limit -> GiteaRequest RepoListTopics contentType res accept Source # | |
HasOptionalParam RepoListTopics Page Source # | Optional Param "page" - page number of results to return (1-based) |
Defined in Gitea.API.Repository Methods applyOptionalParam :: GiteaRequest RepoListTopics contentType res accept -> Page -> GiteaRequest RepoListTopics contentType res accept Source # (-&-) :: GiteaRequest RepoListTopics contentType res accept -> Page -> GiteaRequest RepoListTopics contentType res accept Source # | |
Produces RepoListTopics MimeJSON Source # | application/json |
Defined in Gitea.API.Repository |
repoMergePullRequest
Arguments
:: Consumes RepoMergePullRequest contentType | |
=> ContentType contentType | request content-type ( |
-> Owner | "owner" - owner of the repo |
-> Repo | "repo" - name of the repo |
-> Index | "index" - index of the pull request to merge |
-> GiteaRequest RepoMergePullRequest contentType NoContent MimeNoContent |
POST /repos/{owner}/{repo}/pulls/{index}/merge
Merge a pull request
AuthMethod: AuthApiKeyTOTPHeader
, AuthApiKeyAuthorizationHeaderToken
, AuthApiKeySudoHeader
, AuthBasicBasicAuth
, AuthApiKeyAccessToken
, AuthApiKeySudoParam
, AuthApiKeyToken
data RepoMergePullRequest Source #
Instances
HasBodyParam RepoMergePullRequest MergePullRequestOption Source # | |
Defined in Gitea.API.Repository Methods setBodyParam :: (Consumes RepoMergePullRequest contentType, MimeRender contentType MergePullRequestOption) => GiteaRequest RepoMergePullRequest contentType res accept -> MergePullRequestOption -> GiteaRequest RepoMergePullRequest contentType res accept Source # | |
Consumes RepoMergePullRequest MimeJSON Source # | application/json |
Defined in Gitea.API.Repository | |
Consumes RepoMergePullRequest MimePlainText Source # | text/plain |
Defined in Gitea.API.Repository | |
Produces RepoMergePullRequest MimeNoContent Source # | |
Defined in Gitea.API.Repository |
repoMergeUpstream
Arguments
:: Consumes RepoMergeUpstream contentType | |
=> ContentType contentType | request content-type ( |
-> Owner | "owner" - owner of the repo |
-> Repo | "repo" - name of the repo |
-> GiteaRequest RepoMergeUpstream contentType MergeUpstreamResponse MimeJSON |
POST /repos/{owner}/{repo}/merge-upstream
Merge a branch from upstream
AuthMethod: AuthApiKeyTOTPHeader
, AuthApiKeyAuthorizationHeaderToken
, AuthApiKeySudoHeader
, AuthBasicBasicAuth
, AuthApiKeyAccessToken
, AuthApiKeySudoParam
, AuthApiKeyToken
data RepoMergeUpstream Source #
Instances
HasBodyParam RepoMergeUpstream MergeUpstreamRequest Source # | |
Defined in Gitea.API.Repository Methods setBodyParam :: (Consumes RepoMergeUpstream contentType, MimeRender contentType MergeUpstreamRequest) => GiteaRequest RepoMergeUpstream contentType res accept -> MergeUpstreamRequest -> GiteaRequest RepoMergeUpstream contentType res accept Source # | |
Consumes RepoMergeUpstream MimeJSON Source # | application/json |
Defined in Gitea.API.Repository | |
Consumes RepoMergeUpstream MimePlainText Source # | text/plain |
Defined in Gitea.API.Repository | |
Produces RepoMergeUpstream MimeJSON Source # | application/json |
Defined in Gitea.API.Repository |
repoMigrate
repoMigrate :: Consumes RepoMigrate MimeJSON => GiteaRequest RepoMigrate MimeJSON Repository MimeJSON Source #
POST /repos/migrate
Migrate a remote git repository
AuthMethod: AuthApiKeyTOTPHeader
, AuthApiKeyAuthorizationHeaderToken
, AuthApiKeySudoHeader
, AuthBasicBasicAuth
, AuthApiKeyAccessToken
, AuthApiKeySudoParam
, AuthApiKeyToken
data RepoMigrate Source #
Instances
HasBodyParam RepoMigrate MigrateRepoOptions Source # | |
Defined in Gitea.API.Repository Methods setBodyParam :: (Consumes RepoMigrate contentType, MimeRender contentType MigrateRepoOptions) => GiteaRequest RepoMigrate contentType res accept -> MigrateRepoOptions -> GiteaRequest RepoMigrate contentType res accept Source # | |
Consumes RepoMigrate MimeJSON Source # | application/json |
Defined in Gitea.API.Repository | |
Produces RepoMigrate MimeJSON Source # | application/json |
Defined in Gitea.API.Repository |
repoMirrorSync
Arguments
:: Owner | "owner" - owner of the repo to sync |
-> Repo | "repo" - name of the repo to sync |
-> GiteaRequest RepoMirrorSync MimeNoContent NoContent MimeNoContent |
POST /repos/{owner}/{repo}/mirror-sync
Sync a mirrored repository
AuthMethod: AuthApiKeyTOTPHeader
, AuthApiKeyAuthorizationHeaderToken
, AuthApiKeySudoHeader
, AuthBasicBasicAuth
, AuthApiKeyAccessToken
, AuthApiKeySudoParam
, AuthApiKeyToken
data RepoMirrorSync Source #
Instances
Produces RepoMirrorSync MimeNoContent Source # | |
Defined in Gitea.API.Repository |
repoNewPinAllowed
Arguments
:: Owner | "owner" - owner of the repo |
-> Repo | "repo" - name of the repo |
-> GiteaRequest RepoNewPinAllowed MimeNoContent NewIssuePinsAllowed MimeJSON |
GET /repos/{owner}/{repo}/new_pin_allowed
Returns if new Issue Pins are allowed
AuthMethod: AuthApiKeyTOTPHeader
, AuthApiKeyAuthorizationHeaderToken
, AuthApiKeySudoHeader
, AuthBasicBasicAuth
, AuthApiKeyAccessToken
, AuthApiKeySudoParam
, AuthApiKeyToken
data RepoNewPinAllowed Source #
Instances
Produces RepoNewPinAllowed MimeJSON Source # | application/json |
Defined in Gitea.API.Repository |
repoPullRequestIsMerged
repoPullRequestIsMerged Source #
Arguments
:: Owner | "owner" - owner of the repo |
-> Repo | "repo" - name of the repo |
-> Index | "index" - index of the pull request |
-> GiteaRequest RepoPullRequestIsMerged MimeNoContent NoContent MimeNoContent |
GET /repos/{owner}/{repo}/pulls/{index}/merge
Check if a pull request has been merged
AuthMethod: AuthApiKeyTOTPHeader
, AuthApiKeyAuthorizationHeaderToken
, AuthApiKeySudoHeader
, AuthBasicBasicAuth
, AuthApiKeyAccessToken
, AuthApiKeySudoParam
, AuthApiKeyToken
data RepoPullRequestIsMerged Source #
Instances
repoPushMirrorSync
Arguments
:: Owner | "owner" - owner of the repo to sync |
-> Repo | "repo" - name of the repo to sync |
-> GiteaRequest RepoPushMirrorSync MimeNoContent NoContent MimeNoContent |
POST /repos/{owner}/{repo}/push_mirrors-sync
Sync all push mirrored repository
AuthMethod: AuthApiKeyTOTPHeader
, AuthApiKeyAuthorizationHeaderToken
, AuthApiKeySudoHeader
, AuthBasicBasicAuth
, AuthApiKeyAccessToken
, AuthApiKeySudoParam
, AuthApiKeyToken
data RepoPushMirrorSync Source #
Instances
repoSearch
repoSearch :: GiteaRequest RepoSearch MimeNoContent SearchResults MimeJSON Source #
GET /repos/search
Search for repositories
AuthMethod: AuthApiKeyTOTPHeader
, AuthApiKeyAuthorizationHeaderToken
, AuthApiKeySudoHeader
, AuthBasicBasicAuth
, AuthApiKeyAccessToken
, AuthApiKeySudoParam
, AuthApiKeyToken
data RepoSearch Source #
Instances
HasOptionalParam RepoSearch Archived Source # | Optional Param "archived" - show only archived, non-archived or all repositories (defaults to all) |
Defined in Gitea.API.Repository Methods applyOptionalParam :: GiteaRequest RepoSearch contentType res accept -> Archived -> GiteaRequest RepoSearch contentType res accept Source # (-&-) :: GiteaRequest RepoSearch contentType res accept -> Archived -> GiteaRequest RepoSearch contentType res accept Source # | |
HasOptionalParam RepoSearch Exclusive Source # | Optional Param "exclusive" - if |
Defined in Gitea.API.Repository Methods applyOptionalParam :: GiteaRequest RepoSearch contentType res accept -> Exclusive -> GiteaRequest RepoSearch contentType res accept Source # (-&-) :: GiteaRequest RepoSearch contentType res accept -> Exclusive -> GiteaRequest RepoSearch contentType res accept Source # | |
HasOptionalParam RepoSearch IncludeDesc Source # | Optional Param "includeDesc" - include search of keyword within repository description |
Defined in Gitea.API.Repository Methods applyOptionalParam :: GiteaRequest RepoSearch contentType res accept -> IncludeDesc -> GiteaRequest RepoSearch contentType res accept Source # (-&-) :: GiteaRequest RepoSearch contentType res accept -> IncludeDesc -> GiteaRequest RepoSearch contentType res accept Source # | |
HasOptionalParam RepoSearch IsPrivate Source # | Optional Param "is_private" - show only pubic, private or all repositories (defaults to all) |
Defined in Gitea.API.Repository Methods applyOptionalParam :: GiteaRequest RepoSearch contentType res accept -> IsPrivate -> GiteaRequest RepoSearch contentType res accept Source # (-&-) :: GiteaRequest RepoSearch contentType res accept -> IsPrivate -> GiteaRequest RepoSearch contentType res accept Source # | |
HasOptionalParam RepoSearch Limit Source # | Optional Param "limit" - page size of results |
Defined in Gitea.API.Repository Methods applyOptionalParam :: GiteaRequest RepoSearch contentType res accept -> Limit -> GiteaRequest RepoSearch contentType res accept Source # (-&-) :: GiteaRequest RepoSearch contentType res accept -> Limit -> GiteaRequest RepoSearch contentType res accept Source # | |
HasOptionalParam RepoSearch Mode Source # | Optional Param "mode" - type of repository to search for. Supported values are "fork", "source", "mirror" and "collaborative" |
Defined in Gitea.API.Repository Methods applyOptionalParam :: GiteaRequest RepoSearch contentType res accept -> Mode -> GiteaRequest RepoSearch contentType res accept Source # (-&-) :: GiteaRequest RepoSearch contentType res accept -> Mode -> GiteaRequest RepoSearch contentType res accept Source # | |
HasOptionalParam RepoSearch Order Source # | Optional Param "order" - sort order, either "asc" (ascending) or "desc" (descending). Default is "asc", ignored if "sort" is not specified. |
Defined in Gitea.API.Repository Methods applyOptionalParam :: GiteaRequest RepoSearch contentType res accept -> Order -> GiteaRequest RepoSearch contentType res accept Source # (-&-) :: GiteaRequest RepoSearch contentType res accept -> Order -> GiteaRequest RepoSearch contentType res accept Source # | |
HasOptionalParam RepoSearch Page Source # | Optional Param "page" - page number of results to return (1-based) |
Defined in Gitea.API.Repository Methods applyOptionalParam :: GiteaRequest RepoSearch contentType res accept -> Page -> GiteaRequest RepoSearch contentType res accept Source # (-&-) :: GiteaRequest RepoSearch contentType res accept -> Page -> GiteaRequest RepoSearch contentType res accept Source # | |
HasOptionalParam RepoSearch PriorityOwnerId Source # | Optional Param "priority_owner_id" - repo owner to prioritize in the results |
Defined in Gitea.API.Repository Methods applyOptionalParam :: GiteaRequest RepoSearch contentType res accept -> PriorityOwnerId -> GiteaRequest RepoSearch contentType res accept Source # (-&-) :: GiteaRequest RepoSearch contentType res accept -> PriorityOwnerId -> GiteaRequest RepoSearch contentType res accept Source # | |
HasOptionalParam RepoSearch Private Source # | Optional Param "private" - include private repositories this user has access to (defaults to true) |
Defined in Gitea.API.Repository Methods applyOptionalParam :: GiteaRequest RepoSearch contentType res accept -> Private -> GiteaRequest RepoSearch contentType res accept Source # (-&-) :: GiteaRequest RepoSearch contentType res accept -> Private -> GiteaRequest RepoSearch contentType res accept Source # | |
HasOptionalParam RepoSearch Q Source # | Optional Param "q" - keyword |
Defined in Gitea.API.Repository Methods applyOptionalParam :: GiteaRequest RepoSearch contentType res accept -> Q -> GiteaRequest RepoSearch contentType res accept Source # (-&-) :: GiteaRequest RepoSearch contentType res accept -> Q -> GiteaRequest RepoSearch contentType res accept Source # | |
HasOptionalParam RepoSearch Sort Source # | Optional Param "sort" - sort repos by attribute. Supported values are "alpha", "created", "updated", "size", "git_size", "lfs_size", "stars", "forks" and "id". Default is "alpha" |
Defined in Gitea.API.Repository Methods applyOptionalParam :: GiteaRequest RepoSearch contentType res accept -> Sort -> GiteaRequest RepoSearch contentType res accept Source # (-&-) :: GiteaRequest RepoSearch contentType res accept -> Sort -> GiteaRequest RepoSearch contentType res accept Source # | |
HasOptionalParam RepoSearch StarredBy Source # | Optional Param "starredBy" - search only for repos that the user with the given id has starred |
Defined in Gitea.API.Repository Methods applyOptionalParam :: GiteaRequest RepoSearch contentType res accept -> StarredBy -> GiteaRequest RepoSearch contentType res accept Source # (-&-) :: GiteaRequest RepoSearch contentType res accept -> StarredBy -> GiteaRequest RepoSearch contentType res accept Source # | |
HasOptionalParam RepoSearch TeamId Source # | Optional Param "team_id" - search only for repos that belong to the given team id |
Defined in Gitea.API.Repository Methods applyOptionalParam :: GiteaRequest RepoSearch contentType res accept -> TeamId -> GiteaRequest RepoSearch contentType res accept Source # (-&-) :: GiteaRequest RepoSearch contentType res accept -> TeamId -> GiteaRequest RepoSearch contentType res accept Source # | |
HasOptionalParam RepoSearch Template Source # | Optional Param "template" - include template repositories this user has access to (defaults to true) |
Defined in Gitea.API.Repository Methods applyOptionalParam :: GiteaRequest RepoSearch contentType res accept -> Template -> GiteaRequest RepoSearch contentType res accept Source # (-&-) :: GiteaRequest RepoSearch contentType res accept -> Template -> GiteaRequest RepoSearch contentType res accept Source # | |
HasOptionalParam RepoSearch Topic Source # | Optional Param "topic" - Limit search to repositories with keyword as topic |
Defined in Gitea.API.Repository Methods applyOptionalParam :: GiteaRequest RepoSearch contentType res accept -> Topic -> GiteaRequest RepoSearch contentType res accept Source # (-&-) :: GiteaRequest RepoSearch contentType res accept -> Topic -> GiteaRequest RepoSearch contentType res accept Source # | |
HasOptionalParam RepoSearch Uid Source # | Optional Param "uid" - search only for repos that the user with the given id owns or contributes to |
Defined in Gitea.API.Repository Methods applyOptionalParam :: GiteaRequest RepoSearch contentType res accept -> Uid -> GiteaRequest RepoSearch contentType res accept Source # (-&-) :: GiteaRequest RepoSearch contentType res accept -> Uid -> GiteaRequest RepoSearch contentType res accept Source # | |
Produces RepoSearch MimeJSON Source # | application/json |
Defined in Gitea.API.Repository |
repoSigningKey
Arguments
:: Owner | "owner" - owner of the repo |
-> Repo | "repo" - name of the repo |
-> GiteaRequest RepoSigningKey MimeNoContent Text MimePlainText |
GET /repos/{owner}/{repo}/signing-key.gpg
Get signing-key.gpg for given repository
AuthMethod: AuthApiKeyTOTPHeader
, AuthApiKeyAuthorizationHeaderToken
, AuthApiKeySudoHeader
, AuthBasicBasicAuth
, AuthApiKeyAccessToken
, AuthApiKeySudoParam
, AuthApiKeyToken
data RepoSigningKey Source #
Instances
Produces RepoSigningKey MimePlainText Source # | text/plain |
Defined in Gitea.API.Repository |
repoSubmitPullReview
Arguments
:: (Consumes RepoSubmitPullReview contentType, MimeRender contentType SubmitPullReviewOptions) | |
=> ContentType contentType | request content-type ( |
-> SubmitPullReviewOptions | "body" |
-> Owner | "owner" - owner of the repo |
-> Repo | "repo" - name of the repo |
-> Index | "index" - index of the pull request |
-> Id | "id" - id of the review |
-> GiteaRequest RepoSubmitPullReview contentType PullReview MimeJSON |
POST /repos/{owner}/{repo}/pulls/{index}/reviews/{id}
Submit a pending review to an pull request
AuthMethod: AuthApiKeyTOTPHeader
, AuthApiKeyAuthorizationHeaderToken
, AuthApiKeySudoHeader
, AuthBasicBasicAuth
, AuthApiKeyAccessToken
, AuthApiKeySudoParam
, AuthApiKeyToken
data RepoSubmitPullReview Source #
Instances
HasBodyParam RepoSubmitPullReview SubmitPullReviewOptions Source # | |
Defined in Gitea.API.Repository Methods setBodyParam :: (Consumes RepoSubmitPullReview contentType, MimeRender contentType SubmitPullReviewOptions) => GiteaRequest RepoSubmitPullReview contentType res accept -> SubmitPullReviewOptions -> GiteaRequest RepoSubmitPullReview contentType res accept Source # | |
Consumes RepoSubmitPullReview MimeJSON Source # | application/json |
Defined in Gitea.API.Repository | |
Consumes RepoSubmitPullReview MimePlainText Source # | text/plain |
Defined in Gitea.API.Repository | |
Produces RepoSubmitPullReview MimeJSON Source # | application/json |
Defined in Gitea.API.Repository |
repoTestHook
Arguments
:: Owner | "owner" - owner of the repo |
-> Repo | "repo" - name of the repo |
-> Id | "id" - id of the hook to test |
-> GiteaRequest RepoTestHook MimeNoContent NoContent MimeNoContent |
POST /repos/{owner}/{repo}/hooks/{id}/tests
Test a push webhook
AuthMethod: AuthApiKeyTOTPHeader
, AuthApiKeyAuthorizationHeaderToken
, AuthApiKeySudoHeader
, AuthBasicBasicAuth
, AuthApiKeyAccessToken
, AuthApiKeySudoParam
, AuthApiKeyToken
data RepoTestHook Source #
Instances
HasOptionalParam RepoTestHook Ref Source # | Optional Param "ref" - The name of the commitbranchtag, indicates which commit will be loaded to the webhook payload. |
Defined in Gitea.API.Repository Methods applyOptionalParam :: GiteaRequest RepoTestHook contentType res accept -> Ref -> GiteaRequest RepoTestHook contentType res accept Source # (-&-) :: GiteaRequest RepoTestHook contentType res accept -> Ref -> GiteaRequest RepoTestHook contentType res accept Source # | |
Produces RepoTestHook MimeNoContent Source # | |
Defined in Gitea.API.Repository |
repoTrackedTimes
Arguments
:: Owner | "owner" - owner of the repo |
-> Repo | "repo" - name of the repo |
-> GiteaRequest RepoTrackedTimes MimeNoContent [TrackedTime] MimeJSON |
GET /repos/{owner}/{repo}/times
List a repo's tracked times
AuthMethod: AuthApiKeyTOTPHeader
, AuthApiKeyAuthorizationHeaderToken
, AuthApiKeySudoHeader
, AuthBasicBasicAuth
, AuthApiKeyAccessToken
, AuthApiKeySudoParam
, AuthApiKeyToken
data RepoTrackedTimes Source #
Instances
HasOptionalParam RepoTrackedTimes 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.Repository Methods applyOptionalParam :: GiteaRequest RepoTrackedTimes contentType res accept -> Before -> GiteaRequest RepoTrackedTimes contentType res accept Source # (-&-) :: GiteaRequest RepoTrackedTimes contentType res accept -> Before -> GiteaRequest RepoTrackedTimes contentType res accept Source # | |
HasOptionalParam RepoTrackedTimes Limit Source # | Optional Param "limit" - page size of results |
Defined in Gitea.API.Repository Methods applyOptionalParam :: GiteaRequest RepoTrackedTimes contentType res accept -> Limit -> GiteaRequest RepoTrackedTimes contentType res accept Source # (-&-) :: GiteaRequest RepoTrackedTimes contentType res accept -> Limit -> GiteaRequest RepoTrackedTimes contentType res accept Source # | |
HasOptionalParam RepoTrackedTimes Page Source # | Optional Param "page" - page number of results to return (1-based) |
Defined in Gitea.API.Repository Methods applyOptionalParam :: GiteaRequest RepoTrackedTimes contentType res accept -> Page -> GiteaRequest RepoTrackedTimes contentType res accept Source # (-&-) :: GiteaRequest RepoTrackedTimes contentType res accept -> Page -> GiteaRequest RepoTrackedTimes contentType res accept Source # | |
HasOptionalParam RepoTrackedTimes 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.Repository Methods applyOptionalParam :: GiteaRequest RepoTrackedTimes contentType res accept -> Since -> GiteaRequest RepoTrackedTimes contentType res accept Source # (-&-) :: GiteaRequest RepoTrackedTimes contentType res accept -> Since -> GiteaRequest RepoTrackedTimes contentType res accept Source # | |
HasOptionalParam RepoTrackedTimes User2 Source # | Optional Param "user" - optional filter by user (available for issue managers) |
Defined in Gitea.API.Repository Methods applyOptionalParam :: GiteaRequest RepoTrackedTimes contentType res accept -> User2 -> GiteaRequest RepoTrackedTimes contentType res accept Source # (-&-) :: GiteaRequest RepoTrackedTimes contentType res accept -> User2 -> GiteaRequest RepoTrackedTimes contentType res accept Source # | |
Produces RepoTrackedTimes MimeJSON Source # | application/json |
Defined in Gitea.API.Repository |
repoTransfer0
Arguments
:: (Consumes RepoTransfer0 contentType, MimeRender contentType TransferRepoOption) | |
=> ContentType contentType | request content-type ( |
-> TransferRepoOption | "body" - Transfer Options |
-> Owner | "owner" - owner of the repo to transfer |
-> Repo | "repo" - name of the repo to transfer |
-> GiteaRequest RepoTransfer0 contentType Repository MimeJSON |
POST /repos/{owner}/{repo}/transfer
Transfer a repo ownership
AuthMethod: AuthApiKeyTOTPHeader
, AuthApiKeyAuthorizationHeaderToken
, AuthApiKeySudoHeader
, AuthBasicBasicAuth
, AuthApiKeyAccessToken
, AuthApiKeySudoParam
, AuthApiKeyToken
data RepoTransfer0 Source #
Instances
HasBodyParam RepoTransfer0 TransferRepoOption Source # | Body Param "body" - Transfer Options |
Defined in Gitea.API.Repository Methods setBodyParam :: (Consumes RepoTransfer0 contentType, MimeRender contentType TransferRepoOption) => GiteaRequest RepoTransfer0 contentType res accept -> TransferRepoOption -> GiteaRequest RepoTransfer0 contentType res accept Source # | |
Consumes RepoTransfer0 MimeJSON Source # | application/json |
Defined in Gitea.API.Repository | |
Consumes RepoTransfer0 MimePlainText Source # | text/plain |
Defined in Gitea.API.Repository | |
Produces RepoTransfer0 MimeJSON Source # | application/json |
Defined in Gitea.API.Repository |
repoUnDismissPullReview
repoUnDismissPullReview Source #
Arguments
:: Owner | "owner" - owner of the repo |
-> Repo | "repo" - name of the repo |
-> Index | "index" - index of the pull request |
-> Id | "id" - id of the review |
-> GiteaRequest RepoUnDismissPullReview MimeNoContent PullReview MimeJSON |
POST /repos/{owner}/{repo}/pulls/{index}/reviews/{id}/undismissals
Cancel to dismiss a review for a pull request
AuthMethod: AuthApiKeyTOTPHeader
, AuthApiKeyAuthorizationHeaderToken
, AuthApiKeySudoHeader
, AuthBasicBasicAuth
, AuthApiKeyAccessToken
, AuthApiKeySudoParam
, AuthApiKeyToken
data RepoUnDismissPullReview Source #
Instances
Produces RepoUnDismissPullReview MimeJSON Source # | application/json |
Defined in Gitea.API.Repository |
repoUpdateAvatar
Arguments
:: Consumes RepoUpdateAvatar contentType | |
=> ContentType contentType | request content-type ( |
-> Owner | "owner" - owner of the repo |
-> Repo | "repo" - name of the repo |
-> GiteaRequest RepoUpdateAvatar contentType NoContent MimeNoContent |
POST /repos/{owner}/{repo}/avatar
Update avatar
AuthMethod: AuthApiKeyTOTPHeader
, AuthApiKeyAuthorizationHeaderToken
, AuthApiKeySudoHeader
, AuthBasicBasicAuth
, AuthApiKeyAccessToken
, AuthApiKeySudoParam
, AuthApiKeyToken
data RepoUpdateAvatar Source #
Instances
HasBodyParam RepoUpdateAvatar UpdateRepoAvatarOption Source # | |
Defined in Gitea.API.Repository Methods setBodyParam :: (Consumes RepoUpdateAvatar contentType, MimeRender contentType UpdateRepoAvatarOption) => GiteaRequest RepoUpdateAvatar contentType res accept -> UpdateRepoAvatarOption -> GiteaRequest RepoUpdateAvatar contentType res accept Source # | |
Consumes RepoUpdateAvatar MimeJSON Source # | application/json |
Defined in Gitea.API.Repository | |
Consumes RepoUpdateAvatar MimePlainText Source # | text/plain |
Defined in Gitea.API.Repository | |
Produces RepoUpdateAvatar MimeNoContent Source # | |
Defined in Gitea.API.Repository |
repoUpdateBranch
Arguments
:: Consumes RepoUpdateBranch MimeJSON | |
=> Owner | "owner" - owner of the repo |
-> Repo | "repo" - name of the repo |
-> Branch2 | "branch" - name of the branch |
-> GiteaRequest RepoUpdateBranch MimeJSON NoContent MimeNoContent |
PATCH /repos/{owner}/{repo}/branches/{branch}
Update a branch
AuthMethod: AuthApiKeyTOTPHeader
, AuthApiKeyAuthorizationHeaderToken
, AuthApiKeySudoHeader
, AuthBasicBasicAuth
, AuthApiKeyAccessToken
, AuthApiKeySudoParam
, AuthApiKeyToken
data RepoUpdateBranch Source #
Instances
HasBodyParam RepoUpdateBranch UpdateBranchRepoOption Source # | |
Defined in Gitea.API.Repository Methods setBodyParam :: (Consumes RepoUpdateBranch contentType, MimeRender contentType UpdateBranchRepoOption) => GiteaRequest RepoUpdateBranch contentType res accept -> UpdateBranchRepoOption -> GiteaRequest RepoUpdateBranch contentType res accept Source # | |
Consumes RepoUpdateBranch MimeJSON Source # | application/json |
Defined in Gitea.API.Repository | |
Produces RepoUpdateBranch MimeNoContent Source # | |
Defined in Gitea.API.Repository |
repoUpdateBranchProtectionPriories
repoUpdateBranchProtectionPriories Source #
Arguments
:: Consumes RepoUpdateBranchProtectionPriories MimeJSON | |
=> Owner | "owner" - owner of the repo |
-> Repo | "repo" - name of the repo |
-> GiteaRequest RepoUpdateBranchProtectionPriories MimeJSON NoContent MimeNoContent |
POST /repos/{owner}/{repo}/branch_protections/priority
Update the priorities of branch protections for a repository.
AuthMethod: AuthApiKeyTOTPHeader
, AuthApiKeyAuthorizationHeaderToken
, AuthApiKeySudoHeader
, AuthBasicBasicAuth
, AuthApiKeyAccessToken
, AuthApiKeySudoParam
, AuthApiKeyToken
data RepoUpdateBranchProtectionPriories Source #
Instances
HasBodyParam RepoUpdateBranchProtectionPriories UpdateBranchProtectionPriories Source # | |
Defined in Gitea.API.Repository Methods setBodyParam :: (Consumes RepoUpdateBranchProtectionPriories contentType, MimeRender contentType UpdateBranchProtectionPriories) => GiteaRequest RepoUpdateBranchProtectionPriories contentType res accept -> UpdateBranchProtectionPriories -> GiteaRequest RepoUpdateBranchProtectionPriories contentType res accept Source # | |
Consumes RepoUpdateBranchProtectionPriories MimeJSON Source # | application/json |
Defined in Gitea.API.Repository | |
Produces RepoUpdateBranchProtectionPriories MimeNoContent Source # | |
Defined in Gitea.API.Repository |
repoUpdateFile
Arguments
:: (Consumes RepoUpdateFile MimeJSON, MimeRender MimeJSON UpdateFileOptions) | |
=> UpdateFileOptions | "body" |
-> Owner | "owner" - owner of the repo |
-> Repo | "repo" - name of the repo |
-> Filepath | "filepath" - path of the file to update |
-> GiteaRequest RepoUpdateFile MimeJSON FileResponse MimeJSON |
PUT /repos/{owner}/{repo}/contents/{filepath}
Update a file in a repository
AuthMethod: AuthApiKeyTOTPHeader
, AuthApiKeyAuthorizationHeaderToken
, AuthApiKeySudoHeader
, AuthBasicBasicAuth
, AuthApiKeyAccessToken
, AuthApiKeySudoParam
, AuthApiKeyToken
data RepoUpdateFile Source #
Instances
HasBodyParam RepoUpdateFile UpdateFileOptions Source # | |
Defined in Gitea.API.Repository Methods setBodyParam :: (Consumes RepoUpdateFile contentType, MimeRender contentType UpdateFileOptions) => GiteaRequest RepoUpdateFile contentType res accept -> UpdateFileOptions -> GiteaRequest RepoUpdateFile contentType res accept Source # | |
Consumes RepoUpdateFile MimeJSON Source # | application/json |
Defined in Gitea.API.Repository | |
Produces RepoUpdateFile MimeJSON Source # | application/json |
Defined in Gitea.API.Repository |
repoUpdatePullRequest
repoUpdatePullRequest Source #
Arguments
:: Owner | "owner" - owner of the repo |
-> Repo | "repo" - name of the repo |
-> Index | "index" - index of the pull request to get |
-> GiteaRequest RepoUpdatePullRequest MimeNoContent NoContent MimeNoContent |
POST /repos/{owner}/{repo}/pulls/{index}/update
Merge PR's baseBranch into headBranch
AuthMethod: AuthApiKeyTOTPHeader
, AuthApiKeyAuthorizationHeaderToken
, AuthApiKeySudoHeader
, AuthBasicBasicAuth
, AuthApiKeyAccessToken
, AuthApiKeySudoParam
, AuthApiKeyToken
data RepoUpdatePullRequest Source #
Instances
HasOptionalParam RepoUpdatePullRequest Style Source # | Optional Param "style" - how to update pull request |
Defined in Gitea.API.Repository Methods applyOptionalParam :: GiteaRequest RepoUpdatePullRequest contentType res accept -> Style -> GiteaRequest RepoUpdatePullRequest contentType res accept Source # (-&-) :: GiteaRequest RepoUpdatePullRequest contentType res accept -> Style -> GiteaRequest RepoUpdatePullRequest contentType res accept Source # | |
Produces RepoUpdatePullRequest MimeNoContent Source # | |
Defined in Gitea.API.Repository |
repoUpdateTopics
Arguments
:: Consumes RepoUpdateTopics contentType | |
=> ContentType contentType | request content-type ( |
-> Owner | "owner" - owner of the repo |
-> Repo | "repo" - name of the repo |
-> GiteaRequest RepoUpdateTopics contentType NoContent MimeNoContent |
PUT /repos/{owner}/{repo}/topics
Replace list of topics for a repository
AuthMethod: AuthApiKeyTOTPHeader
, AuthApiKeyAuthorizationHeaderToken
, AuthApiKeySudoHeader
, AuthBasicBasicAuth
, AuthApiKeyAccessToken
, AuthApiKeySudoParam
, AuthApiKeyToken
data RepoUpdateTopics Source #
Instances
HasBodyParam RepoUpdateTopics RepoTopicOptions Source # | |
Defined in Gitea.API.Repository Methods setBodyParam :: (Consumes RepoUpdateTopics contentType, MimeRender contentType RepoTopicOptions) => GiteaRequest RepoUpdateTopics contentType res accept -> RepoTopicOptions -> GiteaRequest RepoUpdateTopics contentType res accept Source # | |
Consumes RepoUpdateTopics MimeJSON Source # | application/json |
Defined in Gitea.API.Repository | |
Consumes RepoUpdateTopics MimePlainText Source # | text/plain |
Defined in Gitea.API.Repository | |
Produces RepoUpdateTopics MimeNoContent Source # | |
Defined in Gitea.API.Repository |
repoValidateIssueConfig
repoValidateIssueConfig Source #
Arguments
:: Owner | "owner" - owner of the repo |
-> Repo | "repo" - name of the repo |
-> GiteaRequest RepoValidateIssueConfig MimeNoContent IssueConfigValidation MimeJSON |
GET /repos/{owner}/{repo}/issue_config/validate
Returns the validation information for a issue config
AuthMethod: AuthApiKeyTOTPHeader
, AuthApiKeyAuthorizationHeaderToken
, AuthApiKeySudoHeader
, AuthBasicBasicAuth
, AuthApiKeyAccessToken
, AuthApiKeySudoParam
, AuthApiKeyToken
data RepoValidateIssueConfig Source #
Instances
Produces RepoValidateIssueConfig MimeJSON Source # | application/json |
Defined in Gitea.API.Repository |
topicSearch
Arguments
:: Q | "q" - keywords to search |
-> GiteaRequest TopicSearch MimeNoContent [TopicResponse] MimeJSON |
GET /topics/search
search topics via keyword
AuthMethod: AuthApiKeyTOTPHeader
, AuthApiKeyAuthorizationHeaderToken
, AuthApiKeySudoHeader
, AuthBasicBasicAuth
, AuthApiKeyAccessToken
, AuthApiKeySudoParam
, AuthApiKeyToken
data TopicSearch Source #
Instances
HasOptionalParam TopicSearch Limit Source # | Optional Param "limit" - page size of results |
Defined in Gitea.API.Repository Methods applyOptionalParam :: GiteaRequest TopicSearch contentType res accept -> Limit -> GiteaRequest TopicSearch contentType res accept Source # (-&-) :: GiteaRequest TopicSearch contentType res accept -> Limit -> GiteaRequest TopicSearch contentType res accept Source # | |
HasOptionalParam TopicSearch Page Source # | Optional Param "page" - page number of results to return (1-based) |
Defined in Gitea.API.Repository Methods applyOptionalParam :: GiteaRequest TopicSearch contentType res accept -> Page -> GiteaRequest TopicSearch contentType res accept Source # (-&-) :: GiteaRequest TopicSearch contentType res accept -> Page -> GiteaRequest TopicSearch contentType res accept Source # | |
Produces TopicSearch MimeJSON Source # | application/json |
Defined in Gitea.API.Repository |
updateRepoSecret
Arguments
:: Consumes UpdateRepoSecret MimeJSON | |
=> Owner | "owner" - owner of the repository |
-> Repo | "repo" - name of the repository |
-> Secretname | "secretname" - name of the secret |
-> GiteaRequest UpdateRepoSecret MimeJSON NoContent MimeNoContent |
PUT /repos/{owner}/{repo}/actions/secrets/{secretname}
Create or Update a secret value in a repository
AuthMethod: AuthApiKeyTOTPHeader
, AuthApiKeyAuthorizationHeaderToken
, AuthApiKeySudoHeader
, AuthBasicBasicAuth
, AuthApiKeyAccessToken
, AuthApiKeySudoParam
, AuthApiKeyToken
data UpdateRepoSecret Source #
Instances
HasBodyParam UpdateRepoSecret CreateOrUpdateSecretOption Source # | |
Defined in Gitea.API.Repository Methods setBodyParam :: (Consumes UpdateRepoSecret contentType, MimeRender contentType CreateOrUpdateSecretOption) => GiteaRequest UpdateRepoSecret contentType res accept -> CreateOrUpdateSecretOption -> GiteaRequest UpdateRepoSecret contentType res accept Source # | |
Consumes UpdateRepoSecret MimeJSON Source # | application/json |
Defined in Gitea.API.Repository | |
Produces UpdateRepoSecret MimeNoContent Source # | |
Defined in Gitea.API.Repository |
updateRepoVariable
Arguments
:: Consumes UpdateRepoVariable contentType | |
=> ContentType contentType | request content-type ( |
-> Owner | "owner" - name of the owner |
-> Repo | "repo" - name of the repository |
-> Variablename | "variablename" - name of the variable |
-> GiteaRequest UpdateRepoVariable contentType NoContent MimeNoContent |
PUT /repos/{owner}/{repo}/actions/variables/{variablename}
Update a repo-level variable
AuthMethod: AuthApiKeyTOTPHeader
, AuthApiKeyAuthorizationHeaderToken
, AuthApiKeySudoHeader
, AuthBasicBasicAuth
, AuthApiKeyAccessToken
, AuthApiKeySudoParam
, AuthApiKeyToken
data UpdateRepoVariable Source #
Instances
HasBodyParam UpdateRepoVariable UpdateVariableOption Source # | |
Defined in Gitea.API.Repository Methods setBodyParam :: (Consumes UpdateRepoVariable contentType, MimeRender contentType UpdateVariableOption) => GiteaRequest UpdateRepoVariable contentType res accept -> UpdateVariableOption -> GiteaRequest UpdateRepoVariable contentType res accept Source # | |
Consumes UpdateRepoVariable MimeJSON Source # | application/json |
Defined in Gitea.API.Repository | |
Consumes UpdateRepoVariable MimePlainText Source # | text/plain |
Defined in Gitea.API.Repository | |
Produces UpdateRepoVariable MimeNoContent Source # | |
Defined in Gitea.API.Repository |
userCurrentCheckSubscription
userCurrentCheckSubscription Source #
Arguments
:: Accept accept | request accept ( |
-> Owner | "owner" - owner of the repo |
-> Repo | "repo" - name of the repo |
-> GiteaRequest UserCurrentCheckSubscription MimeNoContent WatchInfo accept |
GET /repos/{owner}/{repo}/subscription
Check if the current user is watching a repo
AuthMethod: AuthApiKeyTOTPHeader
, AuthApiKeyAuthorizationHeaderToken
, AuthApiKeySudoHeader
, AuthBasicBasicAuth
, AuthApiKeyAccessToken
, AuthApiKeySudoParam
, AuthApiKeyToken
data UserCurrentCheckSubscription Source #
Instances
Produces UserCurrentCheckSubscription MimeJSON Source # | application/json |
Defined in Gitea.API.Repository | |
Produces UserCurrentCheckSubscription MimeTextHtml Source # | text/html |
Defined in Gitea.API.Repository |
userCurrentDeleteSubscription
userCurrentDeleteSubscription Source #
Arguments
:: Owner | "owner" - owner of the repo |
-> Repo | "repo" - name of the repo |
-> GiteaRequest UserCurrentDeleteSubscription MimeNoContent NoContent MimeNoContent |
DELETE /repos/{owner}/{repo}/subscription
Unwatch a repo
AuthMethod: AuthApiKeyTOTPHeader
, AuthApiKeyAuthorizationHeaderToken
, AuthApiKeySudoHeader
, AuthBasicBasicAuth
, AuthApiKeyAccessToken
, AuthApiKeySudoParam
, AuthApiKeyToken
data UserCurrentDeleteSubscription Source #
Instances
userCurrentPutSubscription
userCurrentPutSubscription Source #
Arguments
:: Accept accept | request accept ( |
-> Owner | "owner" - owner of the repo |
-> Repo | "repo" - name of the repo |
-> GiteaRequest UserCurrentPutSubscription MimeNoContent WatchInfo accept |
PUT /repos/{owner}/{repo}/subscription
Watch a repo
AuthMethod: AuthApiKeyTOTPHeader
, AuthApiKeyAuthorizationHeaderToken
, AuthApiKeySudoHeader
, AuthBasicBasicAuth
, AuthApiKeyAccessToken
, AuthApiKeySudoParam
, AuthApiKeyToken
data UserCurrentPutSubscription Source #
Instances
Produces UserCurrentPutSubscription MimeJSON Source # | application/json |
Defined in Gitea.API.Repository | |
Produces UserCurrentPutSubscription MimeTextHtml Source # | text/html |
Defined in Gitea.API.Repository |
userTrackedTimes
Arguments
:: Owner | "owner" - owner of the repo |
-> Repo | "repo" - name of the repo |
-> User2 | "user" - username of user |
-> GiteaRequest UserTrackedTimes MimeNoContent [TrackedTime] MimeJSON |
Deprecated:
GET /repos/{owner}/{repo}/times/{user}
List a user's tracked times in a repo
AuthMethod: AuthApiKeyTOTPHeader
, AuthApiKeyAuthorizationHeaderToken
, AuthApiKeySudoHeader
, AuthBasicBasicAuth
, AuthApiKeyAccessToken
, AuthApiKeySudoParam
, AuthApiKeyToken
data UserTrackedTimes Source #
Instances
Produces UserTrackedTimes MimeJSON Source # | application/json |
Defined in Gitea.API.Repository |