GitLab API POST call (tag - create a new release) returns 404 Tag not found
Summary
GitLab API POST call (tag - create a new release) returns 404 Tag not found
Steps to reproduce
- Create new repository tag with use of GitLab Web API with an empty release note
- Try to use REST API call to create new release note
POST /projects/:id/repository/tags/:tag_name/release - {"message":"404 Tag Not Found"}
- Create new release note for selected tag with use of GitLab Web API
- Try to use REST API call to update release note
PUT /projects/:id/repository/tags/:tag_name/release - Works as expected
I tried different test approaches (Postman, Powershell) with the same the result:
- The same client code works as expected with PUT (update)
- The same client code doesn't work with POST (create)
What is the current bug behavior?
{"message":"404 Tag Not Found"}
What is the expected correct behavior?
Release note should be added into tag
Relevant logs and/or screenshots
Output of checks
Results of GitLab environment info
GitLab Enterprise Edition 9.0.4-ee gitlab-ee@349b042ecfdba96be85b32a50f16ed81b18db392
Possible fixes
(If you can, link to the line of code that might be responsible for the problem)