/
CU
cube-js
/
Cube Platform API
Search skmtc…
⌘K
Docs
Sign in
Sign in
APIs
Generators
Stacks
Projects
Docs
History
Schema
Checked 2h ago · Updated 2d ago
Details
Filter operations
App Theme
1
Dashboard Embed Access
2
Data Model
15
get
List a deployment's branches
post
Create a branch (optionally entering dev mode on it)
delete
Delete a branch
put
Enable or disable a branch's staging environment
post
Commit (and push) the active branch's pending changes
get
List the data-model source files for a deployment
put
Create or overwrite data-model source files
delete
Delete data-model source files
post
Rename data-model source files
get
Compile a deployment's data model and report compilation errors
post
Enter dev mode (switch to a branch)
delete
Exit dev mode
post
Merge a branch into its parent branch (git-flow merge)
post
Merge a branch straight into the deploy (default) branch
post
Pull the latest for a branch from its remote and rebuild if changed
Data Model Uploads
4
dbt Sync
6
Deployment Creation
1
Deployments
12
Embed
5
Embed Tenants
11
Env Variables
2
Environments
4
Folders
5
GitHub
4
GitHub Connection
1
Notifications
8
OAuth Integrations
5
OIDC Token Configs
5
OpenAPI Spec
1
Regions
1
Reports
9
Tenant Settings
2
User Attribute Values
2
User Attributes
3
User OAuth Tokens
4
Users Admin
4
Workbooks
9
Workspace
5
Data Model
Create a branch (optionally entering dev mode on it)
post
/build/api/v1/deployments/{deploymentId}/branches
Path parameters
deploymentId
integer
required
Request body
CreateBranchRequest
required
activate
boolean
nullable
from
string
nullable
name
string
required
Response
DevBranchResponse
required
active
boolean
required
branchName
string
nullable
parentBranch
string
nullable
Changes