curl --request POST \
--url https://api.yertle.com/orgs/{org_id}/nodes/{node_id}/branches \
--header 'Content-Type: application/json' \
--data '
{
"name": "<string>",
"base_branch": "main"
}
'{
"node_id": "<string>",
"name": "<string>",
"head_commit": "<string>",
"created_by": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"base_branch": "<string>",
"head_commit_message": "<string>",
"last_activity": "2023-11-07T05:31:56Z"
}Create a new branch for a node, forked from an existing branch.
The new branch starts at the head commit of base_branch (defaults to
main if not provided) so subsequent pushes build on that history.
Requires editor or owner role on the organization — viewers cannot create branches.
curl --request POST \
--url https://api.yertle.com/orgs/{org_id}/nodes/{node_id}/branches \
--header 'Content-Type: application/json' \
--data '
{
"name": "<string>",
"base_branch": "main"
}
'{
"node_id": "<string>",
"name": "<string>",
"head_commit": "<string>",
"created_by": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"base_branch": "<string>",
"head_commit_message": "<string>",
"last_activity": "2023-11-07T05:31:56Z"
}Documentation Index
Fetch the complete documentation index at: https://docs.yertle.com/llms.txt
Use this file to discover all available pages before exploring further.
Successful Response
Response model for branch data.
Node ID
Branch name
Head commit ID
User who created the branch
Creation timestamp
Last update timestamp
Base branch name
Head commit message
Last activity timestamp