GitLab API

GitlabTool

Actions1095

Protected_tags → getApiV4ProjectsIdProtectedTagsName

AI-generated

Summary

Fetches a protected tag rule for a GitLab project by project ID or URL-encoded path and tag name or wildcard, using the configured HTTP method (default GET). The base URL comes from the GitLab API credential; authentication can be skipped.

Inputs

  • Skip Authentication — When enabled, skips GitLab API authentication; otherwise the GitLab API credential is used.
  • Base URL — GitLab instance URL, defaulting to https://gitlab.com. The node source says the effective base URL is defined in the GitLab API credential.
  • Method — HTTP method for the request: GET, POST, PUT, DELETE, HEAD, or PATCH; defaults to GET.
  • Id (required) — Project ID or URL-encoded project path.
  • Name (required) — Protected tag name or wildcard, such as release*.

Output shape

A single GitLab API response record describing the protected tag rule.

The operation uses /api/v4/projects/{id}/protected_tags/{name}. The source pack does not show response transformation or error handling.

Links

Discussion