GitLab · JSON Structure

Gitlab Openapi Original Api_Entities_Branch Structure

API_Entities_Branch model

Type: object Properties: 9
CodePlatformSoftware DevelopmentSource Control

API_Entities_Branch is a JSON Structure definition published by GitLab, describing 9 properties. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.

Properties

name commit merged protected developers_can_push developers_can_merge can_push default web_url

Meta-schema: https://json-structure.org/meta/core/v0/#

JSON Structure

Raw ↑
{
  "$schema": "https://json-structure.org/meta/core/v0/#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/gitlab/refs/heads/main/json-structure/gitlab-openapi-original-api_entities_branch-structure.json",
  "name": "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"
    }
  }
}