tags

Source:

Methods

(static) addProjectRepositoryTag(id, payload)

Create a new tag

Source:
See:

POST /projects/:id/repository/tags

Parameters:
Name Type Description
id

(required) - The ID of a project

payload object

-

Properties
Name Type Description
tag_name

(required) - The name of a tag

ref

(required) - Create tag using commit SHA, another tag name, or branch name.

message

(optional) - Creates annotated tag.

release_description

(optional) - Add release notes to the git tag and store it in the GitLab database.

(static) addProjectRepositoryTagRelease(id, tag_name, payload)

Create a new release

Source:
See:

POST /projects/:id/repository/tags/:tag_name/release

Parameters:
Name Type Description
id

(required) - The ID of a project

tag_name

(required) - The name of a tag

payload object

-

Properties
Name Type Description
description

(required) - Release notes with markdown support

(static) deleteProjectRepositoryTag(id, tag_name)

Delete a tag

Source:
See:

DELETE /projects/:id/repository/tags/:tag_name

Parameters:
Name Type Description
id

(required) - The ID of a project

tag_name

(required) - The name of a tag

(static) getProjectRepositoryTags(id)

List project repository tags

Source:
See:

GET /projects/:id/repository/tags

Parameters:
Name Type Description
id

(required) - The ID of a project

(static) updateProjectRepositoryTagRelease(id, tag_name, payload)

Update a release

Source:
See:

PUT /projects/:id/repository/tags/:tag_name/release

Parameters:
Name Type Description
id

(required) - The ID of a project

tag_name

(required) - The name of a tag

payload object

-

Properties
Name Type Description
description

(required) - Release notes with markdown support