Pārlūkot izejas kodu

Docs: aktuelle Postman Collection

Christian Kahlau 3 gadi atpakaļ
vecāks
revīzija
a25779d472
1 mainītis faili ar 34 papildinājumiem un 2 dzēšanām
  1. 34 2
      server/docs/Monitoring.postman_collection.json

+ 34 - 2
server/docs/Monitoring.postman_collection.json

@@ -103,7 +103,7 @@
 						"method": "GET",
 						"header": [],
 						"url": {
-							"raw": "http://10.8.0.1:8880/services/3",
+							"raw": "http://10.8.0.1:8880/services/2",
 							"protocol": "http",
 							"host": [
 								"10",
@@ -114,7 +114,39 @@
 							"port": "8880",
 							"path": [
 								"services",
-								"3"
+								"2"
+							]
+						}
+					},
+					"response": []
+				},
+				{
+					"name": "/services/{:serverId} - Insert/Update Service Checks",
+					"request": {
+						"method": "PUT",
+						"header": [],
+						"body": {
+							"mode": "raw",
+							"raw": "{\r\n    \"id\": 2,\r\n    \"title\": \"kaytobee.de\",\r\n    \"type\": \"http\",\r\n    \"url\": \"https://www.kaytobee.de\",\r\n    \"interval\": 50,\r\n    \"checks\": [\r\n        \"kaytobee\",\r\n        \"kaytobee\\\\.(com|de|fr)\",\r\n        \"reg|exp\"\r\n    ]\r\n}",
+							"options": {
+								"raw": {
+									"language": "json"
+								}
+							}
+						},
+						"url": {
+							"raw": "http://10.8.0.1:8880/services/2",
+							"protocol": "http",
+							"host": [
+								"10",
+								"8",
+								"0",
+								"1"
+							],
+							"port": "8880",
+							"path": [
+								"services",
+								"2"
 							]
 						}
 					},