capabilities.work

See who may push to a protected branch

One step with GitHub. We can help you get access.

Look something up

See who may push to a protected branch

with GitHub · Software Construction Management

Use GitHub: its GitHub v3 REST Repos API lets you see who may push to a protected branch in a single step (GET /repos/{owner}/{repo}/branches/{branch}/protection/restrictions). capabilities.work can help you get signed up and connected.

  • Who is allowed to push to this protected branch?
  • Can I see the users, teams and apps with push access on a restricted branch in one response?
Say it to your AI assistant
  • Get the push access restrictions on {branch} in {owner}/{repo}.
  • Show every user, team and app allowed to push to {branch} of {owner}/{repo}.
For your developer

GET /repos/{owner}/{repo}/branches/{branch}/protection/restrictions in GitHub v3 REST Repos API. Full spec on APIs.io.