{ "info": { "_postman_id": "8642c9c1-2ab8-48cc-84f2-ac4bcc1a1a46", "name": "device-onvif-camera", "description": "The Open Network Video Interface Forum (ONVIF) Device Service is a microservice created to address the lack of standardization and automation of camera discovery and onboarding. EdgeX Foundry is a flexible microservice-based architecture created to promote the interoperability of multiple device interface combinations at the edge. In an EdgeX deployment, the ONVIF Device Service controls and communicates with ONVIF-compliant cameras, while EdgeX Foundry presents a standard interface to application developers. With normalized connectivity protocols and a vendor-neutral architecture, EdgeX paired with ONVIF Camera Device Service, simplifies deployment of edge camera devices.\n\nUse the ONVIF Device Service to streamline and scale your edge camera device deployment.", "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json", "_exporter_id": "7889146" }, "item": [ { "name": "Capabilities", "item": [ { "name": "Capabilities", "request": { "method": "GET", "header": [], "url": { "raw": "{{CORE_COMMAND_URL}}/api/v3/device/name/{{EDGEX_DEVICE_NAME}}/Capabilities", "host": [ "{{CORE_COMMAND_URL}}" ], "path": [ "api", "v3", "device", "name", "{{EDGEX_DEVICE_NAME}}", "Capabilities" ] } }, "response": [ { "name": "Capabilities", "originalRequest": { "method": "GET", "header": [], "url": { "raw": "{{CORE_COMMAND_URL}}/api/v3/device/name/{{EDGEX_DEVICE_NAME}}/Capabilities", "host": [ "{{CORE_COMMAND_URL}}" ], "path": [ "api", "v3", "device", "name", "{{EDGEX_DEVICE_NAME}}", "Capabilities" ] } }, "status": "OK", "code": 200, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/json" }, { "key": "X-Correlation-Id", "value": "fe559938-9c96-43b4-a344-502694f58b0f" }, { "key": "Date", "value": "Fri, 21 Oct 2022 22:33:18 GMT" }, { "key": "Transfer-Encoding", "value": "chunked" } ], "cookie": [], "body": "{\n \"apiVersion\": \"v3\",\n \"statusCode\": 200,\n \"event\": {\n \"apiVersion\": \"v3\",\n \"id\": \"001f4647-f047-445f-a632-57d22417760b\",\n \"deviceName\": \"tp-link-Tapo-C200-3fa1fe68-b915-4053-a3e1-1027f5ea88f4\",\n \"profileName\": \"onvif-camera\",\n \"sourceName\": \"Capabilities\",\n \"origin\": 1666391598771990139,\n \"readings\": [\n {\n \"id\": \"577e5335-44f0-4cdf-9413-b07bb2554d3c\",\n \"origin\": 1666391598771990139,\n \"deviceName\": \"tp-link-Tapo-C200-3fa1fe68-b915-4053-a3e1-1027f5ea88f4\",\n \"resourceName\": \"Capabilities\",\n \"profileName\": \"onvif-camera\",\n \"valueType\": \"Object\",\n \"value\": \"\",\n \"objectValue\": {\n \"Capabilities\": {\n \"Analytics\": {\n \"AnalyticsModuleSupport\": true,\n \"RuleSupport\": true,\n \"XAddr\": \"http://10.0.0.127:2020/onvif/service\"\n },\n \"Device\": {\n \"Extension\": \"\",\n \"IO\": {\n \"Extension\": {\n \"Auxiliary\": false,\n \"AuxiliaryCommands\": \"\",\n \"Extension\": \"\"\n },\n \"InputConnectors\": 0,\n \"RelayOutputs\": 0\n },\n \"Network\": {\n \"DynDNS\": false,\n \"Extension\": {\n \"Dot11Configuration\": true,\n \"Extension\": \"\"\n },\n \"IPFilter\": false,\n \"IPVersion6\": false,\n \"ZeroConfiguration\": false\n },\n \"Security\": {\n \"AccessPolicyConfig\": false,\n \"Extension\": {\n \"Extension\": {\n \"Dot1X\": false,\n \"RemoteUserHandling\": false,\n \"SupportedEAPMethod\": 0\n },\n \"TLS1_0\": false\n },\n \"KerberosToken\": false,\n \"OnboardKeyGeneration\": false,\n \"RELToken\": false,\n \"SAMLToken\": false,\n \"TLS1_1\": false,\n \"TLS1_2\": false,\n \"X_509Token\": false\n },\n \"System\": {\n \"DiscoveryBye\": true,\n \"DiscoveryResolve\": false,\n \"Extension\": {\n \"Extension\": \"\",\n \"HttpFirmwareUpgrade\": false,\n \"HttpSupportInformation\": false,\n \"HttpSystemBackup\": false,\n \"HttpSystemLogging\": false\n },\n \"FirmwareUpgrade\": false,\n \"RemoteDiscovery\": false,\n \"SupportedVersions\": {\n \"Major\": 20,\n \"Minor\": 6\n },\n \"SystemBackup\": false,\n \"SystemLogging\": false\n },\n \"XAddr\": \"http://10.0.0.127:2020/onvif/service\"\n },\n \"Events\": {\n \"WSPausableSubscriptionManagerInterfaceSupport\": false,\n \"WSPullPointSupport\": true,\n \"WSSubscriptionPolicySupport\": true,\n \"XAddr\": \"http://10.0.0.127:2020/onvif/service\"\n },\n \"Extension\": {\n \"AnalyticsDevice\": {\n \"Extension\": \"\",\n \"RuleSupport\": false,\n \"XAddr\": \"\"\n },\n \"DeviceIO\": {\n \"AudioOutputs\": 0,\n \"AudioSources\": 1,\n \"RelayOutputs\": 0,\n \"VideoOutputs\": 0,\n \"VideoSources\": 0,\n \"XAddr\": \"\"\n },\n \"Display\": {\n \"FixedLayout\": false,\n \"XAddr\": \"\"\n },\n \"Extensions\": \"\",\n \"Receiver\": {\n \"MaximumRTSPURILength\": 0,\n \"RTP_Multicast\": false,\n \"RTP_RTSP_TCP\": false,\n \"RTP_TCP\": false,\n \"SupportedReceivers\": 0,\n \"XAddr\": \"\"\n },\n \"Recording\": {\n \"DynamicRecordings\": false,\n \"DynamicTracks\": false,\n \"MaxStringLength\": 0,\n \"MediaProfileSource\": false,\n \"ReceiverSource\": false,\n \"XAddr\": \"\"\n },\n \"Replay\": {\n \"XAddr\": \"\"\n },\n \"Search\": {\n \"MetadataSearch\": false,\n \"XAddr\": \"\"\n }\n },\n \"Imaging\": {\n \"XAddr\": \"http://10.0.0.127:2020/onvif/service\"\n },\n \"Media\": {\n \"Extension\": {\n \"ProfileCapabilities\": {\n \"MaximumNumberOfProfiles\": 0\n }\n },\n \"StreamingCapabilities\": {\n \"Extension\": \"\",\n \"RTPMulticast\": false,\n \"RTP_RTSP_TCP\": true,\n \"RTP_TCP\": true\n },\n \"XAddr\": \"http://10.0.0.127:2020/onvif/service\"\n },\n \"PTZ\": {\n \"XAddr\": \"http://10.0.0.127:2020/onvif/service\"\n }\n }\n }\n }\n ]\n }\n}" } ] }, { "name": "DeviceCapabilities", "request": { "method": "GET", "header": [], "url": { "raw": "{{CORE_COMMAND_URL}}/api/v3/device/name/{{EDGEX_DEVICE_NAME}}/DeviceCapabilities", "host": [ "{{CORE_COMMAND_URL}}" ], "path": [ "api", "v3", "device", "name", "{{EDGEX_DEVICE_NAME}}", "DeviceCapabilities" ] } }, "response": [ { "name": "DeviceCapabilities", "originalRequest": { "method": "GET", "header": [], "url": { "raw": "{{CORE_COMMAND_URL}}/api/v3/device/name/{{EDGEX_DEVICE_NAME}}/DeviceCapabilities", "host": [ "{{CORE_COMMAND_URL}}" ], "path": [ "api", "v3", "device", "name", "{{EDGEX_DEVICE_NAME}}", "DeviceCapabilities" ] } }, "status": "OK", "code": 200, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/json" }, { "key": "X-Correlation-Id", "value": "89f4ab05-cda6-4adf-a094-dd5126ada900" }, { "key": "Date", "value": "Fri, 21 Oct 2022 22:33:28 GMT" }, { "key": "Content-Length", "value": "1553" } ], "cookie": [], "body": "{\n \"apiVersion\": \"v3\",\n \"statusCode\": 200,\n \"event\": {\n \"apiVersion\": \"v3\",\n \"id\": \"d78a2e7d-7662-4ffe-9bcb-f51774e3f4b9\",\n \"deviceName\": \"tp-link-Tapo-C200-3fa1fe68-b915-4053-a3e1-1027f5ea88f4\",\n \"profileName\": \"onvif-camera\",\n \"sourceName\": \"DeviceCapabilities\",\n \"origin\": 1666391608703045218,\n \"readings\": [\n {\n \"id\": \"7f5cf13f-385d-4eb5-a492-facf47e5b1e8\",\n \"origin\": 1666391608703045218,\n \"deviceName\": \"tp-link-Tapo-C200-3fa1fe68-b915-4053-a3e1-1027f5ea88f4\",\n \"resourceName\": \"DeviceCapabilities\",\n \"profileName\": \"onvif-camera\",\n \"valueType\": \"Object\",\n \"value\": \"\",\n \"objectValue\": {\n \"Capabilities\": {\n \"Misc\": {\n \"AuxiliaryCommands\": {\n \"AttrList\": null\n }\n },\n \"Network\": {\n \"DHCPv6\": false,\n \"Dot11Configuration\": true,\n \"Dot1XConfigurations\": 0,\n \"DynDNS\": false,\n \"HostnameFromDHCP\": false,\n \"IPFilter\": false,\n \"IPVersion6\": false,\n \"NTP\": 1,\n \"ZeroConfiguration\": false\n },\n \"Security\": {\n \"AccessPolicyConfig\": false,\n \"DefaultAccessPolicy\": false,\n \"Dot1X\": false,\n \"HttpDigest\": false,\n \"KerberosToken\": false,\n \"MaxPasswordLength\": 0,\n \"MaxUserNameLength\": 0,\n \"MaxUsers\": 0,\n \"OnboardKeyGeneration\": false,\n \"RELToken\": false,\n \"RemoteUserHandling\": false,\n \"SAMLToken\": false,\n \"SupportedEAPMethods\": {\n \"Types\": null\n },\n \"TLS1_0\": false,\n \"TLS1_1\": false,\n \"TLS1_2\": false,\n \"UsernameToken\": true,\n \"X_509Token\": false\n },\n \"System\": {\n \"AutoGeo\": {\n \"AttrList\": null\n },\n \"DiscoveryBye\": false,\n \"DiscoveryResolve\": false,\n \"FirmwareUpgrade\": false,\n \"GeoLocationEntries\": 0,\n \"HttpFirmwareUpgrade\": false,\n \"HttpSupportInformation\": false,\n \"HttpSystemBackup\": false,\n \"HttpSystemLogging\": false,\n \"MaxStorageConfigurations\": 0,\n \"RemoteDiscovery\": false,\n \"StorageConfiguration\": false,\n \"SystemBackup\": false,\n \"SystemLogging\": false\n }\n }\n }\n }\n ]\n }\n}" } ] }, { "name": "MediaCapabilities", "request": { "method": "GET", "header": [], "url": { "raw": "{{CORE_COMMAND_URL}}/api/v3/device/name/{{EDGEX_DEVICE_NAME}}/MediaCapabilities", "host": [ "{{CORE_COMMAND_URL}}" ], "path": [ "api", "v3", "device", "name", "{{EDGEX_DEVICE_NAME}}", "MediaCapabilities" ] } }, "response": [ { "name": "MediaCapabilities", "originalRequest": { "method": "GET", "header": [], "url": { "raw": "{{CORE_COMMAND_URL}}/api/v3/device/name/{{EDGEX_DEVICE_NAME}}/MediaCapabilities", "host": [ "{{CORE_COMMAND_URL}}" ], "path": [ "api", "v3", "device", "name", "{{EDGEX_DEVICE_NAME}}", "MediaCapabilities" ] } }, "status": "OK", "code": 200, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/json" }, { "key": "X-Correlation-Id", "value": "2e059569-6447-4e35-a87e-281ba9b27624" }, { "key": "Date", "value": "Fri, 21 Oct 2022 22:37:34 GMT" }, { "key": "Content-Length", "value": "861" } ], "cookie": [], "body": "{\n \"apiVersion\": \"v3\",\n \"statusCode\": 200,\n \"event\": {\n \"apiVersion\": \"v3\",\n \"id\": \"6d536924-265a-4f2d-b494-ccaa550af64f\",\n \"deviceName\": \"tp-link-Tapo-C200-3fa1fe68-b915-4053-a3e1-1027f5ea88f4\",\n \"profileName\": \"onvif-camera\",\n \"sourceName\": \"MediaCapabilities\",\n \"origin\": 1666391854866122819,\n \"readings\": [\n {\n \"id\": \"7d5788b9-f0c2-4d4a-be20-3256e9bd6368\",\n \"origin\": 1666391854866122819,\n \"deviceName\": \"tp-link-Tapo-C200-3fa1fe68-b915-4053-a3e1-1027f5ea88f4\",\n \"resourceName\": \"MediaCapabilities\",\n \"profileName\": \"onvif-camera\",\n \"valueType\": \"Object\",\n \"value\": \"\",\n \"objectValue\": {\n \"Capabilities\": {\n \"EXICompression\": false,\n \"OSD\": true,\n \"ProfileCapabilities\": {\n \"MaximumNumberOfProfiles\": 10\n },\n \"Rotation\": false,\n \"SnapshotUri\": false,\n \"StreamingCapabilities\": {\n \"NoRTSPStreaming\": true,\n \"NonAggregateControl\": true,\n \"RTPMulticast\": false,\n \"RTP_RTSP_TCP\": true,\n \"RTP_TCP\": true\n },\n \"TemporaryOSDText\": false,\n \"VideoSourceMode\": true\n }\n }\n }\n ]\n }\n}" } ] }, { "name": "PTZCapabilities", "request": { "method": "GET", "header": [], "url": { "raw": "{{CORE_COMMAND_URL}}/api/v3/device/name/{{EDGEX_DEVICE_NAME}}/PTZCapabilities", "host": [ "{{CORE_COMMAND_URL}}" ], "path": [ "api", "v3", "device", "name", "{{EDGEX_DEVICE_NAME}}", "PTZCapabilities" ] } }, "response": [ { "name": "PTZCapabilities", "originalRequest": { "method": "GET", "header": [], "url": { "raw": "{{CORE_COMMAND_URL}}/api/v3/device/name/{{EDGEX_DEVICE_NAME}}/PTZCapabilities", "host": [ "{{CORE_COMMAND_URL}}" ], "path": [ "api", "v3", "device", "name", "{{EDGEX_DEVICE_NAME}}", "PTZCapabilities" ] } }, "status": "OK", "code": 200, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/json" }, { "key": "X-Correlation-Id", "value": "e184e2c9-4535-48e9-9a44-1fbf936904c9" }, { "key": "Date", "value": "Fri, 21 Oct 2022 22:38:00 GMT" }, { "key": "Content-Length", "value": "658" } ], "cookie": [], "body": "{\n \"apiVersion\": \"v3\",\n \"statusCode\": 200,\n \"event\": {\n \"apiVersion\": \"v3\",\n \"id\": \"c9001dc2-902c-452f-9e9c-4822c86da942\",\n \"deviceName\": \"tp-link-Tapo-C200-3fa1fe68-b915-4053-a3e1-1027f5ea88f4\",\n \"profileName\": \"onvif-camera\",\n \"sourceName\": \"PTZCapabilities\",\n \"origin\": 1666391880436591372,\n \"readings\": [\n {\n \"id\": \"5886858d-668d-4bc3-bc1d-2aa6555c09fc\",\n \"origin\": 1666391880436591372,\n \"deviceName\": \"tp-link-Tapo-C200-3fa1fe68-b915-4053-a3e1-1027f5ea88f4\",\n \"resourceName\": \"PTZCapabilities\",\n \"profileName\": \"onvif-camera\",\n \"valueType\": \"Object\",\n \"value\": \"\",\n \"objectValue\": {\n \"Capabilities\": {\n \"EFlip\": true,\n \"GetCompatibleConfigurations\": true,\n \"MoveStatus\": false,\n \"Reverse\": true,\n \"StatusPosition\": false\n }\n }\n }\n ]\n }\n}" } ] }, { "name": "ImagingCapabilities", "request": { "method": "GET", "header": [], "url": { "raw": "{{CORE_COMMAND_URL}}/api/v3/device/name/{{EDGEX_DEVICE_NAME}}/ImagingCapabilities", "host": [ "{{CORE_COMMAND_URL}}" ], "path": [ "api", "v3", "device", "name", "{{EDGEX_DEVICE_NAME}}", "ImagingCapabilities" ] } }, "response": [] }, { "name": "EventCapabilities", "request": { "method": "GET", "header": [], "url": { "raw": "{{CORE_COMMAND_URL}}/api/v3/device/name/{{EDGEX_DEVICE_NAME}}/EventCapabilities", "host": [ "{{CORE_COMMAND_URL}}" ], "path": [ "api", "v3", "device", "name", "{{EDGEX_DEVICE_NAME}}", "EventCapabilities" ] } }, "response": [ { "name": "EventCapabilities", "originalRequest": { "method": "GET", "header": [], "url": { "raw": "{{CORE_COMMAND_URL}}/api/v3/device/name/{{EDGEX_DEVICE_NAME}}/EventCapabilities", "host": [ "{{CORE_COMMAND_URL}}" ], "path": [ "api", "v3", "device", "name", "{{EDGEX_DEVICE_NAME}}", "EventCapabilities" ] } }, "status": "OK", "code": 200, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/json" }, { "key": "X-Correlation-Id", "value": "4a7b0552-ac76-42b4-afb7-12804af45aac" }, { "key": "Date", "value": "Fri, 21 Oct 2022 22:38:22 GMT" }, { "key": "Content-Length", "value": "760" } ], "cookie": [], "body": "{\n \"apiVersion\": \"v3\",\n \"statusCode\": 200,\n \"event\": {\n \"apiVersion\": \"v3\",\n \"id\": \"746f8b0c-6ef7-4dc3-b32f-bef25790d2de\",\n \"deviceName\": \"tp-link-Tapo-C200-3fa1fe68-b915-4053-a3e1-1027f5ea88f4\",\n \"profileName\": \"onvif-camera\",\n \"sourceName\": \"EventCapabilities\",\n \"origin\": 1666391902948425069,\n \"readings\": [\n {\n \"id\": \"31c20970-a595-4689-8ac0-e16d258f8dba\",\n \"origin\": 1666391902948425069,\n \"deviceName\": \"tp-link-Tapo-C200-3fa1fe68-b915-4053-a3e1-1027f5ea88f4\",\n \"resourceName\": \"EventCapabilities\",\n \"profileName\": \"onvif-camera\",\n \"valueType\": \"Object\",\n \"value\": \"\",\n \"objectValue\": {\n \"Capabilities\": {\n \"MaxNotificationProducers\": 10,\n \"MaxPullPoints\": 10,\n \"PersistentNotificationStorage\": false,\n \"WSPausableSubscriptionManagerInterfaceSupport\": false,\n \"WSPullPointSupport\": true,\n \"WSSubscriptionPolicySupport\": false\n }\n }\n }\n ]\n }\n}" } ] } ] }, { "name": "Auto Discovery", "item": [ { "name": "DiscoveryMode", "request": { "method": "GET", "header": [], "url": { "raw": "{{CORE_COMMAND_URL}}/api/v3/device/name/{{EDGEX_DEVICE_NAME}}/DiscoveryMode", "host": [ "{{CORE_COMMAND_URL}}" ], "path": [ "api", "v3", "device", "name", "{{EDGEX_DEVICE_NAME}}", "DiscoveryMode" ] } }, "response": [ { "name": "GetDiscoveryMode", "originalRequest": { "method": "GET", "header": [], "url": { "raw": "{{CORE_COMMAND_URL}}/api/v3/device/name/{{EDGEX_DEVICE_NAME}}/DiscoveryMode", "host": [ "{{CORE_COMMAND_URL}}" ], "path": [ "api", "v3", "device", "name", "{{EDGEX_DEVICE_NAME}}", "DiscoveryMode" ] } }, "status": "OK", "code": 200, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/json" }, { "key": "X-Correlation-Id", "value": "e81b8fb3-4bc4-4aab-a56f-5ff1ed41c123" }, { "key": "Date", "value": "Thu, 04 Aug 2022 23:38:59 GMT" }, { "key": "Content-Length", "value": "553" } ], "cookie": [], "body": "{\n \"apiVersion\": \"v3\",\n \"statusCode\": 200,\n \"event\": {\n \"apiVersion\": \"v3\",\n \"id\": \"8155efce-41b5-412f-a25d-b63bed015d63\",\n \"deviceName\": \"TP-Link-C200-3fa1fe68-b915-4053-a3e1-1027f5ea88f4\",\n \"profileName\": \"onvif-camera\",\n \"sourceName\": \"DiscoveryMode\",\n \"origin\": 1659656339306907742,\n \"readings\": [\n {\n \"id\": \"099efd6b-d5fa-44a3-98f2-67eb72a1659f\",\n \"origin\": 1659656339306907742,\n \"deviceName\": \"TP-Link-C200-3fa1fe68-b915-4053-a3e1-1027f5ea88f4\",\n \"resourceName\": \"DiscoveryMode\",\n \"profileName\": \"onvif-camera\",\n \"valueType\": \"Object\",\n \"value\": \"\",\n \"objectValue\": {\n \"DiscoveryMode\": \"Discoverable\"\n }\n }\n ]\n }\n}" } ] }, { "name": "DiscoveryMode", "request": { "method": "PUT", "header": [], "body": { "mode": "raw", "raw": "{\n \"DiscoveryMode\": {\n \"DiscoveryMode\": \"Discoverable\"\n }\n}", "options": { "raw": { "language": "json" } } }, "url": { "raw": "{{CORE_COMMAND_URL}}/api/v3/device/name/{{EDGEX_DEVICE_NAME}}/DiscoveryMode", "host": [ "{{CORE_COMMAND_URL}}" ], "path": [ "api", "v3", "device", "name", "{{EDGEX_DEVICE_NAME}}", "DiscoveryMode" ] } }, "response": [ { "name": "DiscoveryMode", "originalRequest": { "method": "PUT", "header": [], "body": { "mode": "raw", "raw": "{\n \"DiscoveryMode\": {\n \"DiscoveryMode\": \"Discoverable\"\n }\n}", "options": { "raw": { "language": "json" } } }, "url": { "raw": "{{CORE_COMMAND_URL}}/api/v3/device/name/{{EDGEX_DEVICE_NAME}}/DiscoveryMode", "host": [ "{{CORE_COMMAND_URL}}" ], "path": [ "api", "v3", "device", "name", "{{EDGEX_DEVICE_NAME}}", "DiscoveryMode" ] } }, "status": "OK", "code": 200, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/json" }, { "key": "X-Correlation-Id", "value": "99ed7b8d-81cc-4046-8ac9-ea8dd9013fb2" }, { "key": "Date", "value": "Thu, 04 Aug 2022 23:39:15 GMT" }, { "key": "Content-Length", "value": "37" } ], "cookie": [], "body": "{\n \"apiVersion\": \"v3\",\n \"statusCode\": 200\n}" } ] }, { "name": "AddDiscoveryScopes", "request": { "method": "PUT", "header": [], "body": { "mode": "raw", "raw": "{\n \"AddDiscoveryScopes\": {\n \"ScopeItem\": [\n \"http//:123\"\n ]\n }\n}", "options": { "raw": { "language": "json" } } }, "url": { "raw": "{{CORE_COMMAND_URL}}/api/v3/device/name/{{EDGEX_DEVICE_NAME}}/AddDiscoveryScopes", "host": [ "{{CORE_COMMAND_URL}}" ], "path": [ "api", "v3", "device", "name", "{{EDGEX_DEVICE_NAME}}", "AddDiscoveryScopes" ] } }, "response": [ { "name": "Add Scopes", "originalRequest": { "method": "PUT", "header": [], "body": { "mode": "raw", "raw": "{\n \"AddDiscoveryScopes\":{\n \"ScopeItem\":[\n \"http//:123\"\n ]\n }\n}", "options": { "raw": { "language": "json" } } }, "url": { "raw": "{{CORE_COMMAND_URL}}/api/v3/device/name/{{EDGEX_DEVICE_NAME}}/AddDiscoveryScopes", "host": [ "{{CORE_COMMAND_URL}}" ], "path": [ "api", "v3", "device", "name", "{{EDGEX_DEVICE_NAME}}", "AddDiscoveryScopes" ] } }, "status": "OK", "code": 200, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/json" }, { "key": "X-Correlation-Id", "value": "6c1402e7-4516-4661-9ba7-b486dc20336f" }, { "key": "Date", "value": "Sun, 25 Sep 2022 03:41:03 GMT" }, { "key": "Content-Length", "value": "37" } ], "cookie": [], "body": "{\n \"apiVersion\": \"v3\",\n \"statusCode\": 200\n}" } ] }, { "name": "DiscoveryScopes", "request": { "method": "GET", "header": [], "url": { "raw": "{{CORE_COMMAND_URL}}/api/v3/device/name/{{EDGEX_DEVICE_NAME}}/DiscoveryScopes", "host": [ "{{CORE_COMMAND_URL}}" ], "path": [ "api", "v3", "device", "name", "{{EDGEX_DEVICE_NAME}}", "DiscoveryScopes" ] } }, "response": [ { "name": "DiscoveryScopes", "originalRequest": { "method": "GET", "header": [], "url": { "raw": "{{CORE_COMMAND_URL}}/api/v3/device/name/{{EDGEX_DEVICE_NAME}}/DiscoveryScopes", "host": [ "{{CORE_COMMAND_URL}}" ], "path": [ "api", "v3", "device", "name", "{{EDGEX_DEVICE_NAME}}", "DiscoveryScopes" ] } }, "status": "OK", "code": 200, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/json" }, { "key": "X-Correlation-Id", "value": "966fc4b2-a648-4bef-91fc-2aaf9f9310a7" }, { "key": "Date", "value": "Fri, 05 Aug 2022 00:27:08 GMT" }, { "key": "Content-Length", "value": "896" } ], "cookie": [], "body": "{\n \"apiVersion\": \"v3\",\n \"statusCode\": 200,\n \"event\": {\n \"apiVersion\": \"v3\",\n \"id\": \"05f573f4-0836-45ad-b9ba-c393f9927586\",\n \"deviceName\": \"TP-Link-C200-3fa1fe68-b915-4053-a3e1-1027f5ea88f4\",\n \"profileName\": \"onvif-camera\",\n \"sourceName\": \"DiscoveryScopes\",\n \"origin\": 1659659228090509033,\n \"readings\": [\n {\n \"id\": \"ea858652-cb16-432c-bf45-f9785cd00d85\",\n \"origin\": 1659659228090509033,\n \"deviceName\": \"TP-Link-C200-3fa1fe68-b915-4053-a3e1-1027f5ea88f4\",\n \"resourceName\": \"DiscoveryScopes\",\n \"profileName\": \"onvif-camera\",\n \"valueType\": \"Object\",\n \"value\": \"\",\n \"objectValue\": {\n \"Scopes\": [\n {\n \"ScopeDef\": \"Fixed\",\n \"ScopeItem\": \"onvif://www.onvif.org/name/TP-IPC\"\n },\n {\n \"ScopeDef\": \"Fixed\",\n \"ScopeItem\": \"onvif://www.onvif.org/hardware/MODEL\"\n },\n {\n \"ScopeDef\": \"Fixed\",\n \"ScopeItem\": \"onvif://www.onvif.org/Profile/Streaming\"\n },\n {\n \"ScopeDef\": \"Fixed\",\n \"ScopeItem\": \"onvif://www.onvif.org/location/ShenZhen\"\n },\n {\n \"ScopeDef\": \"Fixed\",\n \"ScopeItem\": \"onvif://www.onvif.org/type/NetworkVideoTransmitter\"\n }\n ]\n }\n }\n ]\n }\n}" } ] }, { "name": "DiscoveryScopes", "request": { "method": "PUT", "header": [], "body": { "mode": "raw", "raw": "{\n \"DiscoveryScopes\": {\n \"Scopes\": [\n \"http//:123\"\n ]\n }\n}", "options": { "raw": { "language": "json" } } }, "url": { "raw": "{{CORE_COMMAND_URL}}/api/v3/device/name/{{EDGEX_DEVICE_NAME}}/DiscoveryScopes", "host": [ "{{CORE_COMMAND_URL}}" ], "path": [ "api", "v3", "device", "name", "{{EDGEX_DEVICE_NAME}}", "DiscoveryScopes" ] } }, "response": [ { "name": "Put DiscoveryScopes", "originalRequest": { "method": "PUT", "header": [], "body": { "mode": "raw", "raw": "{\n \"DiscoveryScopes\":{\n \"Scopes\":[\n \"http//:123\"\n ]\n }\n}", "options": { "raw": { "language": "json" } } }, "url": { "raw": "{{CORE_COMMAND_URL}}/api/v3/device/name/{{EDGEX_DEVICE_NAME}}/DiscoveryScopes", "host": [ "{{CORE_COMMAND_URL}}" ], "path": [ "api", "v3", "device", "name", "{{EDGEX_DEVICE_NAME}}", "DiscoveryScopes" ] } }, "status": "OK", "code": 200, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/json" }, { "key": "X-Correlation-Id", "value": "0fa69e08-5b67-4b92-93c8-7cb642c2f43c" }, { "key": "Date", "value": "Sun, 25 Sep 2022 03:41:08 GMT" }, { "key": "Content-Length", "value": "37" } ], "cookie": [], "body": "{\n \"apiVersion\": \"v3\",\n \"statusCode\": 200\n}" } ] }, { "name": "RemoveDiscoveryScopes", "request": { "method": "PUT", "header": [], "body": { "mode": "raw", "raw": "{\n \"RemoveDiscoveryScopes\": {\n \"ScopeItem\": [\n \"onvif://www.onvif.org/name/Geovision\"\n ]\n }\n}", "options": { "raw": { "language": "json" } } }, "url": { "raw": "{{CORE_COMMAND_URL}}/api/v3/device/name/{{EDGEX_DEVICE_NAME}}/RemoveDiscoveryScopes", "host": [ "{{CORE_COMMAND_URL}}" ], "path": [ "api", "v3", "device", "name", "{{EDGEX_DEVICE_NAME}}", "RemoveDiscoveryScopes" ] } }, "response": [ { "name": "Remove DiscoveryScopes", "originalRequest": { "method": "PUT", "header": [], "body": { "mode": "raw", "raw": "{\n \"RemoveDiscoveryScopes\":{\n \"ScopeItem\":[\n \"onvif://www.onvif.org/name/Geovision\"\n ]\n }\n}", "options": { "raw": { "language": "json" } } }, "url": { "raw": "{{CORE_COMMAND_URL}}/api/v3/device/name/{{EDGEX_DEVICE_NAME}}/RemoveDiscoveryScopes", "host": [ "{{CORE_COMMAND_URL}}" ], "path": [ "api", "v3", "device", "name", "{{EDGEX_DEVICE_NAME}}", "RemoveDiscoveryScopes" ] } }, "status": "Internal Server Error", "code": 500, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/json" }, { "key": "X-Correlation-Id", "value": "1585c4fb-963a-4dc2-afa1-057559aedacc" }, { "key": "Date", "value": "Sun, 25 Sep 2022 03:41:12 GMT" }, { "key": "Content-Length", "value": "528" } ], "cookie": [], "body": "{\n \"apiVersion\": \"v3\",\n \"message\": \"request failed, status code: 500, err: {\\\"apiVersion\\\":\\\"v3\\\",\\\"message\\\":\\\"error writing DeviceResourece RemoveDiscoveryScopes for Intel-SimCamera-003caffe-6392-4bb2-a5a4-f027d2e89ee1 -\\\\u003e failed to execute write command, \\\\u003cnil\\\\u003e -\\\\u003e invalid request for the function 'RemoveDiscoveryScopes' of web service 'Device'. Onvif error: fault reason: Trying to Remove scope which does not exist, fault detail: , fault code: s:Sender ter:InvalidArgVal ter:NoScope\\\",\\\"statusCode\\\":500}\",\n \"statusCode\": 500\n}" } ] }, { "name": "EndpointReference", "request": { "method": "GET", "header": [], "url": { "raw": "{{CORE_COMMAND_URL}}/api/v3/device/name/{{EDGEX_DEVICE_NAME}}/EndpointReference", "host": [ "{{CORE_COMMAND_URL}}" ], "path": [ "api", "v3", "device", "name", "{{EDGEX_DEVICE_NAME}}", "EndpointReference" ] } }, "response": [] } ] }, { "name": "Network Configuration", "item": [ { "name": "Hostname", "request": { "method": "GET", "header": [], "url": { "raw": "{{CORE_COMMAND_URL}}/api/v3/device/name/{{EDGEX_DEVICE_NAME}}/Hostname", "host": [ "{{CORE_COMMAND_URL}}" ], "path": [ "api", "v3", "device", "name", "{{EDGEX_DEVICE_NAME}}", "Hostname" ] } }, "response": [ { "name": "Hostname", "originalRequest": { "method": "GET", "header": [], "url": { "raw": "{{CORE_COMMAND_URL}}/api/v3/device/name/{{EDGEX_DEVICE_NAME}}/Hostname", "host": [ "{{CORE_COMMAND_URL}}" ], "path": [ "api", "v3", "device", "name", "{{EDGEX_DEVICE_NAME}}", "Hostname" ] } }, "status": "OK", "code": 200, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/json" }, { "key": "X-Correlation-Id", "value": "08d01c8d-a9cd-4ece-b8e6-4a052af9e391" }, { "key": "Date", "value": "Thu, 04 Aug 2022 23:26:14 GMT" }, { "key": "Content-Length", "value": "571" } ], "cookie": [], "body": "{\n \"apiVersion\": \"v3\",\n \"statusCode\": 200,\n \"event\": {\n \"apiVersion\": \"v3\",\n \"id\": \"6ad6d2d6-51af-4084-8a6a-952928942732\",\n \"deviceName\": \"TP-Link-C200-3fa1fe68-b915-4053-a3e1-1027f5ea88f4\",\n \"profileName\": \"onvif-camera\",\n \"sourceName\": \"Hostname\",\n \"origin\": 1659655574277981114,\n \"readings\": [\n {\n \"id\": \"b8e4ba90-2aeb-4336-a5ca-923456cff383\",\n \"origin\": 1659655574277981114,\n \"deviceName\": \"TP-Link-C200-3fa1fe68-b915-4053-a3e1-1027f5ea88f4\",\n \"resourceName\": \"Hostname\",\n \"profileName\": \"onvif-camera\",\n \"valueType\": \"Object\",\n \"value\": \"\",\n \"objectValue\": {\n \"HostnameInformation\": {\n \"FromDHCP\": false,\n \"Name\": \"hostname\"\n }\n }\n }\n ]\n }\n}" } ] }, { "name": "Hostname", "request": { "method": "PUT", "header": [], "body": { "mode": "raw", "raw": "{\n \"Hostname\": {\n \"Name\": \"localhost555\"\n }\n}", "options": { "raw": { "language": "json" } } }, "url": { "raw": "{{CORE_COMMAND_URL}}/api/v3/device/name/{{EDGEX_DEVICE_NAME}}/Hostname", "host": [ "{{CORE_COMMAND_URL}}" ], "path": [ "api", "v3", "device", "name", "{{EDGEX_DEVICE_NAME}}", "Hostname" ] } }, "response": [ { "name": "SetHostname", "originalRequest": { "method": "PUT", "header": [], "body": { "mode": "raw", "raw": "{\n \"Hostname\": {\n \"Name\": \"localhost555\"\n }\n}", "options": { "raw": { "language": "json" } } }, "url": { "raw": "{{CORE_COMMAND_URL}}/api/v3/device/name/{{EDGEX_DEVICE_NAME}}/Hostname", "host": [ "{{CORE_COMMAND_URL}}" ], "path": [ "api", "v3", "device", "name", "{{EDGEX_DEVICE_NAME}}", "Hostname" ] } }, "status": "OK", "code": 200, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/json" }, { "key": "X-Correlation-Id", "value": "8ff7406a-6544-4c19-9205-9c81e24cb090" }, { "key": "Date", "value": "Fri, 23 Sep 2022 16:18:17 GMT" }, { "key": "Content-Length", "value": "37" } ], "cookie": [], "body": "{\n \"apiVersion\": \"v3\",\n \"statusCode\": 200\n}" } ] }, { "name": "DNS", "protocolProfileBehavior": { "disableBodyPruning": true }, "request": { "method": "GET", "header": [], "body": { "mode": "raw", "raw": "{\n \"SetDNS\": {\n \"FromDHCP\": false,\n \"DNSManual\": {\n \"Type\": \"IPv4\",\n \"IPv4Address\": \"192.168.12.1\"\n }\n }\n}", "options": { "raw": { "language": "json" } } }, "url": { "raw": "{{CORE_COMMAND_URL}}/api/v3/device/name/{{EDGEX_DEVICE_NAME}}/DNS", "host": [ "{{CORE_COMMAND_URL}}" ], "path": [ "api", "v3", "device", "name", "{{EDGEX_DEVICE_NAME}}", "DNS" ] } }, "response": [ { "name": "DNS", "originalRequest": { "method": "GET", "header": [], "url": { "raw": "{{CORE_COMMAND_URL}}/api/v3/device/name/{{EDGEX_DEVICE_NAME}}/DNS", "host": [ "{{CORE_COMMAND_URL}}" ], "path": [ "api", "v3", "device", "name", "{{EDGEX_DEVICE_NAME}}", "DNS" ] } }, "status": "OK", "code": 200, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/json" }, { "key": "X-Correlation-Id", "value": "2ea12175-ffa2-4db7-a917-737d849c0865" }, { "key": "Date", "value": "Tue, 27 Sep 2022 08:04:40 GMT" }, { "key": "Content-Length", "value": "618" } ], "cookie": [], "body": "{\n \"apiVersion\": \"v3\",\n \"statusCode\": 200,\n \"event\": {\n \"apiVersion\": \"v3\",\n \"id\": \"b45c64e4-1e1b-49c5-a1b9-d83f15e280b2\",\n \"deviceName\": \"HIKVISION-DS-2DC4223IW-DE-3bd4c000-b1b9-11b3-8202-4cf5dc64a22c\",\n \"profileName\": \"onvif-camera\",\n \"sourceName\": \"DNS\",\n \"origin\": 1664265880674763475,\n \"readings\": [\n {\n \"id\": \"548e6841-0914-4e9c-935e-c58320a998a8\",\n \"origin\": 1664265880674763475,\n \"deviceName\": \"HIKVISION-DS-2DC4223IW-DE-3bd4c000-b1b9-11b3-8202-4cf5dc64a22c\",\n \"resourceName\": \"DNS\",\n \"profileName\": \"onvif-camera\",\n \"valueType\": \"Object\",\n \"value\": \"\",\n \"objectValue\": {\n \"DNSInformation\": {\n \"DNSManual\": {\n \"IPv4Address\": \"223.5.5.5\",\n \"Type\": \"IPv4\"\n },\n \"FromDHCP\": false\n }\n }\n }\n ]\n }\n}" } ] }, { "name": "DNS", "request": { "method": "PUT", "header": [], "body": { "mode": "raw", "raw": "{\n \"DNS\": {\n \"FromDHCP\": true,\n \"DNSManual\": {\n \"Type\": \"IPv4\",\n \"IPv4Address\": \"192.168.12.1\"\n }\n }\n}", "options": { "raw": { "language": "json" } } }, "url": { "raw": "{{CORE_COMMAND_URL}}/api/v3/device/name/{{EDGEX_DEVICE_NAME}}/DNS", "host": [ "{{CORE_COMMAND_URL}}" ], "path": [ "api", "v3", "device", "name", "{{EDGEX_DEVICE_NAME}}", "DNS" ] } }, "response": [ { "name": "SetDNS", "originalRequest": { "method": "PUT", "header": [], "body": { "mode": "raw", "raw": "{\n \"DNS\": {\n \"FromDHCP\": true,\n \"DNSManual\": {\n \"Type\": \"IPv4\",\n \"IPv4Address\": \"192.168.12.1\"\n }\n }\n}", "options": { "raw": { "language": "json" } } }, "url": { "raw": "{{CORE_COMMAND_URL}}/api/v3/device/name/{{EDGEX_DEVICE_NAME}}/DNS", "host": [ "{{CORE_COMMAND_URL}}" ], "path": [ "api", "v3", "device", "name", "{{EDGEX_DEVICE_NAME}}", "DNS" ] } }, "status": "OK", "code": 200, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/json" }, { "key": "X-Correlation-Id", "value": "f596f4f6-812f-4124-a502-f427f3a8ac7b" }, { "key": "Date", "value": "Fri, 23 Sep 2022 16:19:16 GMT" }, { "key": "Content-Length", "value": "37" } ], "cookie": [], "body": "{\n \"apiVersion\": \"v3\",\n \"statusCode\": 200\n}" } ] }, { "name": "NetworkInterfaces", "request": { "method": "GET", "header": [], "url": { "raw": "{{CORE_COMMAND_URL}}/api/v3/device/name/{{EDGEX_DEVICE_NAME}}/NetworkInterfaces", "host": [ "{{CORE_COMMAND_URL}}" ], "path": [ "api", "v3", "device", "name", "{{EDGEX_DEVICE_NAME}}", "NetworkInterfaces" ] } }, "response": [ { "name": "NetworkInterfaces", "originalRequest": { "method": "GET", "header": [], "url": { "raw": "{{CORE_COMMAND_URL}}/api/v3/device/name/{{EDGEX_DEVICE_NAME}}/NetworkInterfaces", "host": [ "{{CORE_COMMAND_URL}}" ], "path": [ "api", "v3", "device", "name", "{{EDGEX_DEVICE_NAME}}", "NetworkInterfaces" ] } }, "status": "OK", "code": 200, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/json" }, { "key": "X-Correlation-Id", "value": "241016a3-ff95-4002-9499-81e793002f9c" }, { "key": "Date", "value": "Thu, 04 Aug 2022 23:28:29 GMT" }, { "key": "Content-Length", "value": "748" } ], "cookie": [], "body": "{\n \"apiVersion\": \"v3\",\n \"statusCode\": 200,\n \"event\": {\n \"apiVersion\": \"v3\",\n \"id\": \"acc3a74d-852a-4c0c-bf31-dbc06d8a0782\",\n \"deviceName\": \"TP-Link-C200-3fa1fe68-b915-4053-a3e1-1027f5ea88f4\",\n \"profileName\": \"onvif-camera\",\n \"sourceName\": \"NetworkInterfaces\",\n \"origin\": 1659655709817960403,\n \"readings\": [\n {\n \"id\": \"74571fe4-731a-4925-99eb-7d4c317834f6\",\n \"origin\": 1659655709817960403,\n \"deviceName\": \"TP-Link-C200-3fa1fe68-b915-4053-a3e1-1027f5ea88f4\",\n \"resourceName\": \"NetworkInterfaces\",\n \"profileName\": \"onvif-camera\",\n \"valueType\": \"Object\",\n \"value\": \"\",\n \"objectValue\": {\n \"NetworkInterfaces\": {\n \"Enabled\": true,\n \"IPv4\": {\n \"Config\": {\n \"DHCP\": false,\n \"Manual\": {\n \"Address\": \"10.0.0.195\",\n \"PrefixLength\": 24\n }\n },\n \"Enabled\": true\n },\n \"Info\": {\n \"HwAddress\": \"10:27:F5:EA:88:F4\",\n \"MTU\": 1500,\n \"Name\": \"eth0\"\n },\n \"Token\": \"eth0\"\n }\n }\n }\n ]\n }\n}" } ] }, { "name": "NetworkInterfaces", "request": { "method": "PUT", "header": [], "body": { "mode": "raw", "raw": "{\n \"NetworkInterfaces\": {\n \"InterfaceToken\": \"eth0\",\n \"NetworkInterface\": {\n \"Enabled\": true,\n \"IPv4\": {\n \"DHCP\": true\n }\n }\n }\n}", "options": { "raw": { "language": "json" } } }, "url": { "raw": "{{CORE_COMMAND_URL}}/api/v3/device/name/{{EDGEX_DEVICE_NAME}}/NetworkInterfaces", "host": [ "{{CORE_COMMAND_URL}}" ], "path": [ "api", "v3", "device", "name", "{{EDGEX_DEVICE_NAME}}", "NetworkInterfaces" ] } }, "response": [ { "name": "SetNetworkInterfaces", "originalRequest": { "method": "PUT", "header": [], "body": { "mode": "raw", "raw": "{\n \"NetworkInterfaces\": {\n \"InterfaceToken\": \"eth0\",\n \"NetworkInterface\": {\n \"Enabled\": true,\n \"IPv4\": {\n \"DHCP\": true\n }\n }\n \n }\n}", "options": { "raw": { "language": "json" } } }, "url": { "raw": "{{CORE_COMMAND_URL}}/api/v3/device/name/{{EDGEX_DEVICE_NAME}}/NetworkInterfaces", "host": [ "{{CORE_COMMAND_URL}}" ], "path": [ "api", "v3", "device", "name", "{{EDGEX_DEVICE_NAME}}", "NetworkInterfaces" ] } }, "status": "OK", "code": 200, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/json" }, { "key": "X-Correlation-Id", "value": "1ccf5e8a-352b-4a85-8ea7-71f9333a5bf4" }, { "key": "Date", "value": "Fri, 23 Sep 2022 16:19:43 GMT" }, { "key": "Content-Length", "value": "37" } ], "cookie": [], "body": "{\n \"apiVersion\": \"v3\",\n \"statusCode\": 200\n}" } ] }, { "name": "NetworkProtocols", "request": { "method": "GET", "header": [], "url": { "raw": "{{CORE_COMMAND_URL}}/api/v3/device/name/{{EDGEX_DEVICE_NAME}}/NetworkProtocols", "host": [ "{{CORE_COMMAND_URL}}" ], "path": [ "api", "v3", "device", "name", "{{EDGEX_DEVICE_NAME}}", "NetworkProtocols" ] } }, "response": [ { "name": "NetworkProtocols", "originalRequest": { "method": "GET", "header": [], "url": { "raw": "{{CORE_COMMAND_URL}}/api/v3/device/name/{{EDGEX_DEVICE_NAME}}/NetworkProtocols", "host": [ "{{CORE_COMMAND_URL}}" ], "path": [ "api", "v3", "device", "name", "{{EDGEX_DEVICE_NAME}}", "NetworkProtocols" ] } }, "status": "OK", "code": 200, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/json" }, { "key": "X-Correlation-Id", "value": "96d41685-1184-43f4-a5bf-580fcb5f7011" }, { "key": "Date", "value": "Fri, 05 Aug 2022 03:59:36 GMT" }, { "key": "Content-Length", "value": "634" } ], "cookie": [], "body": "{\n \"apiVersion\": \"v3\",\n \"statusCode\": 200,\n \"event\": {\n \"apiVersion\": \"v3\",\n \"id\": \"193b3677-23c8-4d89-852e-73a1aabf445e\",\n \"deviceName\": \"TP-Link-C200-3fa1fe68-b915-4053-a3e1-1027f5ea88f4\",\n \"profileName\": \"onvif-camera\",\n \"sourceName\": \"NetworkProtocols\",\n \"origin\": 1659671976670370385,\n \"readings\": [\n {\n \"id\": \"d3a47ec4-3b43-413a-9a67-42f54487cfa5\",\n \"origin\": 1659671976670370385,\n \"deviceName\": \"TP-Link-C200-3fa1fe68-b915-4053-a3e1-1027f5ea88f4\",\n \"resourceName\": \"NetworkProtocols\",\n \"profileName\": \"onvif-camera\",\n \"valueType\": \"Object\",\n \"value\": \"\",\n \"objectValue\": {\n \"NetworkProtocols\": [\n {\n \"Enabled\": true,\n \"Name\": \"HTTPS\",\n \"Port\": 443\n },\n {\n \"Enabled\": true,\n \"Name\": \"RTSP\",\n \"Port\": 554\n }\n ]\n }\n }\n ]\n }\n}" } ] }, { "name": "NetworkProtocols", "request": { "method": "PUT", "header": [], "body": { "mode": "raw", "raw": "{\n \"NetworkProtocols\": {\n \"NetworkProtocols\": [\n {\n \"Name\": \"HTTP\",\n \"Enabled\": true,\n \"Port\": 2020\n },\n {\n \"Name\": \"HTTPS\",\n \"Enabled\": false,\n \"Port\": 443\n },\n {\n \"Name\": \"RTSP\",\n \"Enabled\": true,\n \"Port\": 554\n }\n ]\n }\n}", "options": { "raw": { "language": "json" } } }, "url": { "raw": "{{CORE_COMMAND_URL}}/api/v3/device/name/{{EDGEX_DEVICE_NAME}}/NetworkProtocols", "host": [ "{{CORE_COMMAND_URL}}" ], "path": [ "api", "v3", "device", "name", "{{EDGEX_DEVICE_NAME}}", "NetworkProtocols" ] } }, "response": [ { "name": "SetNetworkProtocols", "originalRequest": { "method": "PUT", "header": [], "body": { "mode": "raw", "raw": "{\n \"NetworkProtocols\": {\n \"NetworkProtocols\": [\n {\n \"Name\": \"HTTP\",\n \"Enabled\": true,\n \"Port\": 2020\n },\n {\n \"Name\": \"HTTPS\",\n \"Enabled\": false,\n \"Port\": 443\n },\n {\n \"Name\": \"RTSP\",\n \"Enabled\": true,\n \"Port\": 554\n }\n ]\n } \n}", "options": { "raw": { "language": "json" } } }, "url": { "raw": "{{CORE_COMMAND_URL}}/api/v3/device/name/{{EDGEX_DEVICE_NAME}}/NetworkProtocols", "host": [ "{{CORE_COMMAND_URL}}" ], "path": [ "api", "v3", "device", "name", "{{EDGEX_DEVICE_NAME}}", "NetworkProtocols" ] } }, "status": "OK", "code": 200, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/json" }, { "key": "X-Correlation-Id", "value": "a7f75e35-bb5c-46b2-a502-c269c574a7b0" }, { "key": "Date", "value": "Fri, 23 Sep 2022 16:26:38 GMT" }, { "key": "Content-Length", "value": "37" } ], "cookie": [], "body": "{\n \"apiVersion\": \"v3\",\n \"statusCode\": 200\n}" } ] }, { "name": "NetworkDefaultGateway", "protocolProfileBehavior": { "disableBodyPruning": true }, "request": { "method": "GET", "header": [], "body": { "mode": "raw", "raw": "{\n \"SetDNS\": {\n \"FromDHCP\": false,\n \"DNSManual\": {\n \"Type\": \"IPv4\",\n \"IPv4Address\": \"192.168.12.1\"\n }\n }\n}", "options": { "raw": { "language": "json" } } }, "url": { "raw": "{{CORE_COMMAND_URL}}/api/v3/device/name/{{EDGEX_DEVICE_NAME}}/NetworkDefaultGateway", "host": [ "{{CORE_COMMAND_URL}}" ], "path": [ "api", "v3", "device", "name", "{{EDGEX_DEVICE_NAME}}", "NetworkDefaultGateway" ] } }, "response": [ { "name": "NetworkDefaultGateway", "originalRequest": { "method": "GET", "header": [], "url": { "raw": "{{CORE_COMMAND_URL}}/api/v3/device/name/{{EDGEX_DEVICE_NAME}}/NetworkDefaultGateway", "host": [ "{{CORE_COMMAND_URL}}" ], "path": [ "api", "v3", "device", "name", "{{EDGEX_DEVICE_NAME}}", "NetworkDefaultGateway" ] } }, "status": "OK", "code": 200, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/json" }, { "key": "X-Correlation-Id", "value": "b71da6d5-4e6b-4557-b6ed-707bb0bd3426" }, { "key": "Date", "value": "Tue, 27 Sep 2022 09:09:25 GMT" }, { "key": "Content-Length", "value": "628" } ], "cookie": [], "body": "{\n \"apiVersion\": \"v3\",\n \"statusCode\": 200,\n \"event\": {\n \"apiVersion\": \"v3\",\n \"id\": \"66991bcb-ff04-4680-af91-aefe449d517c\",\n \"deviceName\": \"HIKVISION-DS-2DC4223IW-DE-3bd4c000-b1b9-11b3-8202-4cf5dc64a22c\",\n \"profileName\": \"onvif-camera\",\n \"sourceName\": \"NetworkDefaultGateway\",\n \"origin\": 1664269765488074339,\n \"readings\": [\n {\n \"id\": \"4c8c2ca4-2c0c-49eb-8c8d-e21209813445\",\n \"origin\": 1664269765488074339,\n \"deviceName\": \"HIKVISION-DS-2DC4223IW-DE-3bd4c000-b1b9-11b3-8202-4cf5dc64a22c\",\n \"resourceName\": \"NetworkDefaultGateway\",\n \"profileName\": \"onvif-camera\",\n \"valueType\": \"Object\",\n \"value\": \"\",\n \"objectValue\": {\n \"NetworkGateway\": {\n \"IPv4Address\": \"10.0.20.1\",\n \"IPv6Address\": \"::\"\n }\n }\n }\n ]\n }\n}" } ] }, { "name": "NetworkDefaultGateway", "request": { "method": "PUT", "header": [], "body": { "mode": "raw", "raw": "{\n \"NetworkDefaultGateway\": {\n \"IPv4Address\": \"192.168.12.1\"\n }\n}", "options": { "raw": { "language": "json" } } }, "url": { "raw": "{{CORE_COMMAND_URL}}/api/v3/device/name/{{EDGEX_DEVICE_NAME}}/NetworkDefaultGateway", "host": [ "{{CORE_COMMAND_URL}}" ], "path": [ "api", "v3", "device", "name", "{{EDGEX_DEVICE_NAME}}", "NetworkDefaultGateway" ] } }, "response": [ { "name": "SetNetworkDefaultGateway", "originalRequest": { "method": "PUT", "header": [], "body": { "mode": "raw", "raw": "{\n \"NetworkDefaultGateway\": {\n \"IPv4Address\": \"192.168.12.1\"\n } \n}", "options": { "raw": { "language": "json" } } }, "url": { "raw": "{{CORE_COMMAND_URL}}/api/v3/device/name/{{EDGEX_DEVICE_NAME}}/NetworkDefaultGateway", "host": [ "{{CORE_COMMAND_URL}}" ], "path": [ "api", "v3", "device", "name", "{{EDGEX_DEVICE_NAME}}", "NetworkDefaultGateway" ] } }, "status": "OK", "code": 200, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/json" }, { "key": "X-Correlation-Id", "value": "84ab80db-4334-49e7-a956-e2ce4aab9b99" }, { "key": "Date", "value": "Fri, 23 Sep 2022 16:26:55 GMT" }, { "key": "Content-Length", "value": "37" } ], "cookie": [], "body": "{\n \"apiVersion\": \"v3\",\n \"statusCode\": 200\n}" } ] }, { "name": "NetworkConfiguration", "protocolProfileBehavior": { "disableBodyPruning": true }, "request": { "method": "GET", "header": [], "body": { "mode": "raw", "raw": "{\n \"SetDNS\": {\n \"FromDHCP\": false,\n \"DNSManual\": {\n \"Type\": \"IPv4\",\n \"IPv4Address\": \"192.168.12.1\"\n }\n }\n}", "options": { "raw": { "language": "json" } } }, "url": { "raw": "{{CORE_COMMAND_URL}}/api/v3/device/name/{{EDGEX_DEVICE_NAME}}/NetworkConfiguration", "host": [ "{{CORE_COMMAND_URL}}" ], "path": [ "api", "v3", "device", "name", "{{EDGEX_DEVICE_NAME}}", "NetworkConfiguration" ] }, "description": "Used to retrieve network resources for a device such as Hostname, DNS, NetworkInterfaces, NetworkProtocols and NetworkDefaultGateway." }, "response": [ { "name": "NetworkConfiguration", "originalRequest": { "method": "GET", "header": [], "url": { "raw": "{{CORE_COMMAND_URL}}/api/v3/device/name/{{EDGEX_DEVICE_NAME}}/NetworkConfiguration", "host": [ "{{CORE_COMMAND_URL}}" ], "path": [ "api", "v3", "device", "name", "{{EDGEX_DEVICE_NAME}}", "NetworkConfiguration" ] } }, "status": "OK", "code": 200, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/json" }, { "key": "X-Correlation-Id", "value": "eef44832-ed52-4799-be75-9d247984114f" }, { "key": "Date", "value": "Thu, 04 Aug 2022 23:42:57 GMT" }, { "key": "Content-Length", "value": "1944" } ], "cookie": [], "body": "{\n \"apiVersion\": \"v3\",\n \"statusCode\": 200,\n \"event\": {\n \"apiVersion\": \"v3\",\n \"id\": \"b34fe9d1-78f9-4b49-961b-80a252e084c4\",\n \"deviceName\": \"TP-Link-C200-3fa1fe68-b915-4053-a3e1-1027f5ea88f4\",\n \"profileName\": \"onvif-camera\",\n \"sourceName\": \"NetworkConfiguration\",\n \"origin\": 1659656577804929222,\n \"readings\": [\n {\n \"id\": \"67e318f5-4426-48ff-8235-4a2471e47baf\",\n \"origin\": 1659656577804929222,\n \"deviceName\": \"TP-Link-C200-3fa1fe68-b915-4053-a3e1-1027f5ea88f4\",\n \"resourceName\": \"Hostname\",\n \"profileName\": \"onvif-camera\",\n \"valueType\": \"Object\",\n \"value\": \"\",\n \"objectValue\": {\n \"HostnameInformation\": {\n \"FromDHCP\": false,\n \"Name\": \"hostname\"\n }\n }\n },\n {\n \"id\": \"76cfd2b5-f178-4d16-88d1-6b04f129a867\",\n \"origin\": 1659656577804929222,\n \"deviceName\": \"TP-Link-C200-3fa1fe68-b915-4053-a3e1-1027f5ea88f4\",\n \"resourceName\": \"DNS\",\n \"profileName\": \"onvif-camera\",\n \"valueType\": \"Object\",\n \"value\": \"\",\n \"objectValue\": {\n \"DNSInformation\": {}\n }\n },\n {\n \"id\": \"301b79ab-c92d-4a3f-9776-9a71f6c3c340\",\n \"origin\": 1659656577804929222,\n \"deviceName\": \"TP-Link-C200-3fa1fe68-b915-4053-a3e1-1027f5ea88f4\",\n \"resourceName\": \"NetworkInterfaces\",\n \"profileName\": \"onvif-camera\",\n \"valueType\": \"Object\",\n \"value\": \"\",\n \"objectValue\": {\n \"NetworkInterfaces\": {\n \"Enabled\": true,\n \"IPv4\": {\n \"Config\": {\n \"DHCP\": false,\n \"Manual\": {\n \"Address\": \"10.0.0.188\",\n \"PrefixLength\": 24\n }\n },\n \"Enabled\": true\n },\n \"Info\": {\n \"HwAddress\": \"10:27:F5:EA:88:F4\",\n \"MTU\": 1500,\n \"Name\": \"eth0\"\n },\n \"Token\": \"eth0\"\n }\n }\n },\n {\n \"id\": \"cc1d5230-06a8-4515-822e-187ba07d0efc\",\n \"origin\": 1659656577804929222,\n \"deviceName\": \"TP-Link-C200-3fa1fe68-b915-4053-a3e1-1027f5ea88f4\",\n \"resourceName\": \"NetworkProtocols\",\n \"profileName\": \"onvif-camera\",\n \"valueType\": \"Object\",\n \"value\": \"\",\n \"objectValue\": {\n \"NetworkProtocols\": [\n {\n \"Enabled\": true,\n \"Name\": \"HTTPS\",\n \"Port\": 443\n },\n {\n \"Enabled\": true,\n \"Name\": \"RTSP\",\n \"Port\": 554\n }\n ]\n }\n },\n {\n \"id\": \"81f9c4e6-1cfd-487a-a05b-b8ea5b39ffcf\",\n \"origin\": 1659656577804929222,\n \"deviceName\": \"TP-Link-C200-3fa1fe68-b915-4053-a3e1-1027f5ea88f4\",\n \"resourceName\": \"NetworkDefaultGateway\",\n \"profileName\": \"onvif-camera\",\n \"valueType\": \"Object\",\n \"value\": \"\",\n \"objectValue\": {\n \"NetworkGateway\": {}\n }\n }\n ]\n }\n}" } ] }, { "name": "NetworkConfiguration", "request": { "method": "PUT", "header": [], "body": { "mode": "raw", "raw": "{\n \"Hostname\": {\n \"Name\": \"localhost\"\n },\n \"DNS\": {\n \"FromDHCP\": false,\n \"DNSManual\": {\n \"Type\": \"IPv4\",\n \"IPv4Address\": \"192.168.12.1\"\n }\n },\n \"NetworkInterfaces\": {\n \"InterfaceToken\": \"eth0\",\n \"NetworkInterface\": {\n \"Enabled\": true,\n \"IPv4\": {\n \"DHCP\": false\n }\n }\n },\n \"NetworkProtocols\": {\n \"NetworkProtocols\": [\n {\n \"Name\": \"HTTP\",\n \"Enabled\": true,\n \"Port\": 80\n }\n ]\n },\n \"NetworkDefaultGateway\": {\n \"IPv4Address\": \"192.168.12.1\"\n }\n}", "options": { "raw": { "language": "json" } } }, "url": { "raw": "{{CORE_COMMAND_URL}}/api/v3/device/name/{{EDGEX_DEVICE_NAME}}/NetworkConfiguration", "host": [ "{{CORE_COMMAND_URL}}" ], "path": [ "api", "v3", "device", "name", "{{EDGEX_DEVICE_NAME}}", "NetworkConfiguration" ] }, "description": "Used to configure network resources for a device such as Hostname, DNS, NetworkInterfaces, NetworkProtocols and NetworkDefaultGateway." }, "response": [ { "name": "SetNetworkConfiguration", "originalRequest": { "method": "PUT", "header": [], "body": { "mode": "raw", "raw": "{\n \"Hostname\": {\n \"Name\": \"localhost\"\n },\n \"DNS\": {\n \"FromDHCP\": false,\n \"DNSManual\": {\n \"Type\": \"IPv4\",\n \"IPv4Address\": \"192.168.12.1\"\n }\n },\n \"NetworkInterfaces\": {\n \"InterfaceToken\": \"eth0\",\n \"NetworkInterface\": {\n \"Enabled\": true,\n \"IPv4\": {\n \"DHCP\": false\n }\n }\n \n },\n \"NetworkProtocols\": {\n \"NetworkProtocols\": [ \n {\n \"Name\": \"HTTP\",\n \"Enabled\": true,\n \"Port\": 80\n }\n ]\n },\n \"NetworkDefaultGateway\": {\n \"IPv4Address\": \"192.168.12.1\"\n }\n}", "options": { "raw": { "language": "json" } } }, "url": { "raw": "{{CORE_COMMAND_URL}}/api/v3/device/name/{{EDGEX_DEVICE_NAME}}/NetworkConfiguration", "host": [ "{{CORE_COMMAND_URL}}" ], "path": [ "api", "v3", "device", "name", "{{EDGEX_DEVICE_NAME}}", "NetworkConfiguration" ] }, "description": "Onvif Protocol Specification [https://www.onvif.org/ver10/device/wsdl/devicemgmt.wsdl](https://www.onvif.org/ver10/device/wsdl/devicemgmt.wsdl)" }, "status": "OK", "code": 200, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/json" }, { "key": "X-Correlation-Id", "value": "2955d163-0007-4fa3-9a2c-267510c01e44" }, { "key": "Date", "value": "Fri, 23 Sep 2022 23:10:59 GMT" }, { "key": "Content-Length", "value": "37" } ], "cookie": [], "body": "{\n \"apiVersion\": \"v3\",\n \"statusCode\": 200\n}" } ] } ] }, { "name": "System Function", "item": [ { "name": "DeviceInformation", "request": { "method": "GET", "header": [], "url": { "raw": "{{CORE_COMMAND_URL}}/api/v3/device/name/{{EDGEX_DEVICE_NAME}}/DeviceInformation", "host": [ "{{CORE_COMMAND_URL}}" ], "path": [ "api", "v3", "device", "name", "{{EDGEX_DEVICE_NAME}}", "DeviceInformation" ] } }, "response": [ { "name": "DeviceInformation", "originalRequest": { "method": "GET", "header": [], "url": { "raw": "{{CORE_COMMAND_URL}}/api/v3/device/name/{{EDGEX_DEVICE_NAME}}/DeviceInformation", "host": [ "{{CORE_COMMAND_URL}}" ], "path": [ "api", "v3", "device", "name", "{{EDGEX_DEVICE_NAME}}", "DeviceInformation" ] } }, "status": "OK", "code": 200, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/json" }, { "key": "X-Correlation-Id", "value": "76d81da0-eba7-4e98-9d92-b60560c20a94" }, { "key": "Date", "value": "Fri, 05 Aug 2022 04:14:17 GMT" }, { "key": "Content-Length", "value": "672" } ], "cookie": [], "body": "{\n \"apiVersion\": \"v3\",\n \"statusCode\": 200,\n \"event\": {\n \"apiVersion\": \"v3\",\n \"id\": \"a025e1b1-7e2b-4db8-95b6-7dac978e9c97\",\n \"deviceName\": \"TP-Link-C200-3fa1fe68-b915-4053-a3e1-1027f5ea88f4\",\n \"profileName\": \"onvif-camera\",\n \"sourceName\": \"DeviceInformation\",\n \"origin\": 1659672857568971786,\n \"readings\": [\n {\n \"id\": \"3039ffbc-165a-46ef-849b-95c7df9aacfa\",\n \"origin\": 1659672857568971786,\n \"deviceName\": \"TP-Link-C200-3fa1fe68-b915-4053-a3e1-1027f5ea88f4\",\n \"resourceName\": \"DeviceInformation\",\n \"profileName\": \"onvif-camera\",\n \"valueType\": \"Object\",\n \"value\": \"\",\n \"objectValue\": {\n \"FirmwareVersion\": \"1.1.16 Build 211209 Rel.37726n(4555)\",\n \"HardwareId\": \"1.0\",\n \"Manufacturer\": \"TP-Link\",\n \"Model\": \"C200\",\n \"SerialNumber\": \"00c20000\"\n }\n }\n ]\n }\n}" } ] }, { "name": "SystemDateAndTime", "protocolProfileBehavior": { "disableBodyPruning": true }, "request": { "method": "GET", "header": [], "body": { "mode": "raw", "raw": "{\n \"SetDNS\": {\n \"FromDHCP\": false,\n \"DNSManual\": {\n \"Type\": \"IPv4\",\n \"IPv4Address\": \"192.168.12.1\"\n }\n }\n}", "options": { "raw": { "language": "json" } } }, "url": { "raw": "{{CORE_COMMAND_URL}}/api/v3/device/name/{{EDGEX_DEVICE_NAME}}/SystemDateAndTime", "host": [ "{{CORE_COMMAND_URL}}" ], "path": [ "api", "v3", "device", "name", "{{EDGEX_DEVICE_NAME}}", "SystemDateAndTime" ] } }, "response": [ { "name": "SystemDateAndTime", "originalRequest": { "method": "GET", "header": [], "url": { "raw": "{{CORE_COMMAND_URL}}/api/v3/device/name/{{EDGEX_DEVICE_NAME}}/SystemDateAndTime", "host": [ "{{CORE_COMMAND_URL}}" ], "path": [ "api", "v3", "device", "name", "{{EDGEX_DEVICE_NAME}}", "SystemDateAndTime" ] } }, "status": "OK", "code": 200, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/json" }, { "key": "X-Correlation-Id", "value": "81f90086-d959-4f35-9bf6-9b814d7a10c4" }, { "key": "Date", "value": "Fri, 05 Aug 2022 04:14:25 GMT" }, { "key": "Content-Length", "value": "886" } ], "cookie": [], "body": "{\n \"apiVersion\": \"v3\",\n \"statusCode\": 200,\n \"event\": {\n \"apiVersion\": \"v3\",\n \"id\": \"da6f552e-e4b3-4d75-a2ce-989745b8ef7b\",\n \"deviceName\": \"TP-Link-C200-3fa1fe68-b915-4053-a3e1-1027f5ea88f4\",\n \"profileName\": \"onvif-camera\",\n \"sourceName\": \"SystemDateAndTime\",\n \"origin\": 1659672865881317546,\n \"readings\": [\n {\n \"id\": \"aa61a541-beb5-4be0-bb7a-625ce60a980e\",\n \"origin\": 1659672865881317546,\n \"deviceName\": \"TP-Link-C200-3fa1fe68-b915-4053-a3e1-1027f5ea88f4\",\n \"resourceName\": \"SystemDateAndTime\",\n \"profileName\": \"onvif-camera\",\n \"valueType\": \"Object\",\n \"value\": \"\",\n \"objectValue\": {\n \"SystemDateAndTime\": {\n \"DateTimeType\": \"NTP\",\n \"DaylightSavings\": true,\n \"Extension\": \"\",\n \"LocalDateTime\": {\n \"Date\": {\n \"Month\": \"8\",\n \"Year\": \"2022\",\n \"Day\": \"11\"\n },\n \"Time\": {\n \"Hour\": \"21\",\n \"Minute\": \"14\",\n \"Second\": \"25\"\n }\n },\n \"TimeZone\": {\n \"TZ\": \"GMT+08:00DST+07:00,M3.2.0/02:00:00,M11.1.0/02:00:00\\n\"\n },\n \"UTCDateTime\": {\n \"Date\": {\n \"Month\": \"8\",\n \"Year\": \"2022\",\n \"Day\": \"11\"\n },\n \"Time\": {\n \"Hour\": \"4\",\n \"Minute\": \"14\",\n \"Second\": \"25\"\n }\n }\n }\n }\n }\n ]\n }\n}" } ] }, { "name": "SystemDateAndTime", "request": { "method": "PUT", "header": [], "body": { "mode": "raw", "raw": "{\n \"SystemDateAndTime\": {\n \"DateTimeType\": \"Manual\",\n \"DaylightSavings\": false,\n \"UTCDateTime\": {\n \"Date\": {\n \"Month\": 12,\n \"Year\": 2021,\n \"Day\": 11\n },\n \"Time\": {\n \"Hour\": 5,\n \"Minute\": 48,\n \"Second\": 20\n }\n }\n }\n}", "options": { "raw": { "language": "json" } } }, "url": { "raw": "{{CORE_COMMAND_URL}}/api/v3/device/name/{{EDGEX_DEVICE_NAME}}/SystemDateAndTime", "host": [ "{{CORE_COMMAND_URL}}" ], "path": [ "api", "v3", "device", "name", "{{EDGEX_DEVICE_NAME}}", "SystemDateAndTime" ] } }, "response": [ { "name": "SetSystemDateAndTime", "originalRequest": { "method": "PUT", "header": [], "body": { "mode": "raw", "raw": "{\n \"SystemDateAndTime\": {\n \"DateTimeType\":\"Manual\",\n \"DaylightSavings\": false,\n \"UTCDateTime\": {\n \"Date\": {\n \"Month\": 12,\n \"Year\": 2021,\n \"Day\": 11\n\n },\n \"Time\": {\n \"Hour\": 5,\n \"Minute\": 48,\n \"Second\": 20\n }\n }\n }\n}", "options": { "raw": { "language": "json" } } }, "url": { "raw": "{{CORE_COMMAND_URL}}/api/v3/device/name/{{EDGEX_DEVICE_NAME}}/SystemDateAndTime", "host": [ "{{CORE_COMMAND_URL}}" ], "path": [ "api", "v3", "device", "name", "{{EDGEX_DEVICE_NAME}}", "SystemDateAndTime" ] } }, "status": "OK", "code": 200, "_postman_previewlanguage": "json", "header": [ { "key": "X-Correlation-Id", "value": "fb9339bb-b588-49f8-82b1-d0da167897c0" } ], "cookie": [], "body": "{\n \"apiVersion\": \"v3\",\n \"statusCode\": 200\n}" } ] }, { "name": "SystemFactoryDefault", "request": { "method": "PUT", "header": [], "body": { "mode": "raw", "raw": "{\n \"SystemFactoryDefault\": {\n \"FactoryDefault\": \"Soft\"\n }\n}", "options": { "raw": { "language": "json" } } }, "url": { "raw": "{{CORE_COMMAND_URL}}/api/v3/device/name/{{EDGEX_DEVICE_NAME}}/SystemFactoryDefault", "host": [ "{{CORE_COMMAND_URL}}" ], "path": [ "api", "v3", "device", "name", "{{EDGEX_DEVICE_NAME}}", "SystemFactoryDefault" ] } }, "response": [ { "name": "SystemFactoryDefault", "originalRequest": { "method": "PUT", "header": [], "body": { "mode": "raw", "raw": "{\n \"SystemFactoryDefault\": {\n \"FactoryDefault\":\"Soft\"\n }\n}", "options": { "raw": { "language": "json" } } }, "url": { "raw": "{{CORE_COMMAND_URL}}/api/v3/device/name/{{EDGEX_DEVICE_NAME}}/SystemFactoryDefault", "host": [ "{{CORE_COMMAND_URL}}" ], "path": [ "api", "v3", "device", "name", "{{EDGEX_DEVICE_NAME}}", "SystemFactoryDefault" ] } }, "status": "OK", "code": 200, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/json" }, { "key": "X-Correlation-Id", "value": "fb9339bb-b588-49f8-82b1-d0da167897c0" }, { "key": "Date", "value": "Fri, 23 Sep 2022 16:27:07 GMT" }, { "key": "Content-Length", "value": "37" } ], "cookie": [], "body": "{\n \"apiVersion\": \"v3\",\n \"statusCode\": 200\n}" } ] }, { "name": "RebootNeeded", "request": { "method": "GET", "header": [], "url": { "raw": "{{CORE_COMMAND_URL}}/api/v3/device/name/{{EDGEX_DEVICE_NAME}}/RebootNeeded", "host": [ "{{CORE_COMMAND_URL}}" ], "path": [ "api", "v3", "device", "name", "{{EDGEX_DEVICE_NAME}}", "RebootNeeded" ] }, "description": "Indicates whether or not a reboot is required after configuration updates." }, "response": [ { "name": "RebootNeeded", "originalRequest": { "method": "GET", "header": [], "url": { "raw": "{{CORE_COMMAND_URL}}/api/v3/device/name/{{EDGEX_DEVICE_NAME}}/RebootNeeded", "host": [ "{{CORE_COMMAND_URL}}" ], "path": [ "api", "v3", "device", "name", "{{EDGEX_DEVICE_NAME}}", "RebootNeeded" ] } }, "status": "OK", "code": 200, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/json" }, { "key": "X-Correlation-Id", "value": "88967d2b-dc04-4cd8-9cad-9c82c92ded44" }, { "key": "Date", "value": "Fri, 05 Aug 2022 04:14:42 GMT" }, { "key": "Content-Length", "value": "507" } ], "cookie": [], "body": "{\n \"apiVersion\": \"v3\",\n \"statusCode\": 200,\n \"event\": {\n \"apiVersion\": \"v3\",\n \"id\": \"cb3b3a49-86e4-44e3-b2a0-426b08168ae1\",\n \"deviceName\": \"TP-Link-C200-3fa1fe68-b915-4053-a3e1-1027f5ea88f4\",\n \"profileName\": \"onvif-camera\",\n \"sourceName\": \"RebootNeeded\",\n \"origin\": 1659672882772484274,\n \"readings\": [\n {\n \"id\": \"f56f48df-d664-4179-98d1-abcb496f07bc\",\n \"origin\": 1659672882772484274,\n \"deviceName\": \"TP-Link-C200-3fa1fe68-b915-4053-a3e1-1027f5ea88f4\",\n \"resourceName\": \"RebootNeeded\",\n \"profileName\": \"onvif-camera\",\n \"valueType\": \"Bool\",\n \"value\": \"false\"\n }\n ]\n }\n}" } ] }, { "name": "SystemReboot", "request": { "method": "PUT", "header": [], "body": { "mode": "raw", "raw": "{\n \"SystemReboot\": {}\n}", "options": { "raw": { "language": "json" } } }, "url": { "raw": "{{CORE_COMMAND_URL}}/api/v3/device/name/{{EDGEX_DEVICE_NAME}}/SystemReboot", "host": [ "{{CORE_COMMAND_URL}}" ], "path": [ "api", "v3", "device", "name", "{{EDGEX_DEVICE_NAME}}", "SystemReboot" ] } }, "response": [ { "name": "SystemReboot", "originalRequest": { "method": "PUT", "header": [], "body": { "mode": "raw", "raw": "{\n \"SystemReboot\": {}\n}", "options": { "raw": { "language": "json" } } }, "url": { "raw": "{{CORE_COMMAND_URL}}/api/v3/device/name/{{EDGEX_DEVICE_NAME}}/SystemReboot", "host": [ "{{CORE_COMMAND_URL}}" ], "path": [ "api", "v3", "device", "name", "{{EDGEX_DEVICE_NAME}}", "SystemReboot" ] }, "description": "Indicates whether or not a reboot is required after configuration updates." }, "status": "OK", "code": 200, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/json" }, { "key": "X-Correlation-Id", "value": "0b194034-4975-4f5b-8141-63ec88666987" }, { "key": "Date", "value": "Fri, 07 Oct 2022 21:55:59 GMT" }, { "key": "Content-Length", "value": "37" } ], "cookie": [], "body": "{\n \"apiVersion\": \"v3\",\n \"statusCode\": 200\n}" } ] } ] }, { "name": "User Handling", "item": [ { "name": "Users", "request": { "method": "GET", "header": [], "url": { "raw": "{{CORE_COMMAND_URL}}/api/v3/device/name/{{EDGEX_DEVICE_NAME}}/Users", "host": [ "{{CORE_COMMAND_URL}}" ], "path": [ "api", "v3", "device", "name", "{{EDGEX_DEVICE_NAME}}", "Users" ] } }, "response": [ { "name": "Users", "originalRequest": { "method": "GET", "header": [], "url": { "raw": "{{CORE_COMMAND_URL}}/api/v3/device/name/{{EDGEX_DEVICE_NAME}}/Users", "host": [ "{{CORE_COMMAND_URL}}" ], "path": [ "api", "v3", "device", "name", "{{EDGEX_DEVICE_NAME}}", "Users" ] } }, "status": "OK", "code": 200, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/json" }, { "key": "X-Correlation-Id", "value": "16c7a0fe-a3fc-4b4f-a8e3-110ba2f0325a" }, { "key": "Date", "value": "Sun, 25 Sep 2022 03:40:38 GMT" }, { "key": "Content-Length", "value": "609" } ], "cookie": [], "body": "{\n \"apiVersion\": \"v3\",\n \"statusCode\": 200,\n \"event\": {\n \"apiVersion\": \"v3\",\n \"id\": \"8e524ecd-674d-4dd8-b728-de78b8245189\",\n \"deviceName\": \"Intel-SimCamera-003caffe-6392-4bb2-a5a4-f027d2e89ee1\",\n \"profileName\": \"onvif-camera\",\n \"sourceName\": \"Users\",\n \"origin\": 1664077238993899589,\n \"readings\": [\n {\n \"id\": \"f5086b88-9876-4627-91d5-7ce39431652e\",\n \"origin\": 1664077238993899589,\n \"deviceName\": \"Intel-SimCamera-003caffe-6392-4bb2-a5a4-f027d2e89ee1\",\n \"resourceName\": \"Users\",\n \"profileName\": \"onvif-camera\",\n \"valueType\": \"Object\",\n \"value\": \"\",\n \"objectValue\": {\n \"User\": [\n {\n \"UserLevel\": \"Administrator\",\n \"Username\": \"admin\"\n },\n {\n \"UserLevel\": \"User\",\n \"Username\": \"user\"\n }\n ]\n }\n }\n ]\n }\n}" } ] }, { "name": "Users", "request": { "method": "PUT", "header": [], "body": { "mode": "raw", "raw": "{\n \"Users\": {\n \"User\": [\n {\n \"Username\": \"user1\",\n \"Password\": \"Password1!\",\n \"UserLevel\": \"Administrator\"\n },\n {\n \"Username\": \"user2\",\n \"Password\": \"Password1!\",\n \"UserLevel\": \"Operator\"\n }\n ]\n }\n}", "options": { "raw": { "language": "json" } } }, "url": { "raw": "{{CORE_COMMAND_URL}}/api/v3/device/name/{{EDGEX_DEVICE_NAME}}/Users", "host": [ "{{CORE_COMMAND_URL}}" ], "path": [ "api", "v3", "device", "name", "{{EDGEX_DEVICE_NAME}}", "Users" ] } }, "response": [ { "name": "Users", "originalRequest": { "method": "PUT", "header": [], "body": { "mode": "raw", "raw": "{\n \"Users\": {\n \"User\": [\n {\n \"Username\": \"user1\",\n \"Password\": \"Password1!\",\n \"UserLevel\": \"Administrator\"\n },\n {\n \"Username\": \"user2\",\n \"Password\": \"Password1!\",\n \"UserLevel\": \"Operator\"\n }\n ]\n }\n}", "options": { "raw": { "language": "json" } } }, "url": { "raw": "{{CORE_COMMAND_URL}}/api/v3/device/name/{{EDGEX_DEVICE_NAME}}/Users", "host": [ "{{CORE_COMMAND_URL}}" ], "path": [ "api", "v3", "device", "name", "{{EDGEX_DEVICE_NAME}}", "Users" ] } }, "status": "OK", "code": 200, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/json" }, { "key": "X-Correlation-Id", "value": "bc42d5ca-4132-47e5-b159-98ca2aa1cdb8" }, { "key": "Date", "value": "Sun, 25 Sep 2022 03:40:53 GMT" }, { "key": "Content-Length", "value": "37" } ], "cookie": [], "body": "{\n \"apiVersion\": \"v3\",\n \"statusCode\": 200\n}" } ] }, { "name": "CreateUsers", "request": { "method": "PUT", "header": [], "body": { "mode": "raw", "raw": "{\n \"CreateUsers\": {\n \"User\": [\n {\n \"Username\": \"user1\",\n \"Password\": \"Password1!\",\n \"UserLevel\": \"User\"\n },\n {\n \"Username\": \"user2\",\n \"Password\": \"Password1!\",\n \"UserLevel\": \"User\"\n }\n ]\n }\n}", "options": { "raw": { "language": "json" } } }, "url": { "raw": "{{CORE_COMMAND_URL}}/api/v3/device/name/{{EDGEX_DEVICE_NAME}}/CreateUsers", "host": [ "{{CORE_COMMAND_URL}}" ], "path": [ "api", "v3", "device", "name", "{{EDGEX_DEVICE_NAME}}", "CreateUsers" ] } }, "response": [ { "name": "Create Users", "originalRequest": { "method": "PUT", "header": [], "body": { "mode": "raw", "raw": "{\n \"CreateUsers\": {\n \"User\": [\n {\n \"Username\": \"user1\",\n \"Password\": \"Password1!\",\n \"UserLevel\": \"User\"\n },\n {\n \"Username\": \"user2\",\n \"Password\": \"Password1!\",\n \"UserLevel\": \"User\"\n }\n ]\n }\n}", "options": { "raw": { "language": "json" } } }, "url": { "raw": "" } }, "status": "OK", "code": 200, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/json" }, { "key": "X-Correlation-Id", "value": "e772e887-419e-4647-ae97-59722fbc7317" }, { "key": "Date", "value": "Sun, 25 Sep 2022 03:40:48 GMT" }, { "key": "Content-Length", "value": "37" } ], "cookie": [], "body": "{\n \"apiVersion\": \"v3\",\n \"statusCode\": 200\n}" } ] }, { "name": "DeleteUsers", "request": { "method": "PUT", "header": [], "body": { "mode": "raw", "raw": "{\n \"DeleteUsers\": {\n \"Username\": [\n \"user1\",\n \"user2\"\n ]\n }\n}", "options": { "raw": { "language": "json" } } }, "url": { "raw": "{{CORE_COMMAND_URL}}/api/v3/device/name/{{EDGEX_DEVICE_NAME}}/DeleteUsers", "host": [ "{{CORE_COMMAND_URL}}" ], "path": [ "api", "v3", "device", "name", "{{EDGEX_DEVICE_NAME}}", "DeleteUsers" ] } }, "response": [ { "name": "Delete users", "originalRequest": { "method": "PUT", "header": [], "body": { "mode": "raw", "raw": "{\n \"DeleteUsers\": {\n \"Username\": [\"user1\",\"user2\"]\n }\n}", "options": { "raw": { "language": "json" } } }, "url": { "raw": "{{CORE_COMMAND_URL}}/api/v3/device/name/{{EDGEX_DEVICE_NAME}}/DeleteUsers", "host": [ "{{CORE_COMMAND_URL}}" ], "path": [ "api", "v3", "device", "name", "{{EDGEX_DEVICE_NAME}}", "DeleteUsers" ] } }, "status": "OK", "code": 200, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/json" }, { "key": "X-Correlation-Id", "value": "12780a21-c3b4-42b1-9e46-11369a5926de" }, { "key": "Date", "value": "Sun, 25 Sep 2022 03:40:57 GMT" }, { "key": "Content-Length", "value": "37" } ], "cookie": [], "body": "{\n \"apiVersion\": \"v3\",\n \"statusCode\": 200\n}" } ] } ] }, { "name": "Metadata Configuration", "item": [ { "name": "MetadataConfigurations", "request": { "method": "GET", "header": [], "url": { "raw": "{{CORE_COMMAND_URL}}/api/v3/device/name/{{EDGEX_DEVICE_NAME}}/MetadataConfigurations", "host": [ "{{CORE_COMMAND_URL}}" ], "path": [ "api", "v3", "device", "name", "{{EDGEX_DEVICE_NAME}}", "MetadataConfigurations" ] } }, "response": [ { "name": "MetadataConfigurations", "originalRequest": { "method": "GET", "header": [], "url": { "raw": "{{CORE_COMMAND_URL}}/api/v3/device/name/{{EDGEX_DEVICE_NAME}}/MetadataConfigurations", "host": [ "{{CORE_COMMAND_URL}}" ], "path": [ "api", "v3", "device", "name", "{{EDGEX_DEVICE_NAME}}", "MetadataConfigurations" ] } }, "status": "OK", "code": 200, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/json" }, { "key": "X-Correlation-Id", "value": "d7a8609b-2810-4069-8d57-4700397af545" }, { "key": "Date", "value": "Tue, 27 Sep 2022 09:50:01 GMT" }, { "key": "Content-Length", "value": "853" } ], "cookie": [], "body": "{\n \"apiVersion\": \"v3\",\n \"statusCode\": 200,\n \"event\": {\n \"apiVersion\": \"v3\",\n \"id\": \"95eae089-a594-4af6-b827-c0cd689034e1\",\n \"deviceName\": \"HIKVISION-DS-2DC4223IW-DE-3bd4c000-b1b9-11b3-8202-4cf5dc64a22c\",\n \"profileName\": \"onvif-camera\",\n \"sourceName\": \"MetadataConfigurations\",\n \"origin\": 1664272201400116525,\n \"readings\": [\n {\n \"id\": \"147f3297-6d21-4c9d-b0f9-241f1ca0528c\",\n \"origin\": 1664272201400116525,\n \"deviceName\": \"HIKVISION-DS-2DC4223IW-DE-3bd4c000-b1b9-11b3-8202-4cf5dc64a22c\",\n \"resourceName\": \"MetadataConfigurations\",\n \"profileName\": \"onvif-camera\",\n \"valueType\": \"Object\",\n \"value\": \"\",\n \"objectValue\": {\n \"Configurations\": {\n \"Analytics\": false,\n \"AnalyticsEngineConfiguration\": {},\n \"Multicast\": {\n \"Address\": {\n \"IPv4Address\": \"0.0.0.0\",\n \"Type\": \"IPv4\"\n },\n \"AutoStart\": false,\n \"Port\": 8864,\n \"TTL\": 128\n },\n \"Name\": \"metaData\",\n \"PTZStatus\": {\n \"Position\": false,\n \"Status\": false\n },\n \"SessionTimeout\": \"PT5S\",\n \"Token\": \"MetaDataToken\"\n }\n }\n }\n ]\n }\n}" } ] }, { "name": "MetadataConfiguration", "request": { "method": "GET", "header": [], "url": { "raw": "{{CORE_COMMAND_URL}}/api/v3/device/name/{{EDGEX_DEVICE_NAME}}/MetadataConfiguration?jsonObject={{EDGEX_MEDIA_CONFIG_TOKEN_BASE64}}", "host": [ "{{CORE_COMMAND_URL}}" ], "path": [ "api", "v3", "device", "name", "{{EDGEX_DEVICE_NAME}}", "MetadataConfiguration" ], "query": [ { "key": "jsonObject", "value": "{{EDGEX_MEDIA_CONFIG_TOKEN_BASE64}}" } ] } }, "response": [ { "name": "GetMetadataConfiguration", "originalRequest": { "method": "GET", "header": [], "url": { "raw": "{{CORE_COMMAND_URL}}/api/v3/device/name/{{EDGEX_DEVICE_NAME}}/MetadataConfiguration?jsonObject={{EDGEX_MEDIA_CONFIG_TOKEN_BASE64}}", "host": [ "{{CORE_COMMAND_URL}}" ], "path": [ "api", "v3", "device", "name", "{{EDGEX_DEVICE_NAME}}", "MetadataConfiguration" ], "query": [ { "key": "jsonObject", "value": "{{EDGEX_MEDIA_CONFIG_TOKEN_BASE64}}" } ] } }, "status": "OK", "code": 200, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/json" }, { "key": "X-Correlation-Id", "value": "b8d0916b-d340-40e4-a034-219f6c19ed03" }, { "key": "Date", "value": "Tue, 27 Sep 2022 09:55:13 GMT" }, { "key": "Content-Length", "value": "863" } ], "cookie": [], "body": "{\n \"apiVersion\": \"v3\",\n \"statusCode\": 200,\n \"event\": {\n \"apiVersion\": \"v3\",\n \"id\": \"239e1b98-d000-4bc5-8bd8-8287817b756f\",\n \"deviceName\": \"HIKVISION-DS-2DC4223IW-DE-3bd4c000-b1b9-11b3-8202-4cf5dc64a22c\",\n \"profileName\": \"onvif-camera\",\n \"sourceName\": \"MetadataConfiguration\",\n \"origin\": 1664272513018240840,\n \"readings\": [\n {\n \"id\": \"ab630702-05d5-4c97-98d0-fa23b16e72cc\",\n \"origin\": 1664272513018240840,\n \"deviceName\": \"HIKVISION-DS-2DC4223IW-DE-3bd4c000-b1b9-11b3-8202-4cf5dc64a22c\",\n \"resourceName\": \"MetadataConfiguration\",\n \"profileName\": \"onvif-camera\",\n \"valueType\": \"Object\",\n \"value\": \"\",\n \"objectValue\": {\n \"Configuration\": {\n \"Analytics\": false,\n \"AnalyticsEngineConfiguration\": {},\n \"Multicast\": {\n \"Address\": {\n \"IPv4Address\": \"0.0.0.0\",\n \"Type\": \"IPv4\"\n },\n \"AutoStart\": false,\n \"Port\": 8864,\n \"TTL\": 128\n },\n \"Name\": \"metaData\",\n \"PTZStatus\": {\n \"Position\": false,\n \"Status\": false\n },\n \"SessionTimeout\": \"PT5S\",\n \"Token\": \"MetaDataToken\",\n \"UseCount\": 1\n }\n }\n }\n ]\n }\n}" } ] }, { "name": "MetadataConfiguration", "request": { "method": "PUT", "header": [], "body": { "mode": "raw", "raw": "{\n \"MetadataConfiguration\": {\n \"ForcePersistence\": true,\n \"Configuration\": {\n \"token\": \"{{MEDIA_CONFIG_TOKEN}}\",\n \"Analytics\": true\n }\n }\n}", "options": { "raw": { "language": "json" } } }, "url": { "raw": "{{CORE_COMMAND_URL}}/api/v3/device/name/{{EDGEX_DEVICE_NAME}}/MetadataConfiguration", "host": [ "{{CORE_COMMAND_URL}}" ], "path": [ "api", "v3", "device", "name", "{{EDGEX_DEVICE_NAME}}", "MetadataConfiguration" ] } }, "response": [ { "name": "SetMetadataConfiguration", "originalRequest": { "method": "PUT", "header": [], "body": { "mode": "raw", "raw": "{\n \"MetadataConfiguration\": {\n \"ForcePersistence\": true,\n \"Configuration\":{\n \"token\": \"{{MEDIA_CONFIG_TOKEN}}\",\n \"Analytics\": true\n }\n \n }\n}", "options": { "raw": { "language": "json" } } }, "url": { "raw": "{{CORE_COMMAND_URL}}/api/v3/device/name/{{EDGEX_DEVICE_NAME}}/MetadataConfiguration", "host": [ "{{CORE_COMMAND_URL}}" ], "path": [ "api", "v3", "device", "name", "{{EDGEX_DEVICE_NAME}}", "MetadataConfiguration" ] } }, "status": "OK", "code": 200, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/json" }, { "key": "X-Correlation-Id", "value": "f9b22e19-bfba-4bb3-84bf-48ed200b9cf1" }, { "key": "Date", "value": "Fri, 23 Sep 2022 23:13:37 GMT" }, { "key": "Content-Length", "value": "37" } ], "cookie": [], "body": "{\n \"apiVersion\": \"v3\",\n \"statusCode\": 200\n}" } ] }, { "name": "CompatibleMetadataConfigurations", "request": { "method": "GET", "header": [], "url": { "raw": "{{CORE_COMMAND_URL}}/api/v3/device/name/{{EDGEX_DEVICE_NAME}}/CompatibleMetadataConfigurations?jsonObject={{EDGEX_MEDIA_PROFILE_BASE64}}", "host": [ "{{CORE_COMMAND_URL}}" ], "path": [ "api", "v3", "device", "name", "{{EDGEX_DEVICE_NAME}}", "CompatibleMetadataConfigurations" ], "query": [ { "key": "jsonObject", "value": "{{EDGEX_MEDIA_PROFILE_BASE64}}" } ] } }, "response": [ { "name": "GetCompatibleMetadataConfigurations", "originalRequest": { "method": "GET", "header": [], "url": { "raw": "{{CORE_COMMAND_URL}}/api/v3/device/name/{{EDGEX_DEVICE_NAME}}/CompatibleMetadataConfigurations?jsonObject={{EDGEX_MEDIA_PROFILE_BASE64}}", "host": [ "{{CORE_COMMAND_URL}}" ], "path": [ "api", "v3", "device", "name", "{{EDGEX_DEVICE_NAME}}", "CompatibleMetadataConfigurations" ], "query": [ { "key": "jsonObject", "value": "{{EDGEX_MEDIA_PROFILE_BASE64}}" } ] } }, "status": "OK", "code": 200, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/json" }, { "key": "X-Correlation-Id", "value": "d538b93f-8ae7-4275-922a-f81977817b64" }, { "key": "Date", "value": "Tue, 27 Sep 2022 09:52:49 GMT" }, { "key": "Content-Length", "value": "886" } ], "cookie": [], "body": "{\n \"apiVersion\": \"v3\",\n \"statusCode\": 200,\n \"event\": {\n \"apiVersion\": \"v3\",\n \"id\": \"37a0130d-d555-44f2-ab9c-6214617eca32\",\n \"deviceName\": \"HIKVISION-DS-2DC4223IW-DE-3bd4c000-b1b9-11b3-8202-4cf5dc64a22c\",\n \"profileName\": \"onvif-camera\",\n \"sourceName\": \"CompatibleMetadataConfigurations\",\n \"origin\": 1664272369409217715,\n \"readings\": [\n {\n \"id\": \"86fb41fc-48e7-455f-bb66-78c8f556a21e\",\n \"origin\": 1664272369409217715,\n \"deviceName\": \"HIKVISION-DS-2DC4223IW-DE-3bd4c000-b1b9-11b3-8202-4cf5dc64a22c\",\n \"resourceName\": \"CompatibleMetadataConfigurations\",\n \"profileName\": \"onvif-camera\",\n \"valueType\": \"Object\",\n \"value\": \"\",\n \"objectValue\": {\n \"Configurations\": {\n \"Analytics\": false,\n \"AnalyticsEngineConfiguration\": {},\n \"Multicast\": {\n \"Address\": {\n \"IPv4Address\": \"0.0.0.0\",\n \"Type\": \"IPv4\"\n },\n \"AutoStart\": false,\n \"Port\": 8864,\n \"TTL\": 128\n },\n \"Name\": \"metaData\",\n \"PTZStatus\": {\n \"Position\": false,\n \"Status\": false\n },\n \"SessionTimeout\": \"PT5S\",\n \"Token\": \"MetaDataToken\",\n \"UseCount\": 1\n }\n }\n }\n ]\n }\n}" } ] }, { "name": "MetadataConfigurationOptions", "request": { "method": "GET", "header": [], "url": { "raw": "{{CORE_COMMAND_URL}}/api/v3/device/name/{{EDGEX_DEVICE_NAME}}/MetadataConfigurationOptions?jsonObject={{EDGEX_MEDIA_PROFILE_AND_CONFIG_TOKEN_BASE64}}", "host": [ "{{CORE_COMMAND_URL}}" ], "path": [ "api", "v3", "device", "name", "{{EDGEX_DEVICE_NAME}}", "MetadataConfigurationOptions" ], "query": [ { "key": "jsonObject", "value": "{{EDGEX_MEDIA_PROFILE_AND_CONFIG_TOKEN_BASE64}}" } ] } }, "response": [ { "name": "GetMetadataConfigurationOptions", "originalRequest": { "method": "GET", "header": [], "url": { "raw": "{{CORE_COMMAND_URL}}/api/v3/device/name/{{EDGEX_DEVICE_NAME}}/MetadataConfigurationOptions?jsonObject={{EDGEX_MEDIA_PROFILE_AND_CONFIG_TOKEN_BASE64}}", "host": [ "{{CORE_COMMAND_URL}}" ], "path": [ "api", "v3", "device", "name", "{{EDGEX_DEVICE_NAME}}", "MetadataConfigurationOptions" ], "query": [ { "key": "jsonObject", "value": "{{EDGEX_MEDIA_PROFILE_AND_CONFIG_TOKEN_BASE64}}" } ] } }, "status": "OK", "code": 200, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/json" }, { "key": "X-Correlation-Id", "value": "e64dd74a-1a59-44a4-8fe0-f761ef70c663" }, { "key": "Date", "value": "Tue, 27 Sep 2022 09:58:29 GMT" }, { "key": "Content-Length", "value": "739" } ], "cookie": [], "body": "{\n \"apiVersion\": \"v3\",\n \"statusCode\": 200,\n \"event\": {\n \"apiVersion\": \"v3\",\n \"id\": \"e694b7a9-8a40-49c8-a5ed-a655b4342bb7\",\n \"deviceName\": \"HIKVISION-DS-2DC4223IW-DE-3bd4c000-b1b9-11b3-8202-4cf5dc64a22c\",\n \"profileName\": \"onvif-camera\",\n \"sourceName\": \"MetadataConfigurationOptions\",\n \"origin\": 1664272709504749791,\n \"readings\": [\n {\n \"id\": \"9951b817-1f15-4dde-98fc-7fe7b5727008\",\n \"origin\": 1664272709504749791,\n \"deviceName\": \"HIKVISION-DS-2DC4223IW-DE-3bd4c000-b1b9-11b3-8202-4cf5dc64a22c\",\n \"resourceName\": \"MetadataConfigurationOptions\",\n \"profileName\": \"onvif-camera\",\n \"valueType\": \"Object\",\n \"value\": \"\",\n \"objectValue\": {\n \"Options\": {\n \"PTZStatusFilterOptions\": {\n \"PanTiltPositionSupported\": false,\n \"PanTiltStatusSupported\": false,\n \"ZoomPositionSupported\": false,\n \"ZoomStatusSupported\": false\n }\n }\n }\n }\n ]\n }\n}" } ] }, { "name": "AddMetadataConfiguration", "request": { "method": "PUT", "header": [], "body": { "mode": "raw", "raw": "{\n \"AddMetadataConfiguration\": {\n \"ProfileToken\": \"{{MEDIA_PROFILE}}\",\n \"ConfigurationToken\": \"{{MEDIA_CONFIG_TOKEN}}\"\n }\n}", "options": { "raw": { "language": "json" } } }, "url": { "raw": "{{CORE_COMMAND_URL}}/api/v3/device/name/{{EDGEX_DEVICE_NAME}}/AddMetadataConfiguration", "host": [ "{{CORE_COMMAND_URL}}" ], "path": [ "api", "v3", "device", "name", "{{EDGEX_DEVICE_NAME}}", "AddMetadataConfiguration" ] } }, "response": [ { "name": "AddMetadataConfiguration", "originalRequest": { "method": "PUT", "header": [], "body": { "mode": "raw", "raw": "{\n \"AddMetadataConfiguration\": {\n \"ProfileToken\": \"{{MEDIA_PROFILE}}\",\n \"ConfigurationToken\": \"{{MEDIA_CONFIG_TOKEN}}\"\n }\n}", "options": { "raw": { "language": "json" } } }, "url": { "raw": "{{CORE_COMMAND_URL}}/api/v3/device/name/{{EDGEX_DEVICE_NAME}}/AddMetadataConfiguration", "host": [ "{{CORE_COMMAND_URL}}" ], "path": [ "api", "v3", "device", "name", "{{EDGEX_DEVICE_NAME}}", "AddMetadataConfiguration" ] } }, "status": "OK", "code": 200, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/json" }, { "key": "X-Correlation-Id", "value": "9aaf8833-760d-4e7b-ac10-123c36fa71fb" }, { "key": "Date", "value": "Fri, 23 Sep 2022 23:13:44 GMT" }, { "key": "Content-Length", "value": "37" } ], "cookie": [], "body": "{\n \"apiVersion\": \"v3\",\n \"statusCode\": 200\n}" } ] }, { "name": "RemoveMetadataConfiguration", "request": { "method": "PUT", "header": [], "body": { "mode": "raw", "raw": "{\n \"RemoveMetadataConfiguration\": {\n \"ProfileToken\": \"{{MEDIA_PROFILE}}\"\n }\n}", "options": { "raw": { "language": "json" } } }, "url": { "raw": "{{CORE_COMMAND_URL}}/api/v3/device/name/{{EDGEX_DEVICE_NAME}}/RemoveMetadataConfiguration", "host": [ "{{CORE_COMMAND_URL}}" ], "path": [ "api", "v3", "device", "name", "{{EDGEX_DEVICE_NAME}}", "RemoveMetadataConfiguration" ] } }, "response": [ { "name": "RemoveMetadataConfiguration", "originalRequest": { "method": "PUT", "header": [], "body": { "mode": "raw", "raw": "{\n \"RemoveMetadataConfiguration\": {\n \"ProfileToken\": \"{{MEDIA_PROFILE}}\"\n }\n}", "options": { "raw": { "language": "json" } } }, "url": { "raw": "{{CORE_COMMAND_URL}}/api/v3/device/name/{{EDGEX_DEVICE_NAME}}/RemoveMetadataConfiguration", "host": [ "{{CORE_COMMAND_URL}}" ], "path": [ "api", "v3", "device", "name", "{{EDGEX_DEVICE_NAME}}", "RemoveMetadataConfiguration" ] } }, "status": "OK", "code": 200, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/json" }, { "key": "X-Correlation-Id", "value": "f591166b-b0ae-4c3e-8d87-3fa2fb0f180c" }, { "key": "Date", "value": "Fri, 23 Sep 2022 23:13:48 GMT" }, { "key": "Content-Length", "value": "37" } ], "cookie": [], "body": "{\n \"apiVersion\": \"v3\",\n \"statusCode\": 200\n}" } ] } ] }, { "name": "Video Streaming", "item": [ { "name": "MediaProfiles", "protocolProfileBehavior": { "disableBodyPruning": true }, "request": { "method": "GET", "header": [], "body": { "mode": "raw", "raw": "{\n \"SetDNS\": {\n \"FromDHCP\": false,\n \"DNSManual\": {\n \"Type\": \"IPv4\",\n \"IPv4Address\": \"192.168.12.1\"\n }\n }\n}", "options": { "raw": { "language": "json" } } }, "url": { "raw": "{{CORE_COMMAND_URL}}/api/v3/device/name/{{EDGEX_DEVICE_NAME}}/MediaProfiles", "host": [ "{{CORE_COMMAND_URL}}" ], "path": [ "api", "v3", "device", "name", "{{EDGEX_DEVICE_NAME}}", "MediaProfiles" ] } }, "response": [ { "name": "MediaProfiles", "originalRequest": { "method": "GET", "header": [], "url": { "raw": "{{CORE_COMMAND_URL}}/api/v3/device/name/{{EDGEX_DEVICE_NAME}}/MediaProfiles", "host": [ "{{CORE_COMMAND_URL}}" ], "path": [ "api", "v3", "device", "name", "{{EDGEX_DEVICE_NAME}}", "MediaProfiles" ] } }, "status": "OK", "code": 200, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/json" }, { "key": "X-Correlation-Id", "value": "00d76d82-033a-4787-ac76-3e049ca16294" }, { "key": "Date", "value": "Thu, 04 Aug 2022 23:38:34 GMT" }, { "key": "Transfer-Encoding", "value": "chunked" } ], "cookie": [], "body": "{\n \"apiVersion\": \"v3\",\n \"statusCode\": 200,\n \"event\": {\n \"apiVersion\": \"v3\",\n \"id\": \"e6560b52-1952-4d66-9f53-3cf27d48b3c0\",\n \"deviceName\": \"TP-Link-C200-3fa1fe68-b915-4053-a3e1-1027f5ea88f4\",\n \"profileName\": \"onvif-camera\",\n \"sourceName\": \"MediaProfiles\",\n \"origin\": 1659656314715442631,\n \"readings\": [\n {\n \"id\": \"5c7bc03c-308f-4b2c-8bc9-2e59da7d6f65\",\n \"origin\": 1659656314715442631,\n \"deviceName\": \"TP-Link-C200-3fa1fe68-b915-4053-a3e1-1027f5ea88f4\",\n \"resourceName\": \"MediaProfiles\",\n \"profileName\": \"onvif-camera\",\n \"valueType\": \"Object\",\n \"value\": \"\",\n \"objectValue\": {\n \"Profiles\": [\n {\n \"AudioEncoderConfiguration\": {\n \"Bitrate\": 131072,\n \"Encoding\": \"G711\",\n \"Multicast\": {\n \"Address\": {\n \"IPv4Address\": \"0.0.0.0\",\n \"Type\": \"IPv4\"\n },\n \"AutoStart\": false,\n \"Port\": 0,\n \"TTL\": 0\n },\n \"Name\": \"AudioEncoder_1\",\n \"SampleRate\": 8000,\n \"SessionTimeout\": \"PT0H1M5S\",\n \"Token\": \"microphone\",\n \"UseCount\": 2\n },\n \"AudioSourceConfiguration\": {\n \"Name\": \"AudioSourceConfig\",\n \"SourceToken\": \"raw_as1\",\n \"Token\": \"asconf\",\n \"UseCount\": 2\n },\n \"Extension\": null,\n \"Fixed\": true,\n \"MetadataConfiguration\": null,\n \"Name\": \"mainStream\",\n \"PTZConfiguration\": {\n \"DefaultAbsolutePantTiltPositionSpace\": \"http://www.onvif.org/ver10/tptz/PanTiltSpaces/PositionGenericSpace\",\n \"DefaultContinuousPanTiltVelocitySpace\": \"http://www.onvif.org/ver10/tptz/PanTiltSpaces/VelocityGenericSpace\",\n \"DefaultPTZSpeed\": {},\n \"DefaultPTZTimeout\": \"PT0H0M20S\",\n \"DefaultRelativePanTiltTranslationSpace\": \"http://www.onvif.org/ver10/tptz/PanTiltSpaces/TranslationGenericSpace\",\n \"PanTiltLimits\": {\n \"Range\": {\n \"URI\": \"\",\n \"XRange\": {\n \"Max\": 170,\n \"Min\": -170\n },\n \"YRange\": {\n \"Max\": 35,\n \"Min\": -32\n }\n }\n },\n \"Token\": \"PTZConfiguration0\"\n },\n \"Token\": \"profile_1\",\n \"VideoAnalyticsConfiguration\": {\n \"AnalyticsEngineConfiguration\": {\n \"AnalyticsModule\": [\n {\n \"Name\": \"MyCellMotionModule\",\n \"Parameters\": {\n \"ElementItem\": [\n {\n \"Name\": \"Layout\"\n }\n ],\n \"SimpleItem\": [\n {\n \"Name\": \"Sensitivity\",\n \"Value\": \"medium\"\n },\n {\n \"Name\": \"Enabled\",\n \"Value\": \"off\"\n }\n ]\n },\n \"Type\": \"tt:CellMotionEngine\"\n },\n {\n \"Name\": \"MyTamperDetecModule\",\n \"Parameters\": {\n \"SimpleItem\": [\n {\n \"Name\": \"Sensitivity\"\n },\n {\n \"Name\": \"Enabled\"\n }\n ]\n },\n \"Type\": \"tt:TamperEngine\"\n }\n ]\n },\n \"Name\": \"VideoAnalyticsName\",\n \"RuleEngineConfiguration\": {\n \"Rule\": {\n \"Name\": \"MyTamperDetectorRule\",\n \"Parameters\": {\n \"SimpleItem\": [\n {\n \"Name\": \"ActiveCells\",\n \"Value\": \"0P8A8A==\"\n },\n {\n \"Name\": \"MinCount\",\n \"Value\": \"5\"\n },\n {\n \"Name\": \"AlarmOnDelay\",\n \"Value\": \"1000\"\n },\n {\n \"Name\": \"AlarmOffDelay\",\n \"Value\": \"1000\"\n }\n ]\n },\n \"Type\": \"tt:TamperDetector\"\n }\n },\n \"Token\": \"VideoAnalyticsToken\",\n \"UseCount\": 2\n },\n \"VideoEncoderConfiguration\": {\n \"Encoding\": \"H264\",\n \"H264\": {\n \"GovLength\": 25,\n \"H264Profile\": \"Main\"\n },\n \"Multicast\": {\n \"Address\": {\n \"IPv4Address\": \"0.0.0.0\",\n \"Type\": \"IPv4\"\n },\n \"AutoStart\": false,\n \"Port\": 0,\n \"TTL\": 0\n },\n \"Name\": \"VideoEncoder_1\",\n \"Quality\": 3,\n \"RateControl\": {\n \"BitrateLimit\": 1024,\n \"EncodingInterval\": 1,\n \"FrameRateLimit\": 15\n },\n \"Resolution\": {\n \"Height\": 1080,\n \"Width\": 1920\n },\n \"SessionTimeout\": \"PT0H1M5S\",\n \"Token\": \"main\",\n \"UseCount\": 1\n },\n \"VideoSourceConfiguration\": {\n \"Bounds\": {\n \"Height\": 720,\n \"Width\": 1280,\n \"X\": 0,\n \"Y\": 0\n },\n \"Extension\": null,\n \"Name\": \"VideoSourceConfig\",\n \"SourceToken\": \"raw_vs1\",\n \"Token\": \"vsconf\",\n \"UseCount\": 2,\n \"ViewMode\": \"\"\n }\n },\n {\n \"AudioEncoderConfiguration\": {\n \"Bitrate\": 131072,\n \"Encoding\": \"G711\",\n \"Multicast\": {\n \"Address\": {\n \"IPv4Address\": \"0.0.0.0\",\n \"Type\": \"IPv4\"\n },\n \"AutoStart\": false,\n \"Port\": 0,\n \"TTL\": 0\n },\n \"Name\": \"AudioEncoder_1\",\n \"SampleRate\": 8000,\n \"SessionTimeout\": \"PT0H1M5S\",\n \"Token\": \"microphone\",\n \"UseCount\": 2\n },\n \"AudioSourceConfiguration\": {\n \"Name\": \"AudioSourceConfig\",\n \"SourceToken\": \"raw_as1\",\n \"Token\": \"asconf\",\n \"UseCount\": 2\n },\n \"Extension\": null,\n \"Fixed\": true,\n \"MetadataConfiguration\": null,\n \"Name\": \"minorStream\",\n \"PTZConfiguration\": {\n \"DefaultAbsolutePantTiltPositionSpace\": \"http://www.onvif.org/ver10/tptz/PanTiltSpaces/PositionGenericSpace\",\n \"DefaultContinuousPanTiltVelocitySpace\": \"http://www.onvif.org/ver10/tptz/PanTiltSpaces/VelocityGenericSpace\",\n \"DefaultPTZSpeed\": {},\n \"DefaultPTZTimeout\": \"PT0H0M20S\",\n \"DefaultRelativePanTiltTranslationSpace\": \"http://www.onvif.org/ver10/tptz/PanTiltSpaces/TranslationGenericSpace\",\n \"PanTiltLimits\": {\n \"Range\": {\n \"URI\": \"\",\n \"XRange\": {\n \"Max\": 170,\n \"Min\": -170\n },\n \"YRange\": {\n \"Max\": 35,\n \"Min\": -32\n }\n }\n },\n \"Token\": \"PTZConfiguration0\"\n },\n \"Token\": \"profile_2\",\n \"VideoAnalyticsConfiguration\": {\n \"AnalyticsEngineConfiguration\": {\n \"AnalyticsModule\": [\n {\n \"Name\": \"MyCellMotionModule\",\n \"Parameters\": {\n \"ElementItem\": [\n {\n \"Name\": \"Layout\"\n }\n ],\n \"SimpleItem\": [\n {\n \"Name\": \"Sensitivity\",\n \"Value\": \"medium\"\n },\n {\n \"Name\": \"Enabled\",\n \"Value\": \"off\"\n }\n ]\n },\n \"Type\": \"tt:CellMotionEngine\"\n },\n {\n \"Name\": \"MyTamperDetecModule\",\n \"Parameters\": {\n \"SimpleItem\": [\n {\n \"Name\": \"Sensitivity\"\n },\n {\n \"Name\": \"Enabled\"\n }\n ]\n },\n \"Type\": \"tt:TamperEngine\"\n }\n ]\n },\n \"Name\": \"VideoAnalyticsName\",\n \"RuleEngineConfiguration\": {\n \"Rule\": {\n \"Name\": \"MyTamperDetectorRule\",\n \"Parameters\": {\n \"SimpleItem\": [\n {\n \"Name\": \"ActiveCells\",\n \"Value\": \"0P8A8A==\"\n },\n {\n \"Name\": \"MinCount\",\n \"Value\": \"5\"\n },\n {\n \"Name\": \"AlarmOnDelay\",\n \"Value\": \"1000\"\n },\n {\n \"Name\": \"AlarmOffDelay\",\n \"Value\": \"1000\"\n }\n ]\n },\n \"Type\": \"tt:TamperDetector\"\n }\n },\n \"Token\": \"VideoAnalyticsToken\",\n \"UseCount\": 2\n },\n \"VideoEncoderConfiguration\": {\n \"Encoding\": \"H264\",\n \"H264\": {\n \"GovLength\": 25,\n \"H264Profile\": \"Main\"\n },\n \"Multicast\": {\n \"Address\": {\n \"IPv4Address\": \"0.0.0.0\",\n \"Type\": \"IPv4\"\n },\n \"AutoStart\": false,\n \"Port\": 0,\n \"TTL\": 0\n },\n \"Name\": \"VideoEncoder_2\",\n \"Quality\": 3,\n \"RateControl\": {\n \"BitrateLimit\": 256,\n \"EncodingInterval\": 1,\n \"FrameRateLimit\": 15\n },\n \"Resolution\": {\n \"Height\": 360,\n \"Width\": 640\n },\n \"SessionTimeout\": \"PT0H1M5S\",\n \"Token\": \"minor\",\n \"UseCount\": 1\n },\n \"VideoSourceConfiguration\": {\n \"Bounds\": {\n \"Height\": 720,\n \"Width\": 1280,\n \"X\": 0,\n \"Y\": 0\n },\n \"Extension\": null,\n \"Name\": \"VideoSourceConfig\",\n \"SourceToken\": \"raw_vs1\",\n \"Token\": \"vsconf\",\n \"UseCount\": 2,\n \"ViewMode\": \"\"\n }\n }\n ]\n }\n }\n ]\n }\n}" } ] }, { "name": "StreamUri", "request": { "method": "GET", "header": [], "url": { "raw": "{{CORE_COMMAND_URL}}/api/v3/device/name/{{EDGEX_DEVICE_NAME}}/StreamUri?jsonObject={{EDGEX_MEDIA_PROFILE_STREAM_SETUP_BASE64}}", "host": [ "{{CORE_COMMAND_URL}}" ], "path": [ "api", "v3", "device", "name", "{{EDGEX_DEVICE_NAME}}", "StreamUri" ], "query": [ { "key": "jsonObject", "value": "{{EDGEX_MEDIA_PROFILE_STREAM_SETUP_BASE64}}" } ] }, "description": "This operation requests a URI that can be used to initiate a live media stream using RTSP as the control protocol. The returned URI shall remain valid indefinitely even if the profile is changed. The ValidUntilConnect, ValidUntilReboot and Timeout Parameter shall be set accordingly (ValidUntilConnect=false, ValidUntilReboot=false, timeout=PT0S).\n\nThe correct syntax for the StreamSetup element for these media stream setups defined in 5.1.1 of the streaming specification are as follows: \nRTP unicast over UDP: StreamType = \"RTP_unicast\", TransportProtocol = \"UDP\" \nRTP over RTSP over HTTP over TCP: StreamType = \"RTP_unicast\", TransportProtocol = \"HTTP\" \nRTP over RTSP over TCP: StreamType = \"RTP_unicast\", TransportProtocol = \"RTSP\"\n\nIf a multicast stream is requested at least one of VideoEncoderConfiguration, AudioEncoderConfiguration and MetadataConfiguration shall have a valid multicast setting.\n\nFor full compatibility with other ONVIF services a device should not generate Uris longer than 128 octets." }, "response": [ { "name": "StreamUri", "originalRequest": { "method": "GET", "header": [], "url": { "raw": "{{CORE_COMMAND_URL}}/api/v3/device/name/{{EDGEX_DEVICE_NAME}}/StreamUri?jsonObject={{EDGEX_MEDIA_PROFILE_STREAM_SETUP_BASE64}}", "host": [ "{{CORE_COMMAND_URL}}" ], "path": [ "api", "v3", "device", "name", "{{EDGEX_DEVICE_NAME}}", "StreamUri" ], "query": [ { "key": "jsonObject", "value": "{{EDGEX_MEDIA_PROFILE_STREAM_SETUP_BASE64}}" } ] } }, "status": "OK", "code": 200, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/json" }, { "key": "X-Correlation-Id", "value": "ed49c080-d872-4c97-bf07-f0cf95795fb9" }, { "key": "Date", "value": "Thu, 04 Aug 2022 23:38:43 GMT" }, { "key": "Content-Length", "value": "641" } ], "cookie": [], "body": "{\n \"apiVersion\": \"v3\",\n \"statusCode\": 200,\n \"event\": {\n \"apiVersion\": \"v3\",\n \"id\": \"0ef64d9b-ba26-49a9-9a9f-5ec6f7b47190\",\n \"deviceName\": \"TP-Link-C200-3fa1fe68-b915-4053-a3e1-1027f5ea88f4\",\n \"profileName\": \"onvif-camera\",\n \"sourceName\": \"StreamUri\",\n \"origin\": 1659656323588826999,\n \"readings\": [\n {\n \"id\": \"255085ba-4399-489d-aa34-cab5e1379281\",\n \"origin\": 1659656323588826999,\n \"deviceName\": \"TP-Link-C200-3fa1fe68-b915-4053-a3e1-1027f5ea88f4\",\n \"resourceName\": \"StreamUri\",\n \"profileName\": \"onvif-camera\",\n \"valueType\": \"Object\",\n \"value\": \"\",\n \"objectValue\": {\n \"MediaUri\": {\n \"InvalidAfterConnect\": false,\n \"InvalidAfterReboot\": false,\n \"Timeout\": \"PT0H0M2S\",\n \"Uri\": \"rtsp://10.0.0.188:554/stream1\"\n }\n }\n }\n ]\n }\n}" } ] }, { "name": "Snapshot", "request": { "method": "GET", "header": [], "url": { "raw": "{{CORE_COMMAND_URL}}/api/v3/device/name/{{EDGEX_DEVICE_NAME}}/Snapshot?jsonObject={{EDGEX_MEDIA_PROFILE_BASE64}}", "host": [ "{{CORE_COMMAND_URL}}" ], "path": [ "api", "v3", "device", "name", "{{EDGEX_DEVICE_NAME}}", "Snapshot" ], "query": [ { "key": "jsonObject", "value": "{{EDGEX_MEDIA_PROFILE_BASE64}}" } ] }, "description": "This request returns a snapshot of the video stream at the time the command is given.\n\nIt is returned in a binary format." }, "response": [ { "name": "Snapshot", "originalRequest": { "method": "GET", "header": [], "url": { "raw": "{{CORE_COMMAND_URL}}/api/v3/device/name/{{EDGEX_DEVICE_NAME}}/Snapshot?jsonObject={{EDGEX_MEDIA_PROFILE_BASE64}}", "host": [ "{{CORE_COMMAND_URL}}" ], "path": [ "api", "v3", "device", "name", "{{EDGEX_DEVICE_NAME}}", "Snapshot" ], "query": [ { "key": "jsonObject", "value": "{{EDGEX_MEDIA_PROFILE_BASE64}}" } ] } }, "status": "OK", "code": 200, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/json" }, { "key": "X-Correlation-Id", "value": "e1116b67-69cd-4ed8-9b70-f543c9cf4a17" }, { "key": "Date", "value": "Mon, 10 Oct 2022 15:25:00 GMT" }, { "key": "Transfer-Encoding", "value": "chunked" } ], "cookie": [], "body": "{\n \"apiVersion\": \"v3\",\n \"statusCode\": 200,\n \"event\": {\n \"apiVersion\": \"v3\",\n \"id\": \"5fdf593f-2a92-4a71-b08c-791d7a27fdff\",\n \"deviceName\": \"Intel-SimCamera-003caffe-6392-4bb2-a5a4-f027d2e89ee1\",\n \"profileName\": \"onvif-camera\",\n \"sourceName\": \"Snapshot\",\n \"origin\": 1665415500727830418,\n \"readings\": [\n {\n \"id\": \"d04a9dad-feb9-4099-a524-8a4b4cf2cc37\",\n \"origin\": 1665415500727830418,\n \"deviceName\": \"Intel-SimCamera-003caffe-6392-4bb2-a5a4-f027d2e89ee1\",\n \"resourceName\": \"Snapshot\",\n \"profileName\": \"onvif-camera\",\n \"valueType\": \"Binary\",\n \"binaryValue\": \"/9j/4AAQSkZJRgABAQEAYABgAAD/2wBDAAgGBgcGBQgHBwcJCQgKDBQNDAsLDBkSEw8UHRofHh0aHBwgJC4nICIsIxwcKDcpLDAxNDQ0Hyc5PTgyPC4zNDL/2wBDAQkJCQwLDBgNDRgyIRwhMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjL/wAARCACAAKADASIAAhEBAxEB/8QAHwAAAQUBAQEBAQEAAAAAAAAAAAECAwQFBgcICQoL/8QAtRAAAgEDAwIEAwUFBAQAAAF9AQIDAAQRBRIhMUEGE1FhByJxFDKBkaEII0KxwRVS0fAkM2JyggkKFhcYGRolJicoKSo0NTY3ODk6Q0RFRkdISUpTVFVWV1hZWmNkZWZnaGlqc3R1dnd4eXqDhIWGh4iJipKTlJWWl5iZmqKjpKWmp6ipqrKztLW2t7i5usLDxMXGx8jJytLT1NXW19jZ2uHi4+Tl5ufo6erx8vP09fb3+Pn6/8QAHwEAAwEBAQEBAQEBAQAAAAAAAAECAwQFBgcICQoL/8QAtREAAgECBAQDBAcFBAQAAQJ3AAECAxEEBSExBhJBUQdhcRMiMoEIFEKRobHBCSMzUvAVYnLRChYkNOEl8RcYGRomJygpKjU2Nzg5OkNERUZHSElKU1RVVldYWVpjZGVmZ2hpanN0dXZ3eHl6goOEhYaHiImKkpOUlZaXmJmaoqOkpaanqKmqsrO0tba3uLm6wsPExcbHyMnK0tPU1dbX2Nna4uPk5ebn6Onq8vP09fb3+Pn6/9oADAMBAAIRAxEAPwDzGwiBtoGx/wAs1/kK0BGPSotPH+g23/XFP5CreKxOyOwxVqTYuOlAWn7eKQFd1VQDtH3hUgtoz1QUsq/u2PoM1PikBCLWL+4KelkhOQSAOp3dKoX+sQWalVO+X0HasB9bumOfMP0oDmR2T6c/klt/4d/5VRvNOkhxvQrkcblH4/rmsaz8TT25bzP3qMCNp7Z9K3IvGcU0C211F5kROTnG4dOh7dKYXTMPysXeMV0MKgDpVC4+xTXiy2QkMXPDNuI4rRgGcUBYsqgFSgUiLUoFMmwzbU8a0wLzVmMAimMlij713+h2a2lhEpX52G5vxrj9Nthc3kUJGQx5HtXoUaYFBUELIgYZ2ivLviHKJ47tAoxDAyj8ia9TkkWGF5HOFUc15H4oJm03UZW5LQyH9DTiKo9DmdPQ/YbbH/PFP5CrgWoNNP8AxLbX/rin8hVwVIR2GBacFp4UU8LSAryL8hqrqF4LTTTICN54XNaEi/Ka5LXpi8kcfZF6e5oAxXcscmoy1KetMaqSMGLuGacGqIU8A02gNK0vWhTAJByDXX6bMLiFXXvXBxiur8NSMZBGx+X0rKRvTd3Y6VBUyjirM1uoCOg4bP5j/IqMJirTHKNhgFSxjmgJTo1IamSdL4Xh3X5fH3Vrs8Yrl/Csf7yZ/Yf1rqyKGaIyddlMemOF43naa8419c6HqJx/y7Sf+gmvQPExItIVHQuc/lXB6+MeH9SP/TtJ/wCgmtYGFU5jTVH9mWn/AFxT+Qq2FqjppP8AZ1qP+mKfyFaS9KxNI7ABTgKUCngDFICMjiuG1cEXsoPrXdtiuP8AEUW25V/7wNBMjnj1ptPbrTcc1Zix8MZedR2zzVuWEKpUDBBp1lDj5z+FWbiA7t46GspT1OmnT0uVbOHfLg9K9G0Lw8xtYLuAr5chYZZuflxk1wtpFtkz2r03w5K7aBdRXczrHbyRNGuBwH3A4+vH6UblU9GdHe2sP2Nx5iBtxK57np/9euaxTjfSSjBOBTQaqBdRp7CgU9Rg01aeOtUYnV+FjzN9BXUiuS8Ln/SWX1WuvUc0MtGJ4nQ/Z7Y44yf6VwfiEY8P6l/17Sf+gmvR/ESb9MiOORJ/MH/CvP8AxGn/ABT2pHt9lk/9BNbwOeocPp0MzWFqwdR+5T+Qq4ILr+8lJpqj+zbP/rhH/wCg1eVaxNY7FURXX95Kf9nu/wC+lWwKkAqWhmU7XKnBWsvWIxJYuzD5lwRXTyRFkIUZasPVrO5Ns6LBISeOmR+lAmjidhJp6QMx6VrLpk0Ry8R/KmPHtbGMVnKdg5CONdiYFWuGhwagqzEm5BWL1N4qxNZoN4wK9C1R/M0jSQEVWNth2A5faxVc/QAVwtpGVbPpXpviH+zrTR9Ks1niFxDHlgvcNz/P+daxYmjnIweKsqKbGqkDBzU6rWyMhB0p69aAlSpHVNEm1oD7L+L3OK7pBXnunnyriJ/Rga9CRuhpFplTWofM05sdVIavPfEq48Nap/16S/8AoBr064QTwPGf4gRXm/iZMeGtVyOlpLn/AL5NaQdkY1Fc4fTR/wASyz/64R/+gitFU4qrpUQ/sqyZ8qot48+v3RVpbiVFkiixhxg5QE/gSMj8KzNI7DguFLZGB1yRU9ncWRLLc7xgfK688+mPSs1oHbr+tK6i3i3NwPWpGaUVxam4wqMAOjMe/wBKW8vbSGM+dIq56AnrXPPeSSf8e2UTvIR/IUiwRiOS6nbeQPvSck0mxsklubedW8mVW9s1nOFOeBVS65BuYE8tg33R3FSRP5ihgeDUNDI3t1ZvkGCe1WLa3YcEVNboplBIq/GirIDjjvUuJdN62Io4SozViOEzq4X74rUisEnjPkgucZwAc04RQ2MrJEfMZ12yHHAPfFZ6nZaJjQve2hyrnGehGQa7BrcMsUsQIiliWQE+pHI/A5H4VkSxqyHI6dvSum0TbqPh2W3zmeyJdB3MZ64+h5/GtoHNWguhnhcdadkZ4pWpoHNanMWYeor0G1ffBG2eqivPYuldxob79PXnOKBo0+1cL42h8rQ9ZHrZyn/xw13ijNcj4/hx4c1WT1sZh+SGriRI820qEyaZp/p9mj/9BFX/ALKELEjHyk1Z0qK3g8M6bPMQo+yQkk+6CqNzJc3zYhR0i6Db94/X0qTSOxBcXKR/u41MkvoOg+pqolpNeEGYb8fgo/DvWpDpSR7TIM8Z254/+vV4g8jtxxQBhLZbPv8AJxj2rO1k+UkcC/Vh/KukkT94KwdcXzbmCJRl8HP41IGBGXkcKo9eKfYj9y6n7ytW9Y6X9nUtImZT+lZWwWepTQkYWTFS0ImgilyCBVxGYfeHNWEgCqAKUw07DLNrfvAwaGRo3HQqcVNJ4j1JeWuBKAc/vYlfH0yKzfLxUU/EJpWK5mbNv4kt7ydY9StIgrHDS267Hx/ujg/lWnaXn/CO67b3sJM9jJkpIoIEsZ4I+o9PUVwg4OeldZ4d1GC7h/si+ZVhIzDKesT+v0PQ/wD1qaQc76nS3doslst/asj28nQK2Sh9D+uKoVZ0OO7sdSksJ4d0E64kiZlyfQqSeTyDx1pLu0ksrh4ZR8ynGexHqKohjI+ldd4ZkzbyR+hBrkYq6Xw04W4ZP7woBHVKOK5vx9Hu8Fas392zm/8AQDXTAVheN03+BtcA6ixmP/jhoTJkeZeHLO717TtOjJKWsFtEq8dwgGa6+TSI7WFYoo8d/c1ifDS8M1ra2RXIS3VgfbA6/mK7u5T94D6AD880zWOxxU0Oxm44BqnIPmf6VuXsWC59WNY7rjf+FANFJxjrWNEq3XiBuMiPp9f8mtq6bylZj0GKo+H7cOs923LSNwfYf/XzQKxcljwM4rkNfQpepMBkcv3tyMRmuU1yJpIjjtzQFjT2DaCPTNMJpdOzLpcUjctt5PrSN1pNA0Rmqs/3TVo1Vn+6akCi9EZ/eDmnPUaffBpCO80u7l1fTWtnAluI1zbydHXH8Oe4PTnuRWvaX8eu2yQ3Mu27hG1JG4Dj0Y/ng/nWH4UMQdAW2kNuVj0Hrn/Pb61P4gtRo2us8OPKb54+OxP9Dx+FaDZfMTRMVdSpBxg1q6LKIr6LJwCcU2yceIbMTmBI5EGxpI3ySccbl9Kr2hMcqHuDQQeg1i+M/wDkR9e/7B8//otq2QQyhhyCMg1jeMv+RH1//sHT/wDotqhEyPK/BVzNptnZ6pAhkighjS6XuFIHP0+6fqK9ZiCXUMkqOGVgpUjuMZz+teWeE3XTH0l35tru0ijnB6cxjr7cg13VnIfDepCwlY/2bdHNu78+W3dCfx4qzaOwavCqwu4HaudnGE3Y9K7PVYF+zyrjI25FchIM24GOQcH8KCjn9dfZa3PbGz9RV7TrT7JYRRbcYHP1qjrdu1zfQQJ/y3Khh64P+Ga2ieKDMqXY+Suc1FC6sAOororr7hrHukySfagaZR0K7zpzI3WJsEexq64RvmQ9e1ZGiyiLUrq2b+Mfyz/jWq8TQZK8x9vagZC/ANUZjk1cnOY2+lZrNkVBJHIeaYpwaefmBpi9aQjc0q+e2ZSDxmuo1S5i1rTkjRv9Ig+aMqOq/wAQ/kR9CPSuDSUoKtW+rzWjAxvg1SYzsfD815YKZIbqAQvjzY2BLcfh/UVsEICrxNlHG9T/AD/XIrz2PV5RNuAVAeyjArqfD9691DJGzjMeHUH0PDY/Hb+tO4HpumS+bpsDbs8YNUPGX/Ij6/8A9g6f/wBFtS+HHLWTgn7r8UnjL/kR9f8A+wdP/wCi2oM5H//Z\",\n \"mediaType\": \"image/jpeg\",\n \"value\": \"\"\n }\n ]\n }\n}" } ] }, { "name": "SnapshotUri", "request": { "method": "GET", "header": [], "url": { "raw": "{{CORE_COMMAND_URL}}/api/v3/device/name/{{EDGEX_DEVICE_NAME}}/SnapshotUri?jsonObject={{EDGEX_MEDIA_PROFILE_BASE64}}", "host": [ "{{CORE_COMMAND_URL}}" ], "path": [ "api", "v3", "device", "name", "{{EDGEX_DEVICE_NAME}}", "SnapshotUri" ], "query": [ { "key": "jsonObject", "value": "{{EDGEX_MEDIA_PROFILE_BASE64}}" } ] } }, "response": [ { "name": "SnapshotUri", "originalRequest": { "method": "GET", "header": [], "url": { "raw": "{{CORE_COMMAND_URL}}/api/v3/device/name/{{EDGEX_DEVICE_NAME}}/SnapshotUri?jsonObject={{EDGEX_MEDIA_PROFILE_BASE64}}", "host": [ "{{CORE_COMMAND_URL}}" ], "path": [ "api", "v3", "device", "name", "{{EDGEX_DEVICE_NAME}}", "SnapshotUri" ], "query": [ { "key": "jsonObject", "value": "{{EDGEX_MEDIA_PROFILE_BASE64}}" } ] } }, "status": "OK", "code": 200, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/json" }, { "key": "X-Correlation-Id", "value": "" }, { "key": "Date", "value": "Wed, 10 May 2023 23:55:30 GMT" }, { "key": "Content-Length", "value": "688" } ], "cookie": [], "body": "{\n \"apiVersion\": \"v3\",\n \"statusCode\": 200,\n \"event\": {\n \"apiVersion\": \"v3\",\n \"id\": \"1a79ee51-c137-49b6-b884-a5450323850a\",\n \"deviceName\": \"HIKVISION-DS-2DE2A404IW-DE3-099f4000-4d50-11b4-82c8-c06ded544d67\",\n \"profileName\": \"onvif-camera\",\n \"sourceName\": \"SnapshotUri\",\n \"origin\": 1683762930988014759,\n \"readings\": [\n {\n \"id\": \"de3e7c40-d705-4303-987f-d0b0feeffd0f\",\n \"origin\": 1683762930988014759,\n \"deviceName\": \"HIKVISION-DS-2DE2A404IW-DE3-099f4000-4d50-11b4-82c8-c06ded544d67\",\n \"resourceName\": \"SnapshotUri\",\n \"profileName\": \"onvif-camera\",\n \"valueType\": \"Object\",\n \"value\": \"\",\n \"objectValue\": {\n \"MediaUri\": {\n \"Uri\": \"http://10.0.0.165/onvif-http/snapshot?Profile_1\",\n \"InvalidAfterConnect\": false,\n \"InvalidAfterReboot\": false,\n \"Timeout\": \"PT0S\"\n }\n }\n }\n ]\n }\n}" } ] } ] }, { "name": "Video Encoder Configuration", "item": [ { "name": "VideoEncoderConfigurations", "protocolProfileBehavior": { "disableBodyPruning": true }, "request": { "method": "GET", "header": [], "body": { "mode": "raw", "raw": "{\n \"SetDNS\": {\n \"FromDHCP\": false,\n \"DNSManual\": {\n \"Type\": \"IPv4\",\n \"IPv4Address\": \"192.168.12.1\"\n }\n }\n}", "options": { "raw": { "language": "json" } } }, "url": { "raw": "{{CORE_COMMAND_URL}}/api/v3/device/name/{{EDGEX_DEVICE_NAME}}/VideoEncoderConfigurations", "host": [ "{{CORE_COMMAND_URL}}" ], "path": [ "api", "v3", "device", "name", "{{EDGEX_DEVICE_NAME}}", "VideoEncoderConfigurations" ] } }, "response": [ { "name": "VideoEncoderConfigurations", "originalRequest": { "method": "GET", "header": [], "url": { "raw": "{{CORE_COMMAND_URL}}/api/v3/device/name/{{EDGEX_DEVICE_NAME}}/VideoEncoderConfigurations", "host": [ "{{CORE_COMMAND_URL}}" ], "path": [ "api", "v3", "device", "name", "{{EDGEX_DEVICE_NAME}}", "VideoEncoderConfigurations" ] } }, "status": "OK", "code": 200, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/json" }, { "key": "X-Correlation-Id", "value": "7330109d-9cd8-4d4d-9334-4d39860e62b3" }, { "key": "Date", "value": "Fri, 05 Aug 2022 00:26:43 GMT" }, { "key": "Content-Length", "value": "944" } ], "cookie": [], "body": "{\n \"apiVersion\": \"v3\",\n \"statusCode\": 200,\n \"event\": {\n \"apiVersion\": \"v3\",\n \"id\": \"1ee4ca7f-fb95-46b3-8e6d-8542b45b22d4\",\n \"deviceName\": \"TP-Link-C200-3fa1fe68-b915-4053-a3e1-1027f5ea88f4\",\n \"profileName\": \"onvif-camera\",\n \"sourceName\": \"VideoEncoderConfigurations\",\n \"origin\": 1659659203023412427,\n \"readings\": [\n {\n \"id\": \"dd2b4e0e-9a62-49bc-a80b-071d4b1ed8e1\",\n \"origin\": 1659659203023412427,\n \"deviceName\": \"TP-Link-C200-3fa1fe68-b915-4053-a3e1-1027f5ea88f4\",\n \"resourceName\": \"VideoEncoderConfigurations\",\n \"profileName\": \"onvif-camera\",\n \"valueType\": \"Object\",\n \"value\": \"\",\n \"objectValue\": {\n \"Configurations\": {\n \"Encoding\": \"H264\",\n \"H264\": {\n \"GovLength\": 25,\n \"H264Profile\": \"Main\"\n },\n \"Multicast\": {\n \"Address\": {\n \"IPv4Address\": \"0.0.0.0\",\n \"Type\": \"IPv4\"\n },\n \"AutoStart\": false,\n \"Port\": 0,\n \"TTL\": 0\n },\n \"Name\": \"VideoEncoder_2\",\n \"Quality\": 3,\n \"RateControl\": {\n \"BitrateLimit\": 256,\n \"EncodingInterval\": 1,\n \"FrameRateLimit\": 15\n },\n \"Resolution\": {\n \"Height\": 360,\n \"Width\": 640\n },\n \"SessionTimeout\": \"PT0H1M5S\",\n \"Token\": \"minor\",\n \"UseCount\": 1\n }\n }\n }\n ]\n }\n}" } ] }, { "name": "VideoEncoderConfiguration", "request": { "method": "GET", "header": [], "url": { "raw": "{{CORE_COMMAND_URL}}/api/v3/device/name/{{EDGEX_DEVICE_NAME}}/VideoEncoderConfiguration?jsonObject={{EDGEX_MEDIA_VIDEO_ENCODER_TOKEN_BASE64}}", "host": [ "{{CORE_COMMAND_URL}}" ], "path": [ "api", "v3", "device", "name", "{{EDGEX_DEVICE_NAME}}", "VideoEncoderConfiguration" ], "query": [ { "key": "jsonObject", "value": "{{EDGEX_MEDIA_VIDEO_ENCODER_TOKEN_BASE64}}" } ] } }, "response": [ { "name": "VideoEncoderConfiguration", "originalRequest": { "method": "GET", "header": [], "url": { "raw": "{{CORE_COMMAND_URL}}/api/v3/device/name/{{EDGEX_DEVICE_NAME}}/VideoEncoderConfiguration?jsonObject={{EDGEX_MEDIA_VIDEO_ENCODER_TOKEN_BASE64}}", "host": [ "{{CORE_COMMAND_URL}}" ], "path": [ "api", "v3", "device", "name", "{{EDGEX_DEVICE_NAME}}", "VideoEncoderConfiguration" ], "query": [ { "key": "jsonObject", "value": "{{EDGEX_MEDIA_VIDEO_ENCODER_TOKEN_BASE64}}" } ] } }, "status": "OK", "code": 200, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/json" }, { "key": "X-Correlation-Id", "value": "2eee5539-10bd-4e4d-b259-be10351c1de2" }, { "key": "Date", "value": "Fri, 05 Aug 2022 00:26:47 GMT" }, { "key": "Content-Length", "value": "937" } ], "cookie": [], "body": "{\n \"apiVersion\": \"v3\",\n \"statusCode\": 200,\n \"event\": {\n \"apiVersion\": \"v3\",\n \"id\": \"598079d0-d169-4385-86f3-cb7a106345a5\",\n \"deviceName\": \"TP-Link-C200-3fa1fe68-b915-4053-a3e1-1027f5ea88f4\",\n \"profileName\": \"onvif-camera\",\n \"sourceName\": \"VideoEncoderConfiguration\",\n \"origin\": 1659659207626081088,\n \"readings\": [\n {\n \"id\": \"86aed436-65cb-4162-b3e6-14def8e4e4d3\",\n \"origin\": 1659659207626081088,\n \"deviceName\": \"TP-Link-C200-3fa1fe68-b915-4053-a3e1-1027f5ea88f4\",\n \"resourceName\": \"VideoEncoderConfiguration\",\n \"profileName\": \"onvif-camera\",\n \"valueType\": \"Object\",\n \"value\": \"\",\n \"objectValue\": {\n \"Configuration\": {\n \"Encoding\": \"H264\",\n \"H264\": {\n \"GovLength\": 25,\n \"H264Profile\": \"Main\"\n },\n \"Multicast\": {\n \"Address\": {\n \"IPv4Address\": \"0.0.0.0\",\n \"Type\": \"IPv4\"\n },\n \"AutoStart\": false,\n \"Port\": 0,\n \"TTL\": 0\n },\n \"Name\": \"VideoEncoder_1\",\n \"Quality\": 3,\n \"RateControl\": {\n \"BitrateLimit\": 1024,\n \"EncodingInterval\": 1,\n \"FrameRateLimit\": 15\n },\n \"Resolution\": {\n \"Height\": 1080,\n \"Width\": 1920\n },\n \"SessionTimeout\": \"PT0H1M5S\",\n \"Token\": \"main\",\n \"UseCount\": 1\n }\n }\n }\n ]\n }\n}" } ] }, { "name": "VideoEncoderConfiguration", "request": { "method": "PUT", "header": [], "body": { "mode": "raw", "raw": "{\n \"VideoEncoderConfiguration\": {\n \"ForcePersistence\": false,\n \"Configuration\": {\n \"token\": \"{{EDGEX_MEDIA_VIDEO_ENCODER_TOKEN}}\",\n \"Encoding\": \"H264\",\n \"Quality\": 3.000000,\n \"Resolution\": {\n \"Width\": 1920,\n \"Height\": 1080\n },\n \"Multicast\": {\n \"Address\": {\n \"Type\": \"IPv4\",\n \"IPv4Address\": \"0.0.0.0\"\n },\n \"Port\": 8860,\n \"TTL\": 1,\n \"AutoStart\": false\n }\n }\n }\n}", "options": { "raw": { "language": "json" } } }, "url": { "raw": "{{CORE_COMMAND_URL}}/api/v3/device/name/{{EDGEX_DEVICE_NAME}}/VideoEncoderConfiguration", "host": [ "{{CORE_COMMAND_URL}}" ], "path": [ "api", "v3", "device", "name", "{{EDGEX_DEVICE_NAME}}", "VideoEncoderConfiguration" ] } }, "response": [ { "name": "SetVideoEncoderConfiguration", "originalRequest": { "method": "PUT", "header": [], "body": { "mode": "raw", "raw": "{\n \"VideoEncoderConfiguration\": {\n \"ForcePersistence\": false,\n \"Configuration\":{\n \"token\": \"{{EDGEX_MEDIA_VIDEO_ENCODER_TOKEN}}\",\n \"Encoding\": \"H264\",\n \"Quality\": 3.000000,\n \"Resolution\": {\n \"Width\": 1920,\n \"Height\": 1080\n },\n \"Multicast\": {\n \"Address\": {\n \"Type\": \"IPv4\",\n \"IPv4Address\": \"0.0.0.0\"\n },\n \"Port\": 8860,\n \"TTL\": 1,\n \"AutoStart\": false\n }\n }\n \n }\n}", "options": { "raw": { "language": "json" } } }, "url": { "raw": "{{CORE_COMMAND_URL}}/api/v3/device/name/{{EDGEX_DEVICE_NAME}}/VideoEncoderConfiguration", "host": [ "{{CORE_COMMAND_URL}}" ], "path": [ "api", "v3", "device", "name", "{{EDGEX_DEVICE_NAME}}", "VideoEncoderConfiguration" ] } }, "status": "Internal Server Error", "code": 500, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/json" }, { "key": "X-Correlation-Id", "value": "8888c1a3-e632-4223-9013-41c5e938eb4d" }, { "key": "Date", "value": "Fri, 05 Aug 2022 00:26:56 GMT" }, { "key": "Content-Length", "value": "489" } ], "cookie": [], "body": "{\n \"apiVersion\": \"v3\",\n \"message\": \"request failed, status code: 500, err: {\\\"apiVersion\\\":\\\"v3\\\",\\\"message\\\":\\\"error writing DeviceResourece VideoEncoderConfiguration for TP-Link-C200-3fa1fe68-b915-4053-a3e1-1027f5ea88f4 -\\\\u003e failed to execute write command, \\\\u003cnil\\\\u003e -\\\\u003e invalid request for the function 'SetVideoEncoderConfiguration' of web service 'Media'. Onvif error: fault reason: , fault detail: , fault code: SOAP-ENV:Sender \\\",\\\"statusCode\\\":500}\",\n \"statusCode\": 500\n}" } ] }, { "name": "VideoEncoderConfigurationOptions", "request": { "method": "GET", "header": [], "url": { "raw": "{{CORE_COMMAND_URL}}/api/v3/device/name/{{EDGEX_DEVICE_NAME}}/VideoEncoderConfigurationOptions?jsonObject={{EDGEX_MEDIA_PROFILE_VIDEO_ENCODER_TOKEN_BASE64}}", "host": [ "{{CORE_COMMAND_URL}}" ], "path": [ "api", "v3", "device", "name", "{{EDGEX_DEVICE_NAME}}", "VideoEncoderConfigurationOptions" ], "query": [ { "key": "jsonObject", "value": "{{EDGEX_MEDIA_PROFILE_VIDEO_ENCODER_TOKEN_BASE64}}" } ] } }, "response": [ { "name": "VideoEncoderConfigurationOptions", "originalRequest": { "method": "GET", "header": [], "url": { "raw": "{{CORE_COMMAND_URL}}/api/v3/device/name/{{EDGEX_DEVICE_NAME}}/VideoEncoderConfigurationOptions?jsonObject={{EDGEX_MEDIA_PROFILE_VIDEO_ENCODER_TOKEN_BASE64}}", "host": [ "{{CORE_COMMAND_URL}}" ], "path": [ "api", "v3", "device", "name", "{{EDGEX_DEVICE_NAME}}", "VideoEncoderConfigurationOptions" ], "query": [ { "key": "jsonObject", "value": "{{EDGEX_MEDIA_PROFILE_VIDEO_ENCODER_TOKEN_BASE64}}" } ] } }, "status": "OK", "code": 200, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/json" }, { "key": "X-Correlation-Id", "value": "a84e4fb9-68a1-4b93-a48e-12d6467b5a52" }, { "key": "Date", "value": "Fri, 05 Aug 2022 00:26:52 GMT" }, { "key": "Content-Length", "value": "1189" } ], "cookie": [], "body": "{\n \"apiVersion\": \"v3\",\n \"statusCode\": 200,\n \"event\": {\n \"apiVersion\": \"v3\",\n \"id\": \"187b2e94-6efe-421f-b618-186a20fd41df\",\n \"deviceName\": \"TP-Link-C200-3fa1fe68-b915-4053-a3e1-1027f5ea88f4\",\n \"profileName\": \"onvif-camera\",\n \"sourceName\": \"VideoEncoderConfigurationOptions\",\n \"origin\": 1659659212171416506,\n \"readings\": [\n {\n \"id\": \"0b709715-f644-4cf0-a477-dcc3b5ef218c\",\n \"origin\": 1659659212171416506,\n \"deviceName\": \"TP-Link-C200-3fa1fe68-b915-4053-a3e1-1027f5ea88f4\",\n \"resourceName\": \"VideoEncoderConfigurationOptions\",\n \"profileName\": \"onvif-camera\",\n \"valueType\": \"Object\",\n \"value\": \"\",\n \"objectValue\": {\n \"Options\": {\n \"Extension\": {\n \"H264\": {\n \"BitrateRange\": {\n \"Max\": 1024,\n \"Min\": 256\n },\n \"EncodingIntervalRange\": {\n \"Max\": 1,\n \"Min\": 1\n },\n \"FrameRateRange\": {\n \"Max\": 15,\n \"Min\": 1\n },\n \"GovLengthRange\": {\n \"Max\": 25,\n \"Min\": 25\n },\n \"H264ProfilesSupported\": [\n \"Main\"\n ],\n \"ResolutionsAvailable\": [\n {\n \"Height\": 1080,\n \"Width\": 1920\n },\n {\n \"Height\": 720,\n \"Width\": 1280\n },\n {\n \"Height\": 360,\n \"Width\": 640\n }\n ]\n }\n },\n \"H264\": {\n \"EncodingIntervalRange\": {\n \"Max\": 1,\n \"Min\": 1\n },\n \"FrameRateRange\": {\n \"Max\": 15,\n \"Min\": 1\n },\n \"GovLengthRange\": {\n \"Max\": 25,\n \"Min\": 25\n },\n \"H264ProfilesSupported\": [\n \"Main\"\n ],\n \"ResolutionsAvailable\": [\n {\n \"Height\": 1080,\n \"Width\": 1920\n },\n {\n \"Height\": 720,\n \"Width\": 1280\n },\n {\n \"Height\": 360,\n \"Width\": 640\n }\n ]\n },\n \"QualityRange\": {\n \"Max\": 5,\n \"Min\": 1\n }\n }\n }\n }\n ]\n }\n}" } ] } ] }, { "name": "PTZ", "item": [ { "name": "Capabilities", "item": [ { "name": "PTZNodes", "request": { "method": "GET", "header": [], "url": { "raw": "{{CORE_COMMAND_URL}}/api/v3/device/name/{{EDGEX_DEVICE_NAME}}/PTZNodes", "host": [ "{{CORE_COMMAND_URL}}" ], "path": [ "api", "v3", "device", "name", "{{EDGEX_DEVICE_NAME}}", "PTZNodes" ] } }, "response": [ { "name": "PTZNodes", "originalRequest": { "method": "GET", "header": [], "url": { "raw": "{{CORE_COMMAND_URL}}/api/v3/device/name/{{EDGEX_DEVICE_NAME}}/PTZNodes", "host": [ "{{CORE_COMMAND_URL}}" ], "path": [ "api", "v3", "device", "name", "{{EDGEX_DEVICE_NAME}}", "PTZNodes" ] } }, "status": "OK", "code": 200, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/json" }, { "key": "X-Correlation-Id", "value": "b44d79fd-24db-4fa1-b85d-686031dd94ea" }, { "key": "Date", "value": "Thu, 04 Aug 2022 23:39:23 GMT" }, { "key": "Content-Length", "value": "1507" } ], "cookie": [], "body": "{\n \"apiVersion\": \"v3\",\n \"statusCode\": 200,\n \"event\": {\n \"apiVersion\": \"v3\",\n \"id\": \"dfe1b38e-1590-43c4-ab12-432ed5219476\",\n \"deviceName\": \"TP-Link-C200-3fa1fe68-b915-4053-a3e1-1027f5ea88f4\",\n \"profileName\": \"onvif-camera\",\n \"sourceName\": \"PTZNodes\",\n \"origin\": 1659656363928092156,\n \"readings\": [\n {\n \"id\": \"a47fe9e2-b007-4b5e-891b-3d50062b468f\",\n \"origin\": 1659656363928092156,\n \"deviceName\": \"TP-Link-C200-3fa1fe68-b915-4053-a3e1-1027f5ea88f4\",\n \"resourceName\": \"PTZNodes\",\n \"profileName\": \"onvif-camera\",\n \"valueType\": \"Object\",\n \"value\": \"\",\n \"objectValue\": {\n \"PTZNode\": [\n {\n \"HomeSupported\": true,\n \"Name\": \"Node0\",\n \"SupportedPTZSpaces\": {\n \"AbsolutePanTiltPositionSpace\": {\n \"URI\": \"http://www.onvif.org/ver10/tptz/PanTiltSpaces/PositionGenericSpace\",\n \"XRange\": {\n \"Max\": 170,\n \"Min\": -170\n },\n \"YRange\": {\n \"Max\": 35,\n \"Min\": -32\n }\n },\n \"AbsoluteZoomPositionSpace\": {\n \"URI\": \"\",\n \"XRange\": {\n \"Max\": 0,\n \"Min\": 0\n }\n },\n \"ContinuousPanTiltVelocitySpace\": {\n \"URI\": \"http://www.onvif.org/ver10/tptz/PanTiltSpaces/VelocityGenericSpace\",\n \"XRange\": {\n \"Max\": 1,\n \"Min\": -1\n },\n \"YRange\": {\n \"Max\": 1,\n \"Min\": -1\n }\n },\n \"ContinuousZoomVelocitySpace\": {\n \"URI\": \"\",\n \"XRange\": {\n \"Max\": 0,\n \"Min\": 0\n }\n },\n \"Extension\": \"\",\n \"PanTiltSpeedSpace\": {\n \"URI\": \"http://www.onvif.org/ver10/tptz/PanTiltSpaces/GenericSpeedSpace\",\n \"XRange\": {\n \"Max\": 0,\n \"Min\": 0\n }\n },\n \"RelativePanTiltTranslationSpace\": {\n \"URI\": \"http://www.onvif.org/ver10/tptz/PanTiltSpaces/TranslationGenericSpace\",\n \"XRange\": {\n \"Max\": 170,\n \"Min\": -170\n },\n \"YRange\": {\n \"Max\": 35,\n \"Min\": -32\n }\n },\n \"RelativeZoomTranslationSpace\": {\n \"URI\": \"\",\n \"XRange\": {\n \"Max\": 0,\n \"Min\": 0\n }\n },\n \"ZoomSpeedSpace\": {\n \"URI\": \"\",\n \"XRange\": {\n \"Max\": 0,\n \"Min\": 0\n }\n }\n },\n \"Token\": \"Node0\"\n }\n ]\n }\n }\n ]\n }\n}" } ] }, { "name": "PTZNode", "request": { "method": "GET", "header": [], "url": { "raw": "{{CORE_COMMAND_URL}}/api/v3/device/name/{{EDGEX_DEVICE_NAME}}/PTZNode?jsonObject={{NODE_TOKEN_BASE64}}", "host": [ "{{CORE_COMMAND_URL}}" ], "path": [ "api", "v3", "device", "name", "{{EDGEX_DEVICE_NAME}}", "PTZNode" ], "query": [ { "key": "jsonObject", "value": "{{NODE_TOKEN_BASE64}}", "description": "{\"NodeToken\": \"Node0\"}" } ] } }, "response": [ { "name": "PTZNode", "originalRequest": { "method": "GET", "header": [], "url": { "raw": "{{CORE_COMMAND_URL}}/api/v3/device/name/{{EDGEX_DEVICE_NAME}}/PTZNode?jsonObject={{NODE_TOKEN_BASE64}}", "host": [ "{{CORE_COMMAND_URL}}" ], "path": [ "api", "v3", "device", "name", "{{EDGEX_DEVICE_NAME}}", "PTZNode" ], "query": [ { "key": "jsonObject", "value": "{{NODE_TOKEN_BASE64}}" } ] } }, "status": "OK", "code": 200, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/json" }, { "key": "X-Correlation-Id", "value": "16c90e5b-0360-4dad-b48e-d8faf485d9e7" }, { "key": "Date", "value": "Thu, 04 Aug 2022 23:39:30 GMT" }, { "key": "Content-Length", "value": "1503" } ], "cookie": [], "body": "{\n \"apiVersion\": \"v3\",\n \"statusCode\": 200,\n \"event\": {\n \"apiVersion\": \"v3\",\n \"id\": \"713edf3b-f049-456b-8f3b-4a2dccca683f\",\n \"deviceName\": \"TP-Link-C200-3fa1fe68-b915-4053-a3e1-1027f5ea88f4\",\n \"profileName\": \"onvif-camera\",\n \"sourceName\": \"PTZNode\",\n \"origin\": 1659656370279599734,\n \"readings\": [\n {\n \"id\": \"42af41ee-f72d-4f0c-95cf-0e8326f6d154\",\n \"origin\": 1659656370279599734,\n \"deviceName\": \"TP-Link-C200-3fa1fe68-b915-4053-a3e1-1027f5ea88f4\",\n \"resourceName\": \"PTZNode\",\n \"profileName\": \"onvif-camera\",\n \"valueType\": \"Object\",\n \"value\": \"\",\n \"objectValue\": {\n \"PTZNode\": {\n \"HomeSupported\": true,\n \"Name\": \"Node0\",\n \"SupportedPTZSpaces\": {\n \"AbsolutePanTiltPositionSpace\": {\n \"URI\": \"http://www.onvif.org/ver10/tptz/PanTiltSpaces/PositionGenericSpace\",\n \"XRange\": {\n \"Max\": 170,\n \"Min\": -170\n },\n \"YRange\": {\n \"Max\": 35,\n \"Min\": -32\n }\n },\n \"AbsoluteZoomPositionSpace\": {\n \"URI\": \"\",\n \"XRange\": {\n \"Max\": 0,\n \"Min\": 0\n }\n },\n \"ContinuousPanTiltVelocitySpace\": {\n \"URI\": \"http://www.onvif.org/ver10/tptz/PanTiltSpaces/VelocityGenericSpace\",\n \"XRange\": {\n \"Max\": 1,\n \"Min\": -1\n },\n \"YRange\": {\n \"Max\": 1,\n \"Min\": -1\n }\n },\n \"ContinuousZoomVelocitySpace\": {\n \"URI\": \"\",\n \"XRange\": {\n \"Max\": 0,\n \"Min\": 0\n }\n },\n \"Extension\": \"\",\n \"PanTiltSpeedSpace\": {\n \"URI\": \"http://www.onvif.org/ver10/tptz/PanTiltSpaces/GenericSpeedSpace\",\n \"XRange\": {\n \"Max\": 0,\n \"Min\": 0\n }\n },\n \"RelativePanTiltTranslationSpace\": {\n \"URI\": \"http://www.onvif.org/ver10/tptz/PanTiltSpaces/TranslationGenericSpace\",\n \"XRange\": {\n \"Max\": 170,\n \"Min\": -170\n },\n \"YRange\": {\n \"Max\": 35,\n \"Min\": -32\n }\n },\n \"RelativeZoomTranslationSpace\": {\n \"URI\": \"\",\n \"XRange\": {\n \"Max\": 0,\n \"Min\": 0\n }\n },\n \"ZoomSpeedSpace\": {\n \"URI\": \"\",\n \"XRange\": {\n \"Max\": 0,\n \"Min\": 0\n }\n }\n },\n \"Token\": \"Node0\"\n }\n }\n }\n ]\n }\n}" } ] } ] }, { "name": "Configuration", "item": [ { "name": "PTZConfigurations", "protocolProfileBehavior": { "disableBodyPruning": true }, "request": { "method": "GET", "header": [], "body": { "mode": "raw", "raw": "{\n \"PTZNode\":{\"NodeToken\": \"Node0\"}\n}", "options": { "raw": { "language": "json" } } }, "url": { "raw": "{{CORE_COMMAND_URL}}/api/v3/device/name/{{EDGEX_DEVICE_NAME}}/PTZConfigurations", "host": [ "{{CORE_COMMAND_URL}}" ], "path": [ "api", "v3", "device", "name", "{{EDGEX_DEVICE_NAME}}", "PTZConfigurations" ] } }, "response": [ { "name": "PTZConfigurations", "originalRequest": { "method": "GET", "header": [], "url": { "raw": "{{CORE_COMMAND_URL}}/api/v3/device/name/{{EDGEX_DEVICE_NAME}}/PTZConfigurations", "host": [ "{{CORE_COMMAND_URL}}" ], "path": [ "api", "v3", "device", "name", "{{EDGEX_DEVICE_NAME}}", "PTZConfigurations" ] } }, "status": "OK", "code": 200, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/json" }, { "key": "X-Correlation-Id", "value": "d7a9c8e5-2ee2-4088-abe5-6ee8e51ebb1f" }, { "key": "Date", "value": "Thu, 04 Aug 2022 23:39:36 GMT" }, { "key": "Content-Length", "value": "1063" } ], "cookie": [], "body": "{\n \"apiVersion\": \"v3\",\n \"statusCode\": 200,\n \"event\": {\n \"apiVersion\": \"v3\",\n \"id\": \"b46d0e1e-f173-4bf0-8e35-984395952b09\",\n \"deviceName\": \"TP-Link-C200-3fa1fe68-b915-4053-a3e1-1027f5ea88f4\",\n \"profileName\": \"onvif-camera\",\n \"sourceName\": \"PTZConfigurations\",\n \"origin\": 1659656376998679164,\n \"readings\": [\n {\n \"id\": \"edf84087-d700-4967-bf5a-3e76e3c8ec18\",\n \"origin\": 1659656376998679164,\n \"deviceName\": \"TP-Link-C200-3fa1fe68-b915-4053-a3e1-1027f5ea88f4\",\n \"resourceName\": \"PTZConfigurations\",\n \"profileName\": \"onvif-camera\",\n \"valueType\": \"Object\",\n \"value\": \"\",\n \"objectValue\": {\n \"PTZConfiguration\": [\n {\n \"DefaultAbsolutePantTiltPositionSpace\": \"http://www.onvif.org/ver10/tptz/PanTiltSpaces/PositionGenericSpace\",\n \"DefaultContinuousPanTiltVelocitySpace\": \"http://www.onvif.org/ver10/tptz/PanTiltSpaces/VelocityGenericSpace\",\n \"DefaultPTZSpeed\": {},\n \"DefaultPTZTimeout\": \"PT0H0M20S\",\n \"DefaultRelativePanTiltTranslationSpace\": \"http://www.onvif.org/ver10/tptz/PanTiltSpaces/TranslationGenericSpace\",\n \"PanTiltLimits\": {\n \"Range\": {\n \"URI\": \"\",\n \"XRange\": {\n \"Max\": 170,\n \"Min\": -170\n },\n \"YRange\": {\n \"Max\": 35,\n \"Min\": -32\n }\n }\n },\n \"Token\": \"PTZConfiguration0\"\n }\n ]\n }\n }\n ]\n }\n}" } ] }, { "name": "PTZConfiguration", "protocolProfileBehavior": { "disableBodyPruning": true }, "request": { "method": "GET", "header": [], "body": { "mode": "raw", "raw": "{\n \"PTZNode\":{\"NodeToken\": \"Node0\"}\n}", "options": { "raw": { "language": "json" } } }, "url": { "raw": "{{CORE_COMMAND_URL}}/api/v3/device/name/{{EDGEX_DEVICE_NAME}}/PTZConfiguration?jsonObject={{PTZ_CONFIGURATION_TOKEN_BASE64}}", "host": [ "{{CORE_COMMAND_URL}}" ], "path": [ "api", "v3", "device", "name", "{{EDGEX_DEVICE_NAME}}", "PTZConfiguration" ], "query": [ { "key": "jsonObject", "value": "{{PTZ_CONFIGURATION_TOKEN_BASE64}}", "description": "{\"PTZConfigurationToken\": \"PTZConfiguration0\"}" } ] } }, "response": [ { "name": "GetConfiguration", "originalRequest": { "method": "GET", "header": [], "url": { "raw": "{{CORE_COMMAND_URL}}/api/v3/device/name/{{EDGEX_DEVICE_NAME}}/PTZConfiguration?jsonObject={{PTZ_CONFIGURATION_TOKEN_BASE64}}", "host": [ "{{CORE_COMMAND_URL}}" ], "path": [ "api", "v3", "device", "name", "{{EDGEX_DEVICE_NAME}}", "PTZConfiguration" ], "query": [ { "key": "jsonObject", "value": "{{PTZ_CONFIGURATION_TOKEN_BASE64}}" } ] } }, "status": "OK", "code": 200, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/json" }, { "key": "X-Correlation-Id", "value": "38e09ee2-1b82-4112-b928-214417616d76" }, { "key": "Date", "value": "Thu, 04 Aug 2022 23:39:43 GMT" }, { "key": "Content-Length", "value": "1053" } ], "cookie": [], "body": "{\n \"apiVersion\": \"v3\",\n \"statusCode\": 200,\n \"event\": {\n \"apiVersion\": \"v3\",\n \"id\": \"13f39ebb-cde4-4d99-bbc2-b207c4a40ca3\",\n \"deviceName\": \"TP-Link-C200-3fa1fe68-b915-4053-a3e1-1027f5ea88f4\",\n \"profileName\": \"onvif-camera\",\n \"sourceName\": \"PTZConfiguration\",\n \"origin\": 1659656383599131308,\n \"readings\": [\n {\n \"id\": \"3a5e5c97-268a-4c84-ae79-f51ada66889e\",\n \"origin\": 1659656383599131308,\n \"deviceName\": \"TP-Link-C200-3fa1fe68-b915-4053-a3e1-1027f5ea88f4\",\n \"resourceName\": \"PTZConfiguration\",\n \"profileName\": \"onvif-camera\",\n \"valueType\": \"Object\",\n \"value\": \"\",\n \"objectValue\": {\n \"PTZConfiguration\": {\n \"DefaultAbsolutePantTiltPositionSpace\": \"http://www.onvif.org/ver10/tptz/PanTiltSpaces/PositionGenericSpace\",\n \"DefaultContinuousPanTiltVelocitySpace\": \"http://www.onvif.org/ver10/tptz/PanTiltSpaces/VelocityGenericSpace\",\n \"DefaultPTZSpeed\": {},\n \"DefaultPTZTimeout\": \"PT0H0M20S\",\n \"DefaultRelativePanTiltTranslationSpace\": \"http://www.onvif.org/ver10/tptz/PanTiltSpaces/TranslationGenericSpace\",\n \"PanTiltLimits\": {\n \"Range\": {\n \"URI\": \"\",\n \"XRange\": {\n \"Max\": 170,\n \"Min\": -170\n },\n \"YRange\": {\n \"Max\": 35,\n \"Min\": -32\n }\n }\n },\n \"Token\": \"PTZConfiguration0\"\n }\n }\n }\n ]\n }\n}" } ] }, { "name": "PTZConfigurationOptions", "protocolProfileBehavior": { "disableBodyPruning": true }, "request": { "method": "GET", "header": [], "body": { "mode": "raw", "raw": "{\n \"PTZNode\":{\"NodeToken\": \"Node0\"}\n}", "options": { "raw": { "language": "json" } } }, "url": { "raw": "{{CORE_COMMAND_URL}}/api/v3/device/name/{{EDGEX_DEVICE_NAME}}/PTZConfigurationOptions?jsonObject={{GET_CONFIGURATION_OPTIONS_BASE64}}", "host": [ "{{CORE_COMMAND_URL}}" ], "path": [ "api", "v3", "device", "name", "{{EDGEX_DEVICE_NAME}}", "PTZConfigurationOptions" ], "query": [ { "key": "jsonObject", "value": "{{GET_CONFIGURATION_OPTIONS_BASE64}}", "description": "{\"ConfigurationToken\": \"PTZConfiguration0\"}" } ] } }, "response": [ { "name": "PTZConfigurationOptions", "originalRequest": { "method": "GET", "header": [], "url": { "raw": "{{CORE_COMMAND_URL}}/api/v3/device/name/{{EDGEX_DEVICE_NAME}}/PTZConfigurationOptions?jsonObject={{GET_CONFIGURATION_OPTIONS_BASE64}}", "host": [ "{{CORE_COMMAND_URL}}" ], "path": [ "api", "v3", "device", "name", "{{EDGEX_DEVICE_NAME}}", "PTZConfigurationOptions" ], "query": [ { "key": "jsonObject", "value": "{{GET_CONFIGURATION_OPTIONS_BASE64}}", "description": "{\"ConfigurationToken\": \"PTZConfiguration0\"}" } ] } }, "status": "OK", "code": 200, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/json" }, { "key": "X-Correlation-Id", "value": "6b954ddf-abe0-4ba7-b761-22a99aa13e96" }, { "key": "Date", "value": "Fri, 05 Aug 2022 03:56:06 GMT" }, { "key": "Content-Length", "value": "1538" } ], "cookie": [], "body": "{\n \"apiVersion\": \"v3\",\n \"statusCode\": 200,\n \"event\": {\n \"apiVersion\": \"v3\",\n \"id\": \"418fbbf5-6628-4033-8d7b-0811968dcee8\",\n \"deviceName\": \"TP-Link-C200-3fa1fe68-b915-4053-a3e1-1027f5ea88f4\",\n \"profileName\": \"onvif-camera\",\n \"sourceName\": \"PTZConfigurationOptions\",\n \"origin\": 1659671766926306082,\n \"readings\": [\n {\n \"id\": \"7ceb7891-b7af-4cfe-9bbb-2d0fb3bead14\",\n \"origin\": 1659671766926306082,\n \"deviceName\": \"TP-Link-C200-3fa1fe68-b915-4053-a3e1-1027f5ea88f4\",\n \"resourceName\": \"PTZConfigurationOptions\",\n \"profileName\": \"onvif-camera\",\n \"valueType\": \"Object\",\n \"value\": \"\",\n \"objectValue\": {\n \"PTZConfigurationOptions\": {\n \"PTZTimeout\": {\n \"Max\": \"PT0H0M20S\",\n \"Min\": \"PT0H0M20S\"\n },\n \"Spaces\": {\n \"AbsolutePanTiltPositionSpace\": {\n \"URI\": \"http://www.onvif.org/ver10/tptz/PanTiltSpaces/PositionGenericSpace\",\n \"XRange\": {\n \"Max\": 170,\n \"Min\": -170\n },\n \"YRange\": {\n \"Max\": 35,\n \"Min\": -32\n }\n },\n \"AbsoluteZoomPositionSpace\": {\n \"URI\": \"\",\n \"XRange\": {\n \"Max\": 0,\n \"Min\": 0\n }\n },\n \"ContinuousPanTiltVelocitySpace\": {\n \"URI\": \"http://www.onvif.org/ver10/tptz/PanTiltSpaces/VelocityGenericSpace\",\n \"XRange\": {\n \"Max\": 1,\n \"Min\": -1\n },\n \"YRange\": {\n \"Max\": 1,\n \"Min\": -1\n }\n },\n \"ContinuousZoomVelocitySpace\": {\n \"URI\": \"\",\n \"XRange\": {\n \"Max\": 0,\n \"Min\": 0\n }\n },\n \"Extension\": \"\",\n \"PanTiltSpeedSpace\": {\n \"URI\": \"http://www.onvif.org/ver10/tptz/PanTiltSpaces/GenericSpeedSpace\",\n \"XRange\": {\n \"Max\": 0,\n \"Min\": 0\n }\n },\n \"RelativePanTiltTranslationSpace\": {\n \"URI\": \"http://www.onvif.org/ver10/tptz/PanTiltSpaces/TranslationGenericSpace\",\n \"XRange\": {\n \"Max\": 170,\n \"Min\": -170\n },\n \"YRange\": {\n \"Max\": 35,\n \"Min\": -32\n }\n },\n \"RelativeZoomTranslationSpace\": {\n \"URI\": \"\",\n \"XRange\": {\n \"Max\": 0,\n \"Min\": 0\n }\n },\n \"ZoomSpeedSpace\": {\n \"URI\": \"\",\n \"XRange\": {\n \"Max\": 0,\n \"Min\": 0\n }\n }\n }\n }\n }\n }\n ]\n }\n}" } ] }, { "name": "PTZConfiguration", "request": { "method": "PUT", "header": [], "body": { "mode": "raw", "raw": "{\n \"PTZConfiguration\": {\n \"PTZConfiguration\": {\n \"Token\": \"{{PTZ_CONFIG_TOKEN}}\",\n \"NodeToken\": \"{{PTZ_NODE_TOKEN}}\",\n \"PanTiltLimits\": {\n \"Range\": {\n \"XRange\": {\n \"Max\": 170,\n \"Min\": -170\n },\n \"YRange\": {\n \"Max\": 35,\n \"Min\": -32\n }\n }\n }\n }\n }\n}", "options": { "raw": { "language": "json" } } }, "url": { "raw": "{{CORE_COMMAND_URL}}/api/v3/device/name/{{EDGEX_DEVICE_NAME}}/PTZConfiguration", "host": [ "{{CORE_COMMAND_URL}}" ], "path": [ "api", "v3", "device", "name", "{{EDGEX_DEVICE_NAME}}", "PTZConfiguration" ] } }, "response": [ { "name": "SetConfiguration", "originalRequest": { "method": "PUT", "header": [], "body": { "mode": "raw", "raw": "{\n \"PTZConfiguration\": {\n \"PTZConfiguration\": {\n \"Token\": \"{{PTZ_CONFIG_TOKEN}}\",\n \"NodeToken\": \"{{PTZ_NODE_TOKEN}}\",\n \"PanTiltLimits\": {\n \"Range\": {\n \"XRange\": {\n \"Max\": 170,\n \"Min\": -170\n },\n \"YRange\": {\n \"Max\": 35,\n \"Min\": -32\n }\n }\n }\n } \n }\n}", "options": { "raw": { "language": "json" } } }, "url": { "raw": "{{CORE_COMMAND_URL}}/api/v3/device/name/{{EDGEX_DEVICE_NAME}}/PTZConfiguration", "host": [ "{{CORE_COMMAND_URL}}" ], "path": [ "api", "v3", "device", "name", "{{EDGEX_DEVICE_NAME}}", "PTZConfiguration" ] } }, "status": "OK", "code": 200, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/json" }, { "key": "X-Correlation-Id", "value": "907ca3c4-30ed-442c-b9c6-2ba7742e073a" }, { "key": "Date", "value": "Fri, 07 Oct 2022 18:05:10 GMT" }, { "key": "Content-Length", "value": "37" } ], "cookie": [], "body": "{\n \"apiVersion\": \"v3\",\n \"statusCode\": 200\n}" } ] }, { "name": "AddPTZConfiguration", "request": { "method": "PUT", "header": [], "body": { "mode": "raw", "raw": "{\n \"AddPTZConfiguration\": {\n \"ProfileToken\": \"{{MEDIA_PROFILE}}\",\n \"ConfigurationToken\": \"{{PTZ_CONFIG_TOKEN}}\"\n }\n}", "options": { "raw": { "language": "json" } } }, "url": { "raw": "{{CORE_COMMAND_URL}}/api/v3/device/name/{{EDGEX_DEVICE_NAME}}/AddPTZConfiguration", "host": [ "{{CORE_COMMAND_URL}}" ], "path": [ "api", "v3", "device", "name", "{{EDGEX_DEVICE_NAME}}", "AddPTZConfiguration" ] } }, "response": [ { "name": "AddPTZConfiguration", "originalRequest": { "method": "PUT", "header": [], "body": { "mode": "raw", "raw": "{\n \"AddPTZConfiguration\": {\n \"ProfileToken\": \"{{MEDIA_PROFILE}}\",\n \"ConfigurationToken\": \"{{PTZ_CONFIG_TOKEN}}\" \n }\n}", "options": { "raw": { "language": "json" } } }, "url": { "raw": "{{CORE_COMMAND_URL}}/api/v3/device/name/{{EDGEX_DEVICE_NAME}}/AddPTZConfiguration", "host": [ "{{CORE_COMMAND_URL}}" ], "path": [ "api", "v3", "device", "name", "{{EDGEX_DEVICE_NAME}}", "AddPTZConfiguration" ] } }, "status": "OK", "code": 200, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/json" }, { "key": "X-Correlation-Id", "value": "d264aa4d-1b3f-4788-8807-00acc18388eb" }, { "key": "Date", "value": "Fri, 07 Oct 2022 18:27:21 GMT" }, { "key": "Content-Length", "value": "37" } ], "cookie": [], "body": "{\n \"apiVersion\": \"v3\",\n \"statusCode\": 200\n}" } ] }, { "name": "RemovePTZConfiguration", "request": { "method": "PUT", "header": [], "body": { "mode": "raw", "raw": "{\n \"RemovePTZConfiguration\": {\n \"ProfileToken\": \"{{PTZ_CONFIG_TOKEN}}\"\n }\n}", "options": { "raw": { "language": "json" } } }, "url": { "raw": "{{CORE_COMMAND_URL}}/api/v3/device/name/{{EDGEX_DEVICE_NAME}}/RemovePTZConfiguration", "host": [ "{{CORE_COMMAND_URL}}" ], "path": [ "api", "v3", "device", "name", "{{EDGEX_DEVICE_NAME}}", "RemovePTZConfiguration" ] } }, "response": [ { "name": "RemovePTZConfiguration", "originalRequest": { "method": "PUT", "header": [], "body": { "mode": "raw", "raw": "{\n \"RemovePTZConfiguration\": {\n \"ProfileToken\": \"{{PTZ_CONFIG_TOKEN}}\" \n }\n}", "options": { "raw": { "language": "json" } } }, "url": { "raw": "{{CORE_COMMAND_URL}}/api/v3/device/name/{{EDGEX_DEVICE_NAME}}/RemovePTZConfiguration", "host": [ "{{CORE_COMMAND_URL}}" ], "path": [ "api", "v3", "device", "name", "{{EDGEX_DEVICE_NAME}}", "RemovePTZConfiguration" ] } }, "status": "OK", "code": 200, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/json" }, { "key": "X-Correlation-Id", "value": "95a3251e-41fb-45d5-9633-dc597a9f185c" }, { "key": "Date", "value": "Tue, 11 Oct 2022 03:25:56 GMT" }, { "key": "Content-Length", "value": "37" } ], "cookie": [], "body": "{\n \"apiVersion\": \"v3\",\n \"statusCode\": 200\n}" } ] } ] }, { "name": "Actuation", "item": [ { "name": "PTZAbsoluteMove", "request": { "method": "PUT", "header": [], "body": { "mode": "raw", "raw": "{\n \"PTZAbsoluteMove\": {\n \"ProfileToken\": \"{{PTZ_CONFIG_TOKEN}}\",\n \"Position\": {\n \"PanTilt\": {\n \"x\": 0,\n \"y\": 0\n }\n }\n }\n}", "options": { "raw": { "language": "json" } } }, "url": { "raw": "{{CORE_COMMAND_URL}}/api/v3/device/name/{{EDGEX_DEVICE_NAME}}/PTZAbsoluteMove", "host": [ "{{CORE_COMMAND_URL}}" ], "path": [ "api", "v3", "device", "name", "{{EDGEX_DEVICE_NAME}}", "PTZAbsoluteMove" ] } }, "response": [ { "name": "PTZAbsoluteMove", "originalRequest": { "method": "PUT", "header": [], "body": { "mode": "raw", "raw": "{\n \"PTZAbsoluteMove\": {\n \"ProfileToken\": \"{{PTZ_CONFIG_TOKEN}}\",\n \"Position\": {\n \"PanTilt\": {\n \"x\": 0,\n \"y\": 0\n }\n } \n }\n}", "options": { "raw": { "language": "json" } } }, "url": { "raw": "{{CORE_COMMAND_URL}}/api/v3/device/name/{{EDGEX_DEVICE_NAME}}/PTZAbsoluteMove", "host": [ "{{CORE_COMMAND_URL}}" ], "path": [ "api", "v3", "device", "name", "{{EDGEX_DEVICE_NAME}}", "PTZAbsoluteMove" ] } }, "status": "OK", "code": 200, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/json" }, { "key": "X-Correlation-Id", "value": "ee6ad0a6-5f98-4d65-a1dc-a5047f1bfd38" }, { "key": "Date", "value": "Tue, 11 Oct 2022 03:24:42 GMT" }, { "key": "Content-Length", "value": "37" } ], "cookie": [], "body": "{\n \"apiVersion\": \"v3\",\n \"statusCode\": 200\n}" } ] }, { "name": "PTZRelativeMove", "request": { "method": "PUT", "header": [], "body": { "mode": "raw", "raw": "{\n \"PTZRelativeMove\": {\n \"ProfileToken\": \"{{PTZ_CONFIG_TOKEN}}\",\n \"Translation\": {\n \"PanTilt\": {\n \"x\": 0,\n \"y\": 0\n }\n }\n }\n}", "options": { "raw": { "language": "json" } } }, "url": { "raw": "{{CORE_COMMAND_URL}}/api/v3/device/name/{{EDGEX_DEVICE_NAME}}/PTZRelativeMove", "host": [ "{{CORE_COMMAND_URL}}" ], "path": [ "api", "v3", "device", "name", "{{EDGEX_DEVICE_NAME}}", "PTZRelativeMove" ] } }, "response": [ { "name": "PTZRelativeMove", "originalRequest": { "method": "PUT", "header": [], "body": { "mode": "raw", "raw": "{\n \"PTZRelativeMove\": {\n \"ProfileToken\": \"{{PTZ_CONFIG_TOKEN}}\",\n \"Translation\": {\n \"PanTilt\": {\n \"x\": 0,\n \"y\": 0\n }\n } \n }\n}", "options": { "raw": { "language": "json" } } }, "url": { "raw": "{{CORE_COMMAND_URL}}/api/v3/device/name/{{EDGEX_DEVICE_NAME}}/PTZRelativeMove", "host": [ "{{CORE_COMMAND_URL}}" ], "path": [ "api", "v3", "device", "name", "{{EDGEX_DEVICE_NAME}}", "PTZRelativeMove" ] } }, "status": "OK", "code": 200, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/json" }, { "key": "X-Correlation-Id", "value": "700ccf33-2db1-4646-9c7b-383910df2e23" }, { "key": "Date", "value": "Tue, 11 Oct 2022 03:25:28 GMT" }, { "key": "Content-Length", "value": "37" } ], "cookie": [], "body": "{\n \"apiVersion\": \"v3\",\n \"statusCode\": 200\n}" } ] }, { "name": "PTZContinuousMove", "request": { "method": "PUT", "header": [], "body": { "mode": "raw", "raw": "{\n \"PTZContinuousMove\": {\n \"ProfileToken\": \"{{MEDIA_PROFILE}}\",\n \"Velocity\": {\n \"PanTilt\": {\n \"x\": -1,\n \"y\": -1\n }\n }\n }\n}", "options": { "raw": { "language": "json" } } }, "url": { "raw": "{{CORE_COMMAND_URL}}/api/v3/device/name/{{EDGEX_DEVICE_NAME}}/PTZContinuousMove", "host": [ "{{CORE_COMMAND_URL}}" ], "path": [ "api", "v3", "device", "name", "{{EDGEX_DEVICE_NAME}}", "PTZContinuousMove" ] } }, "response": [ { "name": "PTZContinuousMove", "originalRequest": { "method": "PUT", "header": [], "body": { "mode": "raw", "raw": "{\n \"PTZContinuousMove\": {\n \"ProfileToken\": \"{{MEDIA_PROFILE}}\",\n \"Velocity\": {\n \"PanTilt\": {\n \"x\": -1,\n \"y\": -1\n }\n } \n }\n}", "options": { "raw": { "language": "json" } } }, "url": { "raw": "{{CORE_COMMAND_URL}}/api/v3/device/name/{{EDGEX_DEVICE_NAME}}/PTZContinuousMove", "host": [ "{{CORE_COMMAND_URL}}" ], "path": [ "api", "v3", "device", "name", "{{EDGEX_DEVICE_NAME}}", "PTZContinuousMove" ] } }, "status": "OK", "code": 200, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/json" }, { "key": "X-Correlation-Id", "value": "a09ac058-3809-47a7-b90e-cfdb6d6a7231" }, { "key": "Date", "value": "Fri, 07 Oct 2022 18:27:42 GMT" }, { "key": "Content-Length", "value": "37" } ], "cookie": [], "body": "{\n \"apiVersion\": \"v3\",\n \"statusCode\": 200\n}" } ] }, { "name": "PTZStatus", "protocolProfileBehavior": { "disableBodyPruning": true }, "request": { "method": "GET", "header": [], "body": { "mode": "raw", "raw": "", "options": { "raw": { "language": "json" } } }, "url": { "raw": "{{CORE_COMMAND_URL}}/api/v3/device/name/{{EDGEX_DEVICE_NAME}}/PTZStatus?jsonObject={{EDGEX_MEDIA_PROFILE_BASE64}}", "host": [ "{{CORE_COMMAND_URL}}" ], "path": [ "api", "v3", "device", "name", "{{EDGEX_DEVICE_NAME}}", "PTZStatus" ], "query": [ { "key": "jsonObject", "value": "{{EDGEX_MEDIA_PROFILE_BASE64}}", "description": "{\"ProfileToken\":\"profile_1\"}" } ] } }, "response": [ { "name": "PTZStatus", "originalRequest": { "method": "GET", "header": [], "url": { "raw": "{{CORE_COMMAND_URL}}/api/v3/device/name/{{EDGEX_DEVICE_NAME}}/PTZStatus?jsonObject={{EDGEX_MEDIA_PROFILE_BASE64}}", "host": [ "{{CORE_COMMAND_URL}}" ], "path": [ "api", "v3", "device", "name", "{{EDGEX_DEVICE_NAME}}", "PTZStatus" ], "query": [ { "key": "jsonObject", "value": "{{EDGEX_MEDIA_PROFILE_BASE64}}" } ] } }, "status": "OK", "code": 200, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/json" }, { "key": "X-Correlation-Id", "value": "53763243-40d8-4d96-a2ae-97f77f2550e0" }, { "key": "Date", "value": "Fri, 05 Aug 2022 00:27:32 GMT" }, { "key": "Content-Length", "value": "709" } ], "cookie": [], "body": "{\n \"apiVersion\": \"v3\",\n \"statusCode\": 200,\n \"event\": {\n \"apiVersion\": \"v3\",\n \"id\": \"c8ad64b4-db58-4c9b-9896-82fff02544c9\",\n \"deviceName\": \"TP-Link-C200-3fa1fe68-b915-4053-a3e1-1027f5ea88f4\",\n \"profileName\": \"onvif-camera\",\n \"sourceName\": \"PTZStatus\",\n \"origin\": 1659659252963492133,\n \"readings\": [\n {\n \"id\": \"71444c1c-9e85-4852-9c1e-9bd9eba8d616\",\n \"origin\": 1659659252963492133,\n \"deviceName\": \"TP-Link-C200-3fa1fe68-b915-4053-a3e1-1027f5ea88f4\",\n \"resourceName\": \"PTZStatus\",\n \"profileName\": \"onvif-camera\",\n \"valueType\": \"Object\",\n \"value\": \"\",\n \"objectValue\": {\n \"PTZStatus\": {\n \"MoveStatus\": {\n \"PanTilt\": \"IDLE\"\n },\n \"Position\": {\n \"PanTilt\": {\n \"Space\": \"http://www.onvif.org/ver10/tptz/PanTiltSpaces/PositionGenericSpace\",\n \"X\": 82,\n \"Y\": -5\n }\n },\n \"UtcTime\": \"2022-08-05T00:27:32Z\"\n }\n }\n }\n ]\n }\n}" } ] }, { "name": "PTZStop", "request": { "method": "PUT", "header": [], "body": { "mode": "raw", "raw": "{\n \"PTZStop\": {\n \"ProfileToken\": \"{{MEDIA_PROFILE}}\",\n \"PanTilt\": true\n }\n}", "options": { "raw": { "language": "json" } } }, "url": { "raw": "{{CORE_COMMAND_URL}}/api/v3/device/name/{{EDGEX_DEVICE_NAME}}/PTZStop", "host": [ "{{CORE_COMMAND_URL}}" ], "path": [ "api", "v3", "device", "name", "{{EDGEX_DEVICE_NAME}}", "PTZStop" ] } }, "response": [ { "name": "PTZStop", "originalRequest": { "method": "PUT", "header": [], "body": { "mode": "raw", "raw": "{\n \"PTZStop\": {\n \"ProfileToken\": \"{{MEDIA_PROFILE}}\",\n \"PanTilt\": true \n }\n}", "options": { "raw": { "language": "json" } } }, "url": { "raw": "{{CORE_COMMAND_URL}}/api/v3/device/name/{{EDGEX_DEVICE_NAME}}/PTZStop", "host": [ "{{CORE_COMMAND_URL}}" ], "path": [ "api", "v3", "device", "name", "{{EDGEX_DEVICE_NAME}}", "PTZStop" ] } }, "status": "OK", "code": 200, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/json" }, { "key": "X-Correlation-Id", "value": "72df6d5f-6c13-4e26-9e66-a0578604035d" }, { "key": "Date", "value": "Fri, 07 Oct 2022 18:27:51 GMT" }, { "key": "Content-Length", "value": "37" } ], "cookie": [], "body": "{\n \"apiVersion\": \"v3\",\n \"statusCode\": 200\n}" } ] } ] }, { "name": "PTZPreset", "item": [ { "name": "PTZPreset", "request": { "method": "PUT", "header": [], "body": { "mode": "raw", "raw": "{\n \"SetPreset\": {\n \"PresetName\": \"Preset1\",\n \"ProfileToken\": \"{{PTZ_CONFIG_TOKEN}}\"\n }\n}", "options": { "raw": { "language": "json" } } }, "url": { "raw": "{{CORE_COMMAND_URL}}/api/v3/device/name/{{EDGEX_DEVICE_NAME}}/PTZPreset", "host": [ "{{CORE_COMMAND_URL}}" ], "path": [ "api", "v3", "device", "name", "{{EDGEX_DEVICE_NAME}}", "PTZPreset" ] } }, "response": [ { "name": "SetPreset", "originalRequest": { "method": "PUT", "header": [], "body": { "mode": "raw", "raw": "{\n \"SetPreset\": {\n \"ProfileToken\": \"{{MEDIA_PROFILE}}\" \n }\n}", "options": { "raw": { "language": "json" } } }, "url": { "raw": "{{CORE_COMMAND_URL}}/api/v3/device/name/{{EDGEX_DEVICE_NAME}}/SetPreset", "host": [ "{{CORE_COMMAND_URL}}" ], "path": [ "api", "v3", "device", "name", "{{EDGEX_DEVICE_NAME}}", "SetPreset" ] } }, "status": "OK", "code": 200, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/json" }, { "key": "X-Correlation-Id", "value": "92a2b03e-65ed-4551-bd2d-64bc97f6c83c" }, { "key": "Date", "value": "Fri, 07 Oct 2022 18:27:55 GMT" }, { "key": "Content-Length", "value": "37" } ], "cookie": [], "body": "{\n \"apiVersion\": \"v3\",\n \"statusCode\": 200\n}" } ] }, { "name": "PTZPresets", "request": { "method": "GET", "header": [], "url": { "raw": "{{CORE_COMMAND_URL}}/api/v3/device/name/{{EDGEX_DEVICE_NAME}}/PTZPresets?jsonObject={{PTZ_MEDIA_PROFILE_TOKEN_BASE64}}", "host": [ "{{CORE_COMMAND_URL}}" ], "path": [ "api", "v3", "device", "name", "{{EDGEX_DEVICE_NAME}}", "PTZPresets" ], "query": [ { "key": "jsonObject", "value": "{{PTZ_MEDIA_PROFILE_TOKEN_BASE64}}" } ] } }, "response": [ { "name": "PTZPresets", "originalRequest": { "method": "GET", "header": [], "url": { "raw": "{{CORE_COMMAND_URL}}/api/v3/device/name/{{EDGEX_DEVICE_NAME}}/PTZPresets?jsonObject={{EDGEX_MEDIA_PROFILE_BASE64}}", "host": [ "{{CORE_COMMAND_URL}}" ], "path": [ "api", "v3", "device", "name", "{{EDGEX_DEVICE_NAME}}", "PTZPresets" ], "query": [ { "key": "jsonObject", "value": "{{EDGEX_MEDIA_PROFILE_BASE64}}" } ] } }, "status": "OK", "code": 200, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/json" }, { "key": "X-Correlation-Id", "value": "25e64454-55f1-4448-94b3-ec8487bc4cbe" }, { "key": "Date", "value": "Fri, 05 Aug 2022 00:27:40 GMT" }, { "key": "Content-Length", "value": "1018" } ], "cookie": [], "body": "{\n \"apiVersion\": \"v3\",\n \"statusCode\": 200,\n \"event\": {\n \"apiVersion\": \"v3\",\n \"id\": \"79dde7e3-9730-4d33-aa9f-48e499b23207\",\n \"deviceName\": \"TP-Link-C200-3fa1fe68-b915-4053-a3e1-1027f5ea88f4\",\n \"profileName\": \"onvif-camera\",\n \"sourceName\": \"PTZPresets\",\n \"origin\": 1659659260936957116,\n \"readings\": [\n {\n \"id\": \"5816a933-ec39-4c58-b8cf-aa3fc8dcbd19\",\n \"origin\": 1659659260936957116,\n \"deviceName\": \"TP-Link-C200-3fa1fe68-b915-4053-a3e1-1027f5ea88f4\",\n \"resourceName\": \"PTZPresets\",\n \"profileName\": \"onvif-camera\",\n \"valueType\": \"Object\",\n \"value\": \"\",\n \"objectValue\": {\n \"Preset\": [\n {\n \"Name\": \"Marked Position 2\",\n \"PTZPosition\": {\n \"PanTilt\": {\n \"Space\": \"http://www.onvif.org/ver10/tptz/PanTiltSpaces/PositionGenericSpace\",\n \"X\": 169,\n \"Y\": -5\n }\n },\n \"Token\": \"Preset2\"\n },\n {\n \"Name\": \"Marked Position 3\",\n \"PTZPosition\": {\n \"PanTilt\": {\n \"Space\": \"http://www.onvif.org/ver10/tptz/PanTiltSpaces/PositionGenericSpace\",\n \"X\": 115,\n \"Y\": 13\n }\n },\n \"Token\": \"Preset3\"\n },\n {\n \"Name\": \"preset4\",\n \"PTZPosition\": {\n \"PanTilt\": {\n \"Space\": \"http://www.onvif.org/ver10/tptz/PanTiltSpaces/PositionGenericSpace\",\n \"X\": 134,\n \"Y\": 13\n }\n },\n \"Token\": \"Preset4\"\n }\n ]\n }\n }\n ]\n }\n}" } ] }, { "name": "PTZGotoPreset", "request": { "method": "PUT", "header": [], "body": { "mode": "raw", "raw": "{\n \"PTZGotoPreset\": {\n \"ProfileToken\": \"{{PTZ_CONFIG_TOKEN}}\",\n \"PresetToken\": \"Preset1\"\n }\n}", "options": { "raw": { "language": "json" } } }, "url": { "raw": "{{CORE_COMMAND_URL}}/api/v3/device/name/{{EDGEX_DEVICE_NAME}}/PTZGotoPreset", "host": [ "{{CORE_COMMAND_URL}}" ], "path": [ "api", "v3", "device", "name", "{{EDGEX_DEVICE_NAME}}", "PTZGotoPreset" ] } }, "response": [] }, { "name": "PTZRemovePreset", "request": { "method": "PUT", "header": [], "body": { "mode": "raw", "raw": "{\n \"PTZRemovePreset\": {\n \"ProfileToken\": \"{{MEDIA_PROFILE}}\",\n \"PresetToken\": \"Preset1\"\n }\n}", "options": { "raw": { "language": "json" } } }, "url": { "raw": "{{CORE_COMMAND_URL}}/api/v3/device/name/{{EDGEX_DEVICE_NAME}}/PTZRemovePreset", "host": [ "{{CORE_COMMAND_URL}}" ], "path": [ "api", "v3", "device", "name", "{{EDGEX_DEVICE_NAME}}", "PTZRemovePreset" ] } }, "response": [] } ] }, { "name": "Home Position", "item": [ { "name": "PTZGotoHomePosition", "request": { "method": "PUT", "header": [], "body": { "mode": "raw", "raw": "{\n \"PTZGotoHomePosition\": {\n \"ProfileToken\": \"{{MEDIA_PROFILE}}\"\n }\n}", "options": { "raw": { "language": "json" } } }, "url": { "raw": "{{CORE_COMMAND_URL}}/api/v3/device/name/{{EDGEX_DEVICE_NAME}}/PTZGotoHomePosition", "host": [ "{{CORE_COMMAND_URL}}" ], "path": [ "api", "v3", "device", "name", "{{EDGEX_DEVICE_NAME}}", "PTZGotoHomePosition" ] }, "description": "Operation to move the PTZ device to it's \"home\" position. The operation is supported if the HomeSupported element in the PTZNode is true." }, "response": [ { "name": "PTZGotoHomePosition", "originalRequest": { "method": "PUT", "header": [], "body": { "mode": "raw", "raw": "{\n \"PTZGotoHomePosition\": {\n \"ProfileToken\": \"{{MEDIA_PROFILE}}\"\n }\n}", "options": { "raw": { "language": "json" } } }, "url": { "raw": "{{CORE_COMMAND_URL}}/api/v3/device/name/{{EDGEX_DEVICE_NAME}}/PTZGotoHomePosition", "host": [ "{{CORE_COMMAND_URL}}" ], "path": [ "api", "v3", "device", "name", "{{EDGEX_DEVICE_NAME}}", "PTZGotoHomePosition" ] } }, "status": "OK", "code": 200, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/json" }, { "key": "X-Correlation-Id", "value": "5f34a9a0-2e59-4a63-91bb-d9fe59a5d293" }, { "key": "Date", "value": "Fri, 05 Aug 2022 00:27:58 GMT" }, { "key": "Content-Length", "value": "37" } ], "cookie": [], "body": "{\n \"apiVersion\": \"v3\",\n \"statusCode\": 200\n}" } ] }, { "name": "PTZHomePosition", "request": { "method": "PUT", "header": [], "body": { "mode": "raw", "raw": "{\n \"PTZHomePosition\": {\n \"ProfileToken\": \"{{MEDIA_PROFILE}}\"\n }\n}", "options": { "raw": { "language": "json" } } }, "url": { "raw": "{{CORE_COMMAND_URL}}/api/v3/device/name/{{EDGEX_DEVICE_NAME}}/PTZHomePosition", "host": [ "{{CORE_COMMAND_URL}}" ], "path": [ "api", "v3", "device", "name", "{{EDGEX_DEVICE_NAME}}", "PTZHomePosition" ] } }, "response": [ { "name": "PTZHomePosition", "originalRequest": { "method": "PUT", "header": [], "body": { "mode": "raw", "raw": "{\n \"PTZHomePosition\": {\n \"ProfileToken\": \"{{MEDIA_PROFILE}}\"\n }\n}", "options": { "raw": { "language": "json" } } }, "url": { "raw": "{{CORE_COMMAND_URL}}/api/v3/device/name/{{EDGEX_DEVICE_NAME}}/PTZHomePosition", "host": [ "{{CORE_COMMAND_URL}}" ], "path": [ "api", "v3", "device", "name", "{{EDGEX_DEVICE_NAME}}", "PTZHomePosition" ] } }, "status": "OK", "code": 200, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/json" }, { "key": "X-Correlation-Id", "value": "fc56acaa-b0e3-4bea-8781-1ebdf5aabc7c" }, { "key": "Date", "value": "Fri, 05 Aug 2022 00:28:04 GMT" }, { "key": "Content-Length", "value": "37" } ], "cookie": [], "body": "{\n \"apiVersion\": \"v3\",\n \"statusCode\": 200\n}" } ] } ] }, { "name": "Auxiliary", "item": [ { "name": "PTZSendAuxiliaryCommand", "request": { "method": "PUT", "header": [], "body": { "mode": "raw", "raw": "{\n \"PTZSendAuxiliaryCommand\": {\n \"ProfileToken\": \"{{MEDIA_PROFILE}}\",\n \"AuxiliaryData\": \"123\"\n }\n}", "options": { "raw": { "language": "json" } } }, "url": { "raw": "{{CORE_COMMAND_URL}}/api/v3/device/name/{{EDGEX_DEVICE_NAME}}/PTZSendAuxiliaryCommand", "host": [ "{{CORE_COMMAND_URL}}" ], "path": [ "api", "v3", "device", "name", "{{EDGEX_DEVICE_NAME}}", "PTZSendAuxiliaryCommand" ] }, "description": "Manage auxiliary commands supported by a device, such as controlling an Infrared (IR) lamp, a heater or a wiper or a thermometer that is connected to the device.\n\nThe supported commands can be retrieved via the AuxiliaryCommands capability.\n\nAlthough the name of the auxiliary commands can be freely defined, commands starting with the prefix tt: are reserved to define frequently used commands and these reserved commands shall all share the \"tt:command|parameter\" syntax. \ntt:Wiper|On – Request to start the wiper. \ntt:Wiper|Off – Request to stop the wiper. \ntt:Washer|On – Request to start the washer. \ntt:Washer|Off – Request to stop the washer. \ntt:WashingProcedure|On – Request to start the washing procedure. \ntt: WashingProcedure |Off – Request to stop the washing procedure. \ntt:IRLamp|On – Request to turn ON an IR illuminator attached to the unit. \ntt:IRLamp|Off – Request to turn OFF an IR illuminator attached to the unit. \ntt:IRLamp|Auto – Request to configure an IR illuminator attached to the unit so that it automatically turns ON and OFF. \nA device that indicates auxiliary service capability shall support this command." }, "response": [ { "name": "PTZSendAuxiliaryCommand", "originalRequest": { "method": "PUT", "header": [], "body": { "mode": "raw", "raw": "{\n \"PTZSendAuxiliaryCommand\": {\n \"ProfileToken\": \"{{MEDIA_PROFILE}}\",\n \"AuxiliaryData\": \"123\"\n }\n}", "options": { "raw": { "language": "json" } } }, "url": { "raw": "{{CORE_COMMAND_URL}}/api/v3/device/name/{{EDGEX_DEVICE_NAME}}/PTZSendAuxiliaryCommand", "host": [ "{{CORE_COMMAND_URL}}" ], "path": [ "api", "v3", "device", "name", "{{EDGEX_DEVICE_NAME}}", "PTZSendAuxiliaryCommand" ] } }, "status": "OK", "code": 200, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/json" }, { "key": "X-Correlation-Id", "value": "417c8635-cb74-47de-bbdc-4d96df27fcb5" }, { "key": "Date", "value": "Fri, 07 Oct 2022 18:27:09 GMT" }, { "key": "Content-Length", "value": "37" } ], "cookie": [], "body": "{\n \"apiVersion\": \"v3\",\n \"statusCode\": 200\n}" } ] } ] } ] }, { "name": "Event Handling", "item": [ { "name": "EventProperties", "request": { "method": "GET", "header": [], "url": { "raw": "{{CORE_COMMAND_URL}}/api/v3/device/name/{{EDGEX_DEVICE_NAME}}/EventProperties", "host": [ "{{CORE_COMMAND_URL}}" ], "path": [ "api", "v3", "device", "name", "{{EDGEX_DEVICE_NAME}}", "EventProperties" ] } }, "response": [ { "name": "EventProperties", "originalRequest": { "method": "GET", "header": [], "url": { "raw": "{{CORE_COMMAND_URL}}/api/v3/device/name/{{EDGEX_DEVICE_NAME}}/EventProperties", "host": [ "{{CORE_COMMAND_URL}}" ], "path": [ "api", "v3", "device", "name", "{{EDGEX_DEVICE_NAME}}", "EventProperties" ] } }, "status": "OK", "code": 200, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/json" }, { "key": "X-Correlation-Id", "value": "4ddb3f14-46d5-43b5-9c36-220b5ae53545" }, { "key": "Date", "value": "Fri, 05 Aug 2022 00:27:20 GMT" }, { "key": "Transfer-Encoding", "value": "chunked" } ], "cookie": [], "body": "{\n \"apiVersion\": \"v3\",\n \"statusCode\": 200,\n \"event\": {\n \"apiVersion\": \"v3\",\n \"id\": \"925ca37f-2ed6-43f9-b9e3-4c31849325b7\",\n \"deviceName\": \"TP-Link-C200-3fa1fe68-b915-4053-a3e1-1027f5ea88f4\",\n \"profileName\": \"onvif-camera\",\n \"sourceName\": \"EventProperties\",\n \"origin\": 1659659240585563579,\n \"readings\": [\n {\n \"id\": \"dc1e5896-00d9-4e4d-85f7-2dbca9a4b8cb\",\n \"origin\": 1659659240585563579,\n \"deviceName\": \"TP-Link-C200-3fa1fe68-b915-4053-a3e1-1027f5ea88f4\",\n \"resourceName\": \"EventProperties\",\n \"profileName\": \"onvif-camera\",\n \"valueType\": \"Object\",\n \"value\": \"\",\n \"objectValue\": {\n \"FixedTopicSet\": true,\n \"MessageContentFilterDialect\": \"http://www.onvif.org/ver10/tev/messageContentFilter/ItemFilter\",\n \"MessageContentSchemaLocation\": \"http://www.onvif.org/onvif/ver10/schema/onvif.xsd\",\n \"TopicExpressionDialect\": \"http://docs.oasis-open.org/wsn/t-1/TopicExpression/Concrete\",\n \"TopicNamespaceLocation\": \"http://www.onvif.org/onvif/ver10/topics/topicns.xml\",\n \"TopicSet\": {\n \"tns1:RuleEngine\": {\n \"#seq\": 0,\n \"CellMotionDetector\": {\n \"#seq\": 0,\n \"Motion\": {\n \"#attr\": {\n \"wstop:topic\": {\n \"#seq\": 0,\n \"#text\": \"true\"\n }\n },\n \"#seq\": 0,\n \"tt:MessageDescription\": {\n \"#attr\": {\n \"IsProperty\": {\n \"#seq\": 0,\n \"#text\": \"true\"\n }\n },\n \"#seq\": 0,\n \"tt:Data\": {\n \"#seq\": 1,\n \"tt:SimpleItemDescription\": {\n \"#attr\": {\n \"Name\": {\n \"#seq\": 1,\n \"#text\": \"IsMotion\"\n },\n \"Type\": {\n \"#seq\": 0,\n \"#text\": \"xsd:boolean\"\n }\n },\n \"#seq\": 0\n }\n },\n \"tt:Source\": {\n \"#seq\": 0,\n \"tt:SimpleItemDescription\": [\n {\n \"#attr\": {\n \"Name\": {\n \"#seq\": 1,\n \"#text\": \"VideoSourceConfigurationToken\"\n },\n \"Type\": {\n \"#seq\": 0,\n \"#text\": \"tt:ReferenceToken\"\n }\n },\n \"#seq\": 0\n },\n {\n \"#attr\": {\n \"Name\": {\n \"#seq\": 1,\n \"#text\": \"VideoAnalyticsConfigurationToken\"\n },\n \"Type\": {\n \"#seq\": 0,\n \"#text\": \"tt:ReferenceToken\"\n }\n },\n \"#seq\": 1\n },\n {\n \"#attr\": {\n \"Name\": {\n \"#seq\": 1,\n \"#text\": \"Rule\"\n },\n \"Type\": {\n \"#seq\": 0,\n \"#text\": \"xsd:string\"\n }\n },\n \"#seq\": 2\n }\n ]\n }\n }\n }\n },\n \"TamperDetector\": {\n \"#seq\": 1,\n \"Tamper\": {\n \"#attr\": {\n \"wstop:topic\": {\n \"#seq\": 0,\n \"#text\": \"true\"\n }\n },\n \"#seq\": 0,\n \"tt:MessageDescription\": {\n \"#attr\": {\n \"IsProperty\": {\n \"#seq\": 0,\n \"#text\": \"true\"\n }\n },\n \"#seq\": 0,\n \"tt:Data\": {\n \"#seq\": 1,\n \"tt:SimpleItemDescription\": {\n \"#attr\": {\n \"Name\": {\n \"#seq\": 1,\n \"#text\": \"IsTamper\"\n },\n \"Type\": {\n \"#seq\": 0,\n \"#text\": \"xsd:boolean\"\n }\n },\n \"#seq\": 0\n }\n },\n \"tt:Source\": {\n \"#seq\": 0,\n \"tt:SimpleItemDescription\": [\n {\n \"#attr\": {\n \"Name\": {\n \"#seq\": 1,\n \"#text\": \"VideoSourceConfigurationToken\"\n },\n \"Type\": {\n \"#seq\": 0,\n \"#text\": \"tt:ReferenceToken\"\n }\n },\n \"#seq\": 0\n },\n {\n \"#attr\": {\n \"Name\": {\n \"#seq\": 1,\n \"#text\": \"VideoAnalyticsConfigurationToken\"\n },\n \"Type\": {\n \"#seq\": 0,\n \"#text\": \"tt:ReferenceToken\"\n }\n },\n \"#seq\": 1\n },\n {\n \"#attr\": {\n \"Name\": {\n \"#seq\": 1,\n \"#text\": \"Rule\"\n },\n \"Type\": {\n \"#seq\": 0,\n \"#text\": \"xsd:string\"\n }\n },\n \"#seq\": 2\n }\n ]\n }\n }\n }\n }\n }\n }\n }\n }\n ]\n }\n}" } ] }, { "name": "BaseNotificationSubscription", "request": { "method": "PUT", "header": [], "body": { "mode": "raw", "raw": "{\n \"BaseNotificationSubscription\": {\n \"TopicFilter\": \"tns1:RuleEngine/TamperDetector/Tamper\",\n \"InitialTerminationTime\": \"PT180S\"\n }\n}", "options": { "raw": { "language": "json" } } }, "url": { "raw": "{{CORE_COMMAND_URL}}/api/v3/device/name/{{EDGEX_DEVICE_NAME}}/BaseNotificationSubscription", "host": [ "{{CORE_COMMAND_URL}}" ], "path": [ "api", "v3", "device", "name", "{{EDGEX_DEVICE_NAME}}", "BaseNotificationSubscription" ] }, "description": "Create a subscription to subscribe the event from the camera" }, "response": [ { "name": "BaseNotificationSubscription", "originalRequest": { "method": "PUT", "header": [], "body": { "mode": "raw", "raw": "{\n \"BaseNotificationSubscription\": {\n \"TopicFilter\": \"tns1:RuleEngine/TamperDetector/Tamper\",\n \"InitialTerminationTime\": \"PT180S\"\n }\n}", "options": { "raw": { "language": "json" } } }, "url": { "raw": "{{CORE_COMMAND_URL}}/api/v3/device/name/{{EDGEX_DEVICE_NAME}}/BaseNotificationSubscription", "host": [ "{{CORE_COMMAND_URL}}" ], "path": [ "api", "v3", "device", "name", "{{EDGEX_DEVICE_NAME}}", "BaseNotificationSubscription" ] } }, "status": "OK", "code": 200, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/json" }, { "key": "X-Correlation-Id", "value": "9ad845c6-441e-42fb-bb3c-f2399aa22e34" }, { "key": "Date", "value": "Fri, 07 Oct 2022 21:56:11 GMT" }, { "key": "Content-Length", "value": "37" } ], "cookie": [], "body": "{\n \"apiVersion\": \"v3\",\n \"statusCode\": 200\n}" } ] }, { "name": "PullPointSubscription", "request": { "method": "PUT", "header": [], "body": { "mode": "raw", "raw": "{\n \"PullPointSubscription\": {\n \"MessageContentFilter\": \"boolean(//tt:SimpleItem[@Name=\\\"Rule\\\"])\",\n \"InitialTerminationTime\": \"PT120S\",\n \"MessageTimeout\": \"PT20S\"\n }\n}", "options": { "raw": { "language": "json" } } }, "url": { "raw": "{{CORE_COMMAND_URL}}/api/v3/device/name/{{EDGEX_DEVICE_NAME}}/PullPointSubscription", "host": [ "{{CORE_COMMAND_URL}}" ], "path": [ "api", "v3", "device", "name", "{{EDGEX_DEVICE_NAME}}", "PullPointSubscription" ] }, "description": "This method returns a PullPointSubscription that can be polled using PullMessages. This message contains the same elements as the SubscriptionRequest of the WS-BaseNotification without the ConsumerReference.\n\nIf no Filter is specified the pullpoint notifies all occurring events to the client.\n\nThis method is mandatory." }, "response": [ { "name": "PullPointSubscription", "originalRequest": { "method": "PUT", "header": [], "body": { "mode": "raw", "raw": "{\n \"PullPointSubscription\": {\n \"MessageContentFilter\": \"boolean(//tt:SimpleItem[@Name=\\\"Rule\\\"])\",\n \"InitialTerminationTime\": \"PT120S\",\n \"MessageTimeout\": \"PT20S\"\n }\n}", "options": { "raw": { "language": "json" } } }, "url": { "raw": "{{CORE_COMMAND_URL}}/api/v3/device/name/{{EDGEX_DEVICE_NAME}}/PullPointSubscription", "host": [ "{{CORE_COMMAND_URL}}" ], "path": [ "api", "v3", "device", "name", "{{EDGEX_DEVICE_NAME}}", "PullPointSubscription" ] } }, "status": "OK", "code": 200, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/json" }, { "key": "X-Correlation-Id", "value": "d7f2c6d0-443f-4958-b224-d840c59eb3c3" }, { "key": "Date", "value": "Fri, 07 Oct 2022 21:56:15 GMT" }, { "key": "Content-Length", "value": "37" } ], "cookie": [], "body": "{\n \"apiVersion\": \"v3\",\n \"statusCode\": 200\n}" } ] }, { "name": "UnsubscribeCameraEvent", "request": { "method": "PUT", "header": [], "body": { "mode": "raw", "raw": "{\n \"UnsubscribeCameraEvent\": {}\n}", "options": { "raw": { "language": "json" } } }, "url": { "raw": "{{CORE_COMMAND_URL}}/api/v3/device/name/{{EDGEX_DEVICE_NAME}}/UnsubscribeCameraEvent", "host": [ "{{CORE_COMMAND_URL}}" ], "path": [ "api", "v3", "device", "name", "{{EDGEX_DEVICE_NAME}}", "UnsubscribeCameraEvent" ] }, "description": "The device shall provide the following Unsubscribe command for all SubscriptionManager endpoints returned by the CreatePullPointSubscription command.\n\nThis command shall terminate the lifetime of a pull point." }, "response": [ { "name": "UnsubscribeCameraEvent", "originalRequest": { "method": "PUT", "header": [], "body": { "mode": "raw", "raw": "{\n \"UnsubscribeCameraEvent\": {\n }\n}", "options": { "raw": { "language": "json" } } }, "url": { "raw": "{{CORE_COMMAND_URL}}/api/v3/device/name/{{EDGEX_DEVICE_NAME}}/UnsubscribeCameraEvent", "host": [ "{{CORE_COMMAND_URL}}" ], "path": [ "api", "v3", "device", "name", "{{EDGEX_DEVICE_NAME}}", "UnsubscribeCameraEvent" ] } }, "status": "OK", "code": 200, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/json" }, { "key": "X-Correlation-Id", "value": "eaf40875-3176-4457-8c4b-de3282175733" }, { "key": "Date", "value": "Fri, 07 Oct 2022 21:56:20 GMT" }, { "key": "Content-Length", "value": "37" } ], "cookie": [], "body": "{\n \"apiVersion\": \"v3\",\n \"statusCode\": 200\n}" } ] } ] }, { "name": "Analytics", "item": [ { "name": "Profile Configuration", "item": [ { "name": "Media2Profiles", "request": { "method": "GET", "header": [], "url": { "raw": "{{CORE_COMMAND_URL}}/api/v3/device/name/{{EDGEX_DEVICE_NAME}}/Media2Profiles", "host": [ "{{CORE_COMMAND_URL}}" ], "path": [ "api", "v3", "device", "name", "{{EDGEX_DEVICE_NAME}}", "Media2Profiles" ] } }, "response": [ { "name": "GetMedia2Profiles", "originalRequest": { "method": "GET", "header": [], "url": { "raw": "{{CORE_COMMAND_URL}}/api/v3/device/name/{{EDGEX_DEVICE_NAME}}/Media2Profiles", "host": [ "{{CORE_COMMAND_URL}}" ], "path": [ "api", "v3", "device", "name", "{{EDGEX_DEVICE_NAME}}", "Media2Profiles" ] } }, "status": "OK", "code": 200, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/json" }, { "key": "X-Correlation-Id", "value": "0b6aa429-e24c-4dda-9368-7daa71aee8d0" }, { "key": "Date", "value": "Thu, 29 Sep 2022 08:35:20 GMT" }, { "key": "Content-Length", "value": "728" } ], "cookie": [], "body": "{\n \"apiVersion\": \"v3\",\n \"statusCode\": 200,\n \"event\": {\n \"apiVersion\": \"v3\",\n \"id\": \"100ae377-e811-4b88-bd81-f6f67c86cf61\",\n \"deviceName\": \"HIKVISION-DS-2DC4223IW-DE-3bd4c000-b1b9-11b3-8202-4cf5dc64a22c\",\n \"profileName\": \"onvif-camera\",\n \"sourceName\": \"Media2Profiles\",\n \"origin\": 1664440520205892135,\n \"readings\": [\n {\n \"id\": \"e6bf94fd-ebde-4b0a-a503-8b23f7a8aebb\",\n \"origin\": 1664440520205892135,\n \"deviceName\": \"HIKVISION-DS-2DC4223IW-DE-3bd4c000-b1b9-11b3-8202-4cf5dc64a22c\",\n \"resourceName\": \"Media2Profiles\",\n \"profileName\": \"onvif-camera\",\n \"valueType\": \"Object\",\n \"value\": \"\",\n \"objectValue\": {\n \"Profiles\": [\n {\n \"Fixed\": true,\n \"Name\": \"mainStream\",\n \"Token\": \"Profile_1\"\n },\n {\n \"Fixed\": true,\n \"Name\": \"subStream\",\n \"Token\": \"Profile_2\"\n },\n {\n \"Fixed\": true,\n \"Name\": \"thirdStream\",\n \"Token\": \"Profile_3\"\n }\n ]\n }\n }\n ]\n }\n}" } ] }, { "name": "Media2AnalyticsConfigurations", "request": { "method": "GET", "header": [], "url": { "raw": "{{CORE_COMMAND_URL}}/api/v3/device/name/{{EDGEX_DEVICE_NAME}}/Media2AnalyticsConfigurations", "host": [ "{{CORE_COMMAND_URL}}" ], "path": [ "api", "v3", "device", "name", "{{EDGEX_DEVICE_NAME}}", "Media2AnalyticsConfigurations" ] } }, "response": [ { "name": "Media2AnalyticsConfigurations", "originalRequest": { "method": "GET", "header": [], "url": { "raw": "{{CORE_COMMAND_URL}}/api/v3/device/name/{{EDGEX_DEVICE_NAME}}/Media2AnalyticsConfigurations", "host": [ "{{CORE_COMMAND_URL}}" ], "path": [ "api", "v3", "device", "name", "{{EDGEX_DEVICE_NAME}}", "Media2AnalyticsConfigurations" ] } }, "status": "OK", "code": 200, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/json" }, { "key": "X-Correlation-Id", "value": "931912b9-e285-43ec-9d83-764117bfb8f3" }, { "key": "Date", "value": "Thu, 29 Sep 2022 08:35:27 GMT" }, { "key": "Content-Length", "value": "1813" } ], "cookie": [], "body": "{\n \"apiVersion\": \"v3\",\n \"statusCode\": 200,\n \"event\": {\n \"apiVersion\": \"v3\",\n \"id\": \"08db4d59-0991-4ace-bb6a-9103c54d38ea\",\n \"deviceName\": \"HIKVISION-DS-2DC4223IW-DE-3bd4c000-b1b9-11b3-8202-4cf5dc64a22c\",\n \"profileName\": \"onvif-camera\",\n \"sourceName\": \"Media2AnalyticsConfigurations\",\n \"origin\": 1664440527648299236,\n \"readings\": [\n {\n \"id\": \"6e768a1a-a521-47c6-9d13-2337386768d1\",\n \"origin\": 1664440527648299236,\n \"deviceName\": \"HIKVISION-DS-2DC4223IW-DE-3bd4c000-b1b9-11b3-8202-4cf5dc64a22c\",\n \"resourceName\": \"Media2AnalyticsConfigurations\",\n \"profileName\": \"onvif-camera\",\n \"valueType\": \"Object\",\n \"value\": \"\",\n \"objectValue\": {\n \"PTZConfigurations\": [\n {\n \"AnalyticsEngineConfiguration\": {\n \"AnalyticsModule\": [\n {\n \"Name\": \"MyCellMotionModule\",\n \"Parameters\": {\n \"ElementItem\": [\n {\n \"Name\": \"Layout\"\n }\n ],\n \"SimpleItem\": [\n {\n \"Name\": \"Sensitivity\",\n \"Value\": \"0\"\n }\n ]\n },\n \"Type\": \"tt:CellMotionEngine\"\n },\n {\n \"Name\": \"MyLineDetectorModule\",\n \"Parameters\": {\n \"ElementItem\": [\n {\n \"Name\": \"Layout\"\n },\n {\n \"Name\": \"Field\"\n }\n ],\n \"SimpleItem\": [\n {\n \"Name\": \"Sensitivity\",\n \"Value\": \"50\"\n }\n ]\n },\n \"Type\": \"tt:LineDetectorEngine\"\n },\n {\n \"Name\": \"MyFieldDetectorModule\",\n \"Parameters\": {\n \"ElementItem\": [\n {\n \"Name\": \"Layout\"\n },\n {\n \"Name\": \"Field\"\n }\n ],\n \"SimpleItem\": [\n {\n \"Name\": \"Sensitivity\",\n \"Value\": \"50\"\n }\n ]\n },\n \"Type\": \"tt:FieldDetectorEngine\"\n },\n {\n \"Name\": \"MyTamperDetecModule\",\n \"Parameters\": {\n \"ElementItem\": [\n {\n \"Name\": \"Transformation\"\n },\n {\n \"Name\": \"Field\"\n }\n ],\n \"SimpleItem\": [\n {\n \"Name\": \"Sensitivity\",\n \"Value\": \"0\"\n }\n ]\n },\n \"Type\": \"hikxsd:TamperEngine\"\n }\n ]\n },\n \"Name\": \"VideoAnalyticsName\",\n \"RuleEngineConfiguration\": {\n \"Rule\": [\n {\n \"Name\": \"MyMotionDetectorRule\",\n \"Parameters\": {\n \"SimpleItem\": [\n {\n \"Name\": \"MinCount\",\n \"Value\": \"5\"\n },\n {\n \"Name\": \"AlarmOnDelay\",\n \"Value\": \"1000\"\n },\n {\n \"Name\": \"AlarmOffDelay\",\n \"Value\": \"1000\"\n },\n {\n \"Name\": \"ActiveCells\",\n \"Value\": \"zwA=\"\n }\n ]\n },\n \"Type\": \"tt:CellMotionDetector\"\n },\n {\n \"Name\": \"MyTamperDetectorRule\",\n \"Parameters\": {\n \"ElementItem\": [\n {\n \"Name\": \"Field\"\n }\n ]\n },\n \"Type\": \"hikxsd:TamperDetector\"\n }\n ]\n },\n \"Token\": \"VideoAnalyticsToken\",\n \"UseCount\": 3\n }\n ]\n }\n }\n ]\n }\n}" } ] }, { "name": "Media2AddConfiguration", "request": { "method": "PUT", "header": [], "body": { "mode": "raw", "raw": "{\n \"Media2AddConfiguration\": {\n \"ProfileToken\": \"{{PTZ_CONFIG_TOKEN}}\",\n \"Configuration\": [\n {\n \"Type\": \"Analytics\",\n \"Token\": \"{{ANALYTIC_CONFIG_TOKEN}}\"\n }\n ]\n }\n}", "options": { "raw": { "language": "json" } } }, "url": { "raw": "{{CORE_COMMAND_URL}}/api/v3/device/name/{{EDGEX_DEVICE_NAME}}/Media2AddConfiguration", "host": [ "{{CORE_COMMAND_URL}}" ], "path": [ "api", "v3", "device", "name", "{{EDGEX_DEVICE_NAME}}", "Media2AddConfiguration" ] } }, "response": [] }, { "name": "Media2RemoveConfiguration", "request": { "method": "PUT", "header": [], "body": { "mode": "raw", "raw": "{\n \"Media2RemoveConfiguration\": {\n \"ProfileToken\": \"{{PTZ_CONFIG_TOKEN}}\",\n \"Configuration\": [\n {\n \"Type\": \"Analytics\",\n \"Token\": \"{{ANALYTIC_CONFIG_TOKEN}}\"\n }\n ]\n }\n}", "options": { "raw": { "language": "json" } } }, "url": { "raw": "{{CORE_COMMAND_URL}}/api/v3/device/name/{{EDGEX_DEVICE_NAME}}/Media2RemoveConfiguration", "host": [ "{{CORE_COMMAND_URL}}" ], "path": [ "api", "v3", "device", "name", "{{EDGEX_DEVICE_NAME}}", "Media2RemoveConfiguration" ] } }, "response": [] } ] }, { "name": "Modules", "item": [ { "name": "SupportedAnalyticsModules", "request": { "method": "GET", "header": [], "url": { "raw": "{{CORE_COMMAND_URL}}/api/v3/device/name/{{EDGEX_DEVICE_NAME}}/SupportedAnalyticsModules", "host": [ "{{CORE_COMMAND_URL}}" ], "path": [ "api", "v3", "device", "name", "{{EDGEX_DEVICE_NAME}}", "SupportedAnalyticsModules" ] } }, "response": [ { "name": "SupportedAnalyticsModules", "originalRequest": { "method": "GET", "header": [], "url": { "raw": "{{CORE_COMMAND_URL}}/api/v3/device/name/{{EDGEX_DEVICE_NAME}}/SupportedAnalyticsModules", "host": [ "{{CORE_COMMAND_URL}}" ], "path": [ "api", "v3", "device", "name", "{{EDGEX_DEVICE_NAME}}", "SupportedAnalyticsModules" ] } }, "status": "OK", "code": 200, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/json" }, { "key": "X-Correlation-Id", "value": "b73f490a-11fe-4b8c-9a8b-7d6cf8fc30da" }, { "key": "Date", "value": "Thu, 29 Sep 2022 08:35:35 GMT" }, { "key": "Transfer-Encoding", "value": "chunked" } ], "cookie": [], "body": "{\n \"apiVersion\": \"v3\",\n \"statusCode\": 200,\n \"event\": {\n \"apiVersion\": \"v3\",\n \"id\": \"1caa5b4c-a2d1-403e-90a0-fc7d63a9538c\",\n \"deviceName\": \"HIKVISION-DS-2DC4223IW-DE-3bd4c000-b1b9-11b3-8202-4cf5dc64a22c\",\n \"profileName\": \"onvif-camera\",\n \"sourceName\": \"SupportedAnalyticsModules\",\n \"origin\": 1664440535746008222,\n \"readings\": [\n {\n \"id\": \"f9f5ddc4-10df-41a1-b50e-c12683683093\",\n \"origin\": 1664440535746008222,\n \"deviceName\": \"HIKVISION-DS-2DC4223IW-DE-3bd4c000-b1b9-11b3-8202-4cf5dc64a22c\",\n \"resourceName\": \"SupportedAnalyticsModules\",\n \"profileName\": \"onvif-camera\",\n \"valueType\": \"Object\",\n \"value\": \"\",\n \"objectValue\": {\n \"SupportedAnalyticsModules\": {\n \"AnalyticsModuleContentSchemaLocation\": \"http://www.w3.org/2001/XMLSchema\",\n \"AnalyticsModuleDescription\": [\n {\n \"Fixed\": false,\n \"MaxInstances\": 1,\n \"Messages\": {\n \"Data\": {\n \"SimpleItemDescription\": [\n {\n \"Name\": \"IsMotion\",\n \"Type\": \"xs:boolean\"\n }\n ]\n },\n \"IsProperty\": true,\n \"ParentTopic\": \"tns1:RuleEngine/CellMotionDetector/Motion\",\n \"Source\": {\n \"SimpleItemDescription\": [\n {\n \"Name\": \"VideoSourceConfigurationToken\",\n \"Type\": \"tt:ReferenceToken\"\n },\n {\n \"Name\": \"VideoAnalyticsConfigurationToken\",\n \"Type\": \"tt:ReferenceToken\"\n },\n {\n \"Name\": \"Rule\",\n \"Type\": \"xs:string\"\n }\n ]\n }\n },\n \"Name\": \"tt:CellMotionEngine\",\n \"Parameters\": {\n \"ElementItemDescription\": [\n {\n \"Name\": \"Layout\"\n }\n ],\n \"SimpleItemDescription\": [\n {\n \"Name\": \"Sensitivity\",\n \"Type\": \"xs:integer\"\n }\n ]\n }\n },\n {\n \"Fixed\": false,\n \"MaxInstances\": 4,\n \"Messages\": {\n \"Data\": {\n \"SimpleItemDescription\": [\n {\n \"Name\": \"ObjectId\",\n \"Type\": \"xs:integer\"\n }\n ]\n },\n \"ParentTopic\": \"tns1:RuleEngine/LineDetector/Crossed\",\n \"Source\": {\n \"SimpleItemDescription\": [\n {\n \"Name\": \"VideoSourceConfigurationToken\",\n \"Type\": \"tt:ReferenceToken\"\n },\n {\n \"Name\": \"VideoAnalyticsConfigurationToken\",\n \"Type\": \"tt:ReferenceToken\"\n },\n {\n \"Name\": \"Rule\",\n \"Type\": \"xs:string\"\n }\n ]\n }\n },\n \"Name\": \"tt:LineDetectorEngine\",\n \"Parameters\": {\n \"ElementItemDescription\": [\n {\n \"Name\": \"Transformation\"\n },\n {\n \"Name\": \"Field\"\n }\n ],\n \"SimpleItemDescription\": [\n {\n \"Name\": \"Sensitivity\",\n \"Type\": \"xs:integer\"\n }\n ]\n }\n },\n {\n \"Fixed\": false,\n \"MaxInstances\": 4,\n \"Messages\": {\n \"Data\": {\n \"SimpleItemDescription\": [\n {\n \"Name\": \"IsInside\",\n \"Type\": \"xs:boolean\"\n }\n ]\n },\n \"IsProperty\": true,\n \"Key\": {\n \"SimpleItemDescription\": [\n {\n \"Name\": \"ObjectId\",\n \"Type\": \"xs:integer\"\n }\n ]\n },\n \"ParentTopic\": \"tns1:RuleEngine/FieldDetector/ObjectsInside\",\n \"Source\": {\n \"SimpleItemDescription\": [\n {\n \"Name\": \"VideoSourceConfigurationToken\",\n \"Type\": \"tt:ReferenceToken\"\n },\n {\n \"Name\": \"VideoAnalyticsConfigurationToken\",\n \"Type\": \"tt:ReferenceToken\"\n },\n {\n \"Name\": \"Rule\",\n \"Type\": \"xs:string\"\n }\n ]\n }\n },\n \"Name\": \"tt:FieldDetectorEngine\",\n \"Parameters\": {\n \"ElementItemDescription\": [\n {\n \"Name\": \"Transformation\"\n },\n {\n \"Name\": \"Field\"\n }\n ],\n \"SimpleItemDescription\": [\n {\n \"Name\": \"Sensitivity\",\n \"Type\": \"xs:integer\"\n }\n ]\n }\n },\n {\n \"Fixed\": false,\n \"MaxInstances\": 1,\n \"Messages\": {\n \"Data\": {\n \"SimpleItemDescription\": [\n {\n \"Name\": \"IsTamper\",\n \"Type\": \"xs:boolean\"\n }\n ]\n },\n \"IsProperty\": true,\n \"ParentTopic\": \"tns1:RuleEngine/TamperDetector/Tamper\",\n \"Source\": {\n \"SimpleItemDescription\": [\n {\n \"Name\": \"VideoSourceConfigurationToken\",\n \"Type\": \"tt:ReferenceToken\"\n },\n {\n \"Name\": \"VideoAnalyticsConfigurationToken\",\n \"Type\": \"tt:ReferenceToken\"\n },\n {\n \"Name\": \"Rule\",\n \"Type\": \"xs:string\"\n }\n ]\n }\n },\n \"Name\": \"hikxsd:TamperEngine\",\n \"Parameters\": {\n \"ElementItemDescription\": [\n {\n \"Name\": \"Transformation\"\n },\n {\n \"Name\": \"Field\"\n }\n ],\n \"SimpleItemDescription\": [\n {\n \"Name\": \"Sensitivity\",\n \"Type\": \"xs:integer\"\n }\n ]\n }\n }\n ]\n }\n }\n }\n ]\n }\n}" } ] }, { "name": "AnalyticsModules", "request": { "method": "GET", "header": [], "url": { "raw": "{{CORE_COMMAND_URL}}/api/v3/device/name/{{EDGEX_DEVICE_NAME}}/AnalyticsModules?jsonObject={{ANALYTIC_CONFIG_TOKEN_BASE64}}", "host": [ "{{CORE_COMMAND_URL}}" ], "path": [ "api", "v3", "device", "name", "{{EDGEX_DEVICE_NAME}}", "AnalyticsModules" ], "query": [ { "key": "jsonObject", "value": "{{ANALYTIC_CONFIG_TOKEN_BASE64}}" } ] } }, "response": [ { "name": "GetAnalyticsModules", "originalRequest": { "method": "GET", "header": [], "url": { "raw": "{{CORE_COMMAND_URL}}/api/v3/device/name/{{EDGEX_DEVICE_NAME}}/AnalyticsModules?jsonObject={{ANALYTIC_CONFIG_TOKEN_BASE64}}", "host": [ "{{CORE_COMMAND_URL}}" ], "path": [ "api", "v3", "device", "name", "{{EDGEX_DEVICE_NAME}}", "AnalyticsModules" ], "query": [ { "key": "jsonObject", "value": "{{ANALYTIC_CONFIG_TOKEN_BASE64}}" } ] } }, "status": "OK", "code": 200, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/json" }, { "key": "X-Correlation-Id", "value": "dce2b5db-eac1-48f8-a3ca-4f296585cd39" }, { "key": "Date", "value": "Thu, 29 Sep 2022 08:35:45 GMT" }, { "key": "Content-Length", "value": "1278" } ], "cookie": [], "body": "{\n \"apiVersion\": \"v3\",\n \"statusCode\": 200,\n \"event\": {\n \"apiVersion\": \"v3\",\n \"id\": \"09e8fab7-e43d-4ba3-adeb-6ca2d3a3b255\",\n \"deviceName\": \"HIKVISION-DS-2DC4223IW-DE-3bd4c000-b1b9-11b3-8202-4cf5dc64a22c\",\n \"profileName\": \"onvif-camera\",\n \"sourceName\": \"AnalyticsModules\",\n \"origin\": 1664440545266300009,\n \"readings\": [\n {\n \"id\": \"c2bf2bfe-915f-48e5-bb4b-5cfdf5d9241a\",\n \"origin\": 1664440545266300009,\n \"deviceName\": \"HIKVISION-DS-2DC4223IW-DE-3bd4c000-b1b9-11b3-8202-4cf5dc64a22c\",\n \"resourceName\": \"AnalyticsModules\",\n \"profileName\": \"onvif-camera\",\n \"valueType\": \"Object\",\n \"value\": \"\",\n \"objectValue\": {\n \"AnalyticsModule\": [\n {\n \"Name\": \"MyCellMotionModule\",\n \"Parameters\": {\n \"ElementItem\": [\n {\n \"Name\": \"Layout\"\n }\n ],\n \"SimpleItem\": [\n {\n \"Name\": \"Sensitivity\",\n \"Value\": \"0\"\n }\n ]\n },\n \"Type\": \"tt:CellMotionEngine\"\n },\n {\n \"Name\": \"MyLineDetectorModule\",\n \"Parameters\": {\n \"ElementItem\": [\n {\n \"Name\": \"Layout\"\n },\n {\n \"Name\": \"Field\"\n }\n ],\n \"SimpleItem\": [\n {\n \"Name\": \"Sensitivity\",\n \"Value\": \"50\"\n }\n ]\n },\n \"Type\": \"tt:LineDetectorEngine\"\n },\n {\n \"Name\": \"MyFieldDetectorModule\",\n \"Parameters\": {\n \"ElementItem\": [\n {\n \"Name\": \"Layout\"\n },\n {\n \"Name\": \"Field\"\n }\n ],\n \"SimpleItem\": [\n {\n \"Name\": \"Sensitivity\",\n \"Value\": \"50\"\n }\n ]\n },\n \"Type\": \"tt:FieldDetectorEngine\"\n },\n {\n \"Name\": \"MyTamperDetecModule\",\n \"Parameters\": {\n \"ElementItem\": [\n {\n \"Name\": \"Transformation\"\n },\n {\n \"Name\": \"Field\"\n }\n ],\n \"SimpleItem\": [\n {\n \"Name\": \"Sensitivity\",\n \"Value\": \"0\"\n }\n ]\n },\n \"Type\": \"hikxsd:TamperEngine\"\n }\n ]\n }\n }\n ]\n }\n}" } ] }, { "name": "AnalyticsModules", "request": { "method": "PUT", "header": [], "body": { "mode": "raw", "raw": "{\n \"AnalyticsModules\": {\n \"ConfigurationToken\": \"{{ANALYTIC_CONFIG_TOKEN}}\",\n \"AnalyticsModule\": [\n {\n \"Name\": \"Viproc\",\n \"Type\": \"{{ANALYTIC_MODULE_TYPE}}\",\n \"Parameters\": {\n \"SimpleItem\": [\n {\n \"Name\": \"{{ANALYTIC_MODULE_OPTION_NAME}}\",\n \"Value\": \"{{ANALYTIC_MODULE_OPTION_VALUE}}\"\n }\n ]\n }\n }\n ]\n }\n}", "options": { "raw": { "language": "json" } } }, "url": { "raw": "{{CORE_COMMAND_URL}}/api/v3/device/name/{{EDGEX_DEVICE_NAME}}/AnalyticsModules", "host": [ "{{CORE_COMMAND_URL}}" ], "path": [ "api", "v3", "device", "name", "{{EDGEX_DEVICE_NAME}}", "AnalyticsModules" ] } }, "response": [] }, { "name": "CreateAnalyticsModules", "request": { "method": "PUT", "header": [], "body": { "mode": "raw", "raw": "{\n \"CreateAnalyticsModules\": {\n \"ConfigurationToken\": \"{{ANALYTIC_CONFIG_TOKEN}}\",\n \"AnalyticsModule\": [\n {\n \"Name\": \"TestAnalyticsModule\",\n \"Type\": \"{{ANALYTIC_MODULE_TYPE}}\",\n \"Parameters\": {\n \"SimpleItem\": [\n {\n \"Name\": \"{{ANALYTIC_MODULE_OPTION_NAME}}\",\n \"Value\": \"{{ANALYTIC_MODULE_OPTION_VALUE}}\"\n }\n ]\n }\n }\n ]\n }\n}", "options": { "raw": { "language": "json" } } }, "url": { "raw": "{{CORE_COMMAND_URL}}/api/v3/device/name/{{EDGEX_DEVICE_NAME}}/CreateAnalyticsModules", "host": [ "{{CORE_COMMAND_URL}}" ], "path": [ "api", "v3", "device", "name", "{{EDGEX_DEVICE_NAME}}", "CreateAnalyticsModules" ] } }, "response": [ { "name": "CreateAnalyticsModules", "originalRequest": { "method": "PUT", "header": [], "body": { "mode": "raw", "raw": "{\n \"CreateAnalyticsModules\": {\n \"ConfigurationToken\": \"{{ANALYTIC_CONFIG_TOKEN}}\",\n \"AnalyticsModule\": [\n {\n \"Name\": \"TestAnalyticsModule\",\n \"Type\": \"{{ANALYTIC_MODULE_TYPE}}\",\n \"Parameters\": {\n \"SimpleItem\": [\n {\n \"Name\":\"{{ANALYTIC_MODULE_OPTION_NAME}}\", \n \"Value\":\"{{ANALYTIC_MODULE_OPTION_VALUE}}\"\n }\n ]\n }\n \n }\n ]\n }\n}", "options": { "raw": { "language": "json" } } }, "url": { "raw": "{{CORE_COMMAND_URL}}/api/v3/device/name/{{EDGEX_DEVICE_NAME}}/CreateAnalyticsModules", "host": [ "{{CORE_COMMAND_URL}}" ], "path": [ "api", "v3", "device", "name", "{{EDGEX_DEVICE_NAME}}", "CreateAnalyticsModules" ] } }, "status": "OK", "code": 200, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/json" }, { "key": "X-Correlation-Id", "value": "fe3cf678-d914-4729-805c-1e08d930a1b2" }, { "key": "Date", "value": "Fri, 07 Oct 2022 22:08:45 GMT" }, { "key": "Content-Length", "value": "37" } ], "cookie": [], "body": "{\n \"apiVersion\": \"v3\",\n \"statusCode\": 200\n}" } ] }, { "name": "DeleteAnalyticsModules", "request": { "method": "PUT", "header": [], "body": { "mode": "raw", "raw": "{\n \"DeleteAnalyticsModules\": {\n \"ConfigurationToken\": \"{{ANALYTIC_CONFIG_TOKEN}}\",\n \"AnalyticsModuleName\": [\n \"TestAnalyticsModule\"\n ]\n }\n}", "options": { "raw": { "language": "json" } } }, "url": { "raw": "{{CORE_COMMAND_URL}}/api/v3/device/name/{{EDGEX_DEVICE_NAME}}/DeleteAnalyticsModules", "host": [ "{{CORE_COMMAND_URL}}" ], "path": [ "api", "v3", "device", "name", "{{EDGEX_DEVICE_NAME}}", "DeleteAnalyticsModules" ] } }, "response": [ { "name": "DeleteAnalyticsModules", "originalRequest": { "method": "PUT", "header": [], "body": { "mode": "raw", "raw": "{\n \"DeleteAnalyticsModules\": {\n \"ConfigurationToken\": \"{{ANALYTIC_CONFIG_TOKEN}}\",\n \"AnalyticsModuleName\": [\"TestAnalyticsModule\"]\n }\n}", "options": { "raw": { "language": "json" } } }, "url": { "raw": "{{CORE_COMMAND_URL}}/api/v3/device/name/{{EDGEX_DEVICE_NAME}}/DeleteAnalyticsModules", "host": [ "{{CORE_COMMAND_URL}}" ], "path": [ "api", "v3", "device", "name", "{{EDGEX_DEVICE_NAME}}", "DeleteAnalyticsModules" ] } }, "status": "OK", "code": 200, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/json" }, { "key": "X-Correlation-Id", "value": "ffb1e371-1a66-4f14-94e1-e24b440f2cb3" }, { "key": "Date", "value": "Mon, 10 Oct 2022 16:01:37 GMT" }, { "key": "Content-Length", "value": "37" } ], "cookie": [], "body": "{\n \"apiVersion\": \"v3\",\n \"statusCode\": 200\n}" } ] }, { "name": "AnalyticsModuleOptions", "request": { "method": "GET", "header": [], "url": { "raw": "{{CORE_COMMAND_URL}}/api/v3/device/name/{{EDGEX_DEVICE_NAME}}/AnalyticsModuleOptions?jsonObject={{ANALYTIC_CONFIG_TOKEN_BASE64}}", "host": [ "{{CORE_COMMAND_URL}}" ], "path": [ "api", "v3", "device", "name", "{{EDGEX_DEVICE_NAME}}", "AnalyticsModuleOptions" ], "query": [ { "key": "jsonObject", "value": "{{ANALYTIC_CONFIG_TOKEN_BASE64}}" } ] } }, "response": [ { "name": "AnalyticsModuleOptions", "originalRequest": { "method": "GET", "header": [], "url": { "raw": "{{CORE_COMMAND_URL}}/api/v3/device/name/{{EDGEX_DEVICE_NAME}}/AnalyticsModuleOptions?jsonObject={{ANALYTIC_CONFIG_TOKEN_BASE64}}", "host": [ "{{CORE_COMMAND_URL}}" ], "path": [ "api", "v3", "device", "name", "{{EDGEX_DEVICE_NAME}}", "AnalyticsModuleOptions" ], "query": [ { "key": "jsonObject", "value": "{{ANALYTIC_CONFIG_TOKEN_BASE64}}" } ] } }, "status": "OK", "code": 200, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/json" }, { "key": "X-Correlation-Id", "value": "52340a61-2358-4d2b-be02-25cbe079baa6" }, { "key": "Date", "value": "Tue, 11 Oct 2022 03:48:52 GMT" }, { "key": "Content-Length", "value": "639" } ], "cookie": [], "body": "{\n \"apiVersion\": \"v3\",\n \"statusCode\": 200,\n \"event\": {\n \"apiVersion\": \"v3\",\n \"id\": \"460b6e4f-88d7-476d-ab9c-d46c5f656124\",\n \"deviceName\": \"Intel-SimCamera-001caffe-48ca-450d-bbd4-cb4f8630ef19\",\n \"profileName\": \"onvif-camera\",\n \"sourceName\": \"AnalyticsModuleOptions\",\n \"origin\": 1665460132225687940,\n \"readings\": [\n {\n \"id\": \"42a9e19c-82f6-4552-9f1d-459bfc55600a\",\n \"origin\": 1665460132225687940,\n \"deviceName\": \"Intel-SimCamera-001caffe-48ca-450d-bbd4-cb4f8630ef19\",\n \"resourceName\": \"AnalyticsModuleOptions\",\n \"profileName\": \"onvif-camera\",\n \"valueType\": \"Object\",\n \"value\": \"\",\n \"objectValue\": {\n \"Options\": [\n {\n \"IntRange\": {\n \"Max\": 100,\n \"Min\": 0\n },\n \"Name\": \"Sensitivity\",\n \"Type\": \"tt:IntRange\"\n }\n ]\n }\n }\n ]\n }\n}" } ] } ] }, { "name": "Rules", "item": [ { "name": "AnalyticsSupportedRules", "request": { "method": "GET", "header": [], "url": { "raw": "{{CORE_COMMAND_URL}}/api/v3/device/name/{{EDGEX_DEVICE_NAME}}/AnalyticsSupportedRules?jsonObject={{ANALYTIC_CONFIG_TOKEN_BASE64}}", "host": [ "{{CORE_COMMAND_URL}}" ], "path": [ "api", "v3", "device", "name", "{{EDGEX_DEVICE_NAME}}", "AnalyticsSupportedRules" ], "query": [ { "key": "jsonObject", "value": "{{ANALYTIC_CONFIG_TOKEN_BASE64}}" } ] } }, "response": [ { "name": "AnalyticsSupportedRules", "originalRequest": { "method": "GET", "header": [], "url": { "raw": "{{CORE_COMMAND_URL}}/api/v3/device/name/{{EDGEX_DEVICE_NAME}}/AnalyticsSupportedRules?jsonObject={{ANALYTIC_CONFIG_TOKEN_BASE64}}", "host": [ "{{CORE_COMMAND_URL}}" ], "path": [ "api", "v3", "device", "name", "{{EDGEX_DEVICE_NAME}}", "AnalyticsSupportedRules" ], "query": [ { "key": "jsonObject", "value": "{{ANALYTIC_CONFIG_TOKEN_BASE64}}" } ] } }, "status": "OK", "code": 200, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/json" }, { "key": "X-Correlation-Id", "value": "9c7bcb9a-4316-4905-a08d-abfe644ce0fb" }, { "key": "Date", "value": "Tue, 11 Oct 2022 03:48:18 GMT" }, { "key": "Transfer-Encoding", "value": "chunked" } ], "cookie": [], "body": "{\n \"apiVersion\": \"v3\",\n \"statusCode\": 200,\n \"event\": {\n \"apiVersion\": \"v3\",\n \"id\": \"4694424b-74bb-45ee-a014-ebb6d09855f9\",\n \"deviceName\": \"Intel-SimCamera-001caffe-48ca-450d-bbd4-cb4f8630ef19\",\n \"profileName\": \"onvif-camera\",\n \"sourceName\": \"AnalyticsSupportedRules\",\n \"origin\": 1665460098832568388,\n \"readings\": [\n {\n \"id\": \"155dc49e-caa7-492c-be74-0cf150ca2302\",\n \"origin\": 1665460098832568388,\n \"deviceName\": \"Intel-SimCamera-001caffe-48ca-450d-bbd4-cb4f8630ef19\",\n \"resourceName\": \"AnalyticsSupportedRules\",\n \"profileName\": \"onvif-camera\",\n \"valueType\": \"Object\",\n \"value\": \"\",\n \"objectValue\": {\n \"SupportedRules\": {\n \"RuleContentSchemaLocation\": \"http://www.w3.org/2001/XMLSchema\",\n \"RuleDescription\": [\n {\n \"Fixed\": false,\n \"MaxInstances\": 10,\n \"Messages\": {\n \"Data\": {\n \"SimpleItemDescription\": [\n {\n \"Name\": \"IsMotion\",\n \"Type\": \"xs:boolean\"\n }\n ]\n },\n \"IsProperty\": true,\n \"ParentTopic\": \"tns1:RuleEngine/CellMotionDetector/Motion\",\n \"Source\": {\n \"SimpleItemDescription\": [\n {\n \"Name\": \"VideoSourceConfigurationToken\",\n \"Type\": \"tt:ReferenceToken\"\n },\n {\n \"Name\": \"VideoAnalyticsConfigurationToken\",\n \"Type\": \"tt:ReferenceToken\"\n },\n {\n \"Name\": \"Rule\",\n \"Type\": \"xs:string\"\n }\n ]\n }\n },\n \"Name\": \"tt:CellMotionDetector\",\n \"Parameters\": {\n \"SimpleItemDescription\": [\n {\n \"Name\": \"MinCount\",\n \"Type\": \"xs:integer\"\n },\n {\n \"Name\": \"AlarmOnDelay\",\n \"Type\": \"xs:integer\"\n },\n {\n \"Name\": \"AlarmOffDelay\",\n \"Type\": \"xs:integer\"\n },\n {\n \"Name\": \"ActiveCells\",\n \"Type\": \"xs:base64Binary\"\n }\n ]\n }\n },\n {\n \"Fixed\": false,\n \"MaxInstances\": 10,\n \"Messages\": {\n \"Data\": {\n \"SimpleItemDescription\": [\n {\n \"Name\": \"State\",\n \"Type\": \"xs:boolean\"\n }\n ]\n },\n \"IsProperty\": true,\n \"ParentTopic\": \"tns1:RuleEngine/MotionRegionDetector/Motion\",\n \"Source\": {\n \"SimpleItemDescription\": [\n {\n \"Name\": \"VideoSource\",\n \"Type\": \"tt:ReferenceToken\"\n },\n {\n \"Name\": \"RuleName\",\n \"Type\": \"xs:string\"\n }\n ]\n }\n },\n \"Name\": \"tt:MotionRegionDetector\",\n \"Parameters\": {\n \"ElementItemDescription\": [\n {\n \"Name\": \"MotionRegion\"\n }\n ]\n }\n },\n {\n \"Fixed\": false,\n \"MaxInstances\": 1,\n \"Messages\": {\n \"Data\": {\n \"ElementItemDescription\": [\n {\n \"Name\": \"Image\"\n },\n {\n \"Name\": \"BoundingBox\"\n }\n ],\n \"SimpleItemDescription\": [\n {\n \"Name\": \"Likelihood\",\n \"Type\": \"xs:float\"\n },\n {\n \"Name\": \"Label\",\n \"Type\": \"xs:string\"\n },\n {\n \"Name\": \"ImageUri\",\n \"Type\": \"xs:anyURI\"\n },\n {\n \"Name\": \"EnrollmentID\",\n \"Type\": \"xs:string\"\n },\n {\n \"Name\": \"RefImageUri\",\n \"Type\": \"xs:anyURI\"\n }\n ]\n },\n \"IsProperty\": true,\n \"ParentTopic\": \"tns1:RuleEngine/Recognition/Face\",\n \"Source\": {\n \"SimpleItemDescription\": [\n {\n \"Name\": \"VideoSource\",\n \"Type\": \"tt:ReferenceToken\"\n },\n {\n \"Name\": \"AnalyticsConfiguration\",\n \"Type\": \"tt:ReferenceToken\"\n },\n {\n \"Name\": \"Rule\",\n \"Type\": \"xs:string\"\n }\n ]\n }\n },\n \"Name\": \"tt:FaceRecognition\",\n \"Parameters\": {\n \"SimpleItemDescription\": [\n {\n \"Name\": \"IncludeImage\",\n \"Type\": \"xs:string\"\n }\n ]\n }\n },\n {\n \"Fixed\": false,\n \"MaxInstances\": 1,\n \"Messages\": {\n \"Data\": {\n \"ElementItemDescription\": [\n {\n \"Name\": \"BoundingBox\"\n },\n {\n \"Name\": \"Image\"\n },\n {\n \"Name\": \"LicensePlateInfo\"\n },\n {\n \"Name\": \"VehicleInfo\"\n },\n {\n \"Name\": \"VehicleImage\"\n }\n ],\n \"SimpleItemDescription\": [\n {\n \"Name\": \"Likelihood\",\n \"Type\": \"xs:float\"\n },\n {\n \"Name\": \"Label\",\n \"Type\": \"xs:string\"\n },\n {\n \"Name\": \"ImageUri\",\n \"Type\": \"xs:anyURI\"\n },\n {\n \"Name\": \"VehicleImageURI\",\n \"Type\": \"xs:anyURI\"\n }\n ]\n },\n \"IsProperty\": true,\n \"ParentTopic\": \"tns1:RuleEngine/Recognition/LicensePlate\",\n \"Source\": {\n \"SimpleItemDescription\": [\n {\n \"Name\": \"VideoSource\",\n \"Type\": \"tt:ReferenceToken\"\n },\n {\n \"Name\": \"AnalyticsConfiguration\",\n \"Type\": \"tt:ReferenceToken\"\n },\n {\n \"Name\": \"Rule\",\n \"Type\": \"xs:string\"\n }\n ]\n }\n },\n \"Name\": \"tt:LicensePlateRecognition\",\n \"Parameters\": {\n \"ElementItemDescription\": [\n {\n \"Name\": \"Region\"\n },\n {\n \"Name\": \"SnapLine\"\n }\n ],\n \"SimpleItemDescription\": [\n {\n \"Name\": \"IncludeImage\",\n \"Type\": \"xs:string\"\n },\n {\n \"Name\": \"PlateLocation\",\n \"Type\": \"xs:string\"\n }\n ]\n }\n },\n {\n \"Fixed\": false,\n \"MaxInstances\": 1,\n \"Messages\": {\n \"Data\": {\n \"SimpleItemDescription\": [\n {\n \"Name\": \"Count\",\n \"Type\": \"xs:int\"\n }\n ]\n },\n \"IsProperty\": true,\n \"ParentTopic\": \"tns1:RuleEngine/CountAggregation/Counter\",\n \"Source\": {\n \"SimpleItemDescription\": [\n {\n \"Name\": \"VideoSource\",\n \"Type\": \"tt:ReferenceToken\"\n },\n {\n \"Name\": \"AnalyticsConfiguration\",\n \"Type\": \"tt:ReferenceToken\"\n },\n {\n \"Name\": \"Rule\",\n \"Type\": \"xs:string\"\n }\n ]\n }\n },\n \"Name\": \"tt:LineCounting\",\n \"Parameters\": {\n \"ElementItemDescription\": [\n {\n \"Name\": \"Segments\"\n }\n ],\n \"SimpleItemDescription\": [\n {\n \"Name\": \"ReportTimeInterval\",\n \"Type\": \"xs:duration\"\n },\n {\n \"Name\": \"ResetTime\",\n \"Type\": \"xs:time\"\n },\n {\n \"Name\": \"Direction\",\n \"Type\": \"tt:Direction\"\n },\n {\n \"Name\": \"PassAllPolylines\",\n \"Type\": \"xs:boolean\"\n }\n ]\n }\n }\n ]\n }\n }\n }\n ]\n }\n}" } ] }, { "name": "AnalyticsRules", "request": { "method": "GET", "header": [], "url": { "raw": "{{CORE_COMMAND_URL}}/api/v3/device/name/{{EDGEX_DEVICE_NAME}}/AnalyticsRules?jsonObject={{ANALYTIC_CONFIG_TOKEN_BASE64}}", "host": [ "{{CORE_COMMAND_URL}}" ], "path": [ "api", "v3", "device", "name", "{{EDGEX_DEVICE_NAME}}", "AnalyticsRules" ], "query": [ { "key": "jsonObject", "value": "{{ANALYTIC_CONFIG_TOKEN_BASE64}}" } ] } }, "response": [ { "name": "GetRules", "originalRequest": { "method": "GET", "header": [], "url": { "raw": "{{CORE_COMMAND_URL}}/api/v3/device/name/{{EDGEX_DEVICE_NAME}}/AnalyticsRules?jsonObject={{ANALYTIC_CONFIG_TOKEN_BASE64}}", "host": [ "{{CORE_COMMAND_URL}}" ], "path": [ "api", "v3", "device", "name", "{{EDGEX_DEVICE_NAME}}", "AnalyticsRules" ], "query": [ { "key": "jsonObject", "value": "{{ANALYTIC_CONFIG_TOKEN_BASE64}}" } ] } }, "status": "OK", "code": 200, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/json" }, { "key": "X-Correlation-Id", "value": "1f4cb445-5625-41f0-abc3-a2a243f0b82b" }, { "key": "Date", "value": "Tue, 11 Oct 2022 03:48:09 GMT" }, { "key": "Content-Length", "value": "763" } ], "cookie": [], "body": "{\n \"apiVersion\": \"v3\",\n \"statusCode\": 200,\n \"event\": {\n \"apiVersion\": \"v3\",\n \"id\": \"16f84c82-ee09-41bb-a012-27b46cff27fe\",\n \"deviceName\": \"Intel-SimCamera-001caffe-48ca-450d-bbd4-cb4f8630ef19\",\n \"profileName\": \"onvif-camera\",\n \"sourceName\": \"AnalyticsRules\",\n \"origin\": 1665460089922943960,\n \"readings\": [\n {\n \"id\": \"2f46e1f1-6f39-449a-bd68-6387db6a1008\",\n \"origin\": 1665460089922943960,\n \"deviceName\": \"Intel-SimCamera-001caffe-48ca-450d-bbd4-cb4f8630ef19\",\n \"resourceName\": \"AnalyticsRules\",\n \"profileName\": \"onvif-camera\",\n \"valueType\": \"Object\",\n \"value\": \"\",\n \"objectValue\": {\n \"Rule\": [\n {\n \"Name\": \"MyMotionDetectorRule\",\n \"Parameters\": {\n \"SimpleItem\": [\n {\n \"Name\": \"MinCount\",\n \"Value\": \"5\"\n },\n {\n \"Name\": \"AlarmOnDelay\",\n \"Value\": \"1000\"\n },\n {\n \"Name\": \"AlarmOffDelay\",\n \"Value\": \"1000\"\n },\n {\n \"Name\": \"ActiveCells\",\n \"Value\": \"zwA=\"\n }\n ]\n },\n \"Type\": \"tt:CellMotionDetector\"\n }\n ]\n }\n }\n ]\n }\n}" } ] }, { "name": "AnalyticsRules", "request": { "method": "PUT", "header": [], "body": { "mode": "raw", "raw": "{\n \"AnalyticsRules\": {\n \"ConfigurationToken\": \"{{ANALYTIC_CONFIG_TOKEN}}\",\n \"Rule\": [\n {\n \"Name\": \"MyMotionDetectorRule\",\n \"Type\": \"tt:ObjectInField\",\n \"Parameters\": {\n \"SimpleItem\": [\n {\n \"Name\": \"ClassFilter\",\n \"Value\": \" Bike Car Truck\"\n }\n ]\n }\n }\n ]\n }\n}", "options": { "raw": { "language": "json" } } }, "url": { "raw": "{{CORE_COMMAND_URL}}/api/v3/device/name/{{EDGEX_DEVICE_NAME}}/AnalyticsRules", "host": [ "{{CORE_COMMAND_URL}}" ], "path": [ "api", "v3", "device", "name", "{{EDGEX_DEVICE_NAME}}", "AnalyticsRules" ] } }, "response": [ { "name": "ModifyRules", "originalRequest": { "method": "PUT", "header": [], "body": { "mode": "raw", "raw": "{\n \"AnalyticsRules\": {\n \"ConfigurationToken\": \"{{ANALYTIC_CONFIG_TOKEN}}\",\n \"Rule\": [\n {\n \"Name\": \"MyMotionDetectorRule\",\n \"Type\": \"tt:ObjectInField\",\n \"Parameters\": {\n \"SimpleItem\": [\n {\n \"Name\":\"ClassFilter\", \n \"Value\":\" Bike Car Truck\"\n }\n ]\n }\n \n }\n ]\n }\n}", "options": { "raw": { "language": "json" } } }, "url": { "raw": "{{CORE_COMMAND_URL}}/api/v3/device/name/{{EDGEX_DEVICE_NAME}}/AnalyticsRules", "host": [ "{{CORE_COMMAND_URL}}" ], "path": [ "api", "v3", "device", "name", "{{EDGEX_DEVICE_NAME}}", "AnalyticsRules" ] } }, "status": "OK", "code": 200, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/json" }, { "key": "X-Correlation-Id", "value": "ea1d0040-3a30-4fbb-a0ac-50a1b90f3e36" }, { "key": "Date", "value": "Tue, 11 Oct 2022 03:50:16 GMT" }, { "key": "Content-Length", "value": "37" } ], "cookie": [], "body": "{\n \"apiVersion\": \"v3\",\n \"statusCode\": 200\n}" } ] }, { "name": "AnalyticsRuleOptions", "request": { "method": "GET", "header": [], "url": { "raw": "{{CORE_COMMAND_URL}}/api/v3/device/name/{{EDGEX_DEVICE_NAME}}/AnalyticsRuleOptions?jsonObject={{ANALYTIC_CONFIG_TOKEN_BASE64}}", "host": [ "{{CORE_COMMAND_URL}}" ], "path": [ "api", "v3", "device", "name", "{{EDGEX_DEVICE_NAME}}", "AnalyticsRuleOptions" ], "query": [ { "key": "jsonObject", "value": "{{ANALYTIC_CONFIG_TOKEN_BASE64}}" } ] } }, "response": [ { "name": "AnalyticsRuleOptions", "originalRequest": { "method": "GET", "header": [], "url": { "raw": "{{CORE_COMMAND_URL}}/api/v3/device/name/{{EDGEX_DEVICE_NAME}}/AnalyticsRuleOptions?jsonObject={{ANALYTIC_CONFIG_TOKEN_BASE64}}", "host": [ "{{CORE_COMMAND_URL}}" ], "path": [ "api", "v3", "device", "name", "{{EDGEX_DEVICE_NAME}}", "AnalyticsRuleOptions" ], "query": [ { "key": "jsonObject", "value": "{{ANALYTIC_CONFIG_TOKEN_BASE64}}" } ] } }, "status": "OK", "code": 200, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/json" }, { "key": "X-Correlation-Id", "value": "463ddd87-95fc-46f3-bdd7-d05ed5a94fd8" }, { "key": "Date", "value": "Tue, 11 Oct 2022 03:48:46 GMT" }, { "key": "Content-Length", "value": "718" } ], "cookie": [], "body": "{\n \"apiVersion\": \"v3\",\n \"statusCode\": 200,\n \"event\": {\n \"apiVersion\": \"v3\",\n \"id\": \"bf7a5fc7-7523-4690-87b7-273b2a373ed3\",\n \"deviceName\": \"Intel-SimCamera-001caffe-48ca-450d-bbd4-cb4f8630ef19\",\n \"profileName\": \"onvif-camera\",\n \"sourceName\": \"AnalyticsRuleOptions\",\n \"origin\": 1665460126357157536,\n \"readings\": [\n {\n \"id\": \"2bdd1ff4-7d2a-441b-bbc3-dfa50c27b096\",\n \"origin\": 1665460126357157536,\n \"deviceName\": \"Intel-SimCamera-001caffe-48ca-450d-bbd4-cb4f8630ef19\",\n \"resourceName\": \"AnalyticsRuleOptions\",\n \"profileName\": \"onvif-camera\",\n \"valueType\": \"Object\",\n \"value\": \"\",\n \"objectValue\": {\n \"RuleOptions\": [\n {\n \"MotionRegionConfigOptions\": {\n \"DisarmSupport\": false,\n \"PolygonLimits\": {\n \"Max\": 0,\n \"Min\": 0\n },\n \"PolygonSupport\": false\n },\n \"Name\": \"MotionRegion\",\n \"Type\": \"axt:MotionRegionConfigOptions\"\n }\n ]\n }\n }\n ]\n }\n}" } ] }, { "name": "AnalyticsCreateRules", "request": { "method": "PUT", "header": [], "body": { "mode": "raw", "raw": "{\n \"AnalyticsCreateRules\": {\n \"ConfigurationToken\": \"{{ANALYTIC_CONFIG_TOKEN}}\",\n \"Rule\": [\n {\n \"Name\": \"Object Counting\",\n \"Type\": \"tt:LineCounting\",\n \"Parameters\": {\n \"SimpleItem\": [\n {\n \"Name\": \"Armed\",\n \"Value\": \"true\"\n }\n ],\n \"ElementItem\": [\n {\n \"Name\": \"Segments\",\n \"Polyline\": {\n \"Point\": [\n {\n \"x\": \"0.16\",\n \"y\": \"0.5\"\n },\n {\n \"x\": \"0.16\",\n \"y\": \"-0.5\"\n }\n ]\n }\n }\n ]\n }\n }\n ]\n }\n}", "options": { "raw": { "language": "json" } } }, "url": { "raw": "{{CORE_COMMAND_URL}}/api/v3/device/name/{{EDGEX_DEVICE_NAME}}/AnalyticsCreateRules", "host": [ "{{CORE_COMMAND_URL}}" ], "path": [ "api", "v3", "device", "name", "{{EDGEX_DEVICE_NAME}}", "AnalyticsCreateRules" ] } }, "response": [ { "name": "AnalyticsCreateRules", "originalRequest": { "method": "PUT", "header": [], "body": { "mode": "raw", "raw": "{\n \"AnalyticsCreateRules\": {\n \"ConfigurationToken\": \"{{ANALYTIC_CONFIG_TOKEN}}\",\n \"Rule\": [\n {\n \"Name\": \"Object Counting\",\n \"Type\": \"tt:LineCounting\",\n \"Parameters\": {\n \"SimpleItem\": [\n {\n \"Name\":\"Armed\", \n \"Value\":\"true\"\n }\n ],\n \"ElementItem\": [\n {\n \"Name\":\"Segments\", \n \"Polyline\": {\n \"Point\": [\n {\n \"x\":\"0.16\",\n \"y\": \"0.5\"\n },\n {\n \"x\":\"0.16\",\n \"y\": \"-0.5\"\n }\n ]\n }\n }\n ]\n }\n \n }\n ]\n }\n}", "options": { "raw": { "language": "json" } } }, "url": { "raw": "{{CORE_COMMAND_URL}}/api/v3/device/name/{{EDGEX_DEVICE_NAME}}/AnalyticsCreateRules", "host": [ "{{CORE_COMMAND_URL}}" ], "path": [ "api", "v3", "device", "name", "{{EDGEX_DEVICE_NAME}}", "AnalyticsCreateRules" ] } }, "status": "OK", "code": 200, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/json" }, { "key": "X-Correlation-Id", "value": "f4fb4b14-0de5-4a00-9646-1fc10b772b61" }, { "key": "Date", "value": "Fri, 07 Oct 2022 22:19:30 GMT" }, { "key": "Content-Length", "value": "37" } ], "cookie": [], "body": "{\n \"apiVersion\": \"v3\",\n \"statusCode\": 200\n}" } ] }, { "name": "AnalyticsDeleteRules", "request": { "method": "PUT", "header": [], "body": { "mode": "raw", "raw": "{\n \"AnalyticsDeleteRules\": {\n \"ConfigurationToken\": \"{{ANALYTIC_CONFIG_TOKEN}}\",\n \"RuleName\": [\n \"Object Counting\"\n ]\n }\n}", "options": { "raw": { "language": "json" } } }, "url": { "raw": "{{CORE_COMMAND_URL}}/api/v3/device/name/{{EDGEX_DEVICE_NAME}}/AnalyticsDeleteRules", "host": [ "{{CORE_COMMAND_URL}}" ], "path": [ "api", "v3", "device", "name", "{{EDGEX_DEVICE_NAME}}", "AnalyticsDeleteRules" ] } }, "response": [ { "name": "AnalyticsDeleteRules", "originalRequest": { "method": "PUT", "header": [], "body": { "mode": "raw", "raw": "{\n \"AnalyticsDeleteRules\": {\n \"ConfigurationToken\": \"{{ANALYTIC_CONFIG_TOKEN}}\",\n \"RuleName\": [\n \"Object Counting\"\n ]\n }\n}", "options": { "raw": { "language": "json" } } }, "url": { "raw": "{{CORE_COMMAND_URL}}/api/v3/device/name/{{EDGEX_DEVICE_NAME}}/AnalyticsDeleteRules", "host": [ "{{CORE_COMMAND_URL}}" ], "path": [ "api", "v3", "device", "name", "{{EDGEX_DEVICE_NAME}}", "AnalyticsDeleteRules" ] } }, "status": "OK", "code": 200, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/json" }, { "key": "X-Correlation-Id", "value": "96730551-cf42-4d2c-8918-aa0c694cbe9c" }, { "key": "Date", "value": "Mon, 10 Oct 2022 16:01:21 GMT" }, { "key": "Content-Length", "value": "37" } ], "cookie": [], "body": "{\n \"apiVersion\": \"v3\",\n \"statusCode\": 200\n}" } ] } ] } ] }, { "name": "Custom", "item": [ { "name": "MACAddress", "request": { "method": "GET", "header": [], "url": { "raw": "{{CORE_COMMAND_URL}}/api/v3/device/name/{{EDGEX_DEVICE_NAME}}/MACAddress", "host": [ "{{CORE_COMMAND_URL}}" ], "path": [ "api", "v3", "device", "name", "{{EDGEX_DEVICE_NAME}}", "MACAddress" ] }, "description": "This command returns the MAC address associated with a device." }, "response": [ { "name": "MACAddress", "originalRequest": { "method": "GET", "header": [], "url": { "raw": "{{CORE_COMMAND_URL}}/api/v3/device/name/{{EDGEX_DEVICE_NAME}}/MACAddress", "host": [ "{{CORE_COMMAND_URL}}" ], "path": [ "api", "v3", "device", "name", "{{EDGEX_DEVICE_NAME}}", "MACAddress" ] } }, "status": "OK", "code": 200, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/json" }, { "key": "X-Correlation-Id", "value": "e109dbc1-aa02-49c7-8663-454b6c973c3b" }, { "key": "Date", "value": "Thu, 04 Aug 2022 23:54:19 GMT" }, { "key": "Content-Length", "value": "517" } ], "cookie": [], "body": "{\n \"apiVersion\": \"v3\",\n \"statusCode\": 200,\n \"event\": {\n \"apiVersion\": \"v3\",\n \"id\": \"92336908-8de3-458b-9f0c-3a0d5daaf721\",\n \"deviceName\": \"TP-Link-C200-3fa1fe68-b915-4053-a3e1-1027f5ea88f4\",\n \"profileName\": \"onvif-camera\",\n \"sourceName\": \"MACAddress\",\n \"origin\": 1659657259559177537,\n \"readings\": [\n {\n \"id\": \"6d54121c-2d9b-4d2f-ac14-29246fb15e31\",\n \"origin\": 1659657259559177537,\n \"deviceName\": \"TP-Link-C200-3fa1fe68-b915-4053-a3e1-1027f5ea88f4\",\n \"resourceName\": \"MACAddress\",\n \"profileName\": \"onvif-camera\",\n \"valueType\": \"String\",\n \"value\": \"10:27:F5:EA:88:F4\"\n }\n ]\n }\n}" } ] }, { "name": "MACAddress", "request": { "method": "PUT", "header": [], "body": { "mode": "raw", "raw": "{\n \"MACAddress\": \"10-27-f5-ea-88-f4\"\n}", "options": { "raw": { "language": "json" } } }, "url": { "raw": "{{CORE_COMMAND_URL}}/api/v3/device/name/{{EDGEX_DEVICE_NAME}}/MACAddress", "host": [ "{{CORE_COMMAND_URL}}" ], "path": [ "api", "v3", "device", "name", "{{EDGEX_DEVICE_NAME}}", "MACAddress" ] }, "description": "MACAddress can also be set via Edgex device command. This is useful for setting the MAC Address for devices which do not contain \nthe MAC Address in the Endpoint Reference Address, or have been added manually without a MAC Address. \nSince the MAC is used to map credentials for cameras, it is important to have this field filled out.\n\n> Note: When a camera successfully becomes `UpWithAuth`, the MAC Address is automatically queried and overridden by the system if available.\nDevice resource MACAddress is used to set `MACAddress` of a camera." }, "response": [ { "name": "MACAddress", "originalRequest": { "method": "PUT", "header": [], "body": { "mode": "raw", "raw": "{ \"MACAddress\": \"10-27-f5-ea-88-f4\" }", "options": { "raw": { "language": "json" } } }, "url": { "raw": "{{CORE_COMMAND_URL}}/api/v3/device/name/{{EDGEX_DEVICE_NAME}}/MACAddress", "host": [ "{{CORE_COMMAND_URL}}" ], "path": [ "api", "v3", "device", "name", "{{EDGEX_DEVICE_NAME}}", "MACAddress" ] } }, "status": "OK", "code": 200, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/json" }, { "key": "X-Correlation-Id", "value": "ac51855e-532b-4244-8774-c0fde0d70f4b" }, { "key": "Date", "value": "Thu, 04 Aug 2022 23:54:38 GMT" }, { "key": "Content-Length", "value": "37" } ], "cookie": [], "body": "{\n \"apiVersion\": \"v3\",\n \"statusCode\": 200\n}" } ] }, { "name": "FriendlyName", "request": { "method": "GET", "header": [], "url": { "raw": "{{CORE_COMMAND_URL}}/api/v3/device/name/{{EDGEX_DEVICE_NAME}}/FriendlyName", "host": [ "{{CORE_COMMAND_URL}}" ], "path": [ "api", "v3", "device", "name", "{{EDGEX_DEVICE_NAME}}", "FriendlyName" ] }, "description": "This operation is used by an endpoint to get the FriendlyName from a device. This is a name given to a device by a user to make the device more identifiable." }, "response": [ { "name": "FriendlyName", "originalRequest": { "method": "GET", "header": [], "url": { "raw": "{{CORE_COMMAND_URL}}/api/v3/device/name/{{EDGEX_DEVICE_NAME}}/FriendlyName", "host": [ "{{CORE_COMMAND_URL}}" ], "path": [ "api", "v3", "device", "name", "{{EDGEX_DEVICE_NAME}}", "FriendlyName" ] } }, "status": "OK", "code": 200, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/json" }, { "key": "X-Correlation-Id", "value": "f8f02197-312e-4c53-99d0-a34edc96c768" }, { "key": "Date", "value": "Thu, 04 Aug 2022 23:54:48 GMT" }, { "key": "Content-Length", "value": "516" } ], "cookie": [], "body": "{\n \"apiVersion\": \"v3\",\n \"statusCode\": 200,\n \"event\": {\n \"apiVersion\": \"v3\",\n \"id\": \"0505a28a-0fd9-41d4-8044-784cc089894b\",\n \"deviceName\": \"TP-Link-C200-3fa1fe68-b915-4053-a3e1-1027f5ea88f4\",\n \"profileName\": \"onvif-camera\",\n \"sourceName\": \"FriendlyName\",\n \"origin\": 1659657288410588525,\n \"readings\": [\n {\n \"id\": \"2d0def92-9e38-46bd-a72f-b512be4d5345\",\n \"origin\": 1659657288410588525,\n \"deviceName\": \"TP-Link-C200-3fa1fe68-b915-4053-a3e1-1027f5ea88f4\",\n \"resourceName\": \"FriendlyName\",\n \"profileName\": \"onvif-camera\",\n \"valueType\": \"String\",\n \"value\": \"TP-Link C200\"\n }\n ]\n }\n}" } ] }, { "name": "FriendlyName", "request": { "method": "PUT", "header": [], "body": { "mode": "raw", "raw": "{\n \"FriendlyName\": \"My Camera\"\n}", "options": { "raw": { "language": "json" } } }, "url": { "raw": "{{CORE_COMMAND_URL}}/api/v3/device/name/{{EDGEX_DEVICE_NAME}}/FriendlyName", "host": [ "{{CORE_COMMAND_URL}}" ], "path": [ "api", "v3", "device", "name", "{{EDGEX_DEVICE_NAME}}", "FriendlyName" ] }, "description": "This operation is used by an endpoint to set the FriendlyName of a device. This is a name given to a device by a user to make the device more identifiable." }, "response": [ { "name": "FriendlyName", "originalRequest": { "method": "PUT", "header": [], "body": { "mode": "raw", "raw": "{\n \"FriendlyName\": {\n \"FriendlyName\": \"My Camera\"\n }\n}", "options": { "raw": { "language": "json" } } }, "url": { "raw": "{{CORE_COMMAND_URL}}/api/v3/device/name/{{EDGEX_DEVICE_NAME}}/FriendlyName", "host": [ "{{CORE_COMMAND_URL}}" ], "path": [ "api", "v3", "device", "name", "{{EDGEX_DEVICE_NAME}}", "FriendlyName" ] } }, "status": "OK", "code": 200, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/json" }, { "key": "X-Correlation-Id", "value": "9ed55755-1b15-4352-affe-b6d105e73e0c" }, { "key": "Date", "value": "Thu, 04 Aug 2022 23:55:01 GMT" }, { "key": "Content-Length", "value": "37" } ], "cookie": [], "body": "{\n \"apiVersion\": \"v3\",\n \"statusCode\": 200\n}" } ] }, { "name": "CustomMetadata", "event": [ { "listen": "test", "script": { "exec": [ "pm.test(\"Status code is 200\", function () {", " pm.response.to.have.status(200);", "});" ], "type": "text/javascript" } } ], "protocolProfileBehavior": { "disableBodyPruning": true }, "request": { "method": "GET", "header": [], "body": { "mode": "raw", "raw": "", "options": { "raw": { "language": "json" } } }, "url": { "raw": "{{CORE_COMMAND_URL}}/api/v3/device/name/{{EDGEX_DEVICE_NAME}}/CustomMetadata", "host": [ "{{CORE_COMMAND_URL}}" ], "path": [ "api", "v3", "device", "name", "{{EDGEX_DEVICE_NAME}}", "CustomMetadata" ] }, "description": "**Get Custom Metadata**\nUse this command to return all of the data in the CustomMetadata field.\n\n**Get Specific Custom Metadata**\n\nPass the `CustomMetadata` resource a query to get specific field(s) in CustomMetadata. The query must be a base64 encoded json object with an array of fields you want to access.\n\n1. Json object holding an array of fields you want to query.\n```json\n'[\n \"Color\",\n \"Location\"\n]'\n```\n\n2. Use this command to convert the json object to base64.\n```shell\necho '[\n \"Color\",\n \"Location\"\n]' | base64\n```\n\n3. The response converted to base64.\n```\nWwogICAgIkNvbG9yIiwKICAgICJMb2NhdGlvbiIKXQo=\n```\n\n4. Use this command to query the fields you provided in the json object.\n```shell\ncurl http://localhost:59882/api/v3/device/name//CustomMetadata?jsonObject=WwogICAgIkNvbG9yIiwKICAgICJMb2NhdGlvbiIKXQo= | jq .\n```" }, "response": [ { "name": "CustomMetadata", "originalRequest": { "method": "GET", "header": [], "url": { "raw": "{{CORE_COMMAND_URL}}/api/v3/device/name/{{EDGEX_DEVICE_NAME}}/CustomMetadata", "host": [ "{{CORE_COMMAND_URL}}" ], "path": [ "api", "v3", "device", "name", "{{EDGEX_DEVICE_NAME}}", "CustomMetadata" ] } }, "status": "OK", "code": 200, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/json" }, { "key": "X-Correlation-Id", "value": "286e0f26-f708-457d-ba3e-af6203e85c72" }, { "key": "Date", "value": "Fri, 23 Sep 2022 23:35:47 GMT" }, { "key": "Content-Length", "value": "610" } ], "cookie": [], "body": "{\n \"apiVersion\": \"v3\",\n \"statusCode\": 200,\n \"event\": {\n \"apiVersion\": \"v3\",\n \"id\": \"6905a513-3aff-454b-981d-ea8e0c79f195\",\n \"deviceName\": \"TP-Link-C200-3fa1fe68-b915-4053-a3e1-cc32e5000688\",\n \"profileName\": \"onvif-camera\",\n \"sourceName\": \"CustomMetadata\",\n \"origin\": 1663976147356099321,\n \"readings\": [\n {\n \"id\": \"c90f88b6-7e2f-4e37-8fa7-b173a4d6ffec\",\n \"origin\": 1663976147356099321,\n \"deviceName\": \"TP-Link-C200-3fa1fe68-b915-4053-a3e1-cc32e5000688\",\n \"resourceName\": \"CustomMetadata\",\n \"profileName\": \"onvif-camera\",\n \"valueType\": \"Object\",\n \"value\": \"\",\n \"objectValue\": {\n \"Business\": \"John's Grocery Store\",\n \"Install Date\": \"01/01/1970\",\n \"Location\": \"Front door\"\n }\n }\n ]\n }\n}" }, { "name": "GetSpecificCustomMetadata-multipleFields Copy", "originalRequest": { "method": "GET", "header": [], "url": { "raw": "{{CORE_COMMAND_URL}}/api/v3/device/name/{{EDGEX_DEVICE_NAME}}/CustomMetadata?jsonObject={{ptz_enc}}", "host": [ "{{CORE_COMMAND_URL}}" ], "path": [ "api", "v3", "device", "name", "{{EDGEX_DEVICE_NAME}}", "CustomMetadata" ], "query": [ { "key": "jsonObject", "value": "{{ptz_enc}}", "description": "Base64 encoded json string" } ] } }, "status": "OK", "code": 200, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/json" }, { "key": "X-Correlation-Id", "value": "d03c3b7a-77f0-4c5a-8470-1d36996e352f" }, { "key": "Date", "value": "Fri, 23 Sep 2022 23:36:17 GMT" }, { "key": "Content-Length", "value": "582" } ], "cookie": [], "body": "{\n \"apiVersion\": \"v3\",\n \"statusCode\": 200,\n \"event\": {\n \"apiVersion\": \"v3\",\n \"id\": \"0749ab9c-05b4-4515-a2b0-5d253aeb8be9\",\n \"deviceName\": \"TP-Link-C200-3fa1fe68-b915-4053-a3e1-cc32e5000688\",\n \"profileName\": \"onvif-camera\",\n \"sourceName\": \"CustomMetadata\",\n \"origin\": 1663976177486171795,\n \"readings\": [\n {\n \"id\": \"295d2e23-ffae-4c7e-9440-6be14fc1c93e\",\n \"origin\": 1663976177486171795,\n \"deviceName\": \"TP-Link-C200-3fa1fe68-b915-4053-a3e1-cc32e5000688\",\n \"resourceName\": \"CustomMetadata\",\n \"profileName\": \"onvif-camera\",\n \"valueType\": \"Object\",\n \"value\": \"\",\n \"objectValue\": {\n \"Business\": \"John's Grocery Store\",\n \"Location\": \"Front door\"\n }\n }\n ]\n }\n}" } ] }, { "name": "CustomMetadata", "event": [ { "listen": "test", "script": { "exec": [ "pm.test(\"Status code is 200\", function () {", " pm.response.to.have.status(200);", "});" ], "type": "text/javascript" } } ], "request": { "method": "PUT", "header": [], "body": { "mode": "raw", "raw": "{\n \"CustomMetadata\": {\n \"Location\": \"Front door\",\n \"Business\": \"John's Grocery Store\",\n \"Install Date\": \"01/01/1970\",\n \"Color\": \"White\"\n }\n}", "options": { "raw": { "language": "json" } } }, "url": { "raw": "{{CORE_COMMAND_URL}}/api/v3/device/name/{{EDGEX_DEVICE_NAME}}/CustomMetadata", "host": [ "{{CORE_COMMAND_URL}}" ], "path": [ "api", "v3", "device", "name", "{{EDGEX_DEVICE_NAME}}", "CustomMetadata" ] }, "description": "Use the CustomMetadata resource to set the fields of `CustomMetadata`. Choose the key/value pairs to represent your custom fields." }, "response": [ { "name": "CustomMetadata", "originalRequest": { "method": "PUT", "header": [], "body": { "mode": "raw", "raw": "{\n \"CustomMetadata\": {\n \"Location\":\"Front door\",\n \"Business\":\"John's Grocery Store\",\n \"Install Date\":\"01/01/1970\"\n }\n}", "options": { "raw": { "language": "json" } } }, "url": { "raw": "{{CORE_COMMAND_URL}}/api/v3/device/name/{{EDGEX_DEVICE_NAME}}/CustomMetadata", "host": [ "{{CORE_COMMAND_URL}}" ], "path": [ "api", "v3", "device", "name", "{{EDGEX_DEVICE_NAME}}", "CustomMetadata" ] } }, "status": "OK", "code": 200, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/json" }, { "key": "X-Correlation-Id", "value": "65511822-66bc-48e5-94fc-71d393be11a4" }, { "key": "Date", "value": "Fri, 23 Sep 2022 23:35:38 GMT" }, { "key": "Content-Length", "value": "37" } ], "cookie": [], "body": "{\n \"apiVersion\": \"v3\",\n \"statusCode\": 200\n}" } ] }, { "name": "DeleteCustomMetadata", "event": [ { "listen": "test", "script": { "exec": [ "pm.test(\"Status code is 200\", function () {", " pm.response.to.have.status(200);", "});" ], "type": "text/javascript" } } ], "request": { "method": "PUT", "header": [], "body": { "mode": "raw", "raw": "{\n \"DeleteCustomMetadata\": [\n \"Location\",\n \"Color\"\n ]\n}", "options": { "raw": { "language": "json" } } }, "url": { "raw": "{{CORE_COMMAND_URL}}/api/v3/device/name/{{EDGEX_DEVICE_NAME}}/DeleteCustomMetadata", "host": [ "{{CORE_COMMAND_URL}}" ], "path": [ "api", "v3", "device", "name", "{{EDGEX_DEVICE_NAME}}", "DeleteCustomMetadata" ] }, "description": "Use the `DeleteCustomMetadata` resource to delete entries in custom metadata" }, "response": [ { "name": "Delete CustomMetadata", "originalRequest": { "method": "PUT", "header": [], "body": { "mode": "raw", "raw": "{\n \"DeleteCustomMetadata\": [\"Location\", \"Color\"]\n}", "options": { "raw": { "language": "json" } } }, "url": { "raw": "{{CORE_COMMAND_URL}}/api/v3/device/name/{{EDGEX_DEVICE_NAME}}/DeleteCustomMetadata", "host": [ "{{CORE_COMMAND_URL}}" ], "path": [ "api", "v3", "device", "name", "{{EDGEX_DEVICE_NAME}}", "DeleteCustomMetadata" ] } }, "status": "OK", "code": 200, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/json" }, { "key": "X-Correlation-Id", "value": "a0fd5620-29fa-4588-8bf3-e97e9aabec80" }, { "key": "Date", "value": "Fri, 07 Oct 2022 21:57:55 GMT" }, { "key": "Content-Length", "value": "37" } ], "cookie": [], "body": "{\n \"apiVersion\": \"v3\",\n \"statusCode\": 200\n}" } ] } ], "description": "Custom commands outside of the ONVIF spec handled by the device service directly." } ], "event": [ { "listen": "prerequest", "script": { "type": "text/javascript", "exec": [ "" ] } }, { "listen": "test", "script": { "type": "text/javascript", "exec": [ "" ] } } ] }