7775928abc
Previously webhook API introduced microversion 1.10 to allow callers to pass arbritary data in the body along with the webhook call. This was done so that webhooks would work with aodh again. However, aodh and most webhook callers cannot pass in the header necessary to specify the microversion. Thus, I'm introducing webhook v2 here so that webhooks behave like in microversion 1.10 but without the need to specify that microversion header. Closes-Bug: #1828856 Change-Id: I7f5cdb2ea19c6ca1a9ea68e64515804f219a73ee
26 lines
776 B
JSON
26 lines
776 B
JSON
{
|
|
"receiver": {
|
|
"action": "CLUSTER_SCALE_OUT",
|
|
"actor": {
|
|
"trust_id": [
|
|
"6dc6d336e3fc4c0a951b5698cd1236d9"
|
|
]
|
|
},
|
|
"channel": {
|
|
"alarm_url": "http://node1:8778/v1/webhooks/e03dd2e5-8f2e-4ec1-8c6a-74ba891e5422/trigger?V=2&count=1"
|
|
},
|
|
"cluster_id": "ae63a10b-4a90-452c-aef1-113a0b255ee3",
|
|
"created_at": "2015-06-27T05:09:43",
|
|
"domain": "Default",
|
|
"id": "573aa1ba-bf45-49fd-907d-6b5d6e6adfd3",
|
|
"name": "cluster_inflate",
|
|
"params": {
|
|
"count": "1"
|
|
},
|
|
"project": "6e18cc2bdbeb48a5b3cad2dc499f6804",
|
|
"type": "webhook",
|
|
"updated_at": null,
|
|
"user": "b4ad2d6e18cc2b9c48049f6dbe8a5b3c"
|
|
}
|
|
}
|