[PR #5268] [MERGED] add api for user to create org #17731

Closed
opened 2025-11-02 15:22:54 -06:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/go-gitea/gitea/pull/5268
Author: @lunny
Created: 11/4/2018
Status: Merged
Merged: 11/20/2018
Merged by: @techknowlogick

Base: masterHead: lunny/api_create_org


📝 Commits (9)

  • e230039 add api for user to create org
  • da327aa remove unused blank line on the swagger file end
  • 94ac0da fix create and add test
  • 4861c57 fix tests
  • c55543c fix routes of create org API
  • 9dacfec fix bug
  • 7f8d4e4 add copyright heads
  • 3fd636b Merge branch 'master' into lunny/api_create_org
  • 5ee8689 Merge branch 'master' into lunny/api_create_org

📊 Changes

4 files changed (+137 additions, -0 deletions)

View changed files

integrations/api_org_test.go (+48 -0)
📝 routers/api/v1/api.go (+2 -0)
📝 routers/api/v1/org/org.go (+51 -0)
📝 templates/swagger/v1_json.tmpl (+36 -0)

📄 Description

This will fix #5260. And github API v3 doesn't implement this route.


🔄 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/5268 **Author:** [@lunny](https://github.com/lunny) **Created:** 11/4/2018 **Status:** ✅ Merged **Merged:** 11/20/2018 **Merged by:** [@techknowlogick](https://github.com/techknowlogick) **Base:** `master` ← **Head:** `lunny/api_create_org` --- ### 📝 Commits (9) - [`e230039`](https://github.com/go-gitea/gitea/commit/e230039d6818a0b0385837c47ac7740a818812ae) add api for user to create org - [`da327aa`](https://github.com/go-gitea/gitea/commit/da327aa95810d8c995345185204a42f53fe32849) remove unused blank line on the swagger file end - [`94ac0da`](https://github.com/go-gitea/gitea/commit/94ac0da25bf7cd84dffeb48674bae8fc202f973f) fix create and add test - [`4861c57`](https://github.com/go-gitea/gitea/commit/4861c5757a90648fea72eac189972d3d61378871) fix tests - [`c55543c`](https://github.com/go-gitea/gitea/commit/c55543c73323ce98c9c84da59a94d938bab4bde0) fix routes of create org API - [`9dacfec`](https://github.com/go-gitea/gitea/commit/9dacfec6609cbe68ef05ed6f6ae8dadecbb8996e) fix bug - [`7f8d4e4`](https://github.com/go-gitea/gitea/commit/7f8d4e461cac41c3d9dadec70199dbdd0115b263) add copyright heads - [`3fd636b`](https://github.com/go-gitea/gitea/commit/3fd636b6ff2288f811c60b564d4bbb2ccfd223cb) Merge branch 'master' into lunny/api_create_org - [`5ee8689`](https://github.com/go-gitea/gitea/commit/5ee8689263428605b40006d50cb0a229ce1c02bc) Merge branch 'master' into lunny/api_create_org ### 📊 Changes **4 files changed** (+137 additions, -0 deletions) <details> <summary>View changed files</summary> ➕ `integrations/api_org_test.go` (+48 -0) 📝 `routers/api/v1/api.go` (+2 -0) 📝 `routers/api/v1/org/org.go` (+51 -0) 📝 `templates/swagger/v1_json.tmpl` (+36 -0) </details> ### 📄 Description This will fix #5260. And github API v3 doesn't implement this route. --- <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 15:22:54 -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#17731