Resources Repository Create Tag
Create Tag
Create a new tag
Http Method
POST
End Point
/api/repositories/{projectId}/tags
Placeholder Description Example
{projectId} Project Id 1
Request Body
Content Type
application/json
Example
{
"revision" : "46c001b04cba0ca41588841f1ca32f50b582ee9b" ,
"tagName" : "string" ,
"tagMessage" : "string"
}
Response
Operation Successful
Status Code
200
Response Body
No response body if successful; error
Operation Failed
Status code
Status code other than 200 indicating the error type
Response Body
Error detail of content type "text/plain"
cURL Example
$ curl -u <login name>:<password or access token> [email protected] -H "Content-Type: application/json" https://git.crazyhackgut.ru/api/repositories/1/tags
Please wait...
Page is in error, reload to recover