We have BitBucket v5.10.0.
I've created a project and granted admin access to it.
I'd like to use that account to make REST calls to create repositories.
Is this possible to? and if so does anyone know the calls (using cURL or otherwise) that need to be made?
Since I asked this question, I came across the REST API browser and using the browser I can post and see the new repo. This has allowed me to see what endpoint I need to use; however, still not quite sure how to structure my curl statement...
Running this doesn't cause an update to the project... ie. no new repo.
curl -X POST -H "application/json" --user auser:theirpassword https://git-dev.csx.com/rest/api/1.0/projects/AN/repos --data '{"name":"rnstest","scmid":"git","forkable":"true"}'