GitHub
Create GitHub Branch
Create a new branch from a commit SHA.
Endpoint
Parameters
| Name | Type | Required | Note |
|---|---|---|---|
| identifieraccount · required | account | required | — |
| ownerstring · required | string | required | — |
| repostring · required | string | required | — |
| branchstring · required | string | required | Name of the new branch to create (e.g. feature/login). Example: |
| shastring · required | string | required | The new branch starts from this branch's latest commit. Or bind a {{variable}} holding a branch name, tag, or commit SHA. |
Response schema
{
"type": "object",
"properties": {
"data": {
"type": "object",
"description": "API response data"
}
}
}