I was trying to create a repository with the api
curl -X POST -H "Content-Type:application/json" "https://api.bitbucket.org/2.0/repositories/{workspace}/{reponame} --data '{
"scm": "git",
"project": {
"key": "PROJ"}}
But also need an empty file/readme file/gitignore file to be created as part of it or atleast is there any other api that can be used to add readme file.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.