since it's original a gogs fork, we can utilize gogs code and improve it (#18) gitea's api should cover all needs unresolved as for gogs -> https://try.gitea.io/api/swagger