Commit 7289e72c authored by Achilleas Pipinellis's avatar Achilleas Pipinellis 🚀

Merge branch 'patch-29' into 'master'

docs: add curl example for tag create request

See merge request !16952
parents 14ca5a59 fd7753a6
Pipeline #83106996 passed with stage
in 3 minutes and 1 second
......@@ -116,6 +116,12 @@ Parameters:
- `message` (optional) - Creates annotated tag.
- `release_description` (optional) - Add release notes to the Git tag and store it in the GitLab database.
```bash
curl --request POST --header "PRIVATE-TOKEN: <your_access_token>" "https://gitlab.example.com/api/v4/projects/5/repository/tags?tag_name=test&ref=master"
```
Example response:
```json
{
"commit": {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment