Hi,
I've been looking at the REST API to try and find a way to enable some merge checks on projects and repos but have found a few that require configuration as well as being enabled. So far I've been able to enable some hooks without configurations using:
curl -u <username> -X PUT -H "Accept: application/json" -H "Content-Type: application/json" https://<BitBucket URL>/rest/api/1.0/projects/<project key>/repos/<repo slug>/settings/hooks/<hook key>/enabled -d "{\"enabled\":\"true\"}"
Is there a way through the API to enable and configure a merge check?