GitLab · Schema
API_Entities_Branch
API_Entities_Branch model
CodePlatformSoftware DevelopmentSource Control
Properties
| Name | Type | Description |
|---|---|---|
| name | string | |
| commit | object | |
| merged | boolean | |
| protected | boolean | |
| developers_can_push | boolean | |
| developers_can_merge | boolean | |
| can_push | boolean | |
| default | boolean | |
| web_url | string |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://raw.githubusercontent.com/api-evangelist/gitlab/refs/heads/main/json-schema/gitlab-openapi-original-api_entities_branch-schema.json",
"title": "API_Entities_Branch",
"description": "API_Entities_Branch model",
"type": "object",
"properties": {
"name": {
"type": "string",
"example": "master"
},
"commit": {
"$ref": "#/components/schemas/API_Entities_Commit"
},
"merged": {
"type": "boolean",
"example": true
},
"protected": {
"type": "boolean",
"example": true
},
"developers_can_push": {
"type": "boolean",
"example": true
},
"developers_can_merge": {
"type": "boolean",
"example": true
},
"can_push": {
"type": "boolean",
"example": true
},
"default": {
"type": "boolean",
"example": true
},
"web_url": {
"type": "string",
"example": "https://gitlab.example.com/Commit921/the-dude/-/tree/master"
}
}
}