GitLab API docs for Lint API refer to wrong address.
Summary
The Lint API docs (https://docs.gitlab.com/ee/api/lint.html) describe, that the Lint API is reachable under /lint
, while in fact it is located at /ci/lint
, this should be updated in the documentation.
Steps to reproduce
POST
to /api/v4/lint
returns 404, while POST
to /api/v4/ci/lint
actually returns { "error": "content is missing" }
, which is the documented bahavior.
Example Project
I don't have an example project, this is an API bug.
What is the current bug behavior?
Docs state the Lint API is located at /api/v4/lint
.
What is the expected correct behavior?
Docs state the Lint API is located at /api/v4/ci/lint
.
Relevant logs and/or screenshots
No relevant code.
Output of checks
No output.
Results of GitLab environment info
Not relevant.
Results of GitLab application Check
Not relevant.
Possible fixes
Change the docs.
Edited by Claudio Vellage