1
1
mirror of https://github.com/go-gitea/gitea.git synced 2025-02-03 09:31:40 +01:00
gitea/routers/api/v1/admin
Bruno Sofiato 040c830dec
Inclusion of rename organization api (#33303)
This adds an endpoint (`/orgs/{org}/rename`) to rename organizations.

I've modeled the endpoint using the rename user endpoint --
`/admin/users/{username}/rename` -- as base.

It is the 1st time I wrote a new API endpoint (I've tried to follow the
rename users endpoint code while writing it). So feel free to ping me if
there is something wrong or missing.

Resolves #32995

---------

Signed-off-by: Bruno Sofiato <bruno.sofiato@gmail.com>
Co-authored-by: delvh <dev.lh@web.de>
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
2025-02-01 00:59:49 +00:00
..
adopt.go Clarify path param naming (#32969) 2024-12-24 13:47:45 +00:00
cron.go Clarify path param naming (#32969) 2024-12-24 13:47:45 +00:00
email.go Clarify path param naming (#32969) 2024-12-24 13:47:45 +00:00
hooks.go Let API create and edit system webhooks, attempt 2 (#33180) 2025-01-13 17:17:39 +00:00
org.go Move context from modules to services (#29440) 2024-02-27 08:12:22 +01:00
repo.go Move context from modules to services (#29440) 2024-02-27 08:12:22 +01:00
runners.go Move context from modules to services (#29440) 2024-02-27 08:12:22 +01:00
user_badge.go Resolve lint for unused parameter and unnecessary type arguments (#30750) 2024-04-29 08:47:56 +00:00
user.go Inclusion of rename organization api (#33303) 2025-02-01 00:59:49 +00:00