create_branch
Create a new branch in a Storyblok space using the Management API, with options to clone from an existing branch, set a preview URL, and specify ordering position.
Instructions
Creates a new branch (pipeline) in a Storyblok space via the Management API.
- name: Required name for the new branch.
- source_id: Optional ID of an existing branch to clone.
- url: Optional preview URL for the branch.
- position: Optional numeric position for ordering.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
name | Yes | ||
position | No | ||
source_id | No | ||
url | No |
Input Schema (JSON Schema)
{
"properties": {
"name": {
"title": "Name",
"type": "string"
},
"position": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null,
"title": "Position"
},
"source_id": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null,
"title": "Source Id"
},
"url": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Url"
}
},
"required": [
"name"
],
"title": "create_branchArguments",
"type": "object"
}