REST API 现已经过版本控制。 有关详细信息,请参阅“关于 API 版本控制”。
Teams
使用 REST API 在 GitHub Enterprise Cloud 组织中创建和管理团队。
- Teams
- List teams
- Create a team
- Get a team by name
- Update a team
- Delete a team
- List team projects
- Check team permissions for a project
- Add or update team project permissions
- Remove a project from a team
- List team repositories
- Check team permissions for a repository
- Add or update team repository permissions
- Remove a repository from a team
- List child teams
- Get a team (Legacy)
- Update a team (Legacy)
- Delete a team (Legacy)
- List team projects (Legacy)
- Check team permissions for a project (Legacy)
- Add or update team project permissions (Legacy)
- Remove a project from a team (Legacy)
- List team repositories (Legacy)
- Check team permissions for a repository (Legacy)
- Add or update team repository permissions (Legacy)
- Remove a repository from a team (Legacy)
- List child teams (Legacy)
- List teams for the authenticated user
- 团队讨论评论
- List discussion comments
- Create a discussion comment
- Get a discussion comment
- Update a discussion comment
- Delete a discussion comment
- List discussion comments (Legacy)
- Create a discussion comment (Legacy)
- Get a discussion comment (Legacy)
- Update a discussion comment (Legacy)
- Delete a discussion comment (Legacy)
- 团队讨论
- List discussions
- Create a discussion
- Get a discussion
- Update a discussion
- Delete a discussion
- List discussions (Legacy)
- Create a discussion (Legacy)
- Get a discussion (Legacy)
- Update a discussion (Legacy)
- Delete a discussion (Legacy)
- 外部组
- Get an external group
- List external groups in an organization
- List a connection between an external group and a team
- Update the connection between an external group and a team
- Remove the connection between an external group and a team
- 团队成员
- List pending team invitations
- List team members
- Get team membership for a user
- Add or update team membership for a user
- Remove team membership for a user
- List pending team invitations (Legacy)
- List team members (Legacy)
- Get team member (Legacy)
- Add team member (Legacy)
- Remove team member (Legacy)
- Get team membership for a user (Legacy)
- Add or update team membership for a user (Legacy)
- Remove team membership for a user (Legacy)
- 团队同步