projects
List all container repository protection rules
Lists all container repository protection rules for a specified project.
get/api/v4/projects/{id}/registry/protection/repository/rules
Request
- Base URLhttps://gitlab.com
- Authnone declared
Path parameters
idstring required
The ID or URL-encoded path of the project
Response
List all container repository protection rules
Example response
[
{
"id": 1,
"project_id": 1,
"repository_path_pattern": "flightjs/flight0",
"minimum_access_level_for_push": "maintainer",
"minimum_access_level_for_delete": "maintainer"
}
]Changes
No recorded changes to this operation across all 5 revisions of this API.