Branch With Protection

Branch With Protection

APIs.ioEngineeringPlatform

Properties

Name Type Description
name string
commit object
_links object
protected boolean
protection object
protection_url string
pattern string
required_approving_review_count integer
View JSON Schema on GitHub

JSON Schema

apis-io-engineering-platform-branch-with-protection-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/branch-with-protection",
  "title": "Branch With Protection",
  "description": "Branch With Protection",
  "type": "object",
  "properties": {
    "name": {
      "type": "string"
    },
    "commit": {
      "$ref": "#/components/schemas/commit"
    },
    "_links": {
      "type": "object",
      "properties": {
        "html": {
          "type": "string"
        },
        "self": {
          "type": "string",
          "format": "uri"
        }
      },
      "required": [
        "html",
        "self"
      ]
    },
    "protected": {
      "type": "boolean"
    },
    "protection": {
      "$ref": "#/components/schemas/branch-protection"
    },
    "protection_url": {
      "type": "string",
      "format": "uri"
    },
    "pattern": {
      "type": "string",
      "example": "\"mas*\""
    },
    "required_approving_review_count": {
      "type": "integer",
      "example": 1
    }
  },
  "required": [
    "name",
    "commit",
    "_links",
    "protection",
    "protected",
    "protection_url"
  ]
}