Trying to create private repo using `curl`:
curl -X POST -H "Authorization: Bearer $TEST_TOKEN" https://api.bitbucket.org/2.0/repositories/nosuchip/__abcde -d '{"scm": "git", "is_private": "true", "private": "true, "public": "false", "is_public": "false" }'As you see I tried a lot of different keys that COULD specify that repo should be private (Bitbucket API documentation is very confusing and misleading). It doesn't works.
I tried also specify these params one by one. Also I rplaced stringified versions `true` and `false` with boolean - nothing works.
Also I tried to create repo and then call PUT request to make it private - PUT constantly returns "you already have such repository for this owner". Documentation for PUT is missing.