Create
- POST
- /workspaces
- /:workspace
- /projects
- /:project_name
- /repository
- /branches
Creates a new branch in the repository
Request example
curl -X POST "https://api.buddy.works/workspaces/:workspace/projects/:project_name/repository/branches" \
-H "Authorization: Bearer <YOUR-TOKEN>" \
-H "Content-Type: application/json" \
-d '{
"name": "feature/new-authentication",
"commit": {
"revision": "abc123def456"
},
"description": "Branch for implementing new authentication system"
}'