Properties
| Name | Type | Description |
|---|---|---|
| name | string | |
| commit | object | |
| protected | boolean | |
| protection | object | |
| protection_url | string |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "#/components/schemas/short-branch",
"title": "Short Branch",
"description": "Short Branch",
"type": "object",
"properties": {
"name": {
"type": "string"
},
"commit": {
"type": "object",
"properties": {
"sha": {
"type": "string"
},
"url": {
"type": "string",
"format": "uri"
}
},
"required": [
"sha",
"url"
]
},
"protected": {
"type": "boolean"
},
"protection": {
"$ref": "#/components/schemas/branch-protection"
},
"protection_url": {
"type": "string",
"format": "uri"
}
},
"required": [
"name",
"commit",
"protected"
]
}