capabilities.work

Get a branch protection rule

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

Look something up

Get a branch protection rule

with Gitea · Software Construction Management

Use Gitea: its Gitea Repository API lets you get a branch protection rule in a single step (GET /repos/{owner}/{repo}/branch_protections/{name}). capabilities.work can help you get signed up and connected.

  • What exactly does a specific branch protection rule enforce?
  • How many approvals does a given protection rule require?
Say it to your AI assistant
  • Show the branch protection rule {name} in {owner}/{repo}.
  • Get the settings of protection rule {name} for {owner}/{repo}.
For your developer

GET /repos/{owner}/{repo}/branch_protections/{name} in Gitea Repository API. Full spec on APIs.io.