Until recently, I had been able to automatically update PRs based upon information from an incoming webhook. It now no longers work. Malformed reviewer list? I mean, that's all well and good, but what about it is malformed? Code:
$ curl -X PUT -H "accept: application/json" -H "content-type: application/json" -snL https://api.bitbucket.org/2.0/repositories/twengg/chb0-deleteme/pullrequests/1 -d '{
"title": "Add a sample jenkinsfile",
"reviewers": [
{
"uuid": "{1492c667-c0c5-4a6c-bf48-496d9985df2d}"
},
{
"uuid": "{bc0329d8-c162-4e2f-b827-cddff42d1909}"
},
{
"uuid": "{0113c401-0b3c-4994-b905-07ddce749b15}"
}
]}'
gets me:
{
"type": "error",
"error": {
"fields": {
"reviewers": [
"Malformed reviewers list"
]
},
"message": "reviewers: Malformed reviewers list"
}
}