401 trying to access organization secrets/templates (gitea)

Hi. That is correct. This endpoint is not giving enough info.
But this Gitea API has an isAdmin value.
You have to filter though all users but at least has this info available


UPDATE: this isAdmin is about site admin. Not organization admin, so my bad

But I found other API which has the data that we want: Gitea API

I’m not a Go dev, or know anything about it, so I can’t do it by my self, sorry

1 Like