[PR #370] [MERGED] API endpoints for organization teams #15341

Closed
opened 2025-11-02 11:44:24 -06:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/go-gitea/gitea/pull/370
Author: @ethantkoenig
Created: 12/9/2016
Status: Merged
Merged: 12/28/2016
Merged by: @lunny

Base: masterHead: api/org_teams


📝 Commits (1)

  • 4b4ae46 API endpoints for organization teams

📊 Changes

3 files changed (+70 additions, -0 deletions)

View changed files

📝 routers/api/v1/admin/org_team.go (+25 -0)
📝 routers/api/v1/api.go (+7 -0)
📝 routers/api/v1/org/team.go (+38 -0)

📄 Description

Add the following API endpoints:

  • GET /teams/:teamid: Get a team
  • GET /teams/:teamid/members: Get a team's members
  • GET /teams/:teamid/repos: Get a team's repository
  • PATCH /admin/teams/:teamid: Edit a team
  • DELETE /admin/teams/:teamid: Delete a team

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/go-gitea/gitea/pull/370 **Author:** [@ethantkoenig](https://github.com/ethantkoenig) **Created:** 12/9/2016 **Status:** ✅ Merged **Merged:** 12/28/2016 **Merged by:** [@lunny](https://github.com/lunny) **Base:** `master` ← **Head:** `api/org_teams` --- ### 📝 Commits (1) - [`4b4ae46`](https://github.com/go-gitea/gitea/commit/4b4ae46ffa1dc4e222205760898a3cc3270d9f23) API endpoints for organization teams ### 📊 Changes **3 files changed** (+70 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `routers/api/v1/admin/org_team.go` (+25 -0) 📝 `routers/api/v1/api.go` (+7 -0) 📝 `routers/api/v1/org/team.go` (+38 -0) </details> ### 📄 Description Add the following API endpoints: - `GET /teams/:teamid`: Get a team - `GET /teams/:teamid/members`: Get a team's members - `GET /teams/:teamid/repos`: Get a team's repository - `PATCH /admin/teams/:teamid`: Edit a team - `DELETE /admin/teams/:teamid`: Delete a team --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2025-11-02 11:44:25 -06:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#15341