Connect Bitbucket deploys
POST/api/projects/:project_id/production-qa/connect-bitbucket-deploys
Creates a project's one record-only Bitbucket Cloud webhook (repo:push, repo:commit_status_created, repo:commit_status_updated) on its first connected Bitbucket repository, recording build statuses on the named production branch (optionally only the named status keys or names) as deploys. Answers the new webhook's ingress URL and secret once; a second call updates the branch and statuses. Org Admins only.
Request
Responses
- 200
- 422
OK
Unprocessable content