Protected Branch Pull Request Review

Protected Branch Pull Request Review

APIs.ioEngineeringPlatform

Properties

Name Type Description
url string
dismissal_restrictions object
bypass_pull_request_allowances object Allow specific users, teams, or apps to bypass pull request requirements.
dismiss_stale_reviews boolean
require_code_owner_reviews boolean
required_approving_review_count integer
require_last_push_approval boolean Whether the most recent push must be approved by someone other than the person who pushed it.
View JSON Schema on GitHub

JSON Schema

apis-io-engineering-platform-protected-branch-pull-request-review-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/protected-branch-pull-request-review",
  "title": "Protected Branch Pull Request Review",
  "description": "Protected Branch Pull Request Review",
  "type": "object",
  "properties": {
    "url": {
      "type": "string",
      "format": "uri",
      "example": "https://api.github.com/repos/octocat/Hello-World/branches/master/protection/dismissal_restrictions"
    },
    "dismissal_restrictions": {
      "type": "object",
      "properties": {
        "users": {
          "description": "The list of users with review dismissal access.",
          "type": "array",
          "items": {
            "$ref": "#/components/schemas/simple-user"
          }
        },
        "teams": {
          "description": "The list of teams with review dismissal access.",
          "type": "array",
          "items": {
            "$ref": "#/components/schemas/team"
          }
        },
        "apps": {
          "description": "The list of apps with review dismissal access.",
          "type": "array",
          "items": {
            "$ref": "#/components/schemas/integration"
          }
        },
        "url": {
          "type": "string",
          "example": "\"https://api.github.com/repos/the-org/an-org-repo/branches/master/protection/dismissal_restrictions\""
        },
        "users_url": {
          "type": "string",
          "example": "\"https://api.github.com/repos/the-org/an-org-repo/branches/master/protection/dismissal_restrictions/users\""
        },
        "teams_url": {
          "type": "string",
          "example": "\"https://api.github.com/repos/the-org/an-org-repo/branches/master/protection/dismissal_restrictions/teams\""
        }
      }
    },
    "bypass_pull_request_allowances": {
      "type": "object",
      "description": "Allow specific users, teams, or apps to bypass pull request requirements.",
      "properties": {
        "users": {
          "description": "The list of users allowed to bypass pull request requirements.",
          "type": "array",
          "items": {
            "$ref": "#/components/schemas/simple-user"
          }
        },
        "teams": {
          "description": "The list of teams allowed to bypass pull request requirements.",
          "type": "array",
          "items": {
            "$ref": "#/components/schemas/team"
          }
        },
        "apps": {
          "description": "The list of apps allowed to bypass pull request requirements.",
          "type": "array",
          "items": {
            "$ref": "#/components/schemas/integration"
          }
        }
      }
    },
    "dismiss_stale_reviews": {
      "type": "boolean",
      "example": true
    },
    "require_code_owner_reviews": {
      "type": "boolean",
      "example": true
    },
    "required_approving_review_count": {
      "type": "integer",
      "minimum": 0,
      "maximum": 6,
      "example": 2
    },
    "require_last_push_approval": {
      "description": "Whether the most recent push must be approved by someone other than the person who pushed it.",
      "type": "boolean",
      "example": true,
      "default": false
    }
  },
  "required": [
    "dismiss_stale_reviews",
    "require_code_owner_reviews"
  ]
}

Work with this as data

Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/apis-io-engineering-platform-protected-branch-pull-request-review"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.