0
0
mirror of https://github.com/go-gitea/gitea.git synced 2025-02-21 04:52:47 +01:00
gitea/routers/api/v1
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
..
activitypub
admin Inclusion of rename organization api (#33303) 2025-02-01 00:59:49 +00:00
misc
notify
org Inclusion of rename organization api (#33303) 2025-02-01 00:59:49 +00:00
packages
repo Refactor repository transfer (#33211) 2025-01-30 05:40:44 +00:00
settings
shared
swagger Inclusion of rename organization api (#33303) 2025-02-01 00:59:49 +00:00
user
utils Add tests for webhook and fix some webhook bugs (#33396) 2025-01-30 03:09:48 +00:00
api.go Inclusion of rename organization api (#33303) 2025-02-01 00:59:49 +00:00