How to download archive of a tag by API?
I couldn't find a document with description about downloading an archive of a tag. This command
wget --header "PRIVATE-TOKEN: p3zUiRTQg2N4xircHjGi" "https://gitlab.example.com/api/v3/projects/166/repository/archive.tar.gz"
can download master branch only.
How to download another branch and tag?
Thanks.