[PR #5594] [MERGED] New API routes added #17858

Closed
opened 2025-11-02 16:17:04 -06:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/go-gitea/gitea/pull/5594
Author: @shashvat-kedia
Created: 12/25/2018
Status: Merged
Merged: 1/23/2019
Merged by: @techknowlogick

Base: masterHead: Fix-4387


📝 Commits (10+)

📊 Changes

5 files changed (+103 additions, -5 deletions)

View changed files

📝 models/user.go (+8 -5)
📝 routers/api/v1/admin/org.go (+29 -0)
📝 routers/api/v1/admin/user.go (+25 -0)
📝 routers/api/v1/api.go (+3 -0)
📝 templates/swagger/v1_json.tmpl (+38 -0)

📄 Description

Fix to Issue #4387

New API routes added
GET api/v1/admin/users/{username}/orgs
GET api/v1/admin/orgs
GET api/v1/admin/users


🔄 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/5594 **Author:** [@shashvat-kedia](https://github.com/shashvat-kedia) **Created:** 12/25/2018 **Status:** ✅ Merged **Merged:** 1/23/2019 **Merged by:** [@techknowlogick](https://github.com/techknowlogick) **Base:** `master` ← **Head:** `Fix-4387` --- ### 📝 Commits (10+) - [`25cb1ef`](https://github.com/go-gitea/gitea/commit/25cb1efb1f246b3df18d16b9a1a2c19819fc3dd6) New API routes added - [`8aa3b5b`](https://github.com/go-gitea/gitea/commit/8aa3b5b15c393123c9a3d3c42e8fea8bb24137dd) Comments added - [`df83324`](https://github.com/go-gitea/gitea/commit/df83324e9af97024f4103b65a92fe1de70169f64) Build fix - [`6bebe6a`](https://github.com/go-gitea/gitea/commit/6bebe6af598e95669d45cf00f21b20be35866d98) swagger_v1_json.tmpl without new line character - [`cce73b8`](https://github.com/go-gitea/gitea/commit/cce73b8d532d2f96728b5f40e1518b91d2b8aaac) Typo fix - [`fd0016d`](https://github.com/go-gitea/gitea/commit/fd0016d9dde00c35ba5d2f47c32d8dd058b77066) Code review changes - [`624a9be`](https://github.com/go-gitea/gitea/commit/624a9bec350304773165c203793fc621942e934f) Code review changes - [`118a81d`](https://github.com/go-gitea/gitea/commit/118a81d4645c2ff2b00e1f6247d0e5485c0ae2ea) Add copyright - [`52e579b`](https://github.com/go-gitea/gitea/commit/52e579b80e9fe96c6b15f3b133e1ae62073bd92f) Add copyright - [`2aa98b7`](https://github.com/go-gitea/gitea/commit/2aa98b7967db1849a9c6a3dc7bcbe7ebc05fe3e2) Add copyright ### 📊 Changes **5 files changed** (+103 additions, -5 deletions) <details> <summary>View changed files</summary> 📝 `models/user.go` (+8 -5) 📝 `routers/api/v1/admin/org.go` (+29 -0) 📝 `routers/api/v1/admin/user.go` (+25 -0) 📝 `routers/api/v1/api.go` (+3 -0) 📝 `templates/swagger/v1_json.tmpl` (+38 -0) </details> ### 📄 Description Fix to Issue #4387 </br> New API routes added `GET api/v1/admin/users/{username}/orgs` `GET api/v1/admin/orgs` `GET api/v1/admin/users` --- <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 16:17:04 -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#17858