| Safe Haskell | Safe-Inferred |
|---|---|
| Language | Haskell2010 |
Gitea.API.Organization
Contents
- Operations
- Organization
- createOrgRepo
- createOrgRepoDeprecated
- orgAddTeamMember
- orgAddTeamRepository
- orgConcealMember
- orgCreate
- orgCreateHook
- orgCreateLabel
- orgCreateTeam
- orgDelete
- orgDeleteHook
- orgDeleteLabel
- orgDeleteMember
- orgDeleteTeam
- orgEdit
- orgEditHook
- orgEditLabel
- orgEditTeam
- orgGet
- orgGetAll
- orgGetHook
- orgGetLabel
- orgGetTeam
- orgGetUserPermissions
- orgIsMember
- orgIsPublicMember
- orgListActivityFeeds
- orgListCurrentUserOrgs
- orgListHooks
- orgListLabels
- orgListMembers
- orgListPublicMembers
- orgListRepos
- orgListTeamActivityFeeds
- orgListTeamMember
- orgListTeamMembers
- orgListTeamRepo
- orgListTeamRepos
- orgListTeams
- orgListUserOrgs
- orgPublicizeMember
- orgRemoveTeamMember
- orgRemoveTeamRepository
- teamSearch
- 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
- 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
- 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
- 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
- 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
- teamSearch :: Org -> GiteaRequest TeamSearch MimeNoContent TeamSearch200Response MimeJSON
- data TeamSearch
Operations
Organization
createOrgRepo
Arguments
| :: Consumes CreateOrgRepo MimeJSON | |
| => Org | "org" - name of organization |
| -> GiteaRequest CreateOrgRepo MimeJSON Repository MimeJSON |
POST /orgs/{org}/reposCreate 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}/reposCreate 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 | |
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}/hooksCreate 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}/labelsCreate 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}/teamsCreate 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 | |
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 | |
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}/permissionsGet 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
orgListActivityFeeds
Arguments
| :: Org | "org" - name of the org |
| -> GiteaRequest OrgListActivityFeeds MimeNoContent [Activity] MimeJSON |
GET /orgs/{org}/activities/feedsList 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}/hooksList 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}/labelsList 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}/membersList 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_membersList 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}/reposList 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/feedsList 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}/membersList 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}/reposList 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}/teamsList 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}/orgsList 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
teamSearch
Arguments
| :: Org | "org" - name of the organization |
| -> GiteaRequest TeamSearch MimeNoContent TeamSearch200Response MimeJSON |
GET /orgs/{org}/teams/searchSearch 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 | |