tanuki v0.2.0 Tanuki.Projects.Repository.Tags
Summary
Functions
POST /projects/:id/repository/tags
POST /projects/:id/repository/tags/:tag_name/release
GET /projects/:id/repository/tags
PUT /projects/:id/repository/tags/:tag_name/release
Functions
POST /projects/:id/repository/tags
Creates a new tag in the repository that points to the supplied ref.
Parameters:
- 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.
POST /projects/:id/repository/tags/:tag_name/release
Add release notes to the existing git tag. It returns 201 if the release is created successfully. If the tag does not exist, 404 is returned. If there already exists a release for the given tag, 409 is returned.
Parameters:
- description (required) - Release notes with markdown support
GET /projects/:id/repository/tags
Get a list of repository tags from a project, sorted by name in reverse alphabetical order.
PUT /projects/:id/repository/tags/:tag_name/release
Updates the release notes of a given release. It returns 200 if the release is successfully updated. If the tag or the release does not exist, it returns 404 with a proper error message.
Parameters:
- description (required) - Release notes with markdown support