Creates an empty Git-based source repository in a specified project. The repository is created with an initial empty commit with a default branch named <code>main</code>.
put/v1/spaces/{spaceName}/projects/{projectName}/sourceRepositories/{name}
Path parameters
spaceNamestring required
The name of the space.
projectNamestring required
The name of the project in the space.
namestring required
The name of the source repository. For more information about name requirements, see <a href="https://docs.aws.amazon.com/codecatalyst/latest/userguide/source-quotas.html">Quotas for source repositories</a>.
Request body
Response
Success