gitea-api-1.23.1.0: Auto-generated gitea-api API Client
Safe HaskellSafe-Inferred
LanguageHaskell2010

Gitea.API.Repository

Contents

Description

 
Synopsis

Operations

Repository

acceptRepoTransfer

acceptRepoTransfer Source #

Arguments

:: Owner

"owner" - owner of the repo to transfer

-> Repo

"repo" - name of the repo to transfer

-> GiteaRequest AcceptRepoTransfer MimeNoContent Repository MimeJSON 

data AcceptRepoTransfer Source #

Instances

Instances details
Produces AcceptRepoTransfer MimeJSON Source #
application/json
Instance details

Defined in Gitea.API.Repository

createCurrentUserRepo

data CreateCurrentUserRepo Source #

Instances

Instances details
HasBodyParam CreateCurrentUserRepo CreateRepoOption Source # 
Instance details

Defined in Gitea.API.Repository

Consumes CreateCurrentUserRepo MimeJSON Source #
application/json
Instance details

Defined in Gitea.API.Repository

Produces CreateCurrentUserRepo MimeJSON Source #
application/json
Instance details

Defined in Gitea.API.Repository

createFork

createFork Source #

Arguments

:: Consumes CreateFork contentType 
=> ContentType contentType

request content-type (MimeType)

-> Owner

"owner" - owner of the repo to fork

-> Repo

"repo" - name of the repo to fork

-> GiteaRequest CreateFork contentType Repository MimeJSON 

data CreateFork Source #

Instances

Instances details
HasBodyParam CreateFork CreateForkOption Source # 
Instance details

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
Instance details

Defined in Gitea.API.Repository

Consumes CreateFork MimePlainText Source #
text/plain
Instance details

Defined in Gitea.API.Repository

Produces CreateFork MimeJSON Source #
application/json
Instance details

Defined in Gitea.API.Repository

createRepoVariable

createRepoVariable Source #

Arguments

:: Consumes CreateRepoVariable contentType 
=> ContentType contentType

request content-type (MimeType)

-> 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

deleteRepoSecret

deleteRepoSecret Source #

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

Instances details
Produces DeleteRepoSecret MimeNoContent Source # 
Instance details

Defined in Gitea.API.Repository

deleteRepoVariable

deleteRepoVariable Source #

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

Instances details
Produces DeleteRepoVariable MimeJSON Source #
application/json
Instance details

Defined in Gitea.API.Repository

generateRepo

generateRepo Source #

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

Instances details
HasBodyParam GenerateRepo GenerateRepoOption Source # 
Instance details

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
Instance details

Defined in Gitea.API.Repository

Produces GenerateRepo MimeJSON Source #
application/json
Instance details

Defined in Gitea.API.Repository

getAnnotatedTag

getAnnotatedTag Source #

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

Instances details
Produces GetAnnotatedTag MimeJSON Source #
application/json
Instance details

Defined in Gitea.API.Repository

getBlob

getBlob Source #

Arguments

:: Owner

"owner" - owner of the repo

-> Repo

"repo" - name of the repo

-> Sha

"sha" - sha of the commit

-> GiteaRequest GetBlob MimeNoContent GitBlobResponse MimeJSON 

data GetBlob Source #

Instances

Instances details
Produces GetBlob MimeJSON Source #
application/json
Instance details

Defined in Gitea.API.Repository

getRepoVariable

getRepoVariable Source #

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

Instances details
Produces GetRepoVariable MimeJSON Source #
application/json
Instance details

Defined in Gitea.API.Repository

getRepoVariablesList

getRepoVariablesList Source #

Arguments

:: Owner

"owner" - name of the owner

-> Repo

"repo" - name of the repository

-> GiteaRequest GetRepoVariablesList MimeNoContent [ActionVariable] MimeJSON 

data GetRepoVariablesList Source #

Instances

Instances details
HasOptionalParam GetRepoVariablesList Limit Source #

Optional Param "limit" - page size of results

Instance details

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)

Instance details

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
Instance details

Defined in Gitea.API.Repository

getTree

getTree Source #

Arguments

:: Owner

"owner" - owner of the repo

-> Repo

"repo" - name of the repo

-> Sha

"sha" - sha of the commit

-> GiteaRequest GetTree MimeNoContent GitTreeResponse MimeJSON 

data GetTree Source #

Instances

Instances details
HasOptionalParam GetTree Page Source #

Optional Param "page" - page number; the truncated field in the response will be true if there are still more items after this page, false if the last page

Instance details

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

Instance details

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

Instance details

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
Instance details

Defined in Gitea.API.Repository

listActionTasks

listActionTasks Source #

Arguments

:: Owner

"owner" - owner of the repo

-> Repo

"repo" - name of the repo

-> GiteaRequest ListActionTasks MimeNoContent ActionTaskResponse MimeJSON 

data ListActionTasks Source #

Instances

Instances details
HasOptionalParam ListActionTasks Limit Source #

Optional Param "limit" - page size of results, default maximum page size is 50

Instance details

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)

Instance details

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
Instance details

Defined in Gitea.API.Repository

listForks

listForks Source #

Arguments

:: Owner

"owner" - owner of the repo

-> Repo

"repo" - name of the repo

-> GiteaRequest ListForks MimeNoContent [Repository] MimeJSON 

data ListForks Source #

Instances

Instances details
HasOptionalParam ListForks Limit Source #

Optional Param "limit" - page size of results

Instance details

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)

Instance details

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
Instance details

Defined in Gitea.API.Repository

rejectRepoTransfer

rejectRepoTransfer Source #

Arguments

:: Owner

"owner" - owner of the repo to transfer

-> Repo

"repo" - name of the repo to transfer

-> GiteaRequest RejectRepoTransfer MimeNoContent Repository MimeJSON 

data RejectRepoTransfer Source #

Instances

Instances details
Produces RejectRepoTransfer MimeJSON Source #
application/json
Instance details

Defined in Gitea.API.Repository

repoAddCollaborator

repoAddCollaborator Source #

Arguments

:: Consumes RepoAddCollaborator contentType 
=> ContentType contentType

request content-type (MimeType)

-> 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

repoAddPushMirror

repoAddPushMirror Source #

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

Instances details
HasBodyParam RepoAddPushMirror CreatePushMirrorOption Source # 
Instance details

Defined in Gitea.API.Repository

Consumes RepoAddPushMirror MimeJSON Source #
application/json
Instance details

Defined in Gitea.API.Repository

Produces RepoAddPushMirror MimeJSON Source #
application/json
Instance details

Defined in Gitea.API.Repository

repoAddTeam

repoAddTeam Source #

Arguments

:: Owner

"owner" - owner of the repo

-> Repo

"repo" - name of the repo

-> Team2

"team" - team name

-> GiteaRequest RepoAddTeam MimeNoContent NoContent MimeNoContent 

data RepoAddTeam Source #

Instances

Instances details
Produces RepoAddTeam MimeNoContent Source # 
Instance details

Defined in Gitea.API.Repository

repoAddTopic

repoAddTopic Source #

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 

data RepoAddTopic Source #

Instances

Instances details
Produces RepoAddTopic MimeNoContent Source # 
Instance details

Defined in Gitea.API.Repository

repoApplyDiffPatch

data RepoApplyDiffPatch Source #

Instances

Instances details
HasBodyParam RepoApplyDiffPatch UpdateFileOptions Source # 
Instance details

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
Instance details

Defined in Gitea.API.Repository

Produces RepoApplyDiffPatch MimeJSON Source #
application/json
Instance details

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

repoChangeFiles

data RepoChangeFiles Source #

Instances

Instances details
HasBodyParam RepoChangeFiles ChangeFilesOptions Source # 
Instance details

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
Instance details

Defined in Gitea.API.Repository

Produces RepoChangeFiles MimeJSON Source #
application/json
Instance details

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

Instances details
Produces RepoCheckCollaborator MimeNoContent Source # 
Instance details

Defined in Gitea.API.Repository

repoCheckTeam

repoCheckTeam Source #

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

Instances details
Produces RepoCheckTeam MimeJSON Source #
application/json
Instance details

Defined in Gitea.API.Repository

repoCompareDiff

repoCompareDiff Source #

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

Instances details
Produces RepoCompareDiff MimeJSON Source #
application/json
Instance details

Defined in Gitea.API.Repository

repoCreateBranch

data RepoCreateBranch Source #

Instances

Instances details
HasBodyParam RepoCreateBranch CreateBranchRepoOption Source # 
Instance details

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
Instance details

Defined in Gitea.API.Repository

Produces RepoCreateBranch MimeJSON Source #
application/json
Instance details

Defined in Gitea.API.Repository

repoCreateBranchProtection

repoCreateFile

repoCreateFile Source #

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

Instances details
HasBodyParam RepoCreateFile CreateFileOptions Source # 
Instance details

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
Instance details

Defined in Gitea.API.Repository

Produces RepoCreateFile MimeJSON Source #
application/json
Instance details

Defined in Gitea.API.Repository

repoCreateHook

data RepoCreateHook Source #

Instances

Instances details
HasBodyParam RepoCreateHook CreateHookOption Source # 
Instance details

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
Instance details

Defined in Gitea.API.Repository

Produces RepoCreateHook MimeJSON Source #
application/json
Instance details

Defined in Gitea.API.Repository

repoCreateKey

data RepoCreateKey Source #

Instances

Instances details
HasBodyParam RepoCreateKey CreateKeyOption Source # 
Instance details

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
Instance details

Defined in Gitea.API.Repository

Produces RepoCreateKey MimeJSON Source #
application/json
Instance details

Defined in Gitea.API.Repository

repoCreatePullRequest

repoCreatePullReview

repoCreatePullReview Source #

Arguments

:: (Consumes RepoCreatePullReview contentType, MimeRender contentType CreatePullReviewOptions) 
=> ContentType contentType

request content-type (MimeType)

-> 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

repoCreatePullReviewRequests

repoCreatePullReviewRequests Source #

Arguments

:: (Consumes RepoCreatePullReviewRequests contentType, MimeRender contentType PullReviewRequestOptions) 
=> ContentType contentType

request content-type (MimeType)

-> 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

repoCreateRelease

data RepoCreateRelease Source #

Instances

Instances details
HasBodyParam RepoCreateRelease CreateReleaseOption Source # 
Instance details

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
Instance details

Defined in Gitea.API.Repository

Produces RepoCreateRelease MimeJSON Source #
application/json
Instance details

Defined in Gitea.API.Repository

repoCreateReleaseAttachment

repoCreateReleaseAttachment Source #

Arguments

:: Consumes RepoCreateReleaseAttachment contentType 
=> ContentType contentType

request content-type (MimeType)

-> 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

Instances details
HasOptionalParam RepoCreateReleaseAttachment Attachment2 Source #

Optional Param "attachment" - attachment to upload

Instance details

Defined in Gitea.API.Repository

HasOptionalParam RepoCreateReleaseAttachment Name Source #

Optional Param "name" - name of the attachment

Instance details

Defined in Gitea.API.Repository

Consumes RepoCreateReleaseAttachment MimeMultipartFormData Source #
multipart/form-data
Instance details

Defined in Gitea.API.Repository

Consumes RepoCreateReleaseAttachment MimeOctetStream Source #
application/octet-stream
Instance details

Defined in Gitea.API.Repository

Produces RepoCreateReleaseAttachment MimeJSON Source #
application/json
Instance details

Defined in Gitea.API.Repository

repoCreateStatus

repoCreateStatus Source #

Arguments

:: Consumes RepoCreateStatus contentType 
=> ContentType contentType

request content-type (MimeType)

-> Owner

"owner" - owner of the repo

-> Repo

"repo" - name of the repo

-> Sha

"sha" - sha of the commit

-> GiteaRequest RepoCreateStatus contentType CommitStatus MimeJSON 

data RepoCreateStatus Source #

Instances

Instances details
HasBodyParam RepoCreateStatus CreateStatusOption Source # 
Instance details

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
Instance details

Defined in Gitea.API.Repository

Consumes RepoCreateStatus MimePlainText Source #
text/plain
Instance details

Defined in Gitea.API.Repository

Produces RepoCreateStatus MimeJSON Source #
application/json
Instance details

Defined in Gitea.API.Repository

repoCreateTag

repoCreateTag Source #

Arguments

:: Consumes RepoCreateTag contentType 
=> ContentType contentType

request content-type (MimeType)

-> Owner

"owner" - owner of the repo

-> Repo

"repo" - name of the repo

-> GiteaRequest RepoCreateTag contentType Tag MimeJSON 

data RepoCreateTag Source #

Instances

Instances details
HasBodyParam RepoCreateTag CreateTagOption Source # 
Instance details

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
Instance details

Defined in Gitea.API.Repository

Consumes RepoCreateTag MimePlainText Source #
text/plain
Instance details

Defined in Gitea.API.Repository

Produces RepoCreateTag MimeJSON Source #
application/json
Instance details

Defined in Gitea.API.Repository

repoCreateTagProtection

repoCreateWikiPage

repoCreateWikiPage Source #

Arguments

:: Consumes RepoCreateWikiPage MimeJSON 
=> Accept accept

request accept (MimeType)

-> Owner

"owner" - owner of the repo

-> Repo

"repo" - name of the repo

-> GiteaRequest RepoCreateWikiPage MimeJSON WikiPage accept 

data RepoCreateWikiPage Source #

Instances

Instances details
HasBodyParam RepoCreateWikiPage CreateWikiPageOptions Source # 
Instance details

Defined in Gitea.API.Repository

Consumes RepoCreateWikiPage MimeJSON Source #
application/json
Instance details

Defined in Gitea.API.Repository

Produces RepoCreateWikiPage MimeJSON Source #
application/json
Instance details

Defined in Gitea.API.Repository

Produces RepoCreateWikiPage MimeTextHtml Source #
text/html
Instance details

Defined in Gitea.API.Repository

repoDelete

repoDelete Source #

Arguments

:: Owner

"owner" - owner of the repo to delete

-> Repo

"repo" - name of the repo to delete

-> GiteaRequest RepoDelete MimeNoContent NoContent MimeNoContent 

data RepoDelete Source #

Instances

Instances details
Produces RepoDelete MimeNoContent Source # 
Instance details

Defined in Gitea.API.Repository

repoDeleteAvatar

data RepoDeleteAvatar Source #

Instances

Instances details
Produces RepoDeleteAvatar MimeNoContent Source # 
Instance details

Defined in Gitea.API.Repository

repoDeleteBranch

repoDeleteBranch Source #

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

Instances details
Produces RepoDeleteBranch MimeNoContent Source # 
Instance details

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

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

Instances details
Produces RepoDeleteCollaborator MimeNoContent Source # 
Instance details

Defined in Gitea.API.Repository

repoDeleteFile

repoDeleteFile Source #

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

Instances details
HasBodyParam RepoDeleteFile DeleteFileOptions Source # 
Instance details

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
Instance details

Defined in Gitea.API.Repository

Produces RepoDeleteFile MimeJSON Source #
application/json
Instance details

Defined in Gitea.API.Repository

repoDeleteGitHook

repoDeleteGitHook Source #

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

Instances details
Produces RepoDeleteGitHook MimeNoContent Source # 
Instance details

Defined in Gitea.API.Repository

repoDeleteHook

repoDeleteHook Source #

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 

data RepoDeleteHook Source #

Instances

Instances details
Produces RepoDeleteHook MimeNoContent Source # 
Instance details

Defined in Gitea.API.Repository

repoDeleteKey

repoDeleteKey Source #

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 

data RepoDeleteKey Source #

Instances

Instances details
Produces RepoDeleteKey MimeNoContent Source # 
Instance details

Defined in Gitea.API.Repository

repoDeletePullReview

repoDeletePullReview 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 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

Instances details
Produces RepoDeletePullReview MimeNoContent Source # 
Instance details

Defined in Gitea.API.Repository

repoDeletePullReviewRequests

repoDeletePullReviewRequests Source #

Arguments

:: (Consumes RepoDeletePullReviewRequests contentType, MimeRender contentType PullReviewRequestOptions) 
=> ContentType contentType

request content-type (MimeType)

-> 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

repoDeletePushMirror

repoDeletePushMirror Source #

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

Instances details
Produces RepoDeletePushMirror MimeNoContent Source # 
Instance details

Defined in Gitea.API.Repository

repoDeleteRelease

repoDeleteRelease Source #

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 

data RepoDeleteRelease Source #

Instances

Instances details
Produces RepoDeleteRelease MimeNoContent Source # 
Instance details

Defined in Gitea.API.Repository

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

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

Instances details
Produces RepoDeleteReleaseByTag MimeNoContent Source # 
Instance details

Defined in Gitea.API.Repository

repoDeleteTag

repoDeleteTag Source #

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 

data RepoDeleteTag Source #

Instances

Instances details
Produces RepoDeleteTag MimeNoContent Source # 
Instance details

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

repoDeleteTeam

repoDeleteTeam Source #

Arguments

:: Owner

"owner" - owner of the repo

-> Repo

"repo" - name of the repo

-> Team2

"team" - team name

-> GiteaRequest RepoDeleteTeam MimeNoContent NoContent MimeNoContent 

data RepoDeleteTeam Source #

Instances

Instances details
Produces RepoDeleteTeam MimeNoContent Source # 
Instance details

Defined in Gitea.API.Repository

repoDeleteTopic

repoDeleteTopic Source #

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

Instances details
Produces RepoDeleteTopic MimeNoContent Source # 
Instance details

Defined in Gitea.API.Repository

repoDeleteWikiPage

repoDeleteWikiPage Source #

Arguments

:: Owner

"owner" - owner of the repo

-> Repo

"repo" - name of the repo

-> PageName

"pageName" - name of the page

-> GiteaRequest RepoDeleteWikiPage MimeNoContent NoContent MimeNoContent 

data RepoDeleteWikiPage Source #

Instances

Instances details
Produces RepoDeleteWikiPage MimeNoContent Source # 
Instance details

Defined in Gitea.API.Repository

repoDismissPullReview

repoDismissPullReview Source #

Arguments

:: (Consumes RepoDismissPullReview contentType, MimeRender contentType DismissPullReviewOptions) 
=> ContentType contentType

request content-type (MimeType)

-> 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

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

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

Instances details
HasOptionalParam RepoDownloadPullDiffOrPatch ParamBinary Source #

Optional Param "binary" - whether to include binary file changes. if true, the diff is applicable with `git apply`

Instance details

Defined in Gitea.API.Repository

Produces RepoDownloadPullDiffOrPatch MimePlainText Source #
text/plain
Instance details

Defined in Gitea.API.Repository

repoEdit

repoEdit Source #

Arguments

:: Consumes RepoEdit contentType 
=> ContentType contentType

request content-type (MimeType)

-> 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

data RepoEdit Source #

Instances

Instances details
HasBodyParam RepoEdit EditRepoOption Source #

Body Param "body" - Properties of a repo that you can edit

Instance details

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
Instance details

Defined in Gitea.API.Repository

Consumes RepoEdit MimePlainText Source #
text/plain
Instance details

Defined in Gitea.API.Repository

Produces RepoEdit MimeJSON Source #
application/json
Instance details

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

repoEditGitHook

repoEditGitHook Source #

Arguments

:: Consumes RepoEditGitHook contentType 
=> ContentType contentType

request content-type (MimeType)

-> 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 

data RepoEditGitHook Source #

Instances

Instances details
HasBodyParam RepoEditGitHook EditGitHookOption Source # 
Instance details

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
Instance details

Defined in Gitea.API.Repository

Consumes RepoEditGitHook MimePlainText Source #
text/plain
Instance details

Defined in Gitea.API.Repository

Produces RepoEditGitHook MimeJSON Source #
application/json
Instance details

Defined in Gitea.API.Repository

repoEditHook

repoEditHook Source #

Arguments

:: Consumes RepoEditHook contentType 
=> ContentType contentType

request content-type (MimeType)

-> Owner

"owner" - owner of the repo

-> Repo

"repo" - name of the repo

-> Id

"id" - index of the hook

-> GiteaRequest RepoEditHook contentType Hook MimeJSON 

data RepoEditHook Source #

Instances

Instances details
HasBodyParam RepoEditHook EditHookOption Source # 
Instance details

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
Instance details

Defined in Gitea.API.Repository

Consumes RepoEditHook MimePlainText Source #
text/plain
Instance details

Defined in Gitea.API.Repository

Produces RepoEditHook MimeJSON Source #
application/json
Instance details

Defined in Gitea.API.Repository

repoEditPullRequest

repoEditPullRequest Source #

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

Instances details
HasBodyParam RepoEditPullRequest EditPullRequestOption Source # 
Instance details

Defined in Gitea.API.Repository

Consumes RepoEditPullRequest MimeJSON Source #
application/json
Instance details

Defined in Gitea.API.Repository

Produces RepoEditPullRequest MimeJSON Source #
application/json
Instance details

Defined in Gitea.API.Repository

repoEditRelease

repoEditRelease Source #

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 

data RepoEditRelease Source #

Instances

Instances details
HasBodyParam RepoEditRelease EditReleaseOption Source # 
Instance details

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
Instance details

Defined in Gitea.API.Repository

Produces RepoEditRelease MimeJSON Source #
application/json
Instance details

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

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

repoEditWikiPage

repoEditWikiPage Source #

Arguments

:: Consumes RepoEditWikiPage MimeJSON 
=> Accept accept

request accept (MimeType)

-> Owner

"owner" - owner of the repo

-> Repo

"repo" - name of the repo

-> PageName

"pageName" - name of the page

-> GiteaRequest RepoEditWikiPage MimeJSON WikiPage accept 

data RepoEditWikiPage Source #

Instances

Instances details
HasBodyParam RepoEditWikiPage CreateWikiPageOptions Source # 
Instance details

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
Instance details

Defined in Gitea.API.Repository

Produces RepoEditWikiPage MimeJSON Source #
application/json
Instance details

Defined in Gitea.API.Repository

Produces RepoEditWikiPage MimeTextHtml Source #
text/html
Instance details

Defined in Gitea.API.Repository

repoGet

data RepoGet Source #

Instances

Instances details
Produces RepoGet MimeJSON Source #
application/json
Instance details

Defined in Gitea.API.Repository

repoGetAllCommits

repoGetAllCommits Source #

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

Instances details
HasOptionalParam RepoGetAllCommits Files Source #

Optional Param "files" - include a list of affected files for every commit (disable for speedup, default true)

Instance details

Defined in Gitea.API.Repository

Methods

applyOptionalParam :: GiteaRequest RepoGetAllCommits contentType res accept -> Files -> GiteaRequest RepoGetAllCommits contentType res accept Source #

(-&-) :: GiteaRequest RepoGetAllCommits contentType res accept -> Files -> GiteaRequest RepoGetAllCommits contentType res accept Source #

HasOptionalParam RepoGetAllCommits Limit Source #

Optional Param "limit" - page size of results (ignored if used with path)

Instance details

Defined in Gitea.API.Repository

Methods

applyOptionalParam :: GiteaRequest RepoGetAllCommits contentType res accept -> Limit -> GiteaRequest RepoGetAllCommits contentType res accept Source #

(-&-) :: GiteaRequest RepoGetAllCommits contentType res accept -> Limit -> GiteaRequest RepoGetAllCommits contentType res accept Source #

HasOptionalParam RepoGetAllCommits Not Source #

Optional Param "not" - commits that match the given specifier will not be listed.

Instance details

Defined in Gitea.API.Repository

Methods

applyOptionalParam :: GiteaRequest RepoGetAllCommits contentType res accept -> Not -> GiteaRequest RepoGetAllCommits contentType res accept Source #

(-&-) :: GiteaRequest RepoGetAllCommits contentType res accept -> Not -> GiteaRequest RepoGetAllCommits contentType res accept Source #

HasOptionalParam RepoGetAllCommits Page Source #

Optional Param "page" - page number of results to return (1-based)

Instance details

Defined in Gitea.API.Repository

Methods

applyOptionalParam :: GiteaRequest RepoGetAllCommits contentType res accept -> Page -> GiteaRequest RepoGetAllCommits contentType res accept Source #

(-&-) :: GiteaRequest RepoGetAllCommits contentType res accept -> Page -> GiteaRequest RepoGetAllCommits contentType res accept Source #

HasOptionalParam RepoGetAllCommits Path Source #

Optional Param "path" - filepath of a file/dir

Instance details

Defined in Gitea.API.Repository

Methods

applyOptionalParam :: GiteaRequest RepoGetAllCommits contentType res accept -> Path -> GiteaRequest RepoGetAllCommits contentType res accept Source #

(-&-) :: GiteaRequest RepoGetAllCommits contentType res accept -> Path -> GiteaRequest RepoGetAllCommits contentType res accept Source #

HasOptionalParam RepoGetAllCommits Sha Source #

Optional Param "sha" - SHA or branch to start listing commits from (usually master)

Instance details

Defined in Gitea.API.Repository

Methods

applyOptionalParam :: GiteaRequest RepoGetAllCommits contentType res accept -> Sha -> GiteaRequest RepoGetAllCommits contentType res accept Source #

(-&-) :: GiteaRequest RepoGetAllCommits contentType res accept -> Sha -> GiteaRequest RepoGetAllCommits contentType res accept Source #

HasOptionalParam RepoGetAllCommits Stat Source #

Optional Param "stat" - include diff stats for every commit (disable for speedup, default true)

Instance details

Defined in Gitea.API.Repository

Methods

applyOptionalParam :: GiteaRequest RepoGetAllCommits contentType res accept -> Stat -> GiteaRequest RepoGetAllCommits contentType res accept Source #

(-&-) :: GiteaRequest RepoGetAllCommits contentType res accept -> Stat -> GiteaRequest RepoGetAllCommits contentType res accept Source #

HasOptionalParam RepoGetAllCommits Verification Source #

Optional Param "verification" - include verification for every commit (disable for speedup, default true)

Instance details

Defined in Gitea.API.Repository

Methods

applyOptionalParam :: GiteaRequest RepoGetAllCommits contentType res accept -> Verification -> GiteaRequest RepoGetAllCommits contentType res accept Source #

(-&-) :: GiteaRequest RepoGetAllCommits contentType res accept -> Verification -> GiteaRequest RepoGetAllCommits contentType res accept Source #

Produces RepoGetAllCommits MimeJSON Source #
application/json
Instance details

Defined in Gitea.API.Repository

repoGetArchive

repoGetArchive Source #

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 

data RepoGetArchive Source #

Instances

Instances details
Produces RepoGetArchive MimeNoContent Source # 
Instance details

Defined in Gitea.API.Repository

repoGetAssignees

repoGetAssignees Source #

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

Instances details
Produces RepoGetAssignees MimeJSON Source #
application/json
Instance details

Defined in Gitea.API.Repository

repoGetBranch

repoGetBranch Source #

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

Instances details
Produces RepoGetBranch MimeJSON Source #
application/json
Instance details

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

Instances details
Produces RepoGetBranchProtection MimeJSON Source #
application/json
Instance details

Defined in Gitea.API.Repository

repoGetByID

data RepoGetByID Source #

Instances

Instances details
Produces RepoGetByID MimeJSON Source #
application/json
Instance details

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

Instances details
HasOptionalParam RepoGetCombinedStatusByRef Limit Source #

Optional Param "limit" - page size of results

Instance details

Defined in Gitea.API.Repository

HasOptionalParam RepoGetCombinedStatusByRef Page Source #

Optional Param "page" - page number of results to return (1-based)

Instance details

Defined in Gitea.API.Repository

Produces RepoGetCombinedStatusByRef MimeJSON Source #
application/json
Instance details

Defined in Gitea.API.Repository

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

Instances details
Produces RepoGetCommitPullRequest MimeJSON Source #
application/json
Instance details

Defined in Gitea.API.Repository

repoGetContents

repoGetContents Source #

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

Instances details
HasOptionalParam RepoGetContents Ref Source #

Optional Param "ref" - The name of the commitbranchtag. Default the repository’s default branch (usually master)

Instance details

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
Instance details

Defined in Gitea.API.Repository

repoGetContentsList

repoGetContentsList Source #

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

Instances details
HasOptionalParam RepoGetContentsList Ref Source #

Optional Param "ref" - The name of the commitbranchtag. Default the repository’s default branch (usually master)

Instance details

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
Instance details

Defined in Gitea.API.Repository

repoGetEditorConfig

repoGetEditorConfig Source #

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

Instances details
HasOptionalParam RepoGetEditorConfig Ref Source #

Optional Param "ref" - The name of the commitbranchtag. Default the repository’s default branch (usually master)

Instance details

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 # 
Instance details

Defined in Gitea.API.Repository

repoGetGitHook

repoGetGitHook Source #

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 

data RepoGetGitHook Source #

Instances

Instances details
Produces RepoGetGitHook MimeJSON Source #
application/json
Instance details

Defined in Gitea.API.Repository

repoGetHook

repoGetHook Source #

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 

data RepoGetHook Source #

Instances

Instances details
Produces RepoGetHook MimeJSON Source #
application/json
Instance details

Defined in Gitea.API.Repository

repoGetIssueConfig

repoGetIssueConfig Source #

Arguments

:: Owner

"owner" - owner of the repo

-> Repo

"repo" - name of the repo

-> GiteaRequest RepoGetIssueConfig MimeNoContent IssueConfig MimeJSON 

data RepoGetIssueConfig Source #

Instances

Instances details
Produces RepoGetIssueConfig MimeJSON Source #
application/json
Instance details

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

Instances details
Produces RepoGetIssueTemplates MimeJSON Source #
application/json
Instance details

Defined in Gitea.API.Repository

repoGetKey

repoGetKey Source #

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 

data RepoGetKey Source #

Instances

Instances details
Produces RepoGetKey MimeJSON Source #
application/json
Instance details

Defined in Gitea.API.Repository

repoGetLanguages

repoGetLanguages Source #

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

Instances details
Produces RepoGetLanguages MimeJSON Source #
application/json
Instance details

Defined in Gitea.API.Repository

repoGetLatestRelease

repoGetLatestRelease Source #

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

Instances details
Produces RepoGetLatestRelease MimeJSON Source #
application/json
Instance details

Defined in Gitea.API.Repository

repoGetLicenses

repoGetLicenses Source #

Arguments

:: Owner

"owner" - owner of the repo

-> Repo

"repo" - name of the repo

-> GiteaRequest RepoGetLicenses MimeNoContent [Text] MimeJSON 

data RepoGetLicenses Source #

Instances

Instances details
Produces RepoGetLicenses MimeJSON Source #
application/json
Instance details

Defined in Gitea.API.Repository

repoGetNote

repoGetNote Source #

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

Instances details
HasOptionalParam RepoGetNote Files Source #

Optional Param "files" - include a list of affected files for every commit (disable for speedup, default true)

Instance details

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 true)

Instance details

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
Instance details

Defined in Gitea.API.Repository

repoGetPullRequest

repoGetPullRequest Source #

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 

data RepoGetPullRequest Source #

Instances

Instances details
Produces RepoGetPullRequest MimeJSON Source #
application/json
Instance details

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

Instances details
Produces RepoGetPullRequestByBaseHead MimeJSON Source #
application/json
Instance details

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

Instances details
HasOptionalParam RepoGetPullRequestCommits Files Source #

Optional Param "files" - include a list of affected files for every commit (disable for speedup, default true)

Instance details

Defined in Gitea.API.Repository

Methods

applyOptionalParam :: GiteaRequest RepoGetPullRequestCommits contentType res accept -> Files -> GiteaRequest RepoGetPullRequestCommits contentType res accept Source #

(-&-) :: GiteaRequest RepoGetPullRequestCommits contentType res accept -> Files -> GiteaRequest RepoGetPullRequestCommits contentType res accept Source #

HasOptionalParam RepoGetPullRequestCommits Limit Source #

Optional Param "limit" - page size of results

Instance details

Defined in Gitea.API.Repository

Methods

applyOptionalParam :: GiteaRequest RepoGetPullRequestCommits contentType res accept -> Limit -> GiteaRequest RepoGetPullRequestCommits contentType res accept Source #

(-&-) :: GiteaRequest RepoGetPullRequestCommits contentType res accept -> Limit -> GiteaRequest RepoGetPullRequestCommits contentType res accept Source #

HasOptionalParam RepoGetPullRequestCommits Page Source #

Optional Param "page" - page number of results to return (1-based)

Instance details

Defined in Gitea.API.Repository

Methods

applyOptionalParam :: GiteaRequest RepoGetPullRequestCommits contentType res accept -> Page -> GiteaRequest RepoGetPullRequestCommits contentType res accept Source #

(-&-) :: GiteaRequest RepoGetPullRequestCommits contentType res accept -> Page -> GiteaRequest RepoGetPullRequestCommits contentType res accept Source #

HasOptionalParam RepoGetPullRequestCommits Verification Source #

Optional Param "verification" - include verification for every commit (disable for speedup, default true)

Instance details

Defined in Gitea.API.Repository

Produces RepoGetPullRequestCommits MimeJSON Source #
application/json
Instance details

Defined in Gitea.API.Repository

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

Instances details
HasOptionalParam RepoGetPullRequestFiles Limit Source #

Optional Param "limit" - page size of results

Instance details

Defined in Gitea.API.Repository

Methods

applyOptionalParam :: GiteaRequest RepoGetPullRequestFiles contentType res accept -> Limit -> GiteaRequest RepoGetPullRequestFiles contentType res accept Source #

(-&-) :: GiteaRequest RepoGetPullRequestFiles contentType res accept -> Limit -> GiteaRequest RepoGetPullRequestFiles contentType res accept Source #

HasOptionalParam RepoGetPullRequestFiles Page Source #

Optional Param "page" - page number of results to return (1-based)

Instance details

Defined in Gitea.API.Repository

Methods

applyOptionalParam :: GiteaRequest RepoGetPullRequestFiles contentType res accept -> Page -> GiteaRequest RepoGetPullRequestFiles contentType res accept Source #

(-&-) :: GiteaRequest RepoGetPullRequestFiles contentType res accept -> Page -> GiteaRequest RepoGetPullRequestFiles contentType res accept Source #

HasOptionalParam RepoGetPullRequestFiles SkipTo Source #

Optional Param "skip-to" - skip to given file

Instance details

Defined in Gitea.API.Repository

Methods

applyOptionalParam :: GiteaRequest RepoGetPullRequestFiles contentType res accept -> SkipTo -> GiteaRequest RepoGetPullRequestFiles contentType res accept Source #

(-&-) :: GiteaRequest RepoGetPullRequestFiles contentType res accept -> SkipTo -> GiteaRequest RepoGetPullRequestFiles contentType res accept Source #

HasOptionalParam RepoGetPullRequestFiles Whitespace Source #

Optional Param "whitespace" - whitespace behavior

Instance details

Defined in Gitea.API.Repository

Produces RepoGetPullRequestFiles MimeJSON Source #
application/json
Instance details

Defined in Gitea.API.Repository

repoGetPullReview

repoGetPullReview 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 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

Instances details
Produces RepoGetPullReview MimeJSON Source #
application/json
Instance details

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

Instances details
Produces RepoGetPullReviewComments MimeJSON Source #
application/json
Instance details

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

Instances details
Produces RepoGetPushMirrorByRemoteName MimeJSON Source #
application/json
Instance details

Defined in Gitea.API.Repository

repoGetRawFile

repoGetRawFile Source #

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 

data RepoGetRawFile Source #

Instances

Instances details
HasOptionalParam RepoGetRawFile Ref Source #

Optional Param "ref" - The name of the commitbranchtag. Default the repository’s default branch

Instance details

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
Instance details

Defined in Gitea.API.Repository

repoGetRawFileOrLFS

repoGetRawFileOrLFS Source #

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

Instances details
HasOptionalParam RepoGetRawFileOrLFS Ref Source #

Optional Param "ref" - The name of the commitbranchtag. Default the repository’s default branch

Instance details

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
Instance details

Defined in Gitea.API.Repository

repoGetRelease

repoGetRelease Source #

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 

data RepoGetRelease Source #

Instances

Instances details
Produces RepoGetRelease MimeJSON Source #
application/json
Instance details

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

Instances details
Produces RepoGetReleaseAttachment MimeJSON Source #
application/json
Instance details

Defined in Gitea.API.Repository

repoGetReleaseByTag

repoGetReleaseByTag Source #

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 

data RepoGetReleaseByTag Source #

Instances

Instances details
Produces RepoGetReleaseByTag MimeJSON Source #
application/json
Instance details

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

Instances details
Produces RepoGetRepoPermissions MimeJSON Source #
application/json
Instance details

Defined in Gitea.API.Repository

repoGetReviewers

repoGetReviewers Source #

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

Instances details
Produces RepoGetReviewers MimeJSON Source #
application/json
Instance details

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

repoGetSingleCommit

repoGetSingleCommit Source #

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

Instances details
HasOptionalParam RepoGetSingleCommit Files Source #

Optional Param "files" - include a list of affected files for every commit (disable for speedup, default true)

Instance details

Defined in Gitea.API.Repository

Methods

applyOptionalParam :: GiteaRequest RepoGetSingleCommit contentType res accept -> Files -> GiteaRequest RepoGetSingleCommit contentType res accept Source #

(-&-) :: GiteaRequest RepoGetSingleCommit contentType res accept -> Files -> GiteaRequest RepoGetSingleCommit contentType res accept Source #

HasOptionalParam RepoGetSingleCommit Stat Source #

Optional Param "stat" - include diff stats for every commit (disable for speedup, default true)

Instance details

Defined in Gitea.API.Repository

Methods

applyOptionalParam :: GiteaRequest RepoGetSingleCommit contentType res accept -> Stat -> GiteaRequest RepoGetSingleCommit contentType res accept Source #

(-&-) :: GiteaRequest RepoGetSingleCommit contentType res accept -> Stat -> GiteaRequest RepoGetSingleCommit contentType res accept Source #

HasOptionalParam RepoGetSingleCommit Verification Source #

Optional Param "verification" - include verification for every commit (disable for speedup, default true)

Instance details

Defined in Gitea.API.Repository

Methods

applyOptionalParam :: GiteaRequest RepoGetSingleCommit contentType res accept -> Verification -> GiteaRequest RepoGetSingleCommit contentType res accept Source #

(-&-) :: GiteaRequest RepoGetSingleCommit contentType res accept -> Verification -> GiteaRequest RepoGetSingleCommit contentType res accept Source #

Produces RepoGetSingleCommit MimeJSON Source #
application/json
Instance details

Defined in Gitea.API.Repository

repoGetTag

repoGetTag Source #

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

Instances details
Produces RepoGetTag MimeJSON Source #
application/json
Instance details

Defined in Gitea.API.Repository

repoGetTagProtection

repoGetTagProtection Source #

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

Instances details
Produces RepoGetTagProtection MimeJSON Source #
application/json
Instance details

Defined in Gitea.API.Repository

repoGetWikiPage

repoGetWikiPage Source #

Arguments

:: Owner

"owner" - owner of the repo

-> Repo

"repo" - name of the repo

-> PageName

"pageName" - name of the page

-> GiteaRequest RepoGetWikiPage MimeNoContent WikiPage MimeJSON 

data RepoGetWikiPage Source #

Instances

Instances details
Produces RepoGetWikiPage MimeJSON Source #
application/json
Instance details

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

Instances details
HasOptionalParam RepoGetWikiPageRevisions Page Source #

Optional Param "page" - page number of results to return (1-based)

Instance details

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
Instance details

Defined in Gitea.API.Repository

repoGetWikiPages

data RepoGetWikiPages Source #

Instances

Instances details
HasOptionalParam RepoGetWikiPages Limit Source #

Optional Param "limit" - page size of results

Instance details

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)

Instance details

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
Instance details

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 

data RepoListActionsSecrets Source #

Instances

Instances details
HasOptionalParam RepoListActionsSecrets Limit Source #

Optional Param "limit" - page size of results

Instance details

Defined in Gitea.API.Repository

Methods

applyOptionalParam :: GiteaRequest RepoListActionsSecrets contentType res accept -> Limit -> GiteaRequest RepoListActionsSecrets contentType res accept Source #

(-&-) :: GiteaRequest RepoListActionsSecrets contentType res accept -> Limit -> GiteaRequest RepoListActionsSecrets contentType res accept Source #

HasOptionalParam RepoListActionsSecrets Page Source #

Optional Param "page" - page number of results to return (1-based)

Instance details

Defined in Gitea.API.Repository

Methods

applyOptionalParam :: GiteaRequest RepoListActionsSecrets contentType res accept -> Page -> GiteaRequest RepoListActionsSecrets contentType res accept Source #

(-&-) :: GiteaRequest RepoListActionsSecrets contentType res accept -> Page -> GiteaRequest RepoListActionsSecrets contentType res accept Source #

Produces RepoListActionsSecrets MimeJSON Source #
application/json
Instance details

Defined in Gitea.API.Repository

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

Instances details
HasOptionalParam RepoListActivityFeeds Limit Source #

Optional Param "limit" - page size of results

Instance details

Defined in Gitea.API.Repository

Methods

applyOptionalParam :: GiteaRequest RepoListActivityFeeds contentType res accept -> Limit -> GiteaRequest RepoListActivityFeeds contentType res accept Source #

(-&-) :: GiteaRequest RepoListActivityFeeds contentType res accept -> Limit -> GiteaRequest RepoListActivityFeeds contentType res accept Source #

HasOptionalParam RepoListActivityFeeds Page Source #

Optional Param "page" - page number of results to return (1-based)

Instance details

Defined in Gitea.API.Repository

Methods

applyOptionalParam :: GiteaRequest RepoListActivityFeeds contentType res accept -> Page -> GiteaRequest RepoListActivityFeeds contentType res accept Source #

(-&-) :: GiteaRequest RepoListActivityFeeds contentType res accept -> Page -> GiteaRequest RepoListActivityFeeds contentType res accept Source #

HasOptionalParam RepoListActivityFeeds ParamDate Source #

Optional Param "date" - the date of the activities to be found

Instance details

Defined in Gitea.API.Repository

Methods

applyOptionalParam :: GiteaRequest RepoListActivityFeeds contentType res accept -> ParamDate -> GiteaRequest RepoListActivityFeeds contentType res accept Source #

(-&-) :: GiteaRequest RepoListActivityFeeds contentType res accept -> ParamDate -> GiteaRequest RepoListActivityFeeds contentType res accept Source #

Produces RepoListActivityFeeds MimeJSON Source #
application/json
Instance details

Defined in Gitea.API.Repository

repoListAllGitRefs

repoListAllGitRefs Source #

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

Instances details
Produces RepoListAllGitRefs MimeJSON Source #
application/json
Instance details

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

Instances details
Produces RepoListBranchProtection MimeJSON Source #
application/json
Instance details

Defined in Gitea.API.Repository

repoListBranches

repoListBranches Source #

Arguments

:: Owner

"owner" - owner of the repo

-> Repo

"repo" - name of the repo

-> GiteaRequest RepoListBranches MimeNoContent [Branch] MimeJSON 

data RepoListBranches Source #

Instances

Instances details
HasOptionalParam RepoListBranches Limit Source #

Optional Param "limit" - page size of results

Instance details

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)

Instance details

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
Instance details

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 

data RepoListCollaborators Source #

Instances

Instances details
HasOptionalParam RepoListCollaborators Limit Source #

Optional Param "limit" - page size of results

Instance details

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)

Instance details

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
Instance details

Defined in Gitea.API.Repository

repoListGitHooks

repoListGitHooks Source #

Arguments

:: Owner

"owner" - owner of the repo

-> Repo

"repo" - name of the repo

-> GiteaRequest RepoListGitHooks MimeNoContent [GitHook] MimeJSON 

data RepoListGitHooks Source #

Instances

Instances details
Produces RepoListGitHooks MimeJSON Source #
application/json
Instance details

Defined in Gitea.API.Repository

repoListGitRefs

repoListGitRefs Source #

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

Instances details
Produces RepoListGitRefs MimeJSON Source #
application/json
Instance details

Defined in Gitea.API.Repository

repoListHooks

repoListHooks Source #

Arguments

:: Owner

"owner" - owner of the repo

-> Repo

"repo" - name of the repo

-> GiteaRequest RepoListHooks MimeNoContent [Hook] MimeJSON 

data RepoListHooks Source #

Instances

Instances details
HasOptionalParam RepoListHooks Limit Source #

Optional Param "limit" - page size of results

Instance details

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)

Instance details

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
Instance details

Defined in Gitea.API.Repository

repoListKeys

repoListKeys Source #

Arguments

:: Owner

"owner" - owner of the repo

-> Repo

"repo" - name of the repo

-> GiteaRequest RepoListKeys MimeNoContent [DeployKey] MimeJSON 

data RepoListKeys Source #

Instances

Instances details
HasOptionalParam RepoListKeys Fingerprint Source #

Optional Param "fingerprint" - fingerprint of the key

Instance details

Defined in Gitea.API.Repository

Methods

applyOptionalParam :: GiteaRequest RepoListKeys contentType res accept -> Fingerprint -> GiteaRequest RepoListKeys contentType res accept Source #

(-&-) :: GiteaRequest RepoListKeys contentType res accept -> Fingerprint -> GiteaRequest RepoListKeys contentType res accept Source #

HasOptionalParam RepoListKeys KeyId Source #

Optional Param "key_id" - the key_id to search for

Instance details

Defined in Gitea.API.Repository

Methods

applyOptionalParam :: GiteaRequest RepoListKeys contentType res accept -> KeyId -> GiteaRequest RepoListKeys contentType res accept Source #

(-&-) :: GiteaRequest RepoListKeys contentType res accept -> KeyId -> GiteaRequest RepoListKeys contentType res accept Source #

HasOptionalParam RepoListKeys Limit Source #

Optional Param "limit" - page size of results

Instance details

Defined in Gitea.API.Repository

Methods

applyOptionalParam :: GiteaRequest RepoListKeys contentType res accept -> Limit -> GiteaRequest RepoListKeys contentType res accept Source #

(-&-) :: GiteaRequest RepoListKeys contentType res accept -> Limit -> GiteaRequest RepoListKeys contentType res accept Source #

HasOptionalParam RepoListKeys Page Source #

Optional Param "page" - page number of results to return (1-based)

Instance details

Defined in Gitea.API.Repository

Methods

applyOptionalParam :: GiteaRequest RepoListKeys contentType res accept -> Page -> GiteaRequest RepoListKeys contentType res accept Source #

(-&-) :: GiteaRequest RepoListKeys contentType res accept -> Page -> GiteaRequest RepoListKeys contentType res accept Source #

Produces RepoListKeys MimeJSON Source #
application/json
Instance details

Defined in Gitea.API.Repository

repoListPinnedIssues

repoListPinnedIssues Source #

Arguments

:: Owner

"owner" - owner of the repo

-> Repo

"repo" - name of the repo

-> GiteaRequest RepoListPinnedIssues MimeNoContent [Issue] MimeJSON 

data RepoListPinnedIssues Source #

Instances

Instances details
Produces RepoListPinnedIssues MimeJSON Source #
application/json
Instance details

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 

data RepoListPinnedPullRequests Source #

Instances

Instances details
Produces RepoListPinnedPullRequests MimeJSON Source #
application/json
Instance details

Defined in Gitea.API.Repository

repoListPullRequests

data RepoListPullRequests Source #

Instances

Instances details
HasOptionalParam RepoListPullRequests LabelsInteger Source #

Optional Param "labels" - Label IDs

Instance details

Defined in Gitea.API.Repository

Methods

applyOptionalParam :: GiteaRequest RepoListPullRequests contentType res accept -> LabelsInteger -> GiteaRequest RepoListPullRequests contentType res accept Source #

(-&-) :: GiteaRequest RepoListPullRequests contentType res accept -> LabelsInteger -> GiteaRequest RepoListPullRequests contentType res accept Source #

HasOptionalParam RepoListPullRequests Limit Source #

Optional Param "limit" - Page size of results

Instance details

Defined in Gitea.API.Repository

Methods

applyOptionalParam :: GiteaRequest RepoListPullRequests contentType res accept -> Limit -> GiteaRequest RepoListPullRequests contentType res accept Source #

(-&-) :: GiteaRequest RepoListPullRequests contentType res accept -> Limit -> GiteaRequest RepoListPullRequests contentType res accept Source #

HasOptionalParam RepoListPullRequests Milestone2 Source #

Optional Param "milestone" - ID of the milestone

Instance details

Defined in Gitea.API.Repository

Methods

applyOptionalParam :: GiteaRequest RepoListPullRequests contentType res accept -> Milestone2 -> GiteaRequest RepoListPullRequests contentType res accept Source #

(-&-) :: GiteaRequest RepoListPullRequests contentType res accept -> Milestone2 -> GiteaRequest RepoListPullRequests contentType res accept Source #

HasOptionalParam RepoListPullRequests Page Source #

Optional Param "page" - Page number of results to return (1-based)

Instance details

Defined in Gitea.API.Repository

Methods

applyOptionalParam :: GiteaRequest RepoListPullRequests contentType res accept -> Page -> GiteaRequest RepoListPullRequests contentType res accept Source #

(-&-) :: GiteaRequest RepoListPullRequests contentType res accept -> Page -> GiteaRequest RepoListPullRequests contentType res accept Source #

HasOptionalParam RepoListPullRequests Poster Source #

Optional Param "poster" - Filter by pull request author

Instance details

Defined in Gitea.API.Repository

Methods

applyOptionalParam :: GiteaRequest RepoListPullRequests contentType res accept -> Poster -> GiteaRequest RepoListPullRequests contentType res accept Source #

(-&-) :: GiteaRequest RepoListPullRequests contentType res accept -> Poster -> GiteaRequest RepoListPullRequests contentType res accept Source #

HasOptionalParam RepoListPullRequests Sort3 Source #

Optional Param "sort" - Type of sort

Instance details

Defined in Gitea.API.Repository

Methods

applyOptionalParam :: GiteaRequest RepoListPullRequests contentType res accept -> Sort3 -> GiteaRequest RepoListPullRequests contentType res accept Source #

(-&-) :: GiteaRequest RepoListPullRequests contentType res accept -> Sort3 -> GiteaRequest RepoListPullRequests contentType res accept Source #

HasOptionalParam RepoListPullRequests State Source #

Optional Param "state" - State of pull request

Instance details

Defined in Gitea.API.Repository

Methods

applyOptionalParam :: GiteaRequest RepoListPullRequests contentType res accept -> State -> GiteaRequest RepoListPullRequests contentType res accept Source #

(-&-) :: GiteaRequest RepoListPullRequests contentType res accept -> State -> GiteaRequest RepoListPullRequests contentType res accept Source #

Produces RepoListPullRequests MimeJSON Source #
application/json
Instance details

Defined in Gitea.API.Repository

repoListPullReviews

repoListPullReviews Source #

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

Instances details
HasOptionalParam RepoListPullReviews Limit Source #

Optional Param "limit" - page size of results

Instance details

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)

Instance details

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
Instance details

Defined in Gitea.API.Repository

repoListPushMirrors

repoListPushMirrors Source #

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

Instances details
HasOptionalParam RepoListPushMirrors Limit Source #

Optional Param "limit" - page size of results

Instance details

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)

Instance details

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
Instance details

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 

data RepoListReleaseAttachments Source #

Instances

Instances details
Produces RepoListReleaseAttachments MimeJSON Source #
application/json
Instance details

Defined in Gitea.API.Repository

repoListReleases

repoListReleases Source #

Arguments

:: Owner

"owner" - owner of the repo

-> Repo

"repo" - name of the repo

-> GiteaRequest RepoListReleases MimeNoContent [Release] MimeJSON 

data RepoListReleases Source #

Instances

Instances details
HasOptionalParam RepoListReleases Draft Source #

Optional Param "draft" - filter (exclude / include) drafts, if you dont have repo write access none will show

Instance details

Defined in Gitea.API.Repository

Methods

applyOptionalParam :: GiteaRequest RepoListReleases contentType res accept -> Draft -> GiteaRequest RepoListReleases contentType res accept Source #

(-&-) :: GiteaRequest RepoListReleases contentType res accept -> Draft -> GiteaRequest RepoListReleases contentType res accept Source #

HasOptionalParam RepoListReleases Limit Source #

Optional Param "limit" - page size of results

Instance details

Defined in Gitea.API.Repository

Methods

applyOptionalParam :: GiteaRequest RepoListReleases contentType res accept -> Limit -> GiteaRequest RepoListReleases contentType res accept Source #

(-&-) :: GiteaRequest RepoListReleases contentType res accept -> Limit -> GiteaRequest RepoListReleases contentType res accept Source #

HasOptionalParam RepoListReleases Page Source #

Optional Param "page" - page number of results to return (1-based)

Instance details

Defined in Gitea.API.Repository

Methods

applyOptionalParam :: GiteaRequest RepoListReleases contentType res accept -> Page -> GiteaRequest RepoListReleases contentType res accept Source #

(-&-) :: GiteaRequest RepoListReleases contentType res accept -> Page -> GiteaRequest RepoListReleases contentType res accept Source #

HasOptionalParam RepoListReleases PreRelease Source #

Optional Param "pre-release" - filter (exclude / include) pre-releases

Instance details

Defined in Gitea.API.Repository

Methods

applyOptionalParam :: GiteaRequest RepoListReleases contentType res accept -> PreRelease -> GiteaRequest RepoListReleases contentType res accept Source #

(-&-) :: GiteaRequest RepoListReleases contentType res accept -> PreRelease -> GiteaRequest RepoListReleases contentType res accept Source #

Produces RepoListReleases MimeJSON Source #
application/json
Instance details

Defined in Gitea.API.Repository

repoListStargazers

repoListStargazers Source #

Arguments

:: Owner

"owner" - owner of the repo

-> Repo

"repo" - name of the repo

-> GiteaRequest RepoListStargazers MimeNoContent [User] MimeJSON 

data RepoListStargazers Source #

Instances

Instances details
HasOptionalParam RepoListStargazers Limit Source #

Optional Param "limit" - page size of results

Instance details

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)

Instance details

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
Instance details

Defined in Gitea.API.Repository

repoListStatuses

repoListStatuses Source #

Arguments

:: Owner

"owner" - owner of the repo

-> Repo

"repo" - name of the repo

-> Sha

"sha" - sha of the commit

-> GiteaRequest RepoListStatuses MimeNoContent [CommitStatus] MimeJSON 

data RepoListStatuses Source #

Instances

Instances details
HasOptionalParam RepoListStatuses Limit Source #

Optional Param "limit" - page size of results

Instance details

Defined in Gitea.API.Repository

Methods

applyOptionalParam :: GiteaRequest RepoListStatuses contentType res accept -> Limit -> GiteaRequest RepoListStatuses contentType res accept Source #

(-&-) :: GiteaRequest RepoListStatuses contentType res accept -> Limit -> GiteaRequest RepoListStatuses contentType res accept Source #

HasOptionalParam RepoListStatuses Page Source #

Optional Param "page" - page number of results to return (1-based)

Instance details

Defined in Gitea.API.Repository

Methods

applyOptionalParam :: GiteaRequest RepoListStatuses contentType res accept -> Page -> GiteaRequest RepoListStatuses contentType res accept Source #

(-&-) :: GiteaRequest RepoListStatuses contentType res accept -> Page -> GiteaRequest RepoListStatuses contentType res accept Source #

HasOptionalParam RepoListStatuses Sort2 Source #

Optional Param "sort" - type of sort

Instance details

Defined in Gitea.API.Repository

Methods

applyOptionalParam :: GiteaRequest RepoListStatuses contentType res accept -> Sort2 -> GiteaRequest RepoListStatuses contentType res accept Source #

(-&-) :: GiteaRequest RepoListStatuses contentType res accept -> Sort2 -> GiteaRequest RepoListStatuses contentType res accept Source #

HasOptionalParam RepoListStatuses State2 Source #

Optional Param "state" - type of state

Instance details

Defined in Gitea.API.Repository

Methods

applyOptionalParam :: GiteaRequest RepoListStatuses contentType res accept -> State2 -> GiteaRequest RepoListStatuses contentType res accept Source #

(-&-) :: GiteaRequest RepoListStatuses contentType res accept -> State2 -> GiteaRequest RepoListStatuses contentType res accept Source #

Produces RepoListStatuses MimeJSON Source #
application/json
Instance details

Defined in Gitea.API.Repository

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

Instances details
HasOptionalParam RepoListStatusesByRef Limit Source #

Optional Param "limit" - page size of results

Instance details

Defined in Gitea.API.Repository

Methods

applyOptionalParam :: GiteaRequest RepoListStatusesByRef contentType res accept -> Limit -> GiteaRequest RepoListStatusesByRef contentType res accept Source #

(-&-) :: GiteaRequest RepoListStatusesByRef contentType res accept -> Limit -> GiteaRequest RepoListStatusesByRef contentType res accept Source #

HasOptionalParam RepoListStatusesByRef Page Source #

Optional Param "page" - page number of results to return (1-based)

Instance details

Defined in Gitea.API.Repository

Methods

applyOptionalParam :: GiteaRequest RepoListStatusesByRef contentType res accept -> Page -> GiteaRequest RepoListStatusesByRef contentType res accept Source #

(-&-) :: GiteaRequest RepoListStatusesByRef contentType res accept -> Page -> GiteaRequest RepoListStatusesByRef contentType res accept Source #

HasOptionalParam RepoListStatusesByRef Sort2 Source #

Optional Param "sort" - type of sort

Instance details

Defined in Gitea.API.Repository

Methods

applyOptionalParam :: GiteaRequest RepoListStatusesByRef contentType res accept -> Sort2 -> GiteaRequest RepoListStatusesByRef contentType res accept Source #

(-&-) :: GiteaRequest RepoListStatusesByRef contentType res accept -> Sort2 -> GiteaRequest RepoListStatusesByRef contentType res accept Source #

HasOptionalParam RepoListStatusesByRef State2 Source #

Optional Param "state" - type of state

Instance details

Defined in Gitea.API.Repository

Methods

applyOptionalParam :: GiteaRequest RepoListStatusesByRef contentType res accept -> State2 -> GiteaRequest RepoListStatusesByRef contentType res accept Source #

(-&-) :: GiteaRequest RepoListStatusesByRef contentType res accept -> State2 -> GiteaRequest RepoListStatusesByRef contentType res accept Source #

Produces RepoListStatusesByRef MimeJSON Source #
application/json
Instance details

Defined in Gitea.API.Repository

repoListSubscribers

repoListSubscribers Source #

Arguments

:: Owner

"owner" - owner of the repo

-> Repo

"repo" - name of the repo

-> GiteaRequest RepoListSubscribers MimeNoContent [User] MimeJSON 

data RepoListSubscribers Source #

Instances

Instances details
HasOptionalParam RepoListSubscribers Limit Source #

Optional Param "limit" - page size of results

Instance details

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)

Instance details

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
Instance details

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

Instances details
Produces RepoListTagProtection MimeJSON Source #
application/json
Instance details

Defined in Gitea.API.Repository

repoListTags

repoListTags Source #

Arguments

:: Owner

"owner" - owner of the repo

-> Repo

"repo" - name of the repo

-> GiteaRequest RepoListTags MimeNoContent [Tag] MimeJSON 

data RepoListTags Source #

Instances

Instances details
HasOptionalParam RepoListTags Limit Source #

Optional Param "limit" - page size of results, default maximum page size is 50

Instance details

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)

Instance details

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
Instance details

Defined in Gitea.API.Repository

repoListTeams

repoListTeams Source #

Arguments

:: Owner

"owner" - owner of the repo

-> Repo

"repo" - name of the repo

-> GiteaRequest RepoListTeams MimeNoContent [Team] MimeJSON 

data RepoListTeams Source #

Instances

Instances details
Produces RepoListTeams MimeJSON Source #
application/json
Instance details

Defined in Gitea.API.Repository

repoListTopics

repoListTopics Source #

Arguments

:: Owner

"owner" - owner of the repo

-> Repo

"repo" - name of the repo

-> GiteaRequest RepoListTopics MimeNoContent TopicName MimeJSON 

data RepoListTopics Source #

Instances

Instances details
HasOptionalParam RepoListTopics Limit Source #

Optional Param "limit" - page size of results

Instance details

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)

Instance details

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
Instance details

Defined in Gitea.API.Repository

repoMergePullRequest

repoMergePullRequest Source #

Arguments

:: Consumes RepoMergePullRequest contentType 
=> ContentType contentType

request content-type (MimeType)

-> 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 

repoMergeUpstream

repoMergeUpstream Source #

Arguments

:: Consumes RepoMergeUpstream contentType 
=> ContentType contentType

request content-type (MimeType)

-> Owner

"owner" - owner of the repo

-> Repo

"repo" - name of the repo

-> GiteaRequest RepoMergeUpstream contentType MergeUpstreamResponse MimeJSON 

data RepoMergeUpstream Source #

Instances

Instances details
HasBodyParam RepoMergeUpstream MergeUpstreamRequest Source # 
Instance details

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
Instance details

Defined in Gitea.API.Repository

Consumes RepoMergeUpstream MimePlainText Source #
text/plain
Instance details

Defined in Gitea.API.Repository

Produces RepoMergeUpstream MimeJSON Source #
application/json
Instance details

Defined in Gitea.API.Repository

repoMigrate

data RepoMigrate Source #

Instances

Instances details
HasBodyParam RepoMigrate MigrateRepoOptions Source # 
Instance details

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
Instance details

Defined in Gitea.API.Repository

Produces RepoMigrate MimeJSON Source #
application/json
Instance details

Defined in Gitea.API.Repository

repoMirrorSync

repoMirrorSync Source #

Arguments

:: Owner

"owner" - owner of the repo to sync

-> Repo

"repo" - name of the repo to sync

-> GiteaRequest RepoMirrorSync MimeNoContent NoContent MimeNoContent 

data RepoMirrorSync Source #

Instances

Instances details
Produces RepoMirrorSync MimeNoContent Source # 
Instance details

Defined in Gitea.API.Repository

repoNewPinAllowed

repoNewPinAllowed Source #

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

Instances details
Produces RepoNewPinAllowed MimeJSON Source #
application/json
Instance details

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

repoPushMirrorSync

repoPushMirrorSync Source #

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

Instances details
Produces RepoPushMirrorSync MimeNoContent Source # 
Instance details

Defined in Gitea.API.Repository

repoSearch

data RepoSearch Source #

Instances

Instances details
HasOptionalParam RepoSearch Archived Source #

Optional Param "archived" - show only archived, non-archived or all repositories (defaults to all)

Instance details

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 uid is given, search only for repos that the user owns

Instance details

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

Instance details

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)

Instance details

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

Instance details

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"

Instance details

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.

Instance details

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)

Instance details

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

Instance details

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)

Instance details

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

Instance details

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"

Instance details

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

Instance details

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

Instance details

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)

Instance details

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

Instance details

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

Instance details

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
Instance details

Defined in Gitea.API.Repository

repoSigningKey

repoSigningKey Source #

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

Instances details
Produces RepoSigningKey MimePlainText Source #
text/plain
Instance details

Defined in Gitea.API.Repository

repoSubmitPullReview

repoSubmitPullReview Source #

Arguments

:: (Consumes RepoSubmitPullReview contentType, MimeRender contentType SubmitPullReviewOptions) 
=> ContentType contentType

request content-type (MimeType)

-> 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

repoTestHook

repoTestHook Source #

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 

data RepoTestHook Source #

Instances

Instances details
HasOptionalParam RepoTestHook Ref Source #

Optional Param "ref" - The name of the commitbranchtag, indicates which commit will be loaded to the webhook payload.

Instance details

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 # 
Instance details

Defined in Gitea.API.Repository

repoTrackedTimes

repoTrackedTimes Source #

Arguments

:: Owner

"owner" - owner of the repo

-> Repo

"repo" - name of the repo

-> GiteaRequest RepoTrackedTimes MimeNoContent [TrackedTime] MimeJSON 

data RepoTrackedTimes Source #

Instances

Instances details
HasOptionalParam RepoTrackedTimes Before Source #

Optional Param "before" - Only show times updated before the given time. This is a timestamp in RFC 3339 format

Instance details

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

Instance details

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)

Instance details

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

Instance details

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)

Instance details

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
Instance details

Defined in Gitea.API.Repository

repoTransfer0

repoTransfer0 Source #

Arguments

:: (Consumes RepoTransfer0 contentType, MimeRender contentType TransferRepoOption) 
=> ContentType contentType

request content-type (MimeType)

-> 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 

data RepoTransfer0 Source #

Instances

Instances details
HasBodyParam RepoTransfer0 TransferRepoOption Source #

Body Param "body" - Transfer Options

Instance details

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
Instance details

Defined in Gitea.API.Repository

Consumes RepoTransfer0 MimePlainText Source #
text/plain
Instance details

Defined in Gitea.API.Repository

Produces RepoTransfer0 MimeJSON Source #
application/json
Instance details

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

Instances details
Produces RepoUnDismissPullReview MimeJSON Source #
application/json
Instance details

Defined in Gitea.API.Repository

repoUpdateAvatar

repoUpdateAvatar Source #

Arguments

:: Consumes RepoUpdateAvatar contentType 
=> ContentType contentType

request content-type (MimeType)

-> Owner

"owner" - owner of the repo

-> Repo

"repo" - name of the repo

-> GiteaRequest RepoUpdateAvatar contentType NoContent MimeNoContent 

data RepoUpdateAvatar Source #

Instances

Instances details
HasBodyParam RepoUpdateAvatar UpdateRepoAvatarOption Source # 
Instance details

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
Instance details

Defined in Gitea.API.Repository

Consumes RepoUpdateAvatar MimePlainText Source #
text/plain
Instance details

Defined in Gitea.API.Repository

Produces RepoUpdateAvatar MimeNoContent Source # 
Instance details

Defined in Gitea.API.Repository

repoUpdateBranch

repoUpdateBranch Source #

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 

data RepoUpdateBranch Source #

Instances

Instances details
HasBodyParam RepoUpdateBranch UpdateBranchRepoOption Source # 
Instance details

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
Instance details

Defined in Gitea.API.Repository

Produces RepoUpdateBranch MimeNoContent Source # 
Instance details

Defined in Gitea.API.Repository

repoUpdateBranchProtectionPriories

repoUpdateBranchProtectionPriories Source #

POST /repos/{owner}/{repo}/branch_protections/priority

Update the priorities of branch protections for a repository.

AuthMethod: AuthApiKeyTOTPHeader, AuthApiKeyAuthorizationHeaderToken, AuthApiKeySudoHeader, AuthBasicBasicAuth, AuthApiKeyAccessToken, AuthApiKeySudoParam, AuthApiKeyToken

repoUpdateFile

repoUpdateFile Source #

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

Instances details
HasBodyParam RepoUpdateFile UpdateFileOptions Source # 
Instance details

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
Instance details

Defined in Gitea.API.Repository

Produces RepoUpdateFile MimeJSON Source #
application/json
Instance details

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

Instances details
HasOptionalParam RepoUpdatePullRequest Style Source #

Optional Param "style" - how to update pull request

Instance details

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 # 
Instance details

Defined in Gitea.API.Repository

repoUpdateTopics

repoUpdateTopics Source #

Arguments

:: Consumes RepoUpdateTopics contentType 
=> ContentType contentType

request content-type (MimeType)

-> Owner

"owner" - owner of the repo

-> Repo

"repo" - name of the repo

-> GiteaRequest RepoUpdateTopics contentType NoContent MimeNoContent 

data RepoUpdateTopics Source #

Instances

Instances details
HasBodyParam RepoUpdateTopics RepoTopicOptions Source # 
Instance details

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
Instance details

Defined in Gitea.API.Repository

Consumes RepoUpdateTopics MimePlainText Source #
text/plain
Instance details

Defined in Gitea.API.Repository

Produces RepoUpdateTopics MimeNoContent Source # 
Instance details

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

Instances details
Produces RepoValidateIssueConfig MimeJSON Source #
application/json
Instance details

Defined in Gitea.API.Repository

topicSearch

data TopicSearch Source #

Instances

Instances details
HasOptionalParam TopicSearch Limit Source #

Optional Param "limit" - page size of results

Instance details

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)

Instance details

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
Instance details

Defined in Gitea.API.Repository

updateRepoSecret

updateRepoSecret Source #

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

updateRepoVariable

updateRepoVariable Source #

Arguments

:: Consumes UpdateRepoVariable contentType 
=> ContentType contentType

request content-type (MimeType)

-> 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

userCurrentCheckSubscription

userCurrentCheckSubscription Source #

Arguments

:: Accept accept

request accept (MimeType)

-> 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

Instances details
Produces UserCurrentCheckSubscription MimeJSON Source #
application/json
Instance details

Defined in Gitea.API.Repository

Produces UserCurrentCheckSubscription MimeTextHtml Source #
text/html
Instance details

Defined in Gitea.API.Repository

userCurrentDeleteSubscription

userCurrentPutSubscription

userCurrentPutSubscription Source #

Arguments

:: Accept accept

request accept (MimeType)

-> Owner

"owner" - owner of the repo

-> Repo

"repo" - name of the repo

-> GiteaRequest UserCurrentPutSubscription MimeNoContent WatchInfo accept 

data UserCurrentPutSubscription Source #

Instances

Instances details
Produces UserCurrentPutSubscription MimeJSON Source #
application/json
Instance details

Defined in Gitea.API.Repository

Produces UserCurrentPutSubscription MimeTextHtml Source #
text/html
Instance details

Defined in Gitea.API.Repository

userTrackedTimes

userTrackedTimes Source #

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

Instances details
Produces UserTrackedTimes MimeJSON Source #
application/json
Instance details

Defined in Gitea.API.Repository

close