Hello fellow Gitlabbers,
I’m writing a command line app that needs to fetch issues’ data from a issues’ URLs, using the API. It’s very simple - the program is supplied with an issue’s web URL and it returns some data about it in a certain format.
It works fine with
gitlab.com but today I wanted to test it with a different GitLab instance and I’ve hit 404’s in my
GET requests. I suppose this issue is part of this specific instance’s administrator responsibility but perhaps here I’ll be able to track it down and notify them. I suppose it could be an outdated version of GitLab or whatever…
It’s a public instance: https://git.pwmt.org. I’ll demonstrate the problem:
In order to get this issue: https://git.pwmt.org/pwmt/zathura/issues/2 , I need to
GET this: https://git.pwmt.org/api/v4/projects/pwmt%2Fzathura/issues/2 right?
But it doens’t work. Since this project’s
1, I’ve tested this URL: https://git.pwmt.org/api/v4/projects/1/issues/2 and it didn’t return
Any idea why this is happening? I’ve verified that these API methods are supported using this instance’s API help page so this shouldn’t be a version issue. Maybe it’s an issue with the nginx server running GitLab as a proxy?
Thanks in advance for any help.