René's URL Explorer Experiment


Title: Protected Branches Group Level · Issue #3164 · python-gitlab/python-gitlab · GitHub

Open Graph Title: Protected Branches Group Level · Issue #3164 · python-gitlab/python-gitlab

X Title: Protected Branches Group Level · Issue #3164 · python-gitlab/python-gitlab

Description: Group Protected Branches Feature Request to create the protected_branches attr for the Group class. The ability exists over API to query this: (docs) curl --header "PRIVATE-TOKEN: " \ --url "https://gitlab.example.com/...

Open Graph Description: Group Protected Branches Feature Request to create the protected_branches attr for the Group class. The ability exists over API to query this: (docs) curl --header "PRIVATE-TOKEN:

X Description: Group Protected Branches Feature Request to create the protected_branches attr for the Group class. The ability exists over API to query this: (docs) curl --header "PRIVATE-TOKEN: <your_acc...

Opengraph URL: https://github.com/python-gitlab/python-gitlab/issues/3164

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Protected Branches Group Level","articleBody":"## Group Protected Branches\n\nFeature Request to create the `protected_branches` attr for the [Group](https://github.com/python-gitlab/python-gitlab/blob/1299440da1c323fcbf873e67c623ac2349c96e5b/gitlab/v4/objects/groups.py#L72) class.\n\nThe ability exists over API to query this: ([docs](https://docs.gitlab.com/api/group_protected_branches/))\n\n```shell\ncurl --header \"PRIVATE-TOKEN: \u003cyour_access_token\u003e\" \\\n  --url \"https://gitlab.example.com/api/v4/groups/5/protected_branches\"\n```\n\ne.g.\n\n```python\n\u003e\u003e\u003e group = gl.groups.get('56')\n\u003e\u003e\u003e pb = group.protectedbranches.list(get_all=True)\n\u003e\u003e\u003e pb\n\n[\n  {\n    \"id\": 1,\n    \"name\": \"main\",\n    \"push_access_levels\": [\n      {\n        \"id\":  1,\n        \"access_level\": 40,\n        \"user_id\": null,\n        \"group_id\": 1234,\n        \"access_level_description\": \"Maintainers\"\n      }\n    ],\n    \"merge_access_levels\": [\n      {\n        \"id\":  1,\n...\n```\n\nref: https://gitlab.com/gitlab-security-oss/cis/gitlabcis/-/issues/125\n\n## Specifications\n\n  - python-gitlab version: `5.6.0`\n  - Gitlab server version (or gitlab.com): `GitLab Enterprise Edition 17.11.0-pre` [76ac92593a5](https://gitlab.com/gitlab-org/gitlab/-/commits/76ac92593a5)\n","author":{"url":"https://github.com/xakepnz","@type":"Person","name":"xakepnz"},"datePublished":"2025-04-04T09:51:52.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/3164/python-gitlab/issues/3164"}

route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:fac52623-d98b-6602-c1bf-9f51c7e5088c
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idBB56:B3582:13D6ADB:1B25DFD:6972A4F4
html-safe-nonceb569313f8be475c1aa3d51645d7f4b8cb7c5acb4af38e0b24ab58124eb500262
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCQjU2OkIzNTgyOjEzRDZBREI6MUIyNURGRDo2OTcyQTRGNCIsInZpc2l0b3JfaWQiOiI1OTQ4MDgyMDI1MTA3OTg5NzQ4IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmac940ba8c0393ee873e97a0ebfdb4a31f69e29dbc4528a653c8788914da3e28b07
hovercard-subject-tagissue:2971852552
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/python-gitlab/python-gitlab/3164/issue_layout
twitter:imagehttps://opengraph.githubassets.com/72610f712ee08b66d8954d7749584a2b5b9c8b12f845c1a1cb9eaafc3634a8cb/python-gitlab/python-gitlab/issues/3164
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/72610f712ee08b66d8954d7749584a2b5b9c8b12f845c1a1cb9eaafc3634a8cb/python-gitlab/python-gitlab/issues/3164
og:image:altGroup Protected Branches Feature Request to create the protected_branches attr for the Group class. The ability exists over API to query this: (docs) curl --header "PRIVATE-TOKEN:
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamexakepnz
hostnamegithub.com
expected-hostnamegithub.com
Noneae357919e9cc5fb635a01c9a2cc530478d3ac85f55090215eb70e1beca3385ac
turbo-cache-controlno-preview
go-importgithub.com/python-gitlab/python-gitlab git https://github.com/python-gitlab/python-gitlab.git
octolytics-dimension-user_id28886265
octolytics-dimension-user_loginpython-gitlab
octolytics-dimension-repository_id8077625
octolytics-dimension-repository_nwopython-gitlab/python-gitlab
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id8077625
octolytics-dimension-repository_network_root_nwopython-gitlab/python-gitlab
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release625f1bd9f76a617a9c0729e2de91edb56b6ce42f
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/python-gitlab/python-gitlab/pull/3164#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython-gitlab%2Fpython-gitlab%2Fissues%2F3164
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub SparkBuild and deploy intelligent appshttps://github.com/features/spark
GitHub ModelsManage and compare promptshttps://github.com/features/models
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
GitHub SponsorsFund open source developershttps://github.com/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/accelerator
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython-gitlab%2Fpython-gitlab%2Fissues%2F3164
Sign up https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=python-gitlab%2Fpython-gitlab
Reloadhttps://github.com/python-gitlab/python-gitlab/pull/3164
Reloadhttps://github.com/python-gitlab/python-gitlab/pull/3164
Reloadhttps://github.com/python-gitlab/python-gitlab/pull/3164
python-gitlab https://github.com/python-gitlab
python-gitlabhttps://github.com/python-gitlab/python-gitlab
Notifications https://github.com/login?return_to=%2Fpython-gitlab%2Fpython-gitlab
Fork 675 https://github.com/login?return_to=%2Fpython-gitlab%2Fpython-gitlab
Star 2.4k https://github.com/login?return_to=%2Fpython-gitlab%2Fpython-gitlab
Code https://github.com/python-gitlab/python-gitlab
Issues 26 https://github.com/python-gitlab/python-gitlab/issues
Pull requests 12 https://github.com/python-gitlab/python-gitlab/pulls
Discussions https://github.com/python-gitlab/python-gitlab/discussions
Actions https://github.com/python-gitlab/python-gitlab/actions
Projects 0 https://github.com/python-gitlab/python-gitlab/projects
Security 0 https://github.com/python-gitlab/python-gitlab/security
Insights https://github.com/python-gitlab/python-gitlab/pulse
Code https://github.com/python-gitlab/python-gitlab
Issues https://github.com/python-gitlab/python-gitlab/issues
Pull requests https://github.com/python-gitlab/python-gitlab/pulls
Discussions https://github.com/python-gitlab/python-gitlab/discussions
Actions https://github.com/python-gitlab/python-gitlab/actions
Projects https://github.com/python-gitlab/python-gitlab/projects
Security https://github.com/python-gitlab/python-gitlab/security
Insights https://github.com/python-gitlab/python-gitlab/pulse
New issuehttps://github.com/login?return_to=https://github.com/python-gitlab/python-gitlab/issues/3164
New issuehttps://github.com/login?return_to=https://github.com/python-gitlab/python-gitlab/issues/3164
#3170https://github.com/python-gitlab/python-gitlab/pull/3170
Protected Branches Group Levelhttps://github.com/python-gitlab/python-gitlab/pull/3164#top
#3170https://github.com/python-gitlab/python-gitlab/pull/3170
https://github.com/xakepnz
https://github.com/xakepnz
xakepnzhttps://github.com/xakepnz
on Apr 4, 2025https://github.com/python-gitlab/python-gitlab/issues/3164#issue-2971852552
Grouphttps://github.com/python-gitlab/python-gitlab/blob/1299440da1c323fcbf873e67c623ac2349c96e5b/gitlab/v4/objects/groups.py#L72
docshttps://docs.gitlab.com/api/group_protected_branches/
https://gitlab.com/gitlab-security-oss/cis/gitlabcis/-/issues/125https://gitlab.com/gitlab-security-oss/cis/gitlabcis/-/issues/125
76ac92593a5https://gitlab.com/gitlab-org/gitlab/-/commits/76ac92593a5
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.