You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Sadly, creating a new Organisation on the Gogs Server via the REST API doesn't appear to be possible: #8 (comment) so the next best thing is to:
a) create the org that we need manually via the Web UI: https://gogs-server.fly.dev/org/create
b) list all the orgs we have access to via REST API e.g: GET /user/orgs
c) if the org we need already exists, then we create the repo in that org. otherwise we create the repo in the "global" org but name-space it to the desired org.
This isn't ideal, obviously, but I think it might be better than nothing. 💭
The text was updated successfully, but these errors were encountered:
Sadly, creating a
new
Organisation on the Gogs Server via theREST API
doesn't appear to be possible: #8 (comment) so the next best thing is to:a) create the
org
that we need manually via the Web UI: https://gogs-server.fly.dev/org/createb) list all the
orgs
we have access to viaREST API
e.g:GET /user/orgs
c)
if
theorg
we need already exists, then we create the repo in that org.otherwise we create the repo in the "global" org but name-space it to the desired org.
This isn't ideal, obviously, but I think it might be better than nothing. 💭
The text was updated successfully, but these errors were encountered: