1
1
mirror of https://github.com/go-gitea/gitea.git synced 2025-02-03 09:31:40 +01:00
gitea/routers/api/v1/org
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
..
action.go Refactor names (#31405) 2024-06-19 06:32:45 +08:00
avatar.go Fix bug on avatar (#31008) 2024-05-19 12:58:39 +08:00
block.go Add user blocking (#29028) 2024-03-04 08:16:03 +00:00
hook.go Refactor names (#31405) 2024-06-19 06:32:45 +08:00
label.go Clarify path param naming (#32969) 2024-12-24 13:47:45 +00:00
member.go Clarify path param naming (#32969) 2024-12-24 13:47:45 +00:00
org.go Inclusion of rename organization api (#33303) 2025-02-01 00:59:49 +00:00
team.go Clarify path param naming (#32969) 2024-12-24 13:47:45 +00:00