I have problems creating an functional get contents-command for the API on my own server.
My own server is running on Gogs-version 0.11.91.0811.
I tried doing the similar thing getting all contents of a repository as written in the documentation. The documentation shows that you have to use /repos/:username/:reponame/contents/:path.
When I recreate the same repo on the try.gogs.io server as I have on my own server this link (token removed) works:
but when I do the same for my own server:
it does not work and I get a 404.
What am I doing wrong?