Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

API endpoint for organization creation #5260

Closed
2 of 7 tasks
bboehmke opened this issue Nov 2, 2018 · 0 comments · Fixed by #5268
Closed
2 of 7 tasks

API endpoint for organization creation #5260

bboehmke opened this issue Nov 2, 2018 · 0 comments · Fixed by #5268
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

Comments

@bboehmke
Copy link

bboehmke commented Nov 2, 2018

  • Gitea version (or commit ref): 1.5.3
  • Git version: not relevant (website issue)
  • Operating system: Linux
  • Database (use [x]):
    • PostgreSQL
    • MySQL
    • MSSQL
    • SQLite
  • Can you reproduce the bug at https://try.gitea.io:
    • Yes (provide example URL)
    • No
    • Not relevant
  • Log gist:

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.

@lunny lunny added type/feature Completely new functionality. Can only be merged if feature freeze is not active. modifies/api This PR adds API routes or modifies them labels Nov 4, 2018
@lunny lunny added this to the 1.7.0 milestone Nov 4, 2018
@go-gitea go-gitea locked and limited conversation to collaborators Nov 24, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
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.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants