Skip to content

Tags REST API pagination does not work as expected

Hi, I get the same result at tags endpoint regardless of page and per_page parameters. The result is all tags that are present in the repository.

curl --header "PRIVATE-TOKEN:..." "https://.../api/v3/projects/.../repository/tags?per_page=1&page=8" curl --header "PRIVATE-TOKEN:..." "https://.../api/v3/projects/.../repository/tags?per_page=30&page=30" returns the same result

This is similar to resolved issue https://github.com/gitlabhq/gitlabhq/issues/5586