Stasis
Branches

Create branch

Create a new branch

POST
/api/v1/repos/{owner}/{repo}/branches

Path Parameters

owner*string
repo*string

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

curl -X POST "https://example.com/api/v1/repos/string/string/branches" \  -H "Content-Type: application/json" \  -d '{}'
{
  "hash": "string",
  "is_head": true,
  "name": "string"
}
Empty
Empty
Empty