Get list of Orgs from Gogs
- Dominant language
- Elixir
- Stars
- 10
- Forks
- 0
- PR merge metrics
- No merged PRs in 30d
Description
Sadly, _creating_ a **`new`** Organisation on the Gogs Server via the **`REST API`** doesn't appear to be possible: https://github.com/dwyl/gogs/issues/8#issuecomment-1115464858 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. 💭
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.