GitLab API

GitlabTool

Actions1095

Projects → getApiV4ProjectsIdRegistryProtectionRepositoryRules

AI-generated

Summary

Retrieve registry protection repository rules for a specified GitLab project by project ID or URL-encoded path.

Inputs

  • Id (required) — The ID or URL-encoded path of the project to retrieve registry protection repository rules from.

Output shape

a list of repository protection rules related to the project's container registry

Returns all registry protection repository rules associated with the specified project. The 'id' path parameter is mandatory. No pagination or additional parameters are declared for this operation.

Links

Discussion