I tried to create repo as per the documentation. I have ended up with below error. Please help me to give some insights on how to clear this issue ?
Documentation:
https://docs.atlassian.com/bitbucket-server/rest/6.10.0/bitbucket-rest.html
Refer doc Section: /rest/api/1.0/projects/{projectKey}/repos
Error:
Parameter conditions "create" not met for actual request parameters:
Input request :
curl -X POST \https://bitbucket.myOrg.com/projects/myProject/repos/ \-H 'Authorization: Bearer *******NzgxOp6QjEOo8QaaTQSf*******' \-H 'Cache-Control: no-cache' \-H 'Content-Type: application/json' \-d '{"name" : "some-repo","scmId": "git","forkable": true
}'
you'll have to use this url
{BASE_URL}/rest/api/1.0/projects/{projectKey}/repos
Hope that helps.
It looks like you're new here. Sign in or register to get started.