Creates a branch in a specified source repository in Amazon CodeCatalyst.
This API only creates a branch in a source repository hosted in Amazon CodeCatalyst. You cannot use this API to create a branch in a linked repository.
put/v1/spaces/{spaceName}/projects/{projectName}/sourceRepositories/{sourceRepositoryName}/branches/{name}
Path parameters
spaceNamestring required
The name of the space.
projectNamestring required
The name of the project in the space.
sourceRepositoryNamestring required
The name of the repository where you want to create a branch.
namestring required
The name for the branch you're creating.
Request body
Response
Success