From 99682219f31ba67ae7404c4d9de56289fdf08ef7 Mon Sep 17 00:00:00 2001 From: "Q.hongtao" Date: Mon, 31 Aug 2020 10:06:31 +0800 Subject: [PATCH] Update api: Event POST Fix request parameters in http request. Change-Id: Icab4bca5ad0303bf56c2e754b640bb7d6dbca6ee --- doc/source/contributor/vitrage-api.rst | 22 ++++++++++------------ 1 file changed, 10 insertions(+), 12 deletions(-) diff --git a/doc/source/contributor/vitrage-api.rst b/doc/source/contributor/vitrage-api.rst index ddca59842..32c1b97a0 100644 --- a/doc/source/contributor/vitrage-api.rst +++ b/doc/source/contributor/vitrage-api.rst @@ -1326,18 +1326,16 @@ Request Examples :: { - 'event': { - 'time': '2016-04-12T08:00:00', - 'type': 'compute.host.down', - 'details': { - 'hostname': 'compute-1', - 'source': 'sample_monitor', - 'cause': 'link-down', - 'severity': 'critical', - 'status': 'down', - 'monitor_id': 'monitor-1', - 'monitor_event_id': '123', - } + 'time': '2016-04-12T08:00:00', + 'type': 'compute.host.down', + 'details': { + 'hostname': 'compute-1', + 'source': 'sample_monitor', + 'cause': 'link-down', + 'severity': 'critical', + 'status': 'down', + 'monitor_id': 'monitor-1', + 'monitor_event_id': '123', } }