Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Gitea.API.Organization
Contents
- Operations
- Organization
- createOrgRepo
- createOrgRepoDeprecated
- createOrgVariable
- deleteOrgSecret
- deleteOrgVariable
- getOrgVariable
- getOrgVariablesList
- orgAddTeamMember
- orgAddTeamRepository
- orgConcealMember
- orgCreate
- orgCreateHook
- orgCreateLabel
- orgCreateTeam
- orgDelete
- orgDeleteAvatar
- orgDeleteHook
- orgDeleteLabel
- orgDeleteMember
- orgDeleteTeam
- orgEdit
- orgEditHook
- orgEditLabel
- orgEditTeam
- orgGet
- orgGetAll
- orgGetHook
- orgGetLabel
- orgGetRunnerRegistrationToken
- orgGetTeam
- orgGetUserPermissions
- orgIsMember
- orgIsPublicMember
- orgListActionsSecrets
- orgListActivityFeeds
- orgListCurrentUserOrgs
- orgListHooks
- orgListLabels
- orgListMembers
- orgListPublicMembers
- orgListRepos
- orgListTeamActivityFeeds
- orgListTeamMember
- orgListTeamMembers
- orgListTeamRepo
- orgListTeamRepos
- orgListTeams
- orgListUserOrgs
- orgPublicizeMember
- orgRemoveTeamMember
- orgRemoveTeamRepository
- orgUpdateAvatar
- organizationBlockUser
- organizationCheckUserBlock
- organizationListBlocks
- organizationUnblockUser
- teamSearch
- updateOrgSecret
- updateOrgVariable
- Organization
Description
Synopsis
- createOrgRepo :: Consumes CreateOrgRepo MimeJSON => Org -> GiteaRequest CreateOrgRepo MimeJSON Repository MimeJSON
- data CreateOrgRepo
- createOrgRepoDeprecated :: Consumes CreateOrgRepoDeprecated MimeJSON => Org -> GiteaRequest CreateOrgRepoDeprecated MimeJSON Repository MimeJSON
- data CreateOrgRepoDeprecated
- createOrgVariable :: Consumes CreateOrgVariable MimeJSON => Org -> Variablename -> GiteaRequest CreateOrgVariable MimeJSON NoContent MimeNoContent
- data CreateOrgVariable
- deleteOrgSecret :: Org -> Secretname -> GiteaRequest DeleteOrgSecret MimeNoContent NoContent MimeNoContent
- data DeleteOrgSecret
- deleteOrgVariable :: Org -> Variablename -> GiteaRequest DeleteOrgVariable MimeNoContent ActionVariable MimeJSON
- data DeleteOrgVariable
- getOrgVariable :: Org -> Variablename -> GiteaRequest GetOrgVariable MimeNoContent ActionVariable MimeJSON
- data GetOrgVariable
- getOrgVariablesList :: Org -> GiteaRequest GetOrgVariablesList MimeNoContent [ActionVariable] MimeJSON
- data GetOrgVariablesList
- orgAddTeamMember :: Id -> Username -> GiteaRequest OrgAddTeamMember MimeNoContent NoContent MimeNoContent
- data OrgAddTeamMember
- orgAddTeamRepository :: Id -> Org -> Repo -> GiteaRequest OrgAddTeamRepository MimeNoContent NoContent MimeNoContent
- data OrgAddTeamRepository
- orgConcealMember :: Org -> Username -> GiteaRequest OrgConcealMember MimeNoContent NoContent MimeNoContent
- data OrgConcealMember
- orgCreate :: (Consumes OrgCreate MimeJSON, MimeRender MimeJSON CreateOrgOption) => CreateOrgOption -> GiteaRequest OrgCreate MimeJSON Organization MimeJSON
- data OrgCreate
- orgCreateHook :: (Consumes OrgCreateHook MimeJSON, MimeRender MimeJSON CreateHookOption) => CreateHookOption -> Org -> GiteaRequest OrgCreateHook MimeJSON Hook MimeJSON
- data OrgCreateHook
- orgCreateLabel :: Consumes OrgCreateLabel MimeJSON => Org -> GiteaRequest OrgCreateLabel MimeJSON Label MimeJSON
- data OrgCreateLabel
- orgCreateTeam :: Consumes OrgCreateTeam MimeJSON => Org -> GiteaRequest OrgCreateTeam MimeJSON Team MimeJSON
- data OrgCreateTeam
- orgDelete :: Org -> GiteaRequest OrgDelete MimeNoContent NoContent MimeNoContent
- data OrgDelete
- orgDeleteAvatar :: Org -> GiteaRequest OrgDeleteAvatar MimeNoContent NoContent MimeNoContent
- data OrgDeleteAvatar
- orgDeleteHook :: Org -> Id -> GiteaRequest OrgDeleteHook MimeNoContent NoContent MimeNoContent
- data OrgDeleteHook
- orgDeleteLabel :: Org -> Id -> GiteaRequest OrgDeleteLabel MimeNoContent NoContent MimeNoContent
- data OrgDeleteLabel
- orgDeleteMember :: Org -> Username -> GiteaRequest OrgDeleteMember MimeNoContent NoContent MimeNoContent
- data OrgDeleteMember
- orgDeleteTeam :: Id -> GiteaRequest OrgDeleteTeam MimeNoContent NoContent MimeNoContent
- data OrgDeleteTeam
- orgEdit :: (Consumes OrgEdit MimeJSON, MimeRender MimeJSON EditOrgOption) => EditOrgOption -> Org -> GiteaRequest OrgEdit MimeJSON Organization MimeJSON
- data OrgEdit
- orgEditHook :: Consumes OrgEditHook MimeJSON => Org -> Id -> GiteaRequest OrgEditHook MimeJSON Hook MimeJSON
- data OrgEditHook
- orgEditLabel :: Consumes OrgEditLabel MimeJSON => Org -> Id -> GiteaRequest OrgEditLabel MimeJSON Label MimeJSON
- data OrgEditLabel
- orgEditTeam :: Consumes OrgEditTeam MimeJSON => IdInt -> GiteaRequest OrgEditTeam MimeJSON Team MimeJSON
- data OrgEditTeam
- orgGet :: Org -> GiteaRequest OrgGet MimeNoContent Organization MimeJSON
- data OrgGet
- orgGetAll :: GiteaRequest OrgGetAll MimeNoContent [Organization] MimeJSON
- data OrgGetAll
- orgGetHook :: Org -> Id -> GiteaRequest OrgGetHook MimeNoContent Hook MimeJSON
- data OrgGetHook
- orgGetLabel :: Org -> Id -> GiteaRequest OrgGetLabel MimeNoContent Label MimeJSON
- data OrgGetLabel
- orgGetRunnerRegistrationToken :: Org -> GiteaRequest OrgGetRunnerRegistrationToken MimeNoContent NoContent MimeNoContent
- data OrgGetRunnerRegistrationToken
- orgGetTeam :: Id -> GiteaRequest OrgGetTeam MimeNoContent Team MimeJSON
- data OrgGetTeam
- orgGetUserPermissions :: Username -> Org -> GiteaRequest OrgGetUserPermissions MimeNoContent OrganizationPermissions MimeJSON
- data OrgGetUserPermissions
- orgIsMember :: Org -> Username -> GiteaRequest OrgIsMember MimeNoContent NoContent MimeNoContent
- data OrgIsMember
- orgIsPublicMember :: Org -> Username -> GiteaRequest OrgIsPublicMember MimeNoContent NoContent MimeNoContent
- data OrgIsPublicMember
- orgListActionsSecrets :: Org -> GiteaRequest OrgListActionsSecrets MimeNoContent [Secret] MimeJSON
- data OrgListActionsSecrets
- orgListActivityFeeds :: Org -> GiteaRequest OrgListActivityFeeds MimeNoContent [Activity] MimeJSON
- data OrgListActivityFeeds
- orgListCurrentUserOrgs :: GiteaRequest OrgListCurrentUserOrgs MimeNoContent [Organization] MimeJSON
- data OrgListCurrentUserOrgs
- orgListHooks :: Org -> GiteaRequest OrgListHooks MimeNoContent [Hook] MimeJSON
- data OrgListHooks
- orgListLabels :: Org -> GiteaRequest OrgListLabels MimeNoContent [Label] MimeJSON
- data OrgListLabels
- orgListMembers :: Org -> GiteaRequest OrgListMembers MimeNoContent [User] MimeJSON
- data OrgListMembers
- orgListPublicMembers :: Org -> GiteaRequest OrgListPublicMembers MimeNoContent [User] MimeJSON
- data OrgListPublicMembers
- orgListRepos :: Org -> GiteaRequest OrgListRepos MimeNoContent [Repository] MimeJSON
- data OrgListRepos
- orgListTeamActivityFeeds :: Id -> GiteaRequest OrgListTeamActivityFeeds MimeNoContent [Activity] MimeJSON
- data OrgListTeamActivityFeeds
- orgListTeamMember :: Id -> Username -> GiteaRequest OrgListTeamMember MimeNoContent User MimeJSON
- data OrgListTeamMember
- orgListTeamMembers :: Id -> GiteaRequest OrgListTeamMembers MimeNoContent [User] MimeJSON
- data OrgListTeamMembers
- orgListTeamRepo :: Id -> Org -> Repo -> GiteaRequest OrgListTeamRepo MimeNoContent Repository MimeJSON
- data OrgListTeamRepo
- orgListTeamRepos :: Id -> GiteaRequest OrgListTeamRepos MimeNoContent [Repository] MimeJSON
- data OrgListTeamRepos
- orgListTeams :: Org -> GiteaRequest OrgListTeams MimeNoContent [Team] MimeJSON
- data OrgListTeams
- orgListUserOrgs :: Username -> GiteaRequest OrgListUserOrgs MimeNoContent [Organization] MimeJSON
- data OrgListUserOrgs
- orgPublicizeMember :: Org -> Username -> GiteaRequest OrgPublicizeMember MimeNoContent NoContent MimeNoContent
- data OrgPublicizeMember
- orgRemoveTeamMember :: Id -> Username -> GiteaRequest OrgRemoveTeamMember MimeNoContent NoContent MimeNoContent
- data OrgRemoveTeamMember
- orgRemoveTeamRepository :: Id -> Org -> Repo -> GiteaRequest OrgRemoveTeamRepository MimeNoContent NoContent MimeNoContent
- data OrgRemoveTeamRepository
- orgUpdateAvatar :: Consumes OrgUpdateAvatar contentType => ContentType contentType -> Org -> GiteaRequest OrgUpdateAvatar contentType NoContent MimeNoContent
- data OrgUpdateAvatar
- organizationBlockUser :: Org -> Username -> GiteaRequest OrganizationBlockUser MimeNoContent NoContent MimeNoContent
- data OrganizationBlockUser
- organizationCheckUserBlock :: Org -> Username -> GiteaRequest OrganizationCheckUserBlock MimeNoContent NoContent MimeNoContent
- data OrganizationCheckUserBlock
- organizationListBlocks :: Org -> GiteaRequest OrganizationListBlocks MimeNoContent [User] MimeJSON
- data OrganizationListBlocks
- organizationUnblockUser :: Org -> Username -> GiteaRequest OrganizationUnblockUser MimeNoContent NoContent MimeNoContent
- data OrganizationUnblockUser
- teamSearch :: Org -> GiteaRequest TeamSearch MimeNoContent TeamSearch200Response MimeJSON
- data TeamSearch
- updateOrgSecret :: Consumes UpdateOrgSecret MimeJSON => Org -> Secretname -> GiteaRequest UpdateOrgSecret MimeJSON NoContent MimeNoContent
- data UpdateOrgSecret
- updateOrgVariable :: Consumes UpdateOrgVariable MimeJSON => Org -> Variablename -> GiteaRequest UpdateOrgVariable MimeJSON NoContent MimeNoContent
- data UpdateOrgVariable
Operations
Organization
createOrgRepo
Arguments
:: Consumes CreateOrgRepo MimeJSON | |
=> Org | "org" - name of organization |
-> GiteaRequest CreateOrgRepo MimeJSON Repository MimeJSON |
POST /orgs/{org}/repos
Create a repository in an organization
AuthMethod: AuthApiKeyTOTPHeader
, AuthApiKeyAuthorizationHeaderToken
, AuthApiKeySudoHeader
, AuthBasicBasicAuth
, AuthApiKeyAccessToken
, AuthApiKeySudoParam
, AuthApiKeyToken
data CreateOrgRepo Source #
Instances
HasBodyParam CreateOrgRepo CreateRepoOption Source # | |
Defined in Gitea.API.Organization Methods setBodyParam :: (Consumes CreateOrgRepo contentType, MimeRender contentType CreateRepoOption) => GiteaRequest CreateOrgRepo contentType res accept -> CreateRepoOption -> GiteaRequest CreateOrgRepo contentType res accept Source # | |
Consumes CreateOrgRepo MimeJSON Source # | application/json |
Defined in Gitea.API.Organization | |
Produces CreateOrgRepo MimeJSON Source # | application/json |
Defined in Gitea.API.Organization |
createOrgRepoDeprecated
createOrgRepoDeprecated Source #
Arguments
:: Consumes CreateOrgRepoDeprecated MimeJSON | |
=> Org | "org" - name of organization |
-> GiteaRequest CreateOrgRepoDeprecated MimeJSON Repository MimeJSON |
Deprecated:
POST /org/{org}/repos
Create a repository in an organization
AuthMethod: AuthApiKeyTOTPHeader
, AuthApiKeyAuthorizationHeaderToken
, AuthApiKeySudoHeader
, AuthBasicBasicAuth
, AuthApiKeyAccessToken
, AuthApiKeySudoParam
, AuthApiKeyToken
data CreateOrgRepoDeprecated Source #
Instances
HasBodyParam CreateOrgRepoDeprecated CreateRepoOption Source # | |
Defined in Gitea.API.Organization Methods setBodyParam :: (Consumes CreateOrgRepoDeprecated contentType, MimeRender contentType CreateRepoOption) => GiteaRequest CreateOrgRepoDeprecated contentType res accept -> CreateRepoOption -> GiteaRequest CreateOrgRepoDeprecated contentType res accept Source # | |
Consumes CreateOrgRepoDeprecated MimeJSON Source # | application/json |
Defined in Gitea.API.Organization | |
Produces CreateOrgRepoDeprecated MimeJSON Source # | application/json |
Defined in Gitea.API.Organization |
createOrgVariable
Arguments
:: Consumes CreateOrgVariable MimeJSON | |
=> Org | "org" - name of the organization |
-> Variablename | "variablename" - name of the variable |
-> GiteaRequest CreateOrgVariable MimeJSON NoContent MimeNoContent |
POST /orgs/{org}/actions/variables/{variablename}
Create an org-level variable
AuthMethod: AuthApiKeyTOTPHeader
, AuthApiKeyAuthorizationHeaderToken
, AuthApiKeySudoHeader
, AuthBasicBasicAuth
, AuthApiKeyAccessToken
, AuthApiKeySudoParam
, AuthApiKeyToken
data CreateOrgVariable Source #
Instances
HasBodyParam CreateOrgVariable CreateVariableOption Source # | |
Defined in Gitea.API.Organization Methods setBodyParam :: (Consumes CreateOrgVariable contentType, MimeRender contentType CreateVariableOption) => GiteaRequest CreateOrgVariable contentType res accept -> CreateVariableOption -> GiteaRequest CreateOrgVariable contentType res accept Source # | |
Consumes CreateOrgVariable MimeJSON Source # | application/json |
Defined in Gitea.API.Organization | |
Produces CreateOrgVariable MimeNoContent Source # | |
Defined in Gitea.API.Organization |
deleteOrgSecret
Arguments
:: Org | "org" - name of organization |
-> Secretname | "secretname" - name of the secret |
-> GiteaRequest DeleteOrgSecret MimeNoContent NoContent MimeNoContent |
DELETE /orgs/{org}/actions/secrets/{secretname}
Delete a secret in an organization
AuthMethod: AuthApiKeyTOTPHeader
, AuthApiKeyAuthorizationHeaderToken
, AuthApiKeySudoHeader
, AuthBasicBasicAuth
, AuthApiKeyAccessToken
, AuthApiKeySudoParam
, AuthApiKeyToken
data DeleteOrgSecret Source #
Instances
deleteOrgVariable
Arguments
:: Org | "org" - name of the organization |
-> Variablename | "variablename" - name of the variable |
-> GiteaRequest DeleteOrgVariable MimeNoContent ActionVariable MimeJSON |
DELETE /orgs/{org}/actions/variables/{variablename}
Delete an org-level variable
AuthMethod: AuthApiKeyTOTPHeader
, AuthApiKeyAuthorizationHeaderToken
, AuthApiKeySudoHeader
, AuthBasicBasicAuth
, AuthApiKeyAccessToken
, AuthApiKeySudoParam
, AuthApiKeyToken
data DeleteOrgVariable Source #
Instances
Produces DeleteOrgVariable MimeJSON Source # | application/json |
Defined in Gitea.API.Organization |
getOrgVariable
Arguments
:: Org | "org" - name of the organization |
-> Variablename | "variablename" - name of the variable |
-> GiteaRequest GetOrgVariable MimeNoContent ActionVariable MimeJSON |
GET /orgs/{org}/actions/variables/{variablename}
Get an org-level variable
AuthMethod: AuthApiKeyTOTPHeader
, AuthApiKeyAuthorizationHeaderToken
, AuthApiKeySudoHeader
, AuthBasicBasicAuth
, AuthApiKeyAccessToken
, AuthApiKeySudoParam
, AuthApiKeyToken
data GetOrgVariable Source #
Instances
Produces GetOrgVariable MimeJSON Source # | application/json |
Defined in Gitea.API.Organization |
getOrgVariablesList
Arguments
:: Org | "org" - name of the organization |
-> GiteaRequest GetOrgVariablesList MimeNoContent [ActionVariable] MimeJSON |
GET /orgs/{org}/actions/variables
Get an org-level variables list
AuthMethod: AuthApiKeyTOTPHeader
, AuthApiKeyAuthorizationHeaderToken
, AuthApiKeySudoHeader
, AuthBasicBasicAuth
, AuthApiKeyAccessToken
, AuthApiKeySudoParam
, AuthApiKeyToken
data GetOrgVariablesList Source #
Instances
HasOptionalParam GetOrgVariablesList Limit Source # | Optional Param "limit" - page size of results |
Defined in Gitea.API.Organization Methods applyOptionalParam :: GiteaRequest GetOrgVariablesList contentType res accept -> Limit -> GiteaRequest GetOrgVariablesList contentType res accept Source # (-&-) :: GiteaRequest GetOrgVariablesList contentType res accept -> Limit -> GiteaRequest GetOrgVariablesList contentType res accept Source # | |
HasOptionalParam GetOrgVariablesList Page Source # | Optional Param "page" - page number of results to return (1-based) |
Defined in Gitea.API.Organization Methods applyOptionalParam :: GiteaRequest GetOrgVariablesList contentType res accept -> Page -> GiteaRequest GetOrgVariablesList contentType res accept Source # (-&-) :: GiteaRequest GetOrgVariablesList contentType res accept -> Page -> GiteaRequest GetOrgVariablesList contentType res accept Source # | |
Produces GetOrgVariablesList MimeJSON Source # | application/json |
Defined in Gitea.API.Organization |
orgAddTeamMember
Arguments
:: Id | "id" - id of the team |
-> Username | "username" - username of the user to add |
-> GiteaRequest OrgAddTeamMember MimeNoContent NoContent MimeNoContent |
PUT /teams/{id}/members/{username}
Add a team member
AuthMethod: AuthApiKeyTOTPHeader
, AuthApiKeyAuthorizationHeaderToken
, AuthApiKeySudoHeader
, AuthBasicBasicAuth
, AuthApiKeyAccessToken
, AuthApiKeySudoParam
, AuthApiKeyToken
data OrgAddTeamMember Source #
Instances
orgAddTeamRepository
Arguments
:: Id | "id" - id of the team |
-> Org | "org" - organization that owns the repo to add |
-> Repo | "repo" - name of the repo to add |
-> GiteaRequest OrgAddTeamRepository MimeNoContent NoContent MimeNoContent |
PUT /teams/{id}/repos/{org}/{repo}
Add a repository to a team
AuthMethod: AuthApiKeyTOTPHeader
, AuthApiKeyAuthorizationHeaderToken
, AuthApiKeySudoHeader
, AuthBasicBasicAuth
, AuthApiKeyAccessToken
, AuthApiKeySudoParam
, AuthApiKeyToken
data OrgAddTeamRepository Source #
Instances
orgConcealMember
Arguments
:: Org | "org" - name of the organization |
-> Username | "username" - username of the user |
-> GiteaRequest OrgConcealMember MimeNoContent NoContent MimeNoContent |
DELETE /orgs/{org}/public_members/{username}
Conceal a user's membership
AuthMethod: AuthApiKeyTOTPHeader
, AuthApiKeyAuthorizationHeaderToken
, AuthApiKeySudoHeader
, AuthBasicBasicAuth
, AuthApiKeyAccessToken
, AuthApiKeySudoParam
, AuthApiKeyToken
data OrgConcealMember Source #
Instances
orgCreate
Arguments
:: (Consumes OrgCreate MimeJSON, MimeRender MimeJSON CreateOrgOption) | |
=> CreateOrgOption | "organization" |
-> GiteaRequest OrgCreate MimeJSON Organization MimeJSON |
POST /orgs
Create an organization
AuthMethod: AuthApiKeyTOTPHeader
, AuthApiKeyAuthorizationHeaderToken
, AuthApiKeySudoHeader
, AuthBasicBasicAuth
, AuthApiKeyAccessToken
, AuthApiKeySudoParam
, AuthApiKeyToken
Instances
HasBodyParam OrgCreate CreateOrgOption Source # | |
Defined in Gitea.API.Organization Methods setBodyParam :: (Consumes OrgCreate contentType, MimeRender contentType CreateOrgOption) => GiteaRequest OrgCreate contentType res accept -> CreateOrgOption -> GiteaRequest OrgCreate contentType res accept Source # | |
Consumes OrgCreate MimeJSON Source # | application/json |
Defined in Gitea.API.Organization | |
Produces OrgCreate MimeJSON Source # | application/json |
Defined in Gitea.API.Organization |
orgCreateHook
Arguments
:: (Consumes OrgCreateHook MimeJSON, MimeRender MimeJSON CreateHookOption) | |
=> CreateHookOption | "body" |
-> Org | "org" - name of the organization |
-> GiteaRequest OrgCreateHook MimeJSON Hook MimeJSON |
POST /orgs/{org}/hooks
Create a hook
AuthMethod: AuthApiKeyTOTPHeader
, AuthApiKeyAuthorizationHeaderToken
, AuthApiKeySudoHeader
, AuthBasicBasicAuth
, AuthApiKeyAccessToken
, AuthApiKeySudoParam
, AuthApiKeyToken
data OrgCreateHook Source #
Instances
HasBodyParam OrgCreateHook CreateHookOption Source # | |
Defined in Gitea.API.Organization Methods setBodyParam :: (Consumes OrgCreateHook contentType, MimeRender contentType CreateHookOption) => GiteaRequest OrgCreateHook contentType res accept -> CreateHookOption -> GiteaRequest OrgCreateHook contentType res accept Source # | |
Consumes OrgCreateHook MimeJSON Source # | application/json |
Defined in Gitea.API.Organization | |
Produces OrgCreateHook MimeJSON Source # | application/json |
Defined in Gitea.API.Organization |
orgCreateLabel
Arguments
:: Consumes OrgCreateLabel MimeJSON | |
=> Org | "org" - name of the organization |
-> GiteaRequest OrgCreateLabel MimeJSON Label MimeJSON |
POST /orgs/{org}/labels
Create a label for an organization
AuthMethod: AuthApiKeyTOTPHeader
, AuthApiKeyAuthorizationHeaderToken
, AuthApiKeySudoHeader
, AuthBasicBasicAuth
, AuthApiKeyAccessToken
, AuthApiKeySudoParam
, AuthApiKeyToken
data OrgCreateLabel Source #
Instances
HasBodyParam OrgCreateLabel CreateLabelOption Source # | |
Defined in Gitea.API.Organization Methods setBodyParam :: (Consumes OrgCreateLabel contentType, MimeRender contentType CreateLabelOption) => GiteaRequest OrgCreateLabel contentType res accept -> CreateLabelOption -> GiteaRequest OrgCreateLabel contentType res accept Source # | |
Consumes OrgCreateLabel MimeJSON Source # | application/json |
Defined in Gitea.API.Organization | |
Produces OrgCreateLabel MimeJSON Source # | application/json |
Defined in Gitea.API.Organization |
orgCreateTeam
Arguments
:: Consumes OrgCreateTeam MimeJSON | |
=> Org | "org" - name of the organization |
-> GiteaRequest OrgCreateTeam MimeJSON Team MimeJSON |
POST /orgs/{org}/teams
Create a team
AuthMethod: AuthApiKeyTOTPHeader
, AuthApiKeyAuthorizationHeaderToken
, AuthApiKeySudoHeader
, AuthBasicBasicAuth
, AuthApiKeyAccessToken
, AuthApiKeySudoParam
, AuthApiKeyToken
data OrgCreateTeam Source #
Instances
HasBodyParam OrgCreateTeam CreateTeamOption Source # | |
Defined in Gitea.API.Organization Methods setBodyParam :: (Consumes OrgCreateTeam contentType, MimeRender contentType CreateTeamOption) => GiteaRequest OrgCreateTeam contentType res accept -> CreateTeamOption -> GiteaRequest OrgCreateTeam contentType res accept Source # | |
Consumes OrgCreateTeam MimeJSON Source # | application/json |
Defined in Gitea.API.Organization | |
Produces OrgCreateTeam MimeJSON Source # | application/json |
Defined in Gitea.API.Organization |
orgDelete
Arguments
:: Org | "org" - organization that is to be deleted |
-> GiteaRequest OrgDelete MimeNoContent NoContent MimeNoContent |
DELETE /orgs/{org}
Delete an organization
AuthMethod: AuthApiKeyTOTPHeader
, AuthApiKeyAuthorizationHeaderToken
, AuthApiKeySudoHeader
, AuthBasicBasicAuth
, AuthApiKeyAccessToken
, AuthApiKeySudoParam
, AuthApiKeyToken
Instances
Produces OrgDelete MimeNoContent Source # | |
Defined in Gitea.API.Organization |
orgDeleteAvatar
Arguments
:: Org | "org" - name of the organization |
-> GiteaRequest OrgDeleteAvatar MimeNoContent NoContent MimeNoContent |
DELETE /orgs/{org}/avatar
Delete Avatar
AuthMethod: AuthApiKeyTOTPHeader
, AuthApiKeyAuthorizationHeaderToken
, AuthApiKeySudoHeader
, AuthBasicBasicAuth
, AuthApiKeyAccessToken
, AuthApiKeySudoParam
, AuthApiKeyToken
data OrgDeleteAvatar Source #
Instances
orgDeleteHook
Arguments
:: Org | "org" - name of the organization |
-> Id | "id" - id of the hook to delete |
-> GiteaRequest OrgDeleteHook MimeNoContent NoContent MimeNoContent |
DELETE /orgs/{org}/hooks/{id}
Delete a hook
AuthMethod: AuthApiKeyTOTPHeader
, AuthApiKeyAuthorizationHeaderToken
, AuthApiKeySudoHeader
, AuthBasicBasicAuth
, AuthApiKeyAccessToken
, AuthApiKeySudoParam
, AuthApiKeyToken
data OrgDeleteHook Source #
Instances
Produces OrgDeleteHook MimeNoContent Source # | |
Defined in Gitea.API.Organization |
orgDeleteLabel
Arguments
:: Org | "org" - name of the organization |
-> Id | "id" - id of the label to delete |
-> GiteaRequest OrgDeleteLabel MimeNoContent NoContent MimeNoContent |
DELETE /orgs/{org}/labels/{id}
Delete a label
AuthMethod: AuthApiKeyTOTPHeader
, AuthApiKeyAuthorizationHeaderToken
, AuthApiKeySudoHeader
, AuthBasicBasicAuth
, AuthApiKeyAccessToken
, AuthApiKeySudoParam
, AuthApiKeyToken
data OrgDeleteLabel Source #
Instances
Produces OrgDeleteLabel MimeNoContent Source # | |
Defined in Gitea.API.Organization |
orgDeleteMember
Arguments
:: Org | "org" - name of the organization |
-> Username | "username" - username of the user |
-> GiteaRequest OrgDeleteMember MimeNoContent NoContent MimeNoContent |
DELETE /orgs/{org}/members/{username}
Remove a member from an organization
AuthMethod: AuthApiKeyTOTPHeader
, AuthApiKeyAuthorizationHeaderToken
, AuthApiKeySudoHeader
, AuthBasicBasicAuth
, AuthApiKeyAccessToken
, AuthApiKeySudoParam
, AuthApiKeyToken
data OrgDeleteMember Source #
Instances
orgDeleteTeam
Arguments
:: Id | "id" - id of the team to delete |
-> GiteaRequest OrgDeleteTeam MimeNoContent NoContent MimeNoContent |
DELETE /teams/{id}
Delete a team
AuthMethod: AuthApiKeyTOTPHeader
, AuthApiKeyAuthorizationHeaderToken
, AuthApiKeySudoHeader
, AuthBasicBasicAuth
, AuthApiKeyAccessToken
, AuthApiKeySudoParam
, AuthApiKeyToken
data OrgDeleteTeam Source #
Instances
Produces OrgDeleteTeam MimeNoContent Source # | |
Defined in Gitea.API.Organization |
orgEdit
Arguments
:: (Consumes OrgEdit MimeJSON, MimeRender MimeJSON EditOrgOption) | |
=> EditOrgOption | "body" |
-> Org | "org" - name of the organization to edit |
-> GiteaRequest OrgEdit MimeJSON Organization MimeJSON |
PATCH /orgs/{org}
Edit an organization
AuthMethod: AuthApiKeyTOTPHeader
, AuthApiKeyAuthorizationHeaderToken
, AuthApiKeySudoHeader
, AuthBasicBasicAuth
, AuthApiKeyAccessToken
, AuthApiKeySudoParam
, AuthApiKeyToken
Instances
HasBodyParam OrgEdit EditOrgOption Source # | |
Defined in Gitea.API.Organization Methods setBodyParam :: (Consumes OrgEdit contentType, MimeRender contentType EditOrgOption) => GiteaRequest OrgEdit contentType res accept -> EditOrgOption -> GiteaRequest OrgEdit contentType res accept Source # | |
Consumes OrgEdit MimeJSON Source # | application/json |
Defined in Gitea.API.Organization | |
Produces OrgEdit MimeJSON Source # | application/json |
Defined in Gitea.API.Organization |
orgEditHook
Arguments
:: Consumes OrgEditHook MimeJSON | |
=> Org | "org" - name of the organization |
-> Id | "id" - id of the hook to update |
-> GiteaRequest OrgEditHook MimeJSON Hook MimeJSON |
PATCH /orgs/{org}/hooks/{id}
Update a hook
AuthMethod: AuthApiKeyTOTPHeader
, AuthApiKeyAuthorizationHeaderToken
, AuthApiKeySudoHeader
, AuthBasicBasicAuth
, AuthApiKeyAccessToken
, AuthApiKeySudoParam
, AuthApiKeyToken
data OrgEditHook Source #
Instances
HasBodyParam OrgEditHook EditHookOption Source # | |
Defined in Gitea.API.Organization Methods setBodyParam :: (Consumes OrgEditHook contentType, MimeRender contentType EditHookOption) => GiteaRequest OrgEditHook contentType res accept -> EditHookOption -> GiteaRequest OrgEditHook contentType res accept Source # | |
Consumes OrgEditHook MimeJSON Source # | application/json |
Defined in Gitea.API.Organization | |
Produces OrgEditHook MimeJSON Source # | application/json |
Defined in Gitea.API.Organization |
orgEditLabel
Arguments
:: Consumes OrgEditLabel MimeJSON | |
=> Org | "org" - name of the organization |
-> Id | "id" - id of the label to edit |
-> GiteaRequest OrgEditLabel MimeJSON Label MimeJSON |
PATCH /orgs/{org}/labels/{id}
Update a label
AuthMethod: AuthApiKeyTOTPHeader
, AuthApiKeyAuthorizationHeaderToken
, AuthApiKeySudoHeader
, AuthBasicBasicAuth
, AuthApiKeyAccessToken
, AuthApiKeySudoParam
, AuthApiKeyToken
data OrgEditLabel Source #
Instances
HasBodyParam OrgEditLabel EditLabelOption Source # | |
Defined in Gitea.API.Organization Methods setBodyParam :: (Consumes OrgEditLabel contentType, MimeRender contentType EditLabelOption) => GiteaRequest OrgEditLabel contentType res accept -> EditLabelOption -> GiteaRequest OrgEditLabel contentType res accept Source # | |
Consumes OrgEditLabel MimeJSON Source # | application/json |
Defined in Gitea.API.Organization | |
Produces OrgEditLabel MimeJSON Source # | application/json |
Defined in Gitea.API.Organization |
orgEditTeam
Arguments
:: Consumes OrgEditTeam MimeJSON | |
=> IdInt | "id" - id of the team to edit |
-> GiteaRequest OrgEditTeam MimeJSON Team MimeJSON |
PATCH /teams/{id}
Edit a team
AuthMethod: AuthApiKeyTOTPHeader
, AuthApiKeyAuthorizationHeaderToken
, AuthApiKeySudoHeader
, AuthBasicBasicAuth
, AuthApiKeyAccessToken
, AuthApiKeySudoParam
, AuthApiKeyToken
data OrgEditTeam Source #
Instances
HasBodyParam OrgEditTeam EditTeamOption Source # | |
Defined in Gitea.API.Organization Methods setBodyParam :: (Consumes OrgEditTeam contentType, MimeRender contentType EditTeamOption) => GiteaRequest OrgEditTeam contentType res accept -> EditTeamOption -> GiteaRequest OrgEditTeam contentType res accept Source # | |
Consumes OrgEditTeam MimeJSON Source # | application/json |
Defined in Gitea.API.Organization | |
Produces OrgEditTeam MimeJSON Source # | application/json |
Defined in Gitea.API.Organization |
orgGet
Arguments
:: Org | "org" - name of the organization to get |
-> GiteaRequest OrgGet MimeNoContent Organization MimeJSON |
GET /orgs/{org}
Get an organization
AuthMethod: AuthApiKeyTOTPHeader
, AuthApiKeyAuthorizationHeaderToken
, AuthApiKeySudoHeader
, AuthBasicBasicAuth
, AuthApiKeyAccessToken
, AuthApiKeySudoParam
, AuthApiKeyToken
orgGetAll
orgGetAll :: GiteaRequest OrgGetAll MimeNoContent [Organization] MimeJSON Source #
GET /orgs
Get list of organizations
AuthMethod: AuthApiKeyTOTPHeader
, AuthApiKeyAuthorizationHeaderToken
, AuthApiKeySudoHeader
, AuthBasicBasicAuth
, AuthApiKeyAccessToken
, AuthApiKeySudoParam
, AuthApiKeyToken
Instances
HasOptionalParam OrgGetAll Limit Source # | Optional Param "limit" - page size of results |
Defined in Gitea.API.Organization Methods applyOptionalParam :: GiteaRequest OrgGetAll contentType res accept -> Limit -> GiteaRequest OrgGetAll contentType res accept Source # (-&-) :: GiteaRequest OrgGetAll contentType res accept -> Limit -> GiteaRequest OrgGetAll contentType res accept Source # | |
HasOptionalParam OrgGetAll Page Source # | Optional Param "page" - page number of results to return (1-based) |
Defined in Gitea.API.Organization Methods applyOptionalParam :: GiteaRequest OrgGetAll contentType res accept -> Page -> GiteaRequest OrgGetAll contentType res accept Source # (-&-) :: GiteaRequest OrgGetAll contentType res accept -> Page -> GiteaRequest OrgGetAll contentType res accept Source # | |
Produces OrgGetAll MimeJSON Source # | application/json |
Defined in Gitea.API.Organization |
orgGetHook
Arguments
:: Org | "org" - name of the organization |
-> Id | "id" - id of the hook to get |
-> GiteaRequest OrgGetHook MimeNoContent Hook MimeJSON |
GET /orgs/{org}/hooks/{id}
Get a hook
AuthMethod: AuthApiKeyTOTPHeader
, AuthApiKeyAuthorizationHeaderToken
, AuthApiKeySudoHeader
, AuthBasicBasicAuth
, AuthApiKeyAccessToken
, AuthApiKeySudoParam
, AuthApiKeyToken
data OrgGetHook Source #
Instances
Produces OrgGetHook MimeJSON Source # | application/json |
Defined in Gitea.API.Organization |
orgGetLabel
Arguments
:: Org | "org" - name of the organization |
-> Id | "id" - id of the label to get |
-> GiteaRequest OrgGetLabel MimeNoContent Label MimeJSON |
GET /orgs/{org}/labels/{id}
Get a single label
AuthMethod: AuthApiKeyTOTPHeader
, AuthApiKeyAuthorizationHeaderToken
, AuthApiKeySudoHeader
, AuthBasicBasicAuth
, AuthApiKeyAccessToken
, AuthApiKeySudoParam
, AuthApiKeyToken
data OrgGetLabel Source #
Instances
Produces OrgGetLabel MimeJSON Source # | application/json |
Defined in Gitea.API.Organization |
orgGetRunnerRegistrationToken
orgGetRunnerRegistrationToken Source #
Arguments
:: Org | "org" - name of the organization |
-> GiteaRequest OrgGetRunnerRegistrationToken MimeNoContent NoContent MimeNoContent |
GET /orgs/{org}/actions/runners/registration-token
Get an organization's actions runner registration token
AuthMethod: AuthApiKeyTOTPHeader
, AuthApiKeyAuthorizationHeaderToken
, AuthApiKeySudoHeader
, AuthBasicBasicAuth
, AuthApiKeyAccessToken
, AuthApiKeySudoParam
, AuthApiKeyToken
data OrgGetRunnerRegistrationToken Source #
Instances
orgGetTeam
Arguments
:: Id | "id" - id of the team to get |
-> GiteaRequest OrgGetTeam MimeNoContent Team MimeJSON |
GET /teams/{id}
Get a team
AuthMethod: AuthApiKeyTOTPHeader
, AuthApiKeyAuthorizationHeaderToken
, AuthApiKeySudoHeader
, AuthBasicBasicAuth
, AuthApiKeyAccessToken
, AuthApiKeySudoParam
, AuthApiKeyToken
data OrgGetTeam Source #
Instances
Produces OrgGetTeam MimeJSON Source # | application/json |
Defined in Gitea.API.Organization |
orgGetUserPermissions
orgGetUserPermissions Source #
Arguments
:: Username | "username" - username of user |
-> Org | "org" - name of the organization |
-> GiteaRequest OrgGetUserPermissions MimeNoContent OrganizationPermissions MimeJSON |
GET /users/{username}/orgs/{org}/permissions
Get user permissions in organization
AuthMethod: AuthApiKeyTOTPHeader
, AuthApiKeyAuthorizationHeaderToken
, AuthApiKeySudoHeader
, AuthBasicBasicAuth
, AuthApiKeyAccessToken
, AuthApiKeySudoParam
, AuthApiKeyToken
data OrgGetUserPermissions Source #
Instances
Produces OrgGetUserPermissions MimeJSON Source # | application/json |
Defined in Gitea.API.Organization |
orgIsMember
Arguments
:: Org | "org" - name of the organization |
-> Username | "username" - username of the user |
-> GiteaRequest OrgIsMember MimeNoContent NoContent MimeNoContent |
GET /orgs/{org}/members/{username}
Check if a user is a member of an organization
AuthMethod: AuthApiKeyTOTPHeader
, AuthApiKeyAuthorizationHeaderToken
, AuthApiKeySudoHeader
, AuthBasicBasicAuth
, AuthApiKeyAccessToken
, AuthApiKeySudoParam
, AuthApiKeyToken
data OrgIsMember Source #
Instances
Produces OrgIsMember MimeNoContent Source # | |
Defined in Gitea.API.Organization |
orgIsPublicMember
Arguments
:: Org | "org" - name of the organization |
-> Username | "username" - username of the user |
-> GiteaRequest OrgIsPublicMember MimeNoContent NoContent MimeNoContent |
GET /orgs/{org}/public_members/{username}
Check if a user is a public member of an organization
AuthMethod: AuthApiKeyTOTPHeader
, AuthApiKeyAuthorizationHeaderToken
, AuthApiKeySudoHeader
, AuthBasicBasicAuth
, AuthApiKeyAccessToken
, AuthApiKeySudoParam
, AuthApiKeyToken
data OrgIsPublicMember Source #
Instances
orgListActionsSecrets
orgListActionsSecrets Source #
Arguments
:: Org | "org" - name of the organization |
-> GiteaRequest OrgListActionsSecrets MimeNoContent [Secret] MimeJSON |
GET /orgs/{org}/actions/secrets
List an organization's actions secrets
AuthMethod: AuthApiKeyTOTPHeader
, AuthApiKeyAuthorizationHeaderToken
, AuthApiKeySudoHeader
, AuthBasicBasicAuth
, AuthApiKeyAccessToken
, AuthApiKeySudoParam
, AuthApiKeyToken
data OrgListActionsSecrets Source #
Instances
orgListActivityFeeds
Arguments
:: Org | "org" - name of the org |
-> GiteaRequest OrgListActivityFeeds MimeNoContent [Activity] MimeJSON |
GET /orgs/{org}/activities/feeds
List an organization's activity feeds
AuthMethod: AuthApiKeyTOTPHeader
, AuthApiKeyAuthorizationHeaderToken
, AuthApiKeySudoHeader
, AuthBasicBasicAuth
, AuthApiKeyAccessToken
, AuthApiKeySudoParam
, AuthApiKeyToken
data OrgListActivityFeeds Source #
Instances
orgListCurrentUserOrgs
orgListCurrentUserOrgs :: GiteaRequest OrgListCurrentUserOrgs MimeNoContent [Organization] MimeJSON Source #
GET /user/orgs
List the current user's organizations
AuthMethod: AuthApiKeyTOTPHeader
, AuthApiKeyAuthorizationHeaderToken
, AuthApiKeySudoHeader
, AuthBasicBasicAuth
, AuthApiKeyAccessToken
, AuthApiKeySudoParam
, AuthApiKeyToken
data OrgListCurrentUserOrgs Source #
Instances
orgListHooks
Arguments
:: Org | "org" - name of the organization |
-> GiteaRequest OrgListHooks MimeNoContent [Hook] MimeJSON |
GET /orgs/{org}/hooks
List an organization's webhooks
AuthMethod: AuthApiKeyTOTPHeader
, AuthApiKeyAuthorizationHeaderToken
, AuthApiKeySudoHeader
, AuthBasicBasicAuth
, AuthApiKeyAccessToken
, AuthApiKeySudoParam
, AuthApiKeyToken
data OrgListHooks Source #
Instances
HasOptionalParam OrgListHooks Limit Source # | Optional Param "limit" - page size of results |
Defined in Gitea.API.Organization Methods applyOptionalParam :: GiteaRequest OrgListHooks contentType res accept -> Limit -> GiteaRequest OrgListHooks contentType res accept Source # (-&-) :: GiteaRequest OrgListHooks contentType res accept -> Limit -> GiteaRequest OrgListHooks contentType res accept Source # | |
HasOptionalParam OrgListHooks Page Source # | Optional Param "page" - page number of results to return (1-based) |
Defined in Gitea.API.Organization Methods applyOptionalParam :: GiteaRequest OrgListHooks contentType res accept -> Page -> GiteaRequest OrgListHooks contentType res accept Source # (-&-) :: GiteaRequest OrgListHooks contentType res accept -> Page -> GiteaRequest OrgListHooks contentType res accept Source # | |
Produces OrgListHooks MimeJSON Source # | application/json |
Defined in Gitea.API.Organization |
orgListLabels
Arguments
:: Org | "org" - name of the organization |
-> GiteaRequest OrgListLabels MimeNoContent [Label] MimeJSON |
GET /orgs/{org}/labels
List an organization's labels
AuthMethod: AuthApiKeyTOTPHeader
, AuthApiKeyAuthorizationHeaderToken
, AuthApiKeySudoHeader
, AuthBasicBasicAuth
, AuthApiKeyAccessToken
, AuthApiKeySudoParam
, AuthApiKeyToken
data OrgListLabels Source #
Instances
HasOptionalParam OrgListLabels Limit Source # | Optional Param "limit" - page size of results |
Defined in Gitea.API.Organization Methods applyOptionalParam :: GiteaRequest OrgListLabels contentType res accept -> Limit -> GiteaRequest OrgListLabels contentType res accept Source # (-&-) :: GiteaRequest OrgListLabels contentType res accept -> Limit -> GiteaRequest OrgListLabels contentType res accept Source # | |
HasOptionalParam OrgListLabels Page Source # | Optional Param "page" - page number of results to return (1-based) |
Defined in Gitea.API.Organization Methods applyOptionalParam :: GiteaRequest OrgListLabels contentType res accept -> Page -> GiteaRequest OrgListLabels contentType res accept Source # (-&-) :: GiteaRequest OrgListLabels contentType res accept -> Page -> GiteaRequest OrgListLabels contentType res accept Source # | |
Produces OrgListLabels MimeJSON Source # | application/json |
Defined in Gitea.API.Organization |
orgListMembers
Arguments
:: Org | "org" - name of the organization |
-> GiteaRequest OrgListMembers MimeNoContent [User] MimeJSON |
GET /orgs/{org}/members
List an organization's members
AuthMethod: AuthApiKeyTOTPHeader
, AuthApiKeyAuthorizationHeaderToken
, AuthApiKeySudoHeader
, AuthBasicBasicAuth
, AuthApiKeyAccessToken
, AuthApiKeySudoParam
, AuthApiKeyToken
data OrgListMembers Source #
Instances
HasOptionalParam OrgListMembers Limit Source # | Optional Param "limit" - page size of results |
Defined in Gitea.API.Organization Methods applyOptionalParam :: GiteaRequest OrgListMembers contentType res accept -> Limit -> GiteaRequest OrgListMembers contentType res accept Source # (-&-) :: GiteaRequest OrgListMembers contentType res accept -> Limit -> GiteaRequest OrgListMembers contentType res accept Source # | |
HasOptionalParam OrgListMembers Page Source # | Optional Param "page" - page number of results to return (1-based) |
Defined in Gitea.API.Organization Methods applyOptionalParam :: GiteaRequest OrgListMembers contentType res accept -> Page -> GiteaRequest OrgListMembers contentType res accept Source # (-&-) :: GiteaRequest OrgListMembers contentType res accept -> Page -> GiteaRequest OrgListMembers contentType res accept Source # | |
Produces OrgListMembers MimeJSON Source # | application/json |
Defined in Gitea.API.Organization |
orgListPublicMembers
Arguments
:: Org | "org" - name of the organization |
-> GiteaRequest OrgListPublicMembers MimeNoContent [User] MimeJSON |
GET /orgs/{org}/public_members
List an organization's public members
AuthMethod: AuthApiKeyTOTPHeader
, AuthApiKeyAuthorizationHeaderToken
, AuthApiKeySudoHeader
, AuthBasicBasicAuth
, AuthApiKeyAccessToken
, AuthApiKeySudoParam
, AuthApiKeyToken
data OrgListPublicMembers Source #
Instances
HasOptionalParam OrgListPublicMembers Limit Source # | Optional Param "limit" - page size of results |
Defined in Gitea.API.Organization Methods applyOptionalParam :: GiteaRequest OrgListPublicMembers contentType res accept -> Limit -> GiteaRequest OrgListPublicMembers contentType res accept Source # (-&-) :: GiteaRequest OrgListPublicMembers contentType res accept -> Limit -> GiteaRequest OrgListPublicMembers contentType res accept Source # | |
HasOptionalParam OrgListPublicMembers Page Source # | Optional Param "page" - page number of results to return (1-based) |
Defined in Gitea.API.Organization Methods applyOptionalParam :: GiteaRequest OrgListPublicMembers contentType res accept -> Page -> GiteaRequest OrgListPublicMembers contentType res accept Source # (-&-) :: GiteaRequest OrgListPublicMembers contentType res accept -> Page -> GiteaRequest OrgListPublicMembers contentType res accept Source # | |
Produces OrgListPublicMembers MimeJSON Source # | application/json |
Defined in Gitea.API.Organization |
orgListRepos
Arguments
:: Org | "org" - name of the organization |
-> GiteaRequest OrgListRepos MimeNoContent [Repository] MimeJSON |
GET /orgs/{org}/repos
List an organization's repos
AuthMethod: AuthApiKeyTOTPHeader
, AuthApiKeyAuthorizationHeaderToken
, AuthApiKeySudoHeader
, AuthBasicBasicAuth
, AuthApiKeyAccessToken
, AuthApiKeySudoParam
, AuthApiKeyToken
data OrgListRepos Source #
Instances
HasOptionalParam OrgListRepos Limit Source # | Optional Param "limit" - page size of results |
Defined in Gitea.API.Organization Methods applyOptionalParam :: GiteaRequest OrgListRepos contentType res accept -> Limit -> GiteaRequest OrgListRepos contentType res accept Source # (-&-) :: GiteaRequest OrgListRepos contentType res accept -> Limit -> GiteaRequest OrgListRepos contentType res accept Source # | |
HasOptionalParam OrgListRepos Page Source # | Optional Param "page" - page number of results to return (1-based) |
Defined in Gitea.API.Organization Methods applyOptionalParam :: GiteaRequest OrgListRepos contentType res accept -> Page -> GiteaRequest OrgListRepos contentType res accept Source # (-&-) :: GiteaRequest OrgListRepos contentType res accept -> Page -> GiteaRequest OrgListRepos contentType res accept Source # | |
Produces OrgListRepos MimeJSON Source # | application/json |
Defined in Gitea.API.Organization |
orgListTeamActivityFeeds
orgListTeamActivityFeeds Source #
Arguments
:: Id | "id" - id of the team |
-> GiteaRequest OrgListTeamActivityFeeds MimeNoContent [Activity] MimeJSON |
GET /teams/{id}/activities/feeds
List a team's activity feeds
AuthMethod: AuthApiKeyTOTPHeader
, AuthApiKeyAuthorizationHeaderToken
, AuthApiKeySudoHeader
, AuthBasicBasicAuth
, AuthApiKeyAccessToken
, AuthApiKeySudoParam
, AuthApiKeyToken
data OrgListTeamActivityFeeds Source #
Instances
orgListTeamMember
Arguments
:: Id | "id" - id of the team |
-> Username | "username" - username of the member to list |
-> GiteaRequest OrgListTeamMember MimeNoContent User MimeJSON |
GET /teams/{id}/members/{username}
List a particular member of team
AuthMethod: AuthApiKeyTOTPHeader
, AuthApiKeyAuthorizationHeaderToken
, AuthApiKeySudoHeader
, AuthBasicBasicAuth
, AuthApiKeyAccessToken
, AuthApiKeySudoParam
, AuthApiKeyToken
data OrgListTeamMember Source #
Instances
Produces OrgListTeamMember MimeJSON Source # | application/json |
Defined in Gitea.API.Organization |
orgListTeamMembers
Arguments
:: Id | "id" - id of the team |
-> GiteaRequest OrgListTeamMembers MimeNoContent [User] MimeJSON |
GET /teams/{id}/members
List a team's members
AuthMethod: AuthApiKeyTOTPHeader
, AuthApiKeyAuthorizationHeaderToken
, AuthApiKeySudoHeader
, AuthBasicBasicAuth
, AuthApiKeyAccessToken
, AuthApiKeySudoParam
, AuthApiKeyToken
data OrgListTeamMembers Source #
Instances
HasOptionalParam OrgListTeamMembers Limit Source # | Optional Param "limit" - page size of results |
Defined in Gitea.API.Organization Methods applyOptionalParam :: GiteaRequest OrgListTeamMembers contentType res accept -> Limit -> GiteaRequest OrgListTeamMembers contentType res accept Source # (-&-) :: GiteaRequest OrgListTeamMembers contentType res accept -> Limit -> GiteaRequest OrgListTeamMembers contentType res accept Source # | |
HasOptionalParam OrgListTeamMembers Page Source # | Optional Param "page" - page number of results to return (1-based) |
Defined in Gitea.API.Organization Methods applyOptionalParam :: GiteaRequest OrgListTeamMembers contentType res accept -> Page -> GiteaRequest OrgListTeamMembers contentType res accept Source # (-&-) :: GiteaRequest OrgListTeamMembers contentType res accept -> Page -> GiteaRequest OrgListTeamMembers contentType res accept Source # | |
Produces OrgListTeamMembers MimeJSON Source # | application/json |
Defined in Gitea.API.Organization |
orgListTeamRepo
Arguments
:: Id | "id" - id of the team |
-> Org | "org" - organization that owns the repo to list |
-> Repo | "repo" - name of the repo to list |
-> GiteaRequest OrgListTeamRepo MimeNoContent Repository MimeJSON |
GET /teams/{id}/repos/{org}/{repo}
List a particular repo of team
AuthMethod: AuthApiKeyTOTPHeader
, AuthApiKeyAuthorizationHeaderToken
, AuthApiKeySudoHeader
, AuthBasicBasicAuth
, AuthApiKeyAccessToken
, AuthApiKeySudoParam
, AuthApiKeyToken
data OrgListTeamRepo Source #
Instances
Produces OrgListTeamRepo MimeJSON Source # | application/json |
Defined in Gitea.API.Organization |
orgListTeamRepos
Arguments
:: Id | "id" - id of the team |
-> GiteaRequest OrgListTeamRepos MimeNoContent [Repository] MimeJSON |
GET /teams/{id}/repos
List a team's repos
AuthMethod: AuthApiKeyTOTPHeader
, AuthApiKeyAuthorizationHeaderToken
, AuthApiKeySudoHeader
, AuthBasicBasicAuth
, AuthApiKeyAccessToken
, AuthApiKeySudoParam
, AuthApiKeyToken
data OrgListTeamRepos Source #
Instances
HasOptionalParam OrgListTeamRepos Limit Source # | Optional Param "limit" - page size of results |
Defined in Gitea.API.Organization Methods applyOptionalParam :: GiteaRequest OrgListTeamRepos contentType res accept -> Limit -> GiteaRequest OrgListTeamRepos contentType res accept Source # (-&-) :: GiteaRequest OrgListTeamRepos contentType res accept -> Limit -> GiteaRequest OrgListTeamRepos contentType res accept Source # | |
HasOptionalParam OrgListTeamRepos Page Source # | Optional Param "page" - page number of results to return (1-based) |
Defined in Gitea.API.Organization Methods applyOptionalParam :: GiteaRequest OrgListTeamRepos contentType res accept -> Page -> GiteaRequest OrgListTeamRepos contentType res accept Source # (-&-) :: GiteaRequest OrgListTeamRepos contentType res accept -> Page -> GiteaRequest OrgListTeamRepos contentType res accept Source # | |
Produces OrgListTeamRepos MimeJSON Source # | application/json |
Defined in Gitea.API.Organization |
orgListTeams
Arguments
:: Org | "org" - name of the organization |
-> GiteaRequest OrgListTeams MimeNoContent [Team] MimeJSON |
GET /orgs/{org}/teams
List an organization's teams
AuthMethod: AuthApiKeyTOTPHeader
, AuthApiKeyAuthorizationHeaderToken
, AuthApiKeySudoHeader
, AuthBasicBasicAuth
, AuthApiKeyAccessToken
, AuthApiKeySudoParam
, AuthApiKeyToken
data OrgListTeams Source #
Instances
HasOptionalParam OrgListTeams Limit Source # | Optional Param "limit" - page size of results |
Defined in Gitea.API.Organization Methods applyOptionalParam :: GiteaRequest OrgListTeams contentType res accept -> Limit -> GiteaRequest OrgListTeams contentType res accept Source # (-&-) :: GiteaRequest OrgListTeams contentType res accept -> Limit -> GiteaRequest OrgListTeams contentType res accept Source # | |
HasOptionalParam OrgListTeams Page Source # | Optional Param "page" - page number of results to return (1-based) |
Defined in Gitea.API.Organization Methods applyOptionalParam :: GiteaRequest OrgListTeams contentType res accept -> Page -> GiteaRequest OrgListTeams contentType res accept Source # (-&-) :: GiteaRequest OrgListTeams contentType res accept -> Page -> GiteaRequest OrgListTeams contentType res accept Source # | |
Produces OrgListTeams MimeJSON Source # | application/json |
Defined in Gitea.API.Organization |
orgListUserOrgs
Arguments
:: Username | "username" - username of user |
-> GiteaRequest OrgListUserOrgs MimeNoContent [Organization] MimeJSON |
GET /users/{username}/orgs
List a user's organizations
AuthMethod: AuthApiKeyTOTPHeader
, AuthApiKeyAuthorizationHeaderToken
, AuthApiKeySudoHeader
, AuthBasicBasicAuth
, AuthApiKeyAccessToken
, AuthApiKeySudoParam
, AuthApiKeyToken
data OrgListUserOrgs Source #
Instances
HasOptionalParam OrgListUserOrgs Limit Source # | Optional Param "limit" - page size of results |
Defined in Gitea.API.Organization Methods applyOptionalParam :: GiteaRequest OrgListUserOrgs contentType res accept -> Limit -> GiteaRequest OrgListUserOrgs contentType res accept Source # (-&-) :: GiteaRequest OrgListUserOrgs contentType res accept -> Limit -> GiteaRequest OrgListUserOrgs contentType res accept Source # | |
HasOptionalParam OrgListUserOrgs Page Source # | Optional Param "page" - page number of results to return (1-based) |
Defined in Gitea.API.Organization Methods applyOptionalParam :: GiteaRequest OrgListUserOrgs contentType res accept -> Page -> GiteaRequest OrgListUserOrgs contentType res accept Source # (-&-) :: GiteaRequest OrgListUserOrgs contentType res accept -> Page -> GiteaRequest OrgListUserOrgs contentType res accept Source # | |
Produces OrgListUserOrgs MimeJSON Source # | application/json |
Defined in Gitea.API.Organization |
orgPublicizeMember
Arguments
:: Org | "org" - name of the organization |
-> Username | "username" - username of the user |
-> GiteaRequest OrgPublicizeMember MimeNoContent NoContent MimeNoContent |
PUT /orgs/{org}/public_members/{username}
Publicize a user's membership
AuthMethod: AuthApiKeyTOTPHeader
, AuthApiKeyAuthorizationHeaderToken
, AuthApiKeySudoHeader
, AuthBasicBasicAuth
, AuthApiKeyAccessToken
, AuthApiKeySudoParam
, AuthApiKeyToken
data OrgPublicizeMember Source #
Instances
orgRemoveTeamMember
Arguments
:: Id | "id" - id of the team |
-> Username | "username" - username of the user to remove |
-> GiteaRequest OrgRemoveTeamMember MimeNoContent NoContent MimeNoContent |
DELETE /teams/{id}/members/{username}
Remove a team member
AuthMethod: AuthApiKeyTOTPHeader
, AuthApiKeyAuthorizationHeaderToken
, AuthApiKeySudoHeader
, AuthBasicBasicAuth
, AuthApiKeyAccessToken
, AuthApiKeySudoParam
, AuthApiKeyToken
data OrgRemoveTeamMember Source #
Instances
orgRemoveTeamRepository
orgRemoveTeamRepository Source #
Arguments
:: Id | "id" - id of the team |
-> Org | "org" - organization that owns the repo to remove |
-> Repo | "repo" - name of the repo to remove |
-> GiteaRequest OrgRemoveTeamRepository MimeNoContent NoContent MimeNoContent |
DELETE /teams/{id}/repos/{org}/{repo}
Remove a repository from a team
This does not delete the repository, it only removes the repository from the team.
AuthMethod: AuthApiKeyTOTPHeader
, AuthApiKeyAuthorizationHeaderToken
, AuthApiKeySudoHeader
, AuthBasicBasicAuth
, AuthApiKeyAccessToken
, AuthApiKeySudoParam
, AuthApiKeyToken
data OrgRemoveTeamRepository Source #
Instances
orgUpdateAvatar
Arguments
:: Consumes OrgUpdateAvatar contentType | |
=> ContentType contentType | request content-type ( |
-> Org | "org" - name of the organization |
-> GiteaRequest OrgUpdateAvatar contentType NoContent MimeNoContent |
POST /orgs/{org}/avatar
Update Avatar
AuthMethod: AuthApiKeyTOTPHeader
, AuthApiKeyAuthorizationHeaderToken
, AuthApiKeySudoHeader
, AuthBasicBasicAuth
, AuthApiKeyAccessToken
, AuthApiKeySudoParam
, AuthApiKeyToken
data OrgUpdateAvatar Source #
Instances
HasBodyParam OrgUpdateAvatar UpdateUserAvatarOption Source # | |
Defined in Gitea.API.Organization Methods setBodyParam :: (Consumes OrgUpdateAvatar contentType, MimeRender contentType UpdateUserAvatarOption) => GiteaRequest OrgUpdateAvatar contentType res accept -> UpdateUserAvatarOption -> GiteaRequest OrgUpdateAvatar contentType res accept Source # | |
Consumes OrgUpdateAvatar MimeJSON Source # | application/json |
Defined in Gitea.API.Organization | |
Consumes OrgUpdateAvatar MimePlainText Source # | text/plain |
Defined in Gitea.API.Organization | |
Produces OrgUpdateAvatar MimeNoContent Source # | |
Defined in Gitea.API.Organization |
organizationBlockUser
organizationBlockUser Source #
Arguments
:: Org | "org" - name of the organization |
-> Username | "username" - user to block |
-> GiteaRequest OrganizationBlockUser MimeNoContent NoContent MimeNoContent |
PUT /orgs/{org}/blocks/{username}
Block a user
AuthMethod: AuthApiKeyTOTPHeader
, AuthApiKeyAuthorizationHeaderToken
, AuthApiKeySudoHeader
, AuthBasicBasicAuth
, AuthApiKeyAccessToken
, AuthApiKeySudoParam
, AuthApiKeyToken
data OrganizationBlockUser Source #
Instances
HasOptionalParam OrganizationBlockUser Note2 Source # | Optional Param "note" - optional note for the block |
Defined in Gitea.API.Organization Methods applyOptionalParam :: GiteaRequest OrganizationBlockUser contentType res accept -> Note2 -> GiteaRequest OrganizationBlockUser contentType res accept Source # (-&-) :: GiteaRequest OrganizationBlockUser contentType res accept -> Note2 -> GiteaRequest OrganizationBlockUser contentType res accept Source # | |
Produces OrganizationBlockUser MimeNoContent Source # | |
Defined in Gitea.API.Organization |
organizationCheckUserBlock
organizationCheckUserBlock Source #
Arguments
:: Org | "org" - name of the organization |
-> Username | "username" - user to check |
-> GiteaRequest OrganizationCheckUserBlock MimeNoContent NoContent MimeNoContent |
GET /orgs/{org}/blocks/{username}
Check if a user is blocked by the organization
AuthMethod: AuthApiKeyTOTPHeader
, AuthApiKeyAuthorizationHeaderToken
, AuthApiKeySudoHeader
, AuthBasicBasicAuth
, AuthApiKeyAccessToken
, AuthApiKeySudoParam
, AuthApiKeyToken
data OrganizationCheckUserBlock Source #
Instances
organizationListBlocks
organizationListBlocks Source #
Arguments
:: Org | "org" - name of the organization |
-> GiteaRequest OrganizationListBlocks MimeNoContent [User] MimeJSON |
GET /orgs/{org}/blocks
List users blocked by the organization
AuthMethod: AuthApiKeyTOTPHeader
, AuthApiKeyAuthorizationHeaderToken
, AuthApiKeySudoHeader
, AuthBasicBasicAuth
, AuthApiKeyAccessToken
, AuthApiKeySudoParam
, AuthApiKeyToken
data OrganizationListBlocks Source #
Instances
organizationUnblockUser
organizationUnblockUser Source #
Arguments
:: Org | "org" - name of the organization |
-> Username | "username" - user to unblock |
-> GiteaRequest OrganizationUnblockUser MimeNoContent NoContent MimeNoContent |
DELETE /orgs/{org}/blocks/{username}
Unblock a user
AuthMethod: AuthApiKeyTOTPHeader
, AuthApiKeyAuthorizationHeaderToken
, AuthApiKeySudoHeader
, AuthBasicBasicAuth
, AuthApiKeyAccessToken
, AuthApiKeySudoParam
, AuthApiKeyToken
data OrganizationUnblockUser Source #
Instances
teamSearch
Arguments
:: Org | "org" - name of the organization |
-> GiteaRequest TeamSearch MimeNoContent TeamSearch200Response MimeJSON |
GET /orgs/{org}/teams/search
Search for teams within an organization
AuthMethod: AuthApiKeyTOTPHeader
, AuthApiKeyAuthorizationHeaderToken
, AuthApiKeySudoHeader
, AuthBasicBasicAuth
, AuthApiKeyAccessToken
, AuthApiKeySudoParam
, AuthApiKeyToken
data TeamSearch Source #
Instances
HasOptionalParam TeamSearch IncludeDesc Source # | Optional Param "include_desc" - include search within team description (defaults to true) |
Defined in Gitea.API.Organization Methods applyOptionalParam :: GiteaRequest TeamSearch contentType res accept -> IncludeDesc -> GiteaRequest TeamSearch contentType res accept Source # (-&-) :: GiteaRequest TeamSearch contentType res accept -> IncludeDesc -> GiteaRequest TeamSearch contentType res accept Source # | |
HasOptionalParam TeamSearch Limit Source # | Optional Param "limit" - page size of results |
Defined in Gitea.API.Organization Methods applyOptionalParam :: GiteaRequest TeamSearch contentType res accept -> Limit -> GiteaRequest TeamSearch contentType res accept Source # (-&-) :: GiteaRequest TeamSearch contentType res accept -> Limit -> GiteaRequest TeamSearch contentType res accept Source # | |
HasOptionalParam TeamSearch Page Source # | Optional Param "page" - page number of results to return (1-based) |
Defined in Gitea.API.Organization Methods applyOptionalParam :: GiteaRequest TeamSearch contentType res accept -> Page -> GiteaRequest TeamSearch contentType res accept Source # (-&-) :: GiteaRequest TeamSearch contentType res accept -> Page -> GiteaRequest TeamSearch contentType res accept Source # | |
HasOptionalParam TeamSearch Q Source # | Optional Param "q" - keywords to search |
Defined in Gitea.API.Organization Methods applyOptionalParam :: GiteaRequest TeamSearch contentType res accept -> Q -> GiteaRequest TeamSearch contentType res accept Source # (-&-) :: GiteaRequest TeamSearch contentType res accept -> Q -> GiteaRequest TeamSearch contentType res accept Source # | |
Produces TeamSearch MimeJSON Source # | application/json |
Defined in Gitea.API.Organization |
updateOrgSecret
Arguments
:: Consumes UpdateOrgSecret MimeJSON | |
=> Org | "org" - name of organization |
-> Secretname | "secretname" - name of the secret |
-> GiteaRequest UpdateOrgSecret MimeJSON NoContent MimeNoContent |
PUT /orgs/{org}/actions/secrets/{secretname}
Create or Update a secret value in an organization
AuthMethod: AuthApiKeyTOTPHeader
, AuthApiKeyAuthorizationHeaderToken
, AuthApiKeySudoHeader
, AuthBasicBasicAuth
, AuthApiKeyAccessToken
, AuthApiKeySudoParam
, AuthApiKeyToken
data UpdateOrgSecret Source #
Instances
HasBodyParam UpdateOrgSecret CreateOrUpdateSecretOption Source # | |
Defined in Gitea.API.Organization Methods setBodyParam :: (Consumes UpdateOrgSecret contentType, MimeRender contentType CreateOrUpdateSecretOption) => GiteaRequest UpdateOrgSecret contentType res accept -> CreateOrUpdateSecretOption -> GiteaRequest UpdateOrgSecret contentType res accept Source # | |
Consumes UpdateOrgSecret MimeJSON Source # | application/json |
Defined in Gitea.API.Organization | |
Produces UpdateOrgSecret MimeNoContent Source # | |
Defined in Gitea.API.Organization |
updateOrgVariable
Arguments
:: Consumes UpdateOrgVariable MimeJSON | |
=> Org | "org" - name of the organization |
-> Variablename | "variablename" - name of the variable |
-> GiteaRequest UpdateOrgVariable MimeJSON NoContent MimeNoContent |
PUT /orgs/{org}/actions/variables/{variablename}
Update an org-level variable
AuthMethod: AuthApiKeyTOTPHeader
, AuthApiKeyAuthorizationHeaderToken
, AuthApiKeySudoHeader
, AuthBasicBasicAuth
, AuthApiKeyAccessToken
, AuthApiKeySudoParam
, AuthApiKeyToken
data UpdateOrgVariable Source #
Instances
HasBodyParam UpdateOrgVariable UpdateVariableOption Source # | |
Defined in Gitea.API.Organization Methods setBodyParam :: (Consumes UpdateOrgVariable contentType, MimeRender contentType UpdateVariableOption) => GiteaRequest UpdateOrgVariable contentType res accept -> UpdateVariableOption -> GiteaRequest UpdateOrgVariable contentType res accept Source # | |
Consumes UpdateOrgVariable MimeJSON Source # | application/json |
Defined in Gitea.API.Organization | |
Produces UpdateOrgVariable MimeNoContent Source # | |
Defined in Gitea.API.Organization |