Ver Fonte

Docs: Postman collection: +notify & notifyThreshold

Christian Kahlau há 3 anos atrás
pai
commit
3f05682391
1 ficheiros alterados com 1 adições e 1 exclusões
  1. 1 1
      server/docs/Monitoring.postman_collection.json

+ 1 - 1
server/docs/Monitoring.postman_collection.json

@@ -127,7 +127,7 @@
 						"header": [],
 						"body": {
 							"mode": "raw",
-							"raw": "{\r\n    \"title\": \"kaytobee.de\",\r\n    \"type\": \"http\",\r\n    \"url\": \"https://www.kaytobee.de\",\r\n    \"interval\": 50,\r\n    \"active\": true,\r\n    \"timeout\": 10000,\r\n    \"checks\": [\r\n        \"kaytobee\",\r\n        \"kaytobee\\\\.(com|de|fr)\",\r\n        \"reg|exp\"\r\n    ]\r\n}",
+							"raw": "{\r\n    \"id\": 3,\r\n    \"title\": \"kaytobee.de\",\r\n    \"type\": \"http\",\r\n    \"serverId\": 2,\r\n    \"url\": \"https://kaytobee.de\",\r\n    \"active\": true,\r\n    \"interval\": 270,\r\n    \"timeout\": 10000,\r\n    \"notify\": true,\r\n    \"notifyThreshold\": 3,\r\n    \"checks\": [\r\n        \"kaytobee\",\r\n        \"kaytobee\\\\.de\",\r\n        \"<title>[^<]*(kaytobee)[^<]*</title>\"\r\n    ]\r\n}",
 							"options": {
 								"raw": {
 									"language": "json"