gitea: code.gitea.io/gitea/routers/api/v1/org Index | Files

package org

import "code.gitea.io/gitea/routers/api/v1/org"

Index

Package Files

hook.go member.go org.go team.go

func AddTeamMember Uses

func AddTeamMember(ctx *context.APIContext)

AddTeamMember api for add a member to a team

func AddTeamRepository Uses

func AddTeamRepository(ctx *context.APIContext)

AddTeamRepository api for adding a repository to a team

func ConcealMember Uses

func ConcealMember(ctx *context.APIContext)

ConcealMember make a member's membership not public

func Create Uses

func Create(ctx *context.APIContext, form api.CreateOrgOption)

Create api for create organization

func CreateHook Uses

func CreateHook(ctx *context.APIContext, form api.CreateHookOption)

CreateHook create a hook for an organization

func CreateTeam Uses

func CreateTeam(ctx *context.APIContext, form api.CreateTeamOption)

CreateTeam api for create a team

func Delete Uses

func Delete(ctx *context.APIContext)

Delete an organization

func DeleteHook Uses

func DeleteHook(ctx *context.APIContext)

DeleteHook delete a hook of an organization

func DeleteMember Uses

func DeleteMember(ctx *context.APIContext)

DeleteMember remove a member from an organization

func DeleteTeam Uses

func DeleteTeam(ctx *context.APIContext)

DeleteTeam api for delete a team

func Edit Uses

func Edit(ctx *context.APIContext, form api.EditOrgOption)

Edit change an organization's information

func EditHook Uses

func EditHook(ctx *context.APIContext, form api.EditHookOption)

EditHook modify a hook of a repository

func EditTeam Uses

func EditTeam(ctx *context.APIContext, form api.EditTeamOption)

EditTeam api for edit a team

func Get Uses

func Get(ctx *context.APIContext)

Get get an organization

func GetHook Uses

func GetHook(ctx *context.APIContext)

GetHook get an organization's hook by id

func GetTeam Uses

func GetTeam(ctx *context.APIContext)

GetTeam api for get a team

func GetTeamMember Uses

func GetTeamMember(ctx *context.APIContext)

GetTeamMember api for get a particular member of team

func GetTeamMembers Uses

func GetTeamMembers(ctx *context.APIContext)

GetTeamMembers api for get a team's members

func GetTeamRepos Uses

func GetTeamRepos(ctx *context.APIContext)

GetTeamRepos api for get a team's repos

func IsMember Uses

func IsMember(ctx *context.APIContext)

IsMember check if a user is a member of an organization

func IsPublicMember Uses

func IsPublicMember(ctx *context.APIContext)

IsPublicMember check if a user is a public member of an organization

func ListHooks Uses

func ListHooks(ctx *context.APIContext)

ListHooks list an organziation's webhooks

func ListMembers Uses

func ListMembers(ctx *context.APIContext)

ListMembers list an organization's members

func ListMyOrgs Uses

func ListMyOrgs(ctx *context.APIContext)

ListMyOrgs list all my orgs

func ListPublicMembers Uses

func ListPublicMembers(ctx *context.APIContext)

ListPublicMembers list an organization's public members

func ListTeams Uses

func ListTeams(ctx *context.APIContext)

ListTeams list all the teams of an organization

func ListUserOrgs Uses

func ListUserOrgs(ctx *context.APIContext)

ListUserOrgs list user's orgs

func ListUserTeams Uses

func ListUserTeams(ctx *context.APIContext)

ListUserTeams list all the teams a user belongs to

func PublicizeMember Uses

func PublicizeMember(ctx *context.APIContext)

PublicizeMember make a member's membership public

func RemoveTeamMember Uses

func RemoveTeamMember(ctx *context.APIContext)

RemoveTeamMember api for remove one member from a team

func RemoveTeamRepository Uses

func RemoveTeamRepository(ctx *context.APIContext)

RemoveTeamRepository api for removing a repository from a team

Package org imports 8 packages (graph) and is imported by 2 packages. Updated 2019-07-16. Refresh now. Tools for package owners.