1

I would like to get a Gitlab tag by name using postman. My tag name is release/1.1.8. I've tried the following URL :

  • api/v4/projects/1487/repository/tags/release/1.1.8
  • api/v4/projects/1487/repository/tags/release%2F1.1.8

I always get a 404 error. Any idea ?

Mattasse
  • 1,023
  • 1
  • 11
  • 18
  • Using `%2F` in place of the `/` [works for me](https://gitlab.com/api/v4/projects/34050640/repository/tags/release%2F1.1.8) – sytech Feb 25 '22 at 19:58

1 Answers1

0

URL-encoding / to %2F is the correct way.

You can see this reproduced here:

https://gitlab.com/api/v4/projects/34050640/repository/tags/release%2F1.1.8

Make sure postman is not double-encoding it.

sytech
  • 29,298
  • 3
  • 45
  • 86