Repository Branch Manipulation
POST /repos/{repo_id}/branches
Create a branch
Request
- Base URLhttps://api.diversion.dev/v0
- AuthOAuth 2Implicithttps://auth.diversion.dev/oauth2/authorizeScopescoreapi/write
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Request body
Example request
{
"commit_id": "example_id",
"branch_name": "new-branch-name",
"branch_description": "A description of the branch"
}Response
Resource created
Example response
{
"id": "example_id"
}Changes
No recorded changes to this operation across all 1 revision of this API.