There's a endpoint which is not fully implemented

Summary

As described in the Commit documentation page: https://docs.gitlab.com/ee/api/commits.html
the following endpoint: GET /projects/:id/repository/commits/:sha/refs doesn't work with refs param

Steps to reproduce

Just do a GET request to the endpoint: GET /projects/:id/repository/commits/:sha/refs filling the REFS param like

Work: GET /projects/5/repository/commits/1231231231232132332
Not work: GET /projects/5/repository/commits/1231231231232132332/refs?type=all

Example Project

I use a private local project at gitlab (git.host.local)

What is the current bug behavior?

It shows a page with 404 error message:

{
  "error": "404 Not Found"
}

What is the expected correct behavior?

should see:

[
  {"type": "branch", "name": "'test'"},
  {"type": "branch", "name": "add-balsamiq-file"},
  {"type": "branch", "name": "wip"},
  {"type": "tag", "name": "v1.1.0"}
 ]

Relevant logs and/or screenshots


Output of checks

It occurs at git.host.local (its a private gitlab host)

Possible fixes

(If you can, link to the line of code that might be responsible for the problem)

Assignee Loading
Time tracking Loading