---
title: "Branch Short"
url: "https://devportal.jilson.dev/apis/git-hub-v3-rest-api-1-1-4/versions/6ca910eb-db5c-4768-b6aa-bb154a24f16f/schemas/branch-short"
---

> Full API specification: https://devportal.jilson.dev/apis/git-hub-v3-rest-api-1-1-4/versions/6ca910eb-db5c-4768-b6aa-bb154a24f16f.md

# Branch Short

Branch Short

## OpenAPI definition

```yaml
openapi: 3.0.3
info:
  title: GitHub v3 REST API
  version: 1.1.4
servers:
  - url: "{protocol}://{hostname}/api/v3"
    variables:
      hostname:
        description: Self-hosted Enterprise Server or Enterprise Cloud hostname
        default: HOSTNAME
      protocol:
        description: Self-hosted Enterprise Server or Enterprise Cloud protocol
        default: http
components:
  schemas:
    branch-short:
      title: Branch Short
      description: Branch Short
      type: object
      properties:
        name:
          type: string
        commit:
          type: object
          properties:
            sha:
              type: string
            url:
              type: string
          required:
            - sha
            - url
        protected:
          type: boolean
      required:
        - name
        - commit
        - protected
```
