Hello, I am trying to initialise a repository via REST API and can't seem to find the right endpoint.
I have managed to:
- Create the repository (/rest/projects/{projectKey}/repos)
- Add file when branch exists (/rest/projects/{projectKey}/repos/{repositorySlug}/browse/{path:.*})
- Create a branch from an existing branch (/rest/projects/{projectKey}/repos/{repositorySlug}/branches)
- Add repository settings (/rest/projects/{projectKey}/repos/{repositorySlug}/settings/pull-requests)
How can I initialise the repository using only the REST API straight after creating the repository?