Branch Restriction Policy

Branch Restriction Policy

APIs.ioEngineeringPlatform

Properties

Name Type Description
url string
users_url string
teams_url string
apps_url string
users array
teams array
apps array
View JSON Schema on GitHub

JSON Schema

apis-io-engineering-platform-branch-restriction-policy-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/branch-restriction-policy",
  "title": "Branch Restriction Policy",
  "description": "Branch Restriction Policy",
  "type": "object",
  "properties": {
    "url": {
      "type": "string",
      "format": "uri"
    },
    "users_url": {
      "type": "string",
      "format": "uri"
    },
    "teams_url": {
      "type": "string",
      "format": "uri"
    },
    "apps_url": {
      "type": "string",
      "format": "uri"
    },
    "users": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "login": {
            "type": "string"
          },
          "id": {
            "type": "integer",
            "format": "int64"
          },
          "node_id": {
            "type": "string"
          },
          "avatar_url": {
            "type": "string"
          },
          "gravatar_id": {
            "type": "string"
          },
          "url": {
            "type": "string"
          },
          "html_url": {
            "type": "string"
          },
          "followers_url": {
            "type": "string"
          },
          "following_url": {
            "type": "string"
          },
          "gists_url": {
            "type": "string"
          },
          "starred_url": {
            "type": "string"
          },
          "subscriptions_url": {
            "type": "string"
          },
          "organizations_url": {
            "type": "string"
          },
          "repos_url": {
            "type": "string"
          },
          "events_url": {
            "type": "string"
          },
          "received_events_url": {
            "type": "string"
          },
          "type": {
            "type": "string"
          },
          "site_admin": {
            "type": "boolean"
          }
        }
      }
    },
    "teams": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer"
          },
          "node_id": {
            "type": "string"
          },
          "url": {
            "type": "string"
          },
          "html_url": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "slug": {
            "type": "string"
          },
          "description": {
            "type": "string",
            "nullable": true
          },
          "privacy": {
            "type": "string"
          },
          "permission": {
            "type": "string"
          },
          "members_url": {
            "type": "string"
          },
          "repositories_url": {
            "type": "string"
          },
          "parent": {
            "type": "string",
            "nullable": true
          }
        }
      }
    },
    "apps": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer"
          },
          "slug": {
            "type": "string"
          },
          "node_id": {
            "type": "string"
          },
          "owner": {
            "type": "object",
            "properties": {
              "login": {
                "type": "string"
              },
              "id": {
                "type": "integer"
              },
              "node_id": {
                "type": "string"
              },
              "url": {
                "type": "string"
              },
              "repos_url": {
                "type": "string"
              },
              "events_url": {
                "type": "string"
              },
              "hooks_url": {
                "type": "string"
              },
              "issues_url": {
                "type": "string"
              },
              "members_url": {
                "type": "string"
              },
              "public_members_url": {
                "type": "string"
              },
              "avatar_url": {
                "type": "string"
              },
              "description": {
                "type": "string"
              },
              "gravatar_id": {
                "type": "string",
                "example": "\"\""
              },
              "html_url": {
                "type": "string",
                "example": "\"https://github.com/testorg-ea8ec76d71c3af4b\""
              },
              "followers_url": {
                "type": "string",
                "example": "\"https://api.github.com/users/testorg-ea8ec76d71c3af4b/followers\""
              },
              "following_url": {
                "type": "string",
                "example": "\"https://api.github.com/users/testorg-ea8ec76d71c3af4b/following{/other_user}\""
              },
              "gists_url": {
                "type": "string",
                "example": "\"https://api.github.com/users/testorg-ea8ec76d71c3af4b/gists{/gist_id}\""
              },
              "starred_url": {
                "type": "string",
                "example": "\"https://api.github.com/users/testorg-ea8ec76d71c3af4b/starred{/owner}{/repo}\""
              },
              "subscriptions_url": {
                "type": "string",
                "example": "\"https://api.github.com/users/testorg-ea8ec76d71c3af4b/subscriptions\""
              },
              "organizations_url": {
                "type": "string",
                "example": "\"https://api.github.com/users/testorg-ea8ec76d71c3af4b/orgs\""
              },
              "received_events_url": {
                "type": "string",
                "example": "\"https://api.github.com/users/testorg-ea8ec76d71c3af4b/received_events\""
              },
              "type": {
                "type": "string",
                "example": "\"Organization\""
              },
              "site_admin": {
                "type": "boolean",
                "example": false
              }
            }
          },
          "name": {
            "type": "string"
          },
          "description": {
            "type": "string"
          },
          "external_url": {
            "type": "string"
          },
          "html_url": {
            "type": "string"
          },
          "created_at": {
            "type": "string"
          },
          "updated_at": {
            "type": "string"
          },
          "permissions": {
            "type": "object",
            "properties": {
              "metadata": {
                "type": "string"
              },
              "contents": {
                "type": "string"
              },
              "issues": {
                "type": "string"
              },
              "single_file": {
                "type": "string"
              }
            }
          },
          "events": {
            "type": "array",
            "items": {
              "type": "string"
            }
          }
        }
      }
    }
  },
  "required": [
    "url",
    "users_url",
    "teams_url",
    "apps_url",
    "users",
    "teams",
    "apps"
  ]
}

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-branch-restriction-policy"
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.