alarm.html.json 38 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438
  1. {
  2. "ApiSpecs": [
  3. {
  4. "HttpVerb": "POST",
  5. "Path": "/api/v1/alarm/eventcases",
  6. "Calls": [
  7. {
  8. "Id": 0,
  9. "CurrentPath": "/api/v1/alarm/eventcases",
  10. "MethodType": "POST",
  11. "PostForm": null,
  12. "RequestHeader": {
  13. "Apitoken": "{\"name\": \"root\", \"sig\": \"233fdb00f99811e68a5c001500c6ca5a\"}",
  14. "Content-Type": " application/json\r"
  15. },
  16. "CommonRequestHeaders": null,
  17. "ResponseHeader": {
  18. "Access-Control-Allow-Credentials": "true",
  19. "Access-Control-Allow-Headers": "Content-Type, Content-Length, Apitoken",
  20. "Access-Control-Allow-Methods": "POST, GET, OPTIONS, PUT, DELETE, UPDATE",
  21. "Access-Control-Allow-Origin": "*",
  22. "Access-Control-Expose-Headers": "Content-Length",
  23. "Access-Control-Max-Age": "86400",
  24. "Content-Type": "application/json; charset=utf-8"
  25. },
  26. "RequestUrlParams": {},
  27. "RequestBody": "\n\t\t\t{\n\t \"startTime\": 1466956800,\n\t \t\"endTime\": 1480521600,\n\t \t\"status\": \"PROBLEM\",\n\t \t\"process_status\": \"ignored,unresolved\",\n\t \t\"limit\": 10\n\t }",
  28. "ResponseBody": "[{\"id\":\"s_46_1ac45122afb893adc02fbd30154ac303\",\"endpoint\":\"agent4\",\"metric\":\"cpu.iowait\",\"func\":\"all(#3)\",\"cond\":\"48.33759590792839 \\u003e 40\",\"note\":\"CPU I/O wait超过40\",\"step\":1,\"current_step\":1,\"priority\":1,\"status\":\"PROBLEM\",\"timestamp\":\"2016-08-01T06:25:00+08:00\",\"update_at\":\"2016-08-01T06:25:00+08:00\",\"closed_at\":null,\"closed_note\":\"\",\"user_modified\":0,\"tpl_creator\":\"root\",\"expression_id\":0,\"strategy_id\":46,\"template_id\":126,\"process_note\":16907,\"process_status\":\"ignored\"},{\"id\":\"s_50_6438ac68b30e2712fb8f00d894c46e21\",\"endpoint\":\"agent5\",\"metric\":\"cpu.idle\",\"func\":\"avg(#3)\",\"cond\":\"95.16331658291456 \\u003c= 98\",\"note\":\"cpu空闲值报警\",\"step\":1,\"current_step\":1,\"priority\":3,\"status\":\"PROBLEM\",\"timestamp\":\"2016-07-03T16:13:00+08:00\",\"update_at\":\"2016-07-03T16:13:00+08:00\",\"closed_at\":null,\"closed_note\":\"\",\"user_modified\":0,\"tpl_creator\":\"root\",\"expression_id\":0,\"strategy_id\":50,\"template_id\":53,\"process_note\":1181,\"process_status\":\"ignored\"}]",
  29. "ResponseCode": 200
  30. },
  31. {
  32. "Id": 1,
  33. "CurrentPath": "/api/v1/alarm/eventcases",
  34. "MethodType": "POST",
  35. "PostForm": null,
  36. "RequestHeader": {
  37. "Apitoken": "{\"name\": \"root\", \"sig\": \"233fdb00f99811e68a5c001500c6ca5a\"}",
  38. "Content-Type": " application/json\r"
  39. },
  40. "CommonRequestHeaders": null,
  41. "ResponseHeader": {
  42. "Access-Control-Allow-Credentials": "true",
  43. "Access-Control-Allow-Headers": "Content-Type, Content-Length, Apitoken",
  44. "Access-Control-Allow-Methods": "POST, GET, OPTIONS, PUT, DELETE, UPDATE",
  45. "Access-Control-Allow-Origin": "*",
  46. "Access-Control-Expose-Headers": "Content-Length",
  47. "Access-Control-Max-Age": "86400",
  48. "Content-Type": "application/json; charset=utf-8"
  49. },
  50. "RequestUrlParams": {},
  51. "RequestBody": "\n\t\t\t{\n\t \"startTime\": 1466956800,\n\t \t\"endTime\": 1480521600,\n\t \t\"status\": \"PROBLEM,OK\",\n\t \t\"process_status\": \"ignored,unresolved\",\n\t \t\"limit\": 10\n\t }",
  52. "ResponseBody": "[{\"id\":\"s_322_00c5f5c87a71bd4c686c0a4a0544b719\",\"endpoint\":\"agent8\",\"metric\":\"cpu.iowait\",\"func\":\"avg(#3)\",\"cond\":\"0 \\u003e 40\",\"note\":\"CPU I/O wait超过40\",\"step\":1,\"current_step\":1,\"priority\":1,\"status\":\"OK\",\"timestamp\":\"2016-11-30T20:10:00+08:00\",\"update_at\":\"2016-11-30T20:10:00+08:00\",\"closed_at\":null,\"closed_note\":\"\",\"user_modified\":0,\"tpl_creator\":\"root\",\"expression_id\":0,\"strategy_id\":322,\"template_id\":125,\"process_note\":0,\"process_status\":\"unresolved\"},{\"id\":\"s_322_00a9b9f9f859d8436f9b643ea5a1fb5e\",\"endpoint\":\"agent6\",\"metric\":\"cpu.iowait\",\"func\":\"avg(#3)\",\"cond\":\"0 \\u003e 40\",\"note\":\"CPU I/O wait超过40\",\"step\":1,\"current_step\":1,\"priority\":1,\"status\":\"OK\",\"timestamp\":\"2016-11-14T22:16:00+08:00\",\"update_at\":\"2016-11-14T22:16:00+08:00\",\"closed_at\":null,\"closed_note\":\"\",\"user_modified\":0,\"tpl_creator\":\"root\",\"expression_id\":0,\"strategy_id\":322,\"template_id\":140,\"process_note\":0,\"process_status\":\"unresolved\"},{\"id\":\"s_322_00ba3072006a8ba863108d4b3f9c1c51\",\"endpoint\":\"agent7\",\"metric\":\"cpu.iowait\",\"func\":\"avg(#3)\",\"cond\":\"0.0695615485072203 \\u003e 40\",\"note\":\"CPU I/O wait超过40\",\"step\":1,\"current_step\":1,\"priority\":1,\"status\":\"OK\",\"timestamp\":\"2016-11-14T20:43:00+08:00\",\"update_at\":\"2016-11-14T20:43:00+08:00\",\"closed_at\":null,\"closed_note\":\"\",\"user_modified\":0,\"tpl_creator\":\"root\",\"expression_id\":0,\"strategy_id\":322,\"template_id\":125,\"process_note\":0,\"process_status\":\"unresolved\"},{\"id\":\"s_322_002e499f3b56420fdea506c887e51799\",\"endpoint\":\"agent3\",\"metric\":\"cpu.iowait\",\"func\":\"avg(#3)\",\"cond\":\"30.76679150609009 \\u003e 40\",\"note\":\"CPU I/O wait超过40\",\"step\":1,\"current_step\":1,\"priority\":1,\"status\":\"OK\",\"timestamp\":\"2016-11-07T04:28:00+08:00\",\"update_at\":\"2016-11-07T04:28:00+08:00\",\"closed_at\":null,\"closed_note\":\"\",\"user_modified\":0,\"tpl_creator\":\"root\",\"expression_id\":0,\"strategy_id\":322,\"template_id\":125,\"process_note\":0,\"process_status\":\"unresolved\"},{\"id\":\"s_322_00cc81434a0e277b57254a89a839a47b\",\"endpoint\":\"agent9\",\"metric\":\"cpu.iowait\",\"func\":\"avg(#3)\",\"cond\":\"0.041876046901172526 \\u003e 40\",\"note\":\"CPU I/O wait超过40\",\"step\":1,\"current_step\":1,\"priority\":1,\"status\":\"OK\",\"timestamp\":\"2016-10-28T10:37:00+08:00\",\"update_at\":\"2016-10-28T10:37:00+08:00\",\"closed_at\":null,\"closed_note\":\"\",\"user_modified\":0,\"tpl_creator\":\"root\",\"expression_id\":0,\"strategy_id\":322,\"template_id\":125,\"process_note\":0,\"process_status\":\"unresolved\"},{\"id\":\"s_322_001da6a5f95d83387cdfecc37ac70c24\",\"endpoint\":\"agent2\",\"metric\":\"cpu.iowait\",\"func\":\"avg(#3)\",\"cond\":\"34.40479690409319 \\u003e 40\",\"note\":\"CPU I/O wait超过40\",\"step\":1,\"current_step\":1,\"priority\":1,\"status\":\"OK\",\"timestamp\":\"2016-10-27T15:37:00+08:00\",\"update_at\":\"2016-10-27T15:37:00+08:00\",\"closed_at\":null,\"closed_note\":\"\",\"user_modified\":0,\"tpl_creator\":\"root\",\"expression_id\":0,\"strategy_id\":322,\"template_id\":125,\"process_note\":0,\"process_status\":\"unresolved\"},{\"id\":\"s_46_1ac45122afb893adc02fbd30154ac303\",\"endpoint\":\"agent4\",\"metric\":\"cpu.iowait\",\"func\":\"all(#3)\",\"cond\":\"48.33759590792839 \\u003e 40\",\"note\":\"CPU I/O wait超过40\",\"step\":1,\"current_step\":1,\"priority\":1,\"status\":\"PROBLEM\",\"timestamp\":\"2016-08-01T06:25:00+08:00\",\"update_at\":\"2016-08-01T06:25:00+08:00\",\"closed_at\":null,\"closed_note\":\"\",\"user_modified\":0,\"tpl_creator\":\"root\",\"expression_id\":0,\"strategy_id\":46,\"template_id\":126,\"process_note\":16907,\"process_status\":\"ignored\"},{\"id\":\"s_191_ddd09333257b2e92e1941860ee86ab15\",\"endpoint\":\"agent1\",\"metric\":\"cpu.idle\",\"func\":\"all(#3)\",\"cond\":\"11.813186813186814 \\u003c 10\",\"note\":\"cpu.idle小于10%\",\"step\":1,\"current_step\":1,\"priority\":3,\"status\":\"OK\",\"timestamp\":\"2016-07-06T09:13:00+08:00\",\"update_at\":\"2016-07-06T09:13:00+08:00\",\"closed_at\":null,\"closed_note\":\"\",\"user_modified\":0,\"tpl_creator\":\"root\",\"expression_id\":0,\"strategy_id\":191,\"template_id\":42,\"process_note\":0,\"process_status\":\"unresolved\"},{\"id\":\"s_50_6438ac68b30e2712fb8f00d894c46e21\",\"endpoint\":\"agent5\",\"metric\":\"cpu.idle\",\"func\":\"avg(#3)\",\"cond\":\"95.16331658291456 \\u003c= 98\",\"note\":\"cpu空闲值报警\",\"step\":1,\"current_step\":1,\"priority\":3,\"status\":\"PROBLEM\",\"timestamp\":\"2016-07-03T16:13:00+08:00\",\"update_at\":\"2016-07-03T16:13:00+08:00\",\"closed_at\":null,\"closed_note\":\"\",\"user_modified\":0,\"tpl_creator\":\"root\",\"expression_id\":0,\"strategy_id\":50,\"template_id\":53,\"process_note\":1181,\"process_status\":\"ignored\"}]",
  53. "ResponseCode": 200
  54. },
  55. {
  56. "Id": 2,
  57. "CurrentPath": "/api/v1/alarm/eventcases",
  58. "MethodType": "POST",
  59. "PostForm": null,
  60. "RequestHeader": {
  61. "Apitoken": "{\"name\": \"root\", \"sig\": \"233fdb00f99811e68a5c001500c6ca5a\"}",
  62. "Content-Type": " application/json\r"
  63. },
  64. "CommonRequestHeaders": null,
  65. "ResponseHeader": {
  66. "Access-Control-Allow-Credentials": "true",
  67. "Access-Control-Allow-Headers": "Content-Type, Content-Length, Apitoken",
  68. "Access-Control-Allow-Methods": "POST, GET, OPTIONS, PUT, DELETE, UPDATE",
  69. "Access-Control-Allow-Origin": "*",
  70. "Access-Control-Expose-Headers": "Content-Length",
  71. "Access-Control-Max-Age": "86400",
  72. "Content-Type": "application/json; charset=utf-8"
  73. },
  74. "RequestUrlParams": {},
  75. "RequestBody": "\n\t\t\t{\n\t \"startTime\": 1466956800,\n\t \"endTime\": 1480521600,\n\t \"status\": \"PROBLEM\",\n\t \"process_status\": \"unresolved\",\n\t \"limit\": 10\n\t }",
  76. "ResponseBody": "[]",
  77. "ResponseCode": 200
  78. },
  79. {
  80. "Id": 3,
  81. "CurrentPath": "/api/v1/alarm/eventcases",
  82. "MethodType": "POST",
  83. "PostForm": null,
  84. "RequestHeader": {
  85. "Apitoken": "{\"name\": \"root\", \"sig\": \"233fdb00f99811e68a5c001500c6ca5a\"}",
  86. "Content-Type": " application/json\r"
  87. },
  88. "CommonRequestHeaders": null,
  89. "ResponseHeader": {
  90. "Access-Control-Allow-Credentials": "true",
  91. "Access-Control-Allow-Headers": "Content-Type, Content-Length, Apitoken",
  92. "Access-Control-Allow-Methods": "POST, GET, OPTIONS, PUT, DELETE, UPDATE",
  93. "Access-Control-Allow-Origin": "*",
  94. "Access-Control-Expose-Headers": "Content-Length",
  95. "Access-Control-Max-Age": "86400",
  96. "Content-Type": "application/json; charset=utf-8"
  97. },
  98. "RequestUrlParams": {},
  99. "RequestBody": "\n\t\t\t{\n\t \"startTime\": 1466956800,\n\t \"endTime\": 1480521600,\n\t \"process_status\": \"unresolved\",\n\t \"limit\": 1\n\t }",
  100. "ResponseBody": "[{\"id\":\"s_322_00c5f5c87a71bd4c686c0a4a0544b719\",\"endpoint\":\"agent8\",\"metric\":\"cpu.iowait\",\"func\":\"avg(#3)\",\"cond\":\"0 \\u003e 40\",\"note\":\"CPU I/O wait超过40\",\"step\":1,\"current_step\":1,\"priority\":1,\"status\":\"OK\",\"timestamp\":\"2016-11-30T20:10:00+08:00\",\"update_at\":\"2016-11-30T20:10:00+08:00\",\"closed_at\":null,\"closed_note\":\"\",\"user_modified\":0,\"tpl_creator\":\"root\",\"expression_id\":0,\"strategy_id\":322,\"template_id\":125,\"process_note\":0,\"process_status\":\"unresolved\"}]",
  101. "ResponseCode": 200
  102. },
  103. {
  104. "Id": 4,
  105. "CurrentPath": "/api/v1/alarm/eventcases",
  106. "MethodType": "POST",
  107. "PostForm": null,
  108. "RequestHeader": {
  109. "Apitoken": "{\"name\": \"root\", \"sig\": \"233fdb00f99811e68a5c001500c6ca5a\"}",
  110. "Content-Type": " application/json\r"
  111. },
  112. "CommonRequestHeaders": null,
  113. "ResponseHeader": {
  114. "Access-Control-Allow-Credentials": "true",
  115. "Access-Control-Allow-Headers": "Content-Type, Content-Length, Apitoken",
  116. "Access-Control-Allow-Methods": "POST, GET, OPTIONS, PUT, DELETE, UPDATE",
  117. "Access-Control-Allow-Origin": "*",
  118. "Access-Control-Expose-Headers": "Content-Length",
  119. "Access-Control-Max-Age": "86400",
  120. "Content-Type": "application/json; charset=utf-8"
  121. },
  122. "RequestUrlParams": {},
  123. "RequestBody": "\n\t\t\t{\n\t \"startTime\": 1477584000,\n\t \"endTime\": 1477670400,\n\t \"process_status\": \"unresolved\",\n\t \"limit\": 10\n\t }",
  124. "ResponseBody": "[{\"id\":\"s_322_00cc81434a0e277b57254a89a839a47b\",\"endpoint\":\"agent9\",\"metric\":\"cpu.iowait\",\"func\":\"avg(#3)\",\"cond\":\"0.041876046901172526 \\u003e 40\",\"note\":\"CPU I/O wait超过40\",\"step\":1,\"current_step\":1,\"priority\":1,\"status\":\"OK\",\"timestamp\":\"2016-10-28T10:37:00+08:00\",\"update_at\":\"2016-10-28T10:37:00+08:00\",\"closed_at\":null,\"closed_note\":\"\",\"user_modified\":0,\"tpl_creator\":\"root\",\"expression_id\":0,\"strategy_id\":322,\"template_id\":125,\"process_note\":0,\"process_status\":\"unresolved\"}]",
  125. "ResponseCode": 200
  126. },
  127. {
  128. "Id": 5,
  129. "CurrentPath": "/api/v1/alarm/eventcases",
  130. "MethodType": "POST",
  131. "PostForm": null,
  132. "RequestHeader": {
  133. "Apitoken": "{\"name\": \"root\", \"sig\": \"233fdb00f99811e68a5c001500c6ca5a\"}",
  134. "Content-Type": " application/json\r"
  135. },
  136. "CommonRequestHeaders": null,
  137. "ResponseHeader": {
  138. "Access-Control-Allow-Credentials": "true",
  139. "Access-Control-Allow-Headers": "Content-Type, Content-Length, Apitoken",
  140. "Access-Control-Allow-Methods": "POST, GET, OPTIONS, PUT, DELETE, UPDATE",
  141. "Access-Control-Allow-Origin": "*",
  142. "Access-Control-Expose-Headers": "Content-Length",
  143. "Access-Control-Max-Age": "86400",
  144. "Content-Type": "application/json; charset=utf-8"
  145. },
  146. "RequestUrlParams": {},
  147. "RequestBody": "\n\t\t\t{\n\t \"startTime\": 1466956800,\n\t \"endTime\": 1480521600,\n\t \"process_status\": \"unresolved\",\n\t\t\t\t\"page\": 0,\n\t \"limit\": 1\n\t }",
  148. "ResponseBody": "[{\"id\":\"s_322_00c5f5c87a71bd4c686c0a4a0544b719\",\"endpoint\":\"agent8\",\"metric\":\"cpu.iowait\",\"func\":\"avg(#3)\",\"cond\":\"0 \\u003e 40\",\"note\":\"CPU I/O wait超过40\",\"step\":1,\"current_step\":1,\"priority\":1,\"status\":\"OK\",\"timestamp\":\"2016-11-30T20:10:00+08:00\",\"update_at\":\"2016-11-30T20:10:00+08:00\",\"closed_at\":null,\"closed_note\":\"\",\"user_modified\":0,\"tpl_creator\":\"root\",\"expression_id\":0,\"strategy_id\":322,\"template_id\":125,\"process_note\":0,\"process_status\":\"unresolved\"}]",
  149. "ResponseCode": 200
  150. },
  151. {
  152. "Id": 6,
  153. "CurrentPath": "/api/v1/alarm/eventcases",
  154. "MethodType": "POST",
  155. "PostForm": null,
  156. "RequestHeader": {
  157. "Apitoken": "{\"name\": \"root\", \"sig\": \"233fdb00f99811e68a5c001500c6ca5a\"}",
  158. "Content-Type": " application/json\r"
  159. },
  160. "CommonRequestHeaders": null,
  161. "ResponseHeader": {
  162. "Access-Control-Allow-Credentials": "true",
  163. "Access-Control-Allow-Headers": "Content-Type, Content-Length, Apitoken",
  164. "Access-Control-Allow-Methods": "POST, GET, OPTIONS, PUT, DELETE, UPDATE",
  165. "Access-Control-Allow-Origin": "*",
  166. "Access-Control-Expose-Headers": "Content-Length",
  167. "Access-Control-Max-Age": "86400",
  168. "Content-Type": "application/json; charset=utf-8"
  169. },
  170. "RequestUrlParams": {},
  171. "RequestBody": "\n\t\t\t{\n\t \"startTime\": 1466956800,\n\t \"endTime\": 1480521600,\n\t \"process_status\": \"unresolved\",\n\t\t\t\t\"page\": 1,\n\t \"limit\": 1\n\t }",
  172. "ResponseBody": "[{\"id\":\"s_322_00a9b9f9f859d8436f9b643ea5a1fb5e\",\"endpoint\":\"agent6\",\"metric\":\"cpu.iowait\",\"func\":\"avg(#3)\",\"cond\":\"0 \\u003e 40\",\"note\":\"CPU I/O wait超过40\",\"step\":1,\"current_step\":1,\"priority\":1,\"status\":\"OK\",\"timestamp\":\"2016-11-14T22:16:00+08:00\",\"update_at\":\"2016-11-14T22:16:00+08:00\",\"closed_at\":null,\"closed_note\":\"\",\"user_modified\":0,\"tpl_creator\":\"root\",\"expression_id\":0,\"strategy_id\":322,\"template_id\":140,\"process_note\":0,\"process_status\":\"unresolved\"}]",
  173. "ResponseCode": 200
  174. }
  175. ]
  176. },
  177. {
  178. "HttpVerb": "GET",
  179. "Path": "/api/v1/alarm/event_note",
  180. "Calls": [
  181. {
  182. "Id": 7,
  183. "CurrentPath": "/api/v1/alarm/event_note",
  184. "MethodType": "GET",
  185. "PostForm": null,
  186. "RequestHeader": {
  187. "Apitoken": "{\"name\": \"root\", \"sig\": \"233fdb00f99811e68a5c001500c6ca5a\"}"
  188. },
  189. "CommonRequestHeaders": null,
  190. "ResponseHeader": {
  191. "Access-Control-Allow-Credentials": "true",
  192. "Access-Control-Allow-Headers": "Content-Type, Content-Length, Apitoken",
  193. "Access-Control-Allow-Methods": "POST, GET, OPTIONS, PUT, DELETE, UPDATE",
  194. "Access-Control-Allow-Origin": "*",
  195. "Access-Control-Expose-Headers": "Content-Length",
  196. "Access-Control-Max-Age": "86400",
  197. "Content-Type": "application/json; charset=utf-8"
  198. },
  199. "RequestUrlParams": {
  200. "endTime": "1466697600",
  201. "startTime": "1466611200"
  202. },
  203. "RequestBody": "",
  204. "ResponseBody": "[{\"event_caseId\":\"s_165_cef145900bf4e2a4a0db8b85762b9cdb\",\"note\":\"test\",\"case_id\":\"\",\"status\":\"ignored\",\"timestamp\":\"2016-06-23T05:39:09+08:00\",\"user\":\"root\"},{\"event_caseId\":\"s_165_9d223f126e7ecb3477cd6806f1ee9656\",\"note\":\"Ignored by user\",\"case_id\":\"\",\"status\":\"ignored\",\"timestamp\":\"2016-06-23T05:38:56+08:00\",\"user\":\"root\"}]",
  205. "ResponseCode": 200
  206. },
  207. {
  208. "Id": 8,
  209. "CurrentPath": "/api/v1/alarm/event_note",
  210. "MethodType": "GET",
  211. "PostForm": null,
  212. "RequestHeader": {
  213. "Apitoken": "{\"name\": \"root\", \"sig\": \"233fdb00f99811e68a5c001500c6ca5a\"}"
  214. },
  215. "CommonRequestHeaders": null,
  216. "ResponseHeader": {
  217. "Access-Control-Allow-Credentials": "true",
  218. "Access-Control-Allow-Headers": "Content-Type, Content-Length, Apitoken",
  219. "Access-Control-Allow-Methods": "POST, GET, OPTIONS, PUT, DELETE, UPDATE",
  220. "Access-Control-Allow-Origin": "*",
  221. "Access-Control-Expose-Headers": "Content-Length",
  222. "Access-Control-Max-Age": "86400",
  223. "Content-Type": "application/json; charset=utf-8"
  224. },
  225. "RequestUrlParams": {
  226. "event_id": "s_165_cef145900bf4e2a4a0db8b85762b9cdb"
  227. },
  228. "RequestBody": "",
  229. "ResponseBody": "[{\"event_caseId\":\"s_165_cef145900bf4e2a4a0db8b85762b9cdb\",\"note\":\"test note\",\"case_id\":\"\",\"status\":\"comment\",\"timestamp\":\"2017-03-23T15:50:29+08:00\",\"user\":\"root\"},{\"event_caseId\":\"s_165_cef145900bf4e2a4a0db8b85762b9cdb\",\"note\":\"test note\",\"case_id\":\"a000001\",\"status\":\"ignored\",\"timestamp\":\"2017-03-23T15:50:29+08:00\",\"user\":\"root\"},{\"event_caseId\":\"s_165_cef145900bf4e2a4a0db8b85762b9cdb\",\"note\":\"test note\",\"case_id\":\"\",\"status\":\"comment\",\"timestamp\":\"2017-03-23T15:50:06+08:00\",\"user\":\"root\"},{\"event_caseId\":\"s_165_cef145900bf4e2a4a0db8b85762b9cdb\",\"note\":\"test note\",\"case_id\":\"a000001\",\"status\":\"ignored\",\"timestamp\":\"2017-03-23T15:50:06+08:00\",\"user\":\"root\"},{\"event_caseId\":\"s_165_cef145900bf4e2a4a0db8b85762b9cdb\",\"note\":\"test note\",\"case_id\":\"\",\"status\":\"comment\",\"timestamp\":\"2017-03-23T15:48:07+08:00\",\"user\":\"root\"},{\"event_caseId\":\"s_165_cef145900bf4e2a4a0db8b85762b9cdb\",\"note\":\"test note\",\"case_id\":\"a000001\",\"status\":\"ignored\",\"timestamp\":\"2017-03-23T15:48:07+08:00\",\"user\":\"root\"},{\"event_caseId\":\"s_165_cef145900bf4e2a4a0db8b85762b9cdb\",\"note\":\"test note\",\"case_id\":\"\",\"status\":\"comment\",\"timestamp\":\"2017-03-23T15:47:24+08:00\",\"user\":\"root\"},{\"event_caseId\":\"s_165_cef145900bf4e2a4a0db8b85762b9cdb\",\"note\":\"test note\",\"case_id\":\"a000001\",\"status\":\"ignored\",\"timestamp\":\"2017-03-23T15:47:24+08:00\",\"user\":\"root\"},{\"event_caseId\":\"s_165_cef145900bf4e2a4a0db8b85762b9cdb\",\"note\":\"test note\",\"case_id\":\"\",\"status\":\"comment\",\"timestamp\":\"2017-03-23T15:45:04+08:00\",\"user\":\"root\"},{\"event_caseId\":\"s_165_cef145900bf4e2a4a0db8b85762b9cdb\",\"note\":\"test note\",\"case_id\":\"a000001\",\"status\":\"ignored\",\"timestamp\":\"2017-03-23T15:45:04+08:00\",\"user\":\"root\"},{\"event_caseId\":\"s_165_cef145900bf4e2a4a0db8b85762b9cdb\",\"note\":\"test note\",\"case_id\":\"\",\"status\":\"comment\",\"timestamp\":\"2017-03-23T15:43:26+08:00\",\"user\":\"root\"},{\"event_caseId\":\"s_165_cef145900bf4e2a4a0db8b85762b9cdb\",\"note\":\"test note\",\"case_id\":\"a000001\",\"status\":\"ignored\",\"timestamp\":\"2017-03-23T15:43:26+08:00\",\"user\":\"root\"},{\"event_caseId\":\"s_165_cef145900bf4e2a4a0db8b85762b9cdb\",\"note\":\"test note\",\"case_id\":\"\",\"status\":\"comment\",\"timestamp\":\"2017-03-23T15:42:02+08:00\",\"user\":\"root\"},{\"event_caseId\":\"s_165_cef145900bf4e2a4a0db8b85762b9cdb\",\"note\":\"test note\",\"case_id\":\"a000001\",\"status\":\"ignored\",\"timestamp\":\"2017-03-23T15:42:02+08:00\",\"user\":\"root\"},{\"event_caseId\":\"s_165_cef145900bf4e2a4a0db8b85762b9cdb\",\"note\":\"test note\",\"case_id\":\"\",\"status\":\"comment\",\"timestamp\":\"2017-03-23T15:41:14+08:00\",\"user\":\"root\"},{\"event_caseId\":\"s_165_cef145900bf4e2a4a0db8b85762b9cdb\",\"note\":\"test note\",\"case_id\":\"a000001\",\"status\":\"ignored\",\"timestamp\":\"2017-03-23T15:41:14+08:00\",\"user\":\"root\"},{\"event_caseId\":\"s_165_cef145900bf4e2a4a0db8b85762b9cdb\",\"note\":\"test note\",\"case_id\":\"a000001\",\"status\":\"ignored\",\"timestamp\":\"2017-03-23T15:41:02+08:00\",\"user\":\"root\"},{\"event_caseId\":\"s_165_cef145900bf4e2a4a0db8b85762b9cdb\",\"note\":\"test note\",\"case_id\":\"\",\"status\":\"comment\",\"timestamp\":\"2017-03-23T15:41:01+08:00\",\"user\":\"root\"},{\"event_caseId\":\"s_165_cef145900bf4e2a4a0db8b85762b9cdb\",\"note\":\"test note\",\"case_id\":\"\",\"status\":\"comment\",\"timestamp\":\"2017-03-23T15:39:49+08:00\",\"user\":\"root\"},{\"event_caseId\":\"s_165_cef145900bf4e2a4a0db8b85762b9cdb\",\"note\":\"test note\",\"case_id\":\"a000001\",\"status\":\"ignored\",\"timestamp\":\"2017-03-23T15:39:49+08:00\",\"user\":\"root\"},{\"event_caseId\":\"s_165_cef145900bf4e2a4a0db8b85762b9cdb\",\"note\":\"test note\",\"case_id\":\"\",\"status\":\"comment\",\"timestamp\":\"2017-03-23T15:37:50+08:00\",\"user\":\"root\"},{\"event_caseId\":\"s_165_cef145900bf4e2a4a0db8b85762b9cdb\",\"note\":\"test note\",\"case_id\":\"a000001\",\"status\":\"ignored\",\"timestamp\":\"2017-03-23T15:37:50+08:00\",\"user\":\"root\"},{\"event_caseId\":\"s_165_cef145900bf4e2a4a0db8b85762b9cdb\",\"note\":\"test note\",\"case_id\":\"\",\"status\":\"comment\",\"timestamp\":\"2017-03-23T15:36:34+08:00\",\"user\":\"root\"},{\"event_caseId\":\"s_165_cef145900bf4e2a4a0db8b85762b9cdb\",\"note\":\"test note\",\"case_id\":\"a000001\",\"status\":\"ignored\",\"timestamp\":\"2017-03-23T15:36:34+08:00\",\"user\":\"root\"},{\"event_caseId\":\"s_165_cef145900bf4e2a4a0db8b85762b9cdb\",\"note\":\"test note\",\"case_id\":\"\",\"status\":\"comment\",\"timestamp\":\"2017-03-23T15:33:50+08:00\",\"user\":\"root\"},{\"event_caseId\":\"s_165_cef145900bf4e2a4a0db8b85762b9cdb\",\"note\":\"test note\",\"case_id\":\"a000001\",\"status\":\"ignored\",\"timestamp\":\"2017-03-23T15:33:50+08:00\",\"user\":\"root\"},{\"event_caseId\":\"s_165_cef145900bf4e2a4a0db8b85762b9cdb\",\"note\":\"test note\",\"case_id\":\"\",\"status\":\"comment\",\"timestamp\":\"2017-03-23T15:32:52+08:00\",\"user\":\"root\"},{\"event_caseId\":\"s_165_cef145900bf4e2a4a0db8b85762b9cdb\",\"note\":\"test note\",\"case_id\":\"a000001\",\"status\":\"ignored\",\"timestamp\":\"2017-03-23T15:32:52+08:00\",\"user\":\"root\"},{\"event_caseId\":\"s_165_cef145900bf4e2a4a0db8b85762b9cdb\",\"note\":\"test note\",\"case_id\":\"\",\"status\":\"comment\",\"timestamp\":\"2017-03-23T15:18:12+08:00\",\"user\":\"root\"},{\"event_caseId\":\"s_165_cef145900bf4e2a4a0db8b85762b9cdb\",\"note\":\"test note\",\"case_id\":\"a000001\",\"status\":\"ignored\",\"timestamp\":\"2017-03-23T15:18:12+08:00\",\"user\":\"root\"},{\"event_caseId\":\"s_165_cef145900bf4e2a4a0db8b85762b9cdb\",\"note\":\"test note\",\"case_id\":\"\",\"status\":\"comment\",\"timestamp\":\"2017-03-22T20:34:15+08:00\",\"user\":\"root\"},{\"event_caseId\":\"s_165_cef145900bf4e2a4a0db8b85762b9cdb\",\"note\":\"test note\",\"case_id\":\"\",\"status\":\"ignored\",\"timestamp\":\"2017-03-22T20:34:15+08:00\",\"user\":\"root\"},{\"event_caseId\":\"s_165_cef145900bf4e2a4a0db8b85762b9cdb\",\"note\":\"test note\",\"case_id\":\"\",\"status\":\"comment\",\"timestamp\":\"2017-03-22T20:30:51+08:00\",\"user\":\"root\"},{\"event_caseId\":\"s_165_cef145900bf4e2a4a0db8b85762b9cdb\",\"note\":\"test note\",\"case_id\":\"\",\"status\":\"ignored\",\"timestamp\":\"2017-03-22T20:30:51+08:00\",\"user\":\"root\"},{\"event_caseId\":\"s_165_cef145900bf4e2a4a0db8b85762b9cdb\",\"note\":\"test note\",\"case_id\":\"\",\"status\":\"comment\",\"timestamp\":\"2017-03-22T20:30:03+08:00\",\"user\":\"root\"},{\"event_caseId\":\"s_165_cef145900bf4e2a4a0db8b85762b9cdb\",\"note\":\"test note\",\"case_id\":\"\",\"status\":\"ignored\",\"timestamp\":\"2017-03-22T20:30:03+08:00\",\"user\":\"root\"},{\"event_caseId\":\"s_165_cef145900bf4e2a4a0db8b85762b9cdb\",\"note\":\"test note\",\"case_id\":\"\",\"status\":\"comment\",\"timestamp\":\"2017-03-22T20:30:03+08:00\",\"user\":\"root\"},{\"event_caseId\":\"s_165_cef145900bf4e2a4a0db8b85762b9cdb\",\"note\":\"test note\",\"case_id\":\"\",\"status\":\"ignored\",\"timestamp\":\"2017-03-22T20:30:03+08:00\",\"user\":\"root\"},{\"event_caseId\":\"s_165_cef145900bf4e2a4a0db8b85762b9cdb\",\"note\":\"test note\",\"case_id\":\"\",\"status\":\"comment\",\"timestamp\":\"2017-03-22T20:29:44+08:00\",\"user\":\"root\"},{\"event_caseId\":\"s_165_cef145900bf4e2a4a0db8b85762b9cdb\",\"note\":\"test note\",\"case_id\":\"\",\"status\":\"ignored\",\"timestamp\":\"2017-03-22T20:29:44+08:00\",\"user\":\"root\"},{\"event_caseId\":\"s_165_cef145900bf4e2a4a0db8b85762b9cdb\",\"note\":\"test note\",\"case_id\":\"\",\"status\":\"comment\",\"timestamp\":\"2017-03-22T20:20:42+08:00\",\"user\":\"root\"},{\"event_caseId\":\"s_165_cef145900bf4e2a4a0db8b85762b9cdb\",\"note\":\"test note\",\"case_id\":\"\",\"status\":\"ignored\",\"timestamp\":\"2017-03-22T20:20:42+08:00\",\"user\":\"root\"},{\"event_caseId\":\"s_165_cef145900bf4e2a4a0db8b85762b9cdb\",\"note\":\"test note\",\"case_id\":\"\",\"status\":\"comment\",\"timestamp\":\"2017-03-22T18:58:41+08:00\",\"user\":\"owl\"},{\"event_caseId\":\"s_165_cef145900bf4e2a4a0db8b85762b9cdb\",\"note\":\"test note\",\"case_id\":\"\",\"status\":\"ignored\",\"timestamp\":\"2017-03-22T18:58:41+08:00\",\"user\":\"owl\"},{\"event_caseId\":\"s_165_cef145900bf4e2a4a0db8b85762b9cdb\",\"note\":\"test note\",\"case_id\":\"\",\"status\":\"comment\",\"timestamp\":\"2017-03-22T18:58:04+08:00\",\"user\":\"owl\"},{\"event_caseId\":\"s_165_cef145900bf4e2a4a0db8b85762b9cdb\",\"note\":\"test note\",\"case_id\":\"\",\"status\":\"ignored\",\"timestamp\":\"2017-03-22T18:58:04+08:00\",\"user\":\"owl\"},{\"event_caseId\":\"s_165_cef145900bf4e2a4a0db8b85762b9cdb\",\"note\":\"test note\",\"case_id\":\"\",\"status\":\"comment\",\"timestamp\":\"2017-03-22T18:56:35+08:00\",\"user\":\"owl\"},{\"event_caseId\":\"s_165_cef145900bf4e2a4a0db8b85762b9cdb\",\"note\":\"test note\",\"case_id\":\"\",\"status\":\"ignored\",\"timestamp\":\"2017-03-22T18:56:35+08:00\",\"user\":\"owl\"},{\"event_caseId\":\"s_165_cef145900bf4e2a4a0db8b85762b9cdb\",\"note\":\"test note\",\"case_id\":\"\",\"status\":\"comment\",\"timestamp\":\"2017-03-22T18:56:25+08:00\",\"user\":\"owl\"},{\"event_caseId\":\"s_165_cef145900bf4e2a4a0db8b85762b9cdb\",\"note\":\"test note\",\"case_id\":\"\",\"status\":\"ignored\",\"timestamp\":\"2017-03-22T18:56:25+08:00\",\"user\":\"owl\"}]",
  230. "ResponseCode": 200
  231. }
  232. ]
  233. },
  234. {
  235. "HttpVerb": "POST",
  236. "Path": "/api/v1/alarm/event_note",
  237. "Calls": [
  238. {
  239. "Id": 9,
  240. "CurrentPath": "/api/v1/alarm/event_note",
  241. "MethodType": "POST",
  242. "PostForm": null,
  243. "RequestHeader": {
  244. "Apitoken": "{\"name\": \"root\", \"sig\": \"233fdb00f99811e68a5c001500c6ca5a\"}",
  245. "Content-Type": " application/json\r"
  246. },
  247. "CommonRequestHeaders": null,
  248. "ResponseHeader": {
  249. "Access-Control-Allow-Credentials": "true",
  250. "Access-Control-Allow-Headers": "Content-Type, Content-Length, Apitoken",
  251. "Access-Control-Allow-Methods": "POST, GET, OPTIONS, PUT, DELETE, UPDATE",
  252. "Access-Control-Allow-Origin": "*",
  253. "Access-Control-Expose-Headers": "Content-Length",
  254. "Access-Control-Max-Age": "86400",
  255. "Content-Type": "application/json; charset=utf-8"
  256. },
  257. "RequestUrlParams": {},
  258. "RequestBody": "\n\t\t\t{\n\t\t\t\t\"event_id\": \"s_165_cef145900bf4e2a4a0db8b85762b9cdb\",\n\t\t\t\t\"note\": \"test note\",\n\t\t\t\t\"status\": \"comment\"\n\t\t\t}",
  259. "ResponseBody": "{\"id\":\"s_165_cef145900bf4e2a4a0db8b85762b9cdb\",\"message\":\"add note to s_165_cef145900bf4e2a4a0db8b85762b9cdb successfuled\"}",
  260. "ResponseCode": 200
  261. },
  262. {
  263. "Id": 10,
  264. "CurrentPath": "/api/v1/alarm/event_note",
  265. "MethodType": "POST",
  266. "PostForm": null,
  267. "RequestHeader": {
  268. "Apitoken": "{\"name\": \"root\", \"sig\": \"233fdb00f99811e68a5c001500c6ca5a\"}",
  269. "Content-Type": " application/json\r"
  270. },
  271. "CommonRequestHeaders": null,
  272. "ResponseHeader": {
  273. "Access-Control-Allow-Credentials": "true",
  274. "Access-Control-Allow-Headers": "Content-Type, Content-Length, Apitoken",
  275. "Access-Control-Allow-Methods": "POST, GET, OPTIONS, PUT, DELETE, UPDATE",
  276. "Access-Control-Allow-Origin": "*",
  277. "Access-Control-Expose-Headers": "Content-Length",
  278. "Access-Control-Max-Age": "86400",
  279. "Content-Type": "application/json; charset=utf-8"
  280. },
  281. "RequestUrlParams": {},
  282. "RequestBody": "\n\t\t\t{\n\t\t\t\t\"event_id\": \"s_165_cef145900bf4e2a4a0db8b85762b9cdb\",\n\t\t\t\t\"note\": \"test note\",\n\t\t\t\t\"status\": \"ignored\",\n\t\t\t\t\"case_id\": \"a000001\"\n\t\t\t}",
  283. "ResponseBody": "{\"id\":\"s_165_cef145900bf4e2a4a0db8b85762b9cdb\",\"message\":\"add note to s_165_cef145900bf4e2a4a0db8b85762b9cdb successfuled\"}",
  284. "ResponseCode": 200
  285. }
  286. ]
  287. },
  288. {
  289. "HttpVerb": "GET",
  290. "Path": "/api/v1/alarm/eventcases",
  291. "Calls": [
  292. {
  293. "Id": 11,
  294. "CurrentPath": "/api/v1/alarm/eventcases",
  295. "MethodType": "GET",
  296. "PostForm": null,
  297. "RequestHeader": {
  298. "Apitoken": "{\"name\": \"root\", \"sig\": \"233fdb00f99811e68a5c001500c6ca5a\"}"
  299. },
  300. "CommonRequestHeaders": null,
  301. "ResponseHeader": {
  302. "Access-Control-Allow-Credentials": "true",
  303. "Access-Control-Allow-Headers": "Content-Type, Content-Length, Apitoken",
  304. "Access-Control-Allow-Methods": "POST, GET, OPTIONS, PUT, DELETE, UPDATE",
  305. "Access-Control-Allow-Origin": "*",
  306. "Access-Control-Expose-Headers": "Content-Length",
  307. "Access-Control-Max-Age": "86400",
  308. "Content-Type": "application/json; charset=utf-8"
  309. },
  310. "RequestUrlParams": {
  311. "event_id": "s_165_cef145900bf4e2a4a0db8b85762b9cdb"
  312. },
  313. "RequestBody": "",
  314. "ResponseBody": "[{\"id\":\"s_165_cef145900bf4e2a4a0db8b85762b9cdb\",\"endpoint\":\"agent2\",\"metric\":\"cpu.idle\",\"func\":\"all(#1)\",\"cond\":\"0 != 66\",\"note\":\"測試告警自動更新\",\"step\":300,\"current_step\":3,\"priority\":0,\"status\":\"PROBLEM\",\"timestamp\":\"2017-03-23T15:51:11+08:00\",\"update_at\":\"2016-06-23T05:00:00+08:00\",\"closed_at\":null,\"closed_note\":\"\",\"user_modified\":0,\"tpl_creator\":\"root\",\"expression_id\":0,\"strategy_id\":165,\"template_id\":45,\"process_note\":56603,\"process_status\":\"ignored\"}]",
  315. "ResponseCode": 200
  316. }
  317. ]
  318. },
  319. {
  320. "HttpVerb": "POST",
  321. "Path": "/api/v1/alarm/events",
  322. "Calls": [
  323. {
  324. "Id": 12,
  325. "CurrentPath": "/api/v1/alarm/events",
  326. "MethodType": "POST",
  327. "PostForm": {
  328. "endTime": "1466628960",
  329. "event_id": "s_165_cef145900bf4e2a4a0db8b85762b9cdb",
  330. "startTime": "1466611200"
  331. },
  332. "RequestHeader": {
  333. "Apitoken": "{\"name\": \"root\", \"sig\": \"233fdb00f99811e68a5c001500c6ca5a\"}",
  334. "Content-Type": " application/x-www-form-urlencoded\r"
  335. },
  336. "CommonRequestHeaders": null,
  337. "ResponseHeader": {
  338. "Access-Control-Allow-Credentials": "true",
  339. "Access-Control-Allow-Headers": "Content-Type, Content-Length, Apitoken",
  340. "Access-Control-Allow-Methods": "POST, GET, OPTIONS, PUT, DELETE, UPDATE",
  341. "Access-Control-Allow-Origin": "*",
  342. "Access-Control-Expose-Headers": "Content-Length",
  343. "Access-Control-Max-Age": "86400",
  344. "Content-Type": "application/json; charset=utf-8"
  345. },
  346. "RequestUrlParams": {},
  347. "RequestBody": "",
  348. "ResponseBody": "[{\"id\":635166,\"event_caseId\":\"s_165_cef145900bf4e2a4a0db8b85762b9cdb\",\"step\":0,\"cond\":\"10.649350649350648 != 66\",\"status\":0,\"timestamp\":\"2016-06-23T04:55:00+08:00\"},{\"id\":635149,\"event_caseId\":\"s_165_cef145900bf4e2a4a0db8b85762b9cdb\",\"step\":0,\"cond\":\"13.486005089058525 != 66\",\"status\":0,\"timestamp\":\"2016-06-23T04:50:00+08:00\"}]",
  349. "ResponseCode": 200
  350. },
  351. {
  352. "Id": 13,
  353. "CurrentPath": "/api/v1/alarm/events",
  354. "MethodType": "POST",
  355. "PostForm": {
  356. "event_id": "s_322_00f5a68989281d30fbbb647194a09230",
  357. "limit": "2",
  358. "status": "1"
  359. },
  360. "RequestHeader": {
  361. "Apitoken": "{\"name\": \"root\", \"sig\": \"233fdb00f99811e68a5c001500c6ca5a\"}",
  362. "Content-Type": " application/x-www-form-urlencoded\r"
  363. },
  364. "CommonRequestHeaders": null,
  365. "ResponseHeader": {
  366. "Access-Control-Allow-Credentials": "true",
  367. "Access-Control-Allow-Headers": "Content-Type, Content-Length, Apitoken",
  368. "Access-Control-Allow-Methods": "POST, GET, OPTIONS, PUT, DELETE, UPDATE",
  369. "Access-Control-Allow-Origin": "*",
  370. "Access-Control-Expose-Headers": "Content-Length",
  371. "Access-Control-Max-Age": "86400",
  372. "Content-Type": "application/json; charset=utf-8"
  373. },
  374. "RequestUrlParams": {},
  375. "RequestBody": "",
  376. "ResponseBody": "[{\"id\":2283581,\"event_caseId\":\"s_322_00f5a68989281d30fbbb647194a09230\",\"step\":0,\"cond\":\"0 \\u003e 40\",\"status\":1,\"timestamp\":\"2016-12-08T02:10:00+08:00\"},{\"id\":2229288,\"event_caseId\":\"s_322_00f5a68989281d30fbbb647194a09230\",\"step\":0,\"cond\":\"0.8756834205893638 \\u003e 40\",\"status\":1,\"timestamp\":\"2016-12-02T15:43:00+08:00\"}]",
  377. "ResponseCode": 200
  378. },
  379. {
  380. "Id": 14,
  381. "CurrentPath": "/api/v1/alarm/events",
  382. "MethodType": "POST",
  383. "PostForm": {
  384. "event_id": "s_322_00f5a68989281d30fbbb647194a09230",
  385. "limit": "1",
  386. "page": "0"
  387. },
  388. "RequestHeader": {
  389. "Apitoken": "{\"name\": \"root\", \"sig\": \"233fdb00f99811e68a5c001500c6ca5a\"}",
  390. "Content-Type": " application/x-www-form-urlencoded\r"
  391. },
  392. "CommonRequestHeaders": null,
  393. "ResponseHeader": {
  394. "Access-Control-Allow-Credentials": "true",
  395. "Access-Control-Allow-Headers": "Content-Type, Content-Length, Apitoken",
  396. "Access-Control-Allow-Methods": "POST, GET, OPTIONS, PUT, DELETE, UPDATE",
  397. "Access-Control-Allow-Origin": "*",
  398. "Access-Control-Expose-Headers": "Content-Length",
  399. "Access-Control-Max-Age": "86400",
  400. "Content-Type": "application/json; charset=utf-8"
  401. },
  402. "RequestUrlParams": {},
  403. "RequestBody": "",
  404. "ResponseBody": "[{\"id\":2283581,\"event_caseId\":\"s_322_00f5a68989281d30fbbb647194a09230\",\"step\":0,\"cond\":\"0 \\u003e 40\",\"status\":1,\"timestamp\":\"2016-12-08T02:10:00+08:00\"}]",
  405. "ResponseCode": 200
  406. },
  407. {
  408. "Id": 15,
  409. "CurrentPath": "/api/v1/alarm/events",
  410. "MethodType": "POST",
  411. "PostForm": {
  412. "event_id": "s_322_00f5a68989281d30fbbb647194a09230",
  413. "limit": "1",
  414. "page": "1"
  415. },
  416. "RequestHeader": {
  417. "Apitoken": "{\"name\": \"root\", \"sig\": \"233fdb00f99811e68a5c001500c6ca5a\"}",
  418. "Content-Type": " application/x-www-form-urlencoded\r"
  419. },
  420. "CommonRequestHeaders": null,
  421. "ResponseHeader": {
  422. "Access-Control-Allow-Credentials": "true",
  423. "Access-Control-Allow-Headers": "Content-Type, Content-Length, Apitoken",
  424. "Access-Control-Allow-Methods": "POST, GET, OPTIONS, PUT, DELETE, UPDATE",
  425. "Access-Control-Allow-Origin": "*",
  426. "Access-Control-Expose-Headers": "Content-Length",
  427. "Access-Control-Max-Age": "86400",
  428. "Content-Type": "application/json; charset=utf-8"
  429. },
  430. "RequestUrlParams": {},
  431. "RequestBody": "",
  432. "ResponseBody": "[{\"id\":2283566,\"event_caseId\":\"s_322_00f5a68989281d30fbbb647194a09230\",\"step\":0,\"cond\":\"2.5609807127182493e+17 \\u003e 40\",\"status\":0,\"timestamp\":\"2016-12-08T02:07:00+08:00\"}]",
  433. "ResponseCode": 200
  434. }
  435. ]
  436. }
  437. ]
  438. }