GitLab API

GitlabTool

Actions1095

Protected_tags → getApiV4ProjectsIdProtectedTags

AI-generated

Summary

Retrieves protected tags for a GitLab project by sending a GET request to /api/v4/projects/{id}/protected_tags.

Inputs

  • Skip Authentication — Defaults to false. When enabled, skips GitLab API authentication.
  • Project ID (required) — The project's numeric ID or URL-encoded path, supplied as the id path parameter.
  • Page — Page number for pagination; the API schema defaults to 1.
  • Per_page — Number of items per page; the API schema defaults to 20.
  • Base URL — Defaults to https://gitlab.com; the node source says the actual base URL is defined in the GitLab API credential.
  • Method — The UI defaults to GET and offers other HTTP methods, though this operation is declared as a GET endpoint.

Output shape

A list of protected tag records returned by the GitLab API.

The operation uses the configured GitLab API credential unless authentication is skipped. Pagination is controlled by page and per_page; exact response fields are not specified by the provided source.

Links

Discussion