API endpoint for organization creation #5260
Labels
modifies/api
This PR adds API routes or modifies them
type/feature
Completely new functionality. Can only be merged if feature freeze is not active.
Milestone
[x]
):Description
It seems that there is no API endpoint to create an organization (at least I can not find it).
I expected something like
POST /orgs/
but this does not exist in swagger:https://try.gitea.io/api/swagger#/organization
The function is also missing in the go client library of Gitea: https://github.com/go-gitea/go-sdk/blob/master/gitea/org.go
I also found an old pull request for gogs: gogs/gogs#4835
There an API endpoint for the creation of organizations was added.
The text was updated successfully, but these errors were encountered: