Просмотр исходного кода

added postman collection of queries to senslog client

MSI\matet 5 лет назад
Родитель
Сommit
62cd35b0bc
1 измененных файлов с 601 добавлено и 0 удалено
  1. 601 0
      SenslogV1.postman_collection.json

+ 601 - 0
SenslogV1.postman_collection.json

@@ -0,0 +1,601 @@
+{
+	"info": {
+		"_postman_id": "e00d63b3-2f1d-4d78-990d-975ffca54a8c",
+		"name": "SenslogV1",
+		"schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json"
+	},
+	"item": [
+		{
+			"name": "InsertObservation",
+			"request": {
+				"method": "GET",
+				"header": [],
+				"url": {
+					"raw": "http://localhost:9550/DBService/FeederServlet?Operation=InsertObservation&value=952.8&date=2015-07-15%2012%3A00%3A00%2B0200&unit_id=1&sensor_id=1",
+					"protocol": "http",
+					"host": [
+						"localhost"
+					],
+					"port": "9550",
+					"path": [
+						"DBService",
+						"FeederServlet"
+					],
+					"query": [
+						{
+							"key": "Operation",
+							"value": "InsertObservation"
+						},
+						{
+							"key": "value",
+							"value": "952.8"
+						},
+						{
+							"key": "date",
+							"value": "2015-07-15%2012%3A00%3A00%2B0200"
+						},
+						{
+							"key": "unit_id",
+							"value": "1"
+						},
+						{
+							"key": "sensor_id",
+							"value": "1"
+						}
+					]
+				}
+			},
+			"response": []
+		},
+		{
+			"name": "InsertUnitPosition",
+			"request": {
+				"method": "GET",
+				"header": [],
+				"url": {
+					"raw": "http://localhost:9550/DBService/FeederServlet?Operation=InsertPosition&lat=777.7&unit_id=1&lon=45.5&alt=40.0&speed=35.0&unit_id=1&date=2016-07-15%2012%3A00%3A00%2B0200",
+					"protocol": "http",
+					"host": [
+						"localhost"
+					],
+					"port": "9550",
+					"path": [
+						"DBService",
+						"FeederServlet"
+					],
+					"query": [
+						{
+							"key": "Operation",
+							"value": "InsertPosition"
+						},
+						{
+							"key": "lat",
+							"value": "777.7"
+						},
+						{
+							"key": "unit_id",
+							"value": "1"
+						},
+						{
+							"key": "lon",
+							"value": "45.5"
+						},
+						{
+							"key": "alt",
+							"value": "40.0"
+						},
+						{
+							"key": "speed",
+							"value": "35.0"
+						},
+						{
+							"key": "unit_id",
+							"value": "1"
+						},
+						{
+							"key": "date",
+							"value": "2016-07-15%2012%3A00%3A00%2B0200"
+						}
+					]
+				}
+			},
+			"response": []
+		},
+		{
+			"name": "Things",
+			"request": {
+				"method": "GET",
+				"header": [],
+				"url": {
+					"raw": "http://localhost:8080/api/SensLogV1/OGCSensorThings/Things",
+					"protocol": "http",
+					"host": [
+						"localhost"
+					],
+					"port": "8080",
+					"path": [
+						"api",
+						"SensLogV1",
+						"OGCSensorThings",
+						"Things"
+					]
+				}
+			},
+			"response": []
+		},
+		{
+			"name": "Things(:id)",
+			"request": {
+				"method": "GET",
+				"header": [],
+				"url": {
+					"raw": "http://localhost:8080/api/SensLogV1/OGCSensorThings/Things(1)",
+					"protocol": "http",
+					"host": [
+						"localhost"
+					],
+					"port": "8080",
+					"path": [
+						"api",
+						"SensLogV1",
+						"OGCSensorThings",
+						"Things(1)"
+					]
+				}
+			},
+			"response": []
+		},
+		{
+			"name": "Datastreams(:id)/Thing",
+			"request": {
+				"method": "GET",
+				"header": [],
+				"url": {
+					"raw": "http://localhost:8080/api/SensLogV1/OGCSensorThings/Datastreams(1:1)/Thing",
+					"protocol": "http",
+					"host": [
+						"localhost"
+					],
+					"port": "8080",
+					"path": [
+						"api",
+						"SensLogV1",
+						"OGCSensorThings",
+						"Datastreams(1:1)",
+						"Thing"
+					]
+				}
+			},
+			"response": []
+		},
+		{
+			"name": "HistoricalLocations(:id)/Thing",
+			"request": {
+				"method": "GET",
+				"header": [],
+				"url": {
+					"raw": "http://localhost:8080/api/SensLogV1/OGCSensorThings/HistoricalLocations(1)/Thing",
+					"protocol": "http",
+					"host": [
+						"localhost"
+					],
+					"port": "8080",
+					"path": [
+						"api",
+						"SensLogV1",
+						"OGCSensorThings",
+						"HistoricalLocations(1)",
+						"Thing"
+					]
+				}
+			},
+			"response": []
+		},
+		{
+			"name": "Datastreams(:id)",
+			"request": {
+				"method": "GET",
+				"header": [],
+				"url": {
+					"raw": "http://localhost:8080/api/SensLogV1/OGCSensorThings/Datastreams(1:1)",
+					"protocol": "http",
+					"host": [
+						"localhost"
+					],
+					"port": "8080",
+					"path": [
+						"api",
+						"SensLogV1",
+						"OGCSensorThings",
+						"Datastreams(1:1)"
+					]
+				}
+			},
+			"response": []
+		},
+		{
+			"name": "Things(:id)/Datastreams",
+			"request": {
+				"method": "GET",
+				"header": [],
+				"url": {
+					"raw": "http://localhost:8080/api/SensLogV1/OGCSensorThings/Things(1)/Datastreams",
+					"protocol": "http",
+					"host": [
+						"localhost"
+					],
+					"port": "8080",
+					"path": [
+						"api",
+						"SensLogV1",
+						"OGCSensorThings",
+						"Things(1)",
+						"Datastreams"
+					]
+				}
+			},
+			"response": []
+		},
+		{
+			"name": "Sensors(:id)/Datastreams",
+			"request": {
+				"method": "GET",
+				"header": [],
+				"url": {
+					"raw": "http://localhost:8080/api/SensLogV1/OGCSensorThings/Sensors(1)/Datastreams",
+					"protocol": "http",
+					"host": [
+						"localhost"
+					],
+					"port": "8080",
+					"path": [
+						"api",
+						"SensLogV1",
+						"OGCSensorThings",
+						"Sensors(1)",
+						"Datastreams"
+					]
+				}
+			},
+			"response": []
+		},
+		{
+			"name": "ObservedProperties(:id)/Datastream",
+			"request": {
+				"method": "GET",
+				"header": [],
+				"url": {
+					"raw": "http://localhost:8080/api/SensLogV1/OGCSensorThings/ObservedProperties(999999)/Datastream",
+					"protocol": "http",
+					"host": [
+						"localhost"
+					],
+					"port": "8080",
+					"path": [
+						"api",
+						"SensLogV1",
+						"OGCSensorThings",
+						"ObservedProperties(999999)",
+						"Datastream"
+					]
+				}
+			},
+			"response": []
+		},
+		{
+			"name": "Observations(:id)/Datastream",
+			"request": {
+				"method": "GET",
+				"header": [],
+				"url": {
+					"raw": "http://localhost:8080/api/SensLogV1/OGCSensorThings/Observations(1)/Datastream",
+					"protocol": "http",
+					"host": [
+						"localhost"
+					],
+					"port": "8080",
+					"path": [
+						"api",
+						"SensLogV1",
+						"OGCSensorThings",
+						"Observations(1)",
+						"Datastream"
+					]
+				}
+			},
+			"response": []
+		},
+		{
+			"name": "Sensors(:id)",
+			"request": {
+				"method": "GET",
+				"header": [],
+				"url": {
+					"raw": "http://localhost:8080/api/SensLogV1/OGCSensorThings/Sensors(1)",
+					"protocol": "http",
+					"host": [
+						"localhost"
+					],
+					"port": "8080",
+					"path": [
+						"api",
+						"SensLogV1",
+						"OGCSensorThings",
+						"Sensors(1)"
+					]
+				}
+			},
+			"response": []
+		},
+		{
+			"name": "Datastreams(:id)/Sensor",
+			"request": {
+				"method": "GET",
+				"header": [],
+				"url": {
+					"raw": "http://localhost:8080/api/SensLogV1/OGCSensorThings/Datastreams(1:1)/Sensor",
+					"protocol": "http",
+					"host": [
+						"localhost"
+					],
+					"port": "8080",
+					"path": [
+						"api",
+						"SensLogV1",
+						"OGCSensorThings",
+						"Datastreams(1:1)",
+						"Sensor"
+					]
+				}
+			},
+			"response": []
+		},
+		{
+			"name": "ObservedProperties(:id)",
+			"request": {
+				"method": "GET",
+				"header": [],
+				"url": {
+					"raw": "http://localhost:8080/api/SensLogV1/OGCSensorThings/ObservedProperties(999999)",
+					"protocol": "http",
+					"host": [
+						"localhost"
+					],
+					"port": "8080",
+					"path": [
+						"api",
+						"SensLogV1",
+						"OGCSensorThings",
+						"ObservedProperties(999999)"
+					]
+				}
+			},
+			"response": []
+		},
+		{
+			"name": "Datastreams(:id)/ObservedProperty",
+			"request": {
+				"method": "GET",
+				"header": [],
+				"url": {
+					"raw": "http://localhost:8080/api/SensLogV1/OGCSensorThings/Datastreams(1:1)/ObservedProperty",
+					"protocol": "http",
+					"host": [
+						"localhost"
+					],
+					"port": "8080",
+					"path": [
+						"api",
+						"SensLogV1",
+						"OGCSensorThings",
+						"Datastreams(1:1)",
+						"ObservedProperty"
+					]
+				}
+			},
+			"response": []
+		},
+		{
+			"name": "Observations(:id)",
+			"request": {
+				"method": "GET",
+				"header": [],
+				"url": {
+					"raw": "http://localhost:8080/api/SensLogV1/OGCSensorThings/Observations(1)",
+					"protocol": "http",
+					"host": [
+						"localhost"
+					],
+					"port": "8080",
+					"path": [
+						"api",
+						"SensLogV1",
+						"OGCSensorThings",
+						"Observations(1)"
+					]
+				}
+			},
+			"response": []
+		},
+		{
+			"name": "Datastreams(:id)/Observations",
+			"request": {
+				"method": "GET",
+				"header": [],
+				"url": {
+					"raw": "http://localhost:8080/api/SensLogV1/OGCSensorThings/Datastreams(1:1)/Observations",
+					"protocol": "http",
+					"host": [
+						"localhost"
+					],
+					"port": "8080",
+					"path": [
+						"api",
+						"SensLogV1",
+						"OGCSensorThings",
+						"Datastreams(1:1)",
+						"Observations"
+					]
+				}
+			},
+			"response": []
+		},
+		{
+			"name": "Locations(:id)",
+			"request": {
+				"method": "GET",
+				"header": [],
+				"url": {
+					"raw": "http://localhost:8080/api/SensLogV1/OGCSensorThings/Locations(1)",
+					"protocol": "http",
+					"host": [
+						"localhost"
+					],
+					"port": "8080",
+					"path": [
+						"api",
+						"SensLogV1",
+						"OGCSensorThings",
+						"Locations(1)"
+					]
+				}
+			},
+			"response": []
+		},
+		{
+			"name": "Things(:id)/Locations",
+			"request": {
+				"method": "GET",
+				"header": [],
+				"url": {
+					"raw": "http://localhost:8080/api/SensLogV1/OGCSensorThings/Things(1)/Locations",
+					"protocol": "http",
+					"host": [
+						"localhost"
+					],
+					"port": "8080",
+					"path": [
+						"api",
+						"SensLogV1",
+						"OGCSensorThings",
+						"Things(1)",
+						"Locations"
+					]
+				}
+			},
+			"response": []
+		},
+		{
+			"name": "HistoricalLocation(id)/Location",
+			"request": {
+				"method": "GET",
+				"header": [],
+				"url": {
+					"raw": "http://localhost:8080/api/SensLogV1/OGCSensorThings/HistoricalLocations(1)/Locations",
+					"protocol": "http",
+					"host": [
+						"localhost"
+					],
+					"port": "8080",
+					"path": [
+						"api",
+						"SensLogV1",
+						"OGCSensorThings",
+						"HistoricalLocations(1)",
+						"Locations"
+					]
+				}
+			},
+			"response": []
+		},
+		{
+			"name": "HistoricalLocations(:id)",
+			"request": {
+				"method": "GET",
+				"header": [],
+				"url": {
+					"raw": "http://localhost:8080/api/SensLogV1/OGCSensorThings/HistoricalLocations(1)",
+					"protocol": "http",
+					"host": [
+						"localhost"
+					],
+					"port": "8080",
+					"path": [
+						"api",
+						"SensLogV1",
+						"OGCSensorThings",
+						"HistoricalLocations(1)"
+					]
+				}
+			},
+			"response": []
+		},
+		{
+			"name": "Things(id)/HistoricalLocation",
+			"request": {
+				"method": "GET",
+				"header": [],
+				"url": {
+					"raw": "http://localhost:8080/api/SensLogV1/OGCSensorThings/Things(1)/HistoricalLocations",
+					"protocol": "http",
+					"host": [
+						"localhost"
+					],
+					"port": "8080",
+					"path": [
+						"api",
+						"SensLogV1",
+						"OGCSensorThings",
+						"Things(1)",
+						"HistoricalLocations"
+					]
+				}
+			},
+			"response": []
+		},
+		{
+			"name": "Locations(:id)/HistoricalLocations",
+			"request": {
+				"method": "GET",
+				"header": [],
+				"url": {
+					"raw": "http://localhost:8080/api/SensLogV1/OGCSensorThings/Locations(1)/HistoricalLocations",
+					"protocol": "http",
+					"host": [
+						"localhost"
+					],
+					"port": "8080",
+					"path": [
+						"api",
+						"SensLogV1",
+						"OGCSensorThings",
+						"Locations(1)",
+						"HistoricalLocations"
+					]
+				}
+			},
+			"response": []
+		},
+		{
+			"name": "Info",
+			"request": {
+				"method": "GET",
+				"header": [],
+				"url": {
+					"raw": "http://localhost:8080/api/info",
+					"protocol": "http",
+					"host": [
+						"localhost"
+					],
+					"port": "8080",
+					"path": [
+						"api",
+						"info"
+					]
+				}
+			},
+			"response": []
+		}
+	],
+	"protocolProfileBehavior": {}
+}